mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 20:31:51 +09:00
font update; ui remocon fix; save doc elaboration
UI RemoCon fix: RemoCon will no longer widen to the screen width when being used
This commit is contained in:
19
work_files/DataFormats/Savegame container.txt
Normal file
19
work_files/DataFormats/Savegame container.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
A savegame consists of a Playable Character Information, Savegame Metadata, and other files.
|
||||
A savegame is a single file in the format of TerranVirtualDisk.
|
||||
|
||||
Files contained the TerranVirtualDisk is as follows:
|
||||
|
||||
(root)
|
||||
worldinfo0 -- Savegame Metadata GZipped (TESV)
|
||||
worldinfo1 -- Layer Data GZipped (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
|
||||
(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)
|
||||
(51621D) -- The Debug Player (Serialised Entity Information)
|
||||
load_order.txt -- LoadOrder.csv
|
||||
|
||||
|
||||
|
||||
Remarks: world history is created at the load time by scanning all the actors' corresponding ActorValue
|
||||
@@ -15,15 +15,23 @@ Ord Hex Description
|
||||
|
||||
... Terrain seed (8 bytes)
|
||||
... Randomiser seed (8 bytes)
|
||||
... Randomiser iterations (4 bytes)
|
||||
... Weather seed (8 bytes)
|
||||
... Weather iterations (4 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)
|
||||
|
||||
... ReferenceID of the player (4 bytes)
|
||||
... ReferenceID of the player (4 bytes, a fixed value of 91A7E2)
|
||||
... Current world's time_t (the ingame time, 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
|
||||
... Total playtime in time_t (4 bytes) // will record 136.1 years of playtime
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ Ord Hex Description
|
||||
05 Number of swatches
|
||||
00 - No palette mode (using defined palette)
|
||||
- 256 colours (using user-defined)
|
||||
nn - Colour count (1-255)
|
||||
nn - Colour count (0-255; 0 is interpreted as 256)
|
||||
|
||||
06 Width of the image (LSB)
|
||||
07 Width of the image (MSB)
|
||||
@@ -37,6 +37,6 @@ Ord Hex Description
|
||||
... Palette colour 2, if any (0R)
|
||||
... Palette colour 2, if any (GB)
|
||||
|
||||
... Colour indices
|
||||
... Colour indices, each byte represents each pixel
|
||||
|
||||
<EOF>
|
||||
Reference in New Issue
Block a user