mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-11 06:11:50 +09:00
gson test in progress
This commit is contained in:
@@ -5,10 +5,13 @@ Files contained the TerranVirtualDisk is as follows:
|
||||
|
||||
(root)
|
||||
worldinfo0 -- Savegame Metadata (TESV)
|
||||
Has fixed Entry ID of 32767
|
||||
Has fixed Entry ID of 32766
|
||||
worldinfo1 -- Copy of blocks.csv -- will use this from the next load
|
||||
Has fixed Entry ID of 32765
|
||||
worldinfo2 -- Copy of items.csv -- will use this from the next load
|
||||
Has fixed Entry ID of 32764
|
||||
worldinfo3 -- Copy of materials.csv -- will use this from the next load
|
||||
Has fixed Entry ID of 32763
|
||||
world[n] -- Layer Data (TEMD); [n] is a serial number of the world (starts at 1)
|
||||
Has fixed Entry ID of [n]
|
||||
(any random number in Hex 32768..ACTORID_MIN - 1) -- Serialised Dynamic Item?
|
||||
@@ -16,6 +19,7 @@ Files contained the TerranVirtualDisk is as follows:
|
||||
(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)
|
||||
Has fixed Entry ID of 32767
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -14,25 +14,28 @@ Ord Hex Description
|
||||
05 03 Number of hashes
|
||||
|
||||
06 Name of the world in UTF-8 (arbitrary length, must not contain NULL)
|
||||
... 00 String terminator
|
||||
n-1 00 String terminator
|
||||
|
||||
... Terrain seed (8 bytes)
|
||||
... Randomiser s0 (8 bytes)
|
||||
... Randomiser s1 (8 bytes)
|
||||
... Weather s0 (8 bytes)
|
||||
... Weather s1 (8 bytes)
|
||||
(Ord is now offset from n)
|
||||
|
||||
... ReferenceID of the player (4 bytes, a fixed value of 91A7E2)
|
||||
... Current world's time_t (the ingame time, 8 bytes)
|
||||
00 Terrain seed (8 bytes)
|
||||
08 Randomiser s0 (8 bytes)
|
||||
10 Randomiser s1 (8 bytes)
|
||||
18 Weather s0 (8 bytes)
|
||||
20 Weather s1 (8 bytes)
|
||||
|
||||
... Creation time in time_t (6 bytes)
|
||||
... Last play time in time_t (6 bytes)
|
||||
... Total playtime in time_t (4 bytes) // will record 136.1 years of playtime
|
||||
28 ReferenceID of the player (4 bytes, a fixed value of 91A7E2)
|
||||
2C Current world's time_t (the ingame time, 8 bytes)
|
||||
|
||||
... SHA-256 hash of worldinfo1 (32 bytes)
|
||||
... SHA-256 hash of worldinfo2 (32 bytes)
|
||||
... SHA-256 hash of worldinfo3 (32 bytes)
|
||||
34 Creation time in time_t (6 bytes)
|
||||
3A Last play time in time_t (6 bytes)
|
||||
40 Total playtime in time_t (4 bytes) // will record 136.1 years of playtime
|
||||
|
||||
... Gzipped thumbnail image in TGA format
|
||||
44 SHA-256 hash of worldinfo1 (32 bytes)
|
||||
72 SHA-256 hash of worldinfo2 (32 bytes)
|
||||
A4 SHA-256 hash of worldinfo3 (32 bytes)
|
||||
|
||||
D6 Compressed size (2 bytes)
|
||||
D8 Gzipped thumbnail image in TGA format
|
||||
(it's gzipped so that it saves faster, so no Lzma)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user