worldinfo writer

This commit is contained in:
Minjae Song
2018-10-08 01:16:29 +09:00
parent 26b81e23bb
commit 783313a4ae
6 changed files with 185 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ Ord Hex Description
02 4D S
03 44 V
04 Name of the world in UTF-8 (arbitrary length)
04 Name of the world in UTF-8 (arbitrary length, must not contain NULL)
... 00 String terminator
... Terrain seed (8 bytes)
@@ -21,7 +21,6 @@ Ord Hex Description
... SHA-256 hash of worldinfo1 (32 bytes)
... SHA-256 hash of worldinfo2 (32 bytes)
... SHA-256 hash of worldinfo3 (32 bytes)
... SHA-256 hash of worldinfo4 (32 bytes)
... ReferenceID of the player (4 bytes, a fixed value of 91A7E2)
... Current world's time_t (the ingame time, 8 bytes)