data format docs

Former-commit-id: 5da80ac39d23d518bec0ed4e838fd0a4ae19bd11
Former-commit-id: f7ec7a4cd2c1d7a795aa19352065ee1ea1550fe4
This commit is contained in:
Song Minjae
2017-02-07 04:50:26 +09:00
parent ad68309bc5
commit 9ddf0dee63
4 changed files with 111 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
Savegame metadata
* Endianness: big
* Filename: 'world'
* Remarks: GZipped
Ord Hex Description
00 54 T
01 45 E
02 4D S
03 44 V
04 Name of the world in UTF-8
... 00 String terminator
... Terrain seed (8 bytes)
... Randomiser seed (8 bytes)
... SHA-256 hash of worldinfo1 when not compressed (32 bytes)
... SHA-256 hash of worldinfo2 when not compressed (32 bytes)
... SHA-256 hash of worldinfo3 when not compressed (32 bytes)
... SHA-256 hash of worldinfo4 when not compressed (32 bytes)