Translations:Save file/11/en
From Treasure Adventure Game Wiki
- Read the length of the entry - in this example it would be 43.
- Read the key of the entry until you encounter a null byte - in this example: chest 20 coins1977102
- Read the string value of the entry until you encounter a null byte - in this example: Chest 20 coins1977102
- Read the next x bytes, where x = entry_length - (key_length + string_value_length). key_length and string_value_length are lengths of the strings above, without counting the null byte. The string contains the integer value in ASCII form. In this example, x = 43 - (21 + 21) = 1, so we just read 1 character. This character is "1", so our number value is 1.
- Repeat the process from step 1 until the end of the file
So, the first entry would translate to:
Key | String value | Integer value |
---|---|---|
chest 20 coins1977102 | Chest 20 coins1977102 | 1 |
The purpose of the string value is currently unknown, and it seems like if the string value is present, the key is always the string value, but lowercase.