Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (henrybane), 1,182 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Prevent showing Textures in dedicated sever mode? [Re: muffel] #374412
06/18/11 14:13
06/18/11 14:13
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline OP
Expert
Germanunkol  Offline OP
Expert

Joined: Jun 2006
Posts: 2,640
Earth
Quote:

Just build an own wrs with all the textures, and build another wrs with very small dummy textures, that you put in the server's folders.
But the server and client are using the same folders! It's the same binary, as I said above.
If we use different folders for the two, then we need to reship all .wrs files again a second time, which will almost double the file size.
Quote:
Whats about removing the skin after loading. this should solve in someway the memory issue, but would slowdown additionally the loading process.
this would happen every round-restart and would slow down the loading process even more instead of speeding it up, I believe.


~"I never let school interfere with my education"~
-Mark Twain
Re: Prevent showing Textures in dedicated sever mode? [Re: Germanunkol] #374413
06/18/11 14:31
06/18/11 14:31
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Originally Posted By: Germanunkol
Quote:

Just build an own wrs with all the textures, and build another wrs with very small dummy textures, that you put in the server's folders.
But the server and client are using the same folders! It's the same binary, as I said above.

I know. What I meant is, that you send only the wrs with the dummy textures seperated from the game folders within the zip.
The dummy textures are supposed to be tiny.
Maybe, you can include two installers, one for client mode and one server mode, where in server mode the standard texture wrs will be replaced by the dummy textures. No different binary needed. Means: in server mode there are just different textures in the same folder.

Or: even better. Maybe, you can implement in the code that when starting as server the engine loads the textures from the dummy texture folder, and when starting as client load them from the standard folder - I'm not sure whether this is possible, though.

Re: Prevent showing Textures in dedicated sever mode? [Re: Pappenheimer] #374475
06/19/11 07:17
06/19/11 07:17
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline OP
Expert
Germanunkol  Offline OP
Expert

Joined: Jun 2006
Posts: 2,640
Earth
No, I don't think it can be done by code. That's why I asked here, and since jcl did not reply with "use code to load the right wrs files depending on whether you run as server or client" I assume it's not possible. Also, the manual's pretty clear on this:
Quote:
At engine start, all WRS resources found in the work folder are automatically opened, and the files in them become available to the project.

That's usually very good, but in my case makes things difficult.


~"I never let school interfere with my education"~
-Mark Twain
Re: Prevent showing Textures in dedicated sever mode? [Re: Germanunkol] #374489
06/19/11 11:20
06/19/11 11:20
Joined: Apr 2008
Posts: 650
Sajeth Offline
User
Sajeth  Offline
User

Joined: Apr 2008
Posts: 650
Originally Posted By: Germanunkol
That's usually very good, but in my case makes things difficult.

add_folder/add_resource is what you're looking for


Teleschrott-Fan.
Re: Prevent showing Textures in dedicated sever mode? [Re: Sajeth] #374566
06/20/11 09:50
06/20/11 09:50
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
I can hardly imagine that the slightly shorter loading time of smaller textures is worth the hassle. How many seconds do you gain on level loading?

Re: Prevent showing Textures in dedicated sever mode? [Re: jcl] #374589
06/20/11 12:48
06/20/11 12:48
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline OP
Expert
Germanunkol  Offline OP
Expert

Joined: Jun 2006
Posts: 2,640
Earth
It's not the level loading time I'm worried about, I want the game to use less RAM. And I think there, the difference would be noticeable (but I must admit I have no tests done to back that up with).


~"I never let school interfere with my education"~
-Mark Twain
Page 2 of 2 1 2

Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1