game-wip-dontplay/design/save.md
2023-04-09 01:31:34 +02:00

492 B

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: x.y.rgn 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.