game-wip-dontplay/design/save.md
2023-04-08 23:41:56 +02:00

13 lines
494 B
Markdown

Game has different worlds you can generate.
Each world has its own folder.
Each folder has:
- Player file (player.dat)
- Subfolder for regions (regions/)
Each region subfolder has:
r.x.y.dat files for each chunk, where x and y are the region coordinates.
# Regions
A region stores multiple chunks in a single file for more optimized storage.
Current plan is to store 8 chunks in a region, in other words, 1024*1024 blocks.
Around one million blocks, compressed with zstd compression.