#Why is media/maps/Muldraugh so large?
27 messages · Page 1 of 1 (latest)
I suspect Muldraugh's just what the whole default map is called in the game files. If so, why are Riverside, Rosewood and West Point also here?
@solar silo your suspicion is correct. The other maps are there for spawnregions.lua primarily, but their filesize shown in your screenshot are mostly the image file you'll see when choosing a spawn location in-game.
You'll notice 113k for Rosewood of the 124k shown in your screenshot is in fact, the image file.
That’s crazy. Do clients have to download this 3.9G file every time they join?
I guess I’m wondering why this is server-side
It is just the game map
Clients already have it installed, because they have to play it in singleplayer
And it is server side, because the server has to load the same map
The other map folders just contain the spawnpoint and image files
Which are important for spawning in those areas
@steep prawn Can you guys compress that media directory when you're building the server distribution? I just tar czf'd it and it went from 4.8G to 860mb
I can test this with zip as well if using tar.gz would alienate the windows op's
You could even go deeper and focus on just the map files to compress @steep prawn . That's a considerable amount of de-duplication
I am not sure I follow
Steam already compresses the downloads, as far as I am aware
you store the map assets as raw text at rest. this could be way more efficient if you compressed them
you could also organize the map directory a bit differently to better facilitate this
There's datafiles inline with config files... If you were to do like:
Muldog, KY
- data/
- chunkdata_01_1.bin
- 01_1.lotheader
- // all your other text files to represent ingame chunks
- map.info
- objects.lua
- pyramid.zip // no idea what this does
- spawnpoints.lua // A server operator will probably modify this
- thumb.png // Thumbnail served to client
All of data could be compressed to 1/8th the size
This directory is also doing 2 things at once... it's storing the whole worldmap (see: data), and serving as a reference to a named spawn point pool (all these other files). You should crowbar the 2 apart IMO. If you look at the other spawn locations, they're nice and clean at only 3 files map.info spawnpoints.lua thumb.png
This is the tech support channel
If you want to suggest any changes to the game, I recommend posting it here:
https://theindiestone.com/forums/index.php?/forum/20-pz-suggestions/
Got things you want to see in PZ? Post here! Tip: search to see if there's already an existing thread.
That looks like a good place for the feedback to get buried
You may share your opinions in #pz_b42_chat if you want as well