decided not to GZip the CSVs; hack it away!

This commit is contained in:
minjaesong
2018-10-02 21:13:02 +09:00
parent e645eaade9
commit 4cfd3b8c45
2 changed files with 10 additions and 11 deletions

View File

@@ -6,11 +6,11 @@ Files contained the TerranVirtualDisk is as follows:
(root)
worldinfo0 -- Savegame Metadata (TESV)
worldinfo1 -- Layer Data (TEMD)
worldinfo2 -- Copy of blocks.csv GZipped -- will use this from the next load
worldinfo3 -- Copy of items.csv GZipped -- will use this from the next load
worldinfo4 -- Copy of materials.csv GZipped -- will use this from the next load
worldinfo2 -- Copy of blocks.csv -- will use this from the next load
worldinfo3 -- Copy of items.csv -- will use this from the next load
worldinfo4 -- Copy of materials.csv -- will use this from the next load
(any random number in Hex ACTORID_MIN..FFFFFFFF) -- Serialised Entity Information (including Player)
(PLAYER_REF_ID in Hex -- 91A7E2) -- Player Character Information (Serialised Entity Information)
(PLAYER_REF_ID in Hex -- 91A7E2) -- Player Character Information (Serialised--JSON'd--Entity Information)
(51621D) -- The Debug Player (Serialised Entity Information)
load_order.txt -- LoadOrder.csv (NOT zipped)

View File

@@ -2,7 +2,6 @@ Savegame metadata
* Endianness: LITTLE
* Filename: 'worldinfo0'
* Remarks: GZipped
Ord Hex Description
00 54 T
@@ -15,14 +14,14 @@ Ord Hex Description
... Terrain seed (8 bytes)
... Randomiser s0 (8 bytes)
... Randomiser s1 (4 bytes)
... Randomiser s1 (8 bytes)
... Weather s0 (8 bytes)
... Weather s1 (4 bytes)
... Weather s1 (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)
... 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)