Persist.dat

From OniGalore
Revision as of 00:08, 25 August 2008 by Gumby (talk | contribs) (Table 1 imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<IMG SRC="../../design/rechts2.gif" BORDER=0 HSPACE=5 ALT=""></A>

Chapter 2 - The header (only the first 96 bytes, because the rest is completely zero)

<IMG SRC="images/save_a.gif" BORDER=0>

HexTranslationMeaning
0F 00 00 0015unknown; maybe 15 levels available; don't alter it or you'll lose all your settings
<NOBR>0E 0B D0 D0</NOBR>unknownunknown
5C 7F 0C 00819036the levels that are visible in the "load game" list; it's a bitset; the following bits are possible:

1 - level 0*
2 - level 1*
4 - level 2
... - ...
524288 - level 19
*) level 0 and 1 are always visible, so these bits aren't used
  unknown
01 00 00 001killed griffin (0 = no, 1 = yes)
FE 1B 00 007166unknown, but it's a bitset
1F 00 00 0031unknown
13 00 00 0019unknown
01 00 00 001unknown
04 00 00 004level of detail; the following options are possible (values in dec):
0 - extra low
1 - low
2 - medium
3 - high
4 - extra high
00 00 80 3F1.000000music volume (0.0 = min, 1.0 = max)
06 00 00 006subtitles / invert mouse / cheats as a bitset; the following bits are possible (values in dec):
1 - show subtitles
2 - invert mouse
4 - enable cheats
02 00 00 002difficulty; the following options are possible:
0 - easy
1 - medium
2 - hard
20 03800resolution: width
02 58600resolution: height
20 00 00 0032color depth
00 00 00 3F0.500000brightness (0.0 = min, 1.0 = max
03 00 00 003last saved level
02 00 00 002last saved savepoint