Persist.dat: Difference between revisions

From OniGalore
Jump to navigation Jump to search
("New Info" - level unlocks >31)
(previous contents were merged into the page that this one now redirects to)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Unlocking more levels==
#REDIRECT[[Oni (folder)/persist.dat]]
To unlock (all) of the levels, fill the range 0x08 to 0x28 with "FF". So far this has caused no problems, and allows you to add more levels to the game. Levels will not be visible unless there is a corrisponding LevelX_Final.dat in the Gamedata folder, and an ONLD that matches the level number in the level0_final.dat. Levels abouve 39 are not currently unlockable due to the 40 level savepoint limit in the persist.dat (probably reflecting an underlying engine restriction).
 
==Header==
 
[[Image:Persist_header.gif]]
<TABLE BORDER=0 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000">
<TR BGCOLOR="#FFDDBB" ALIGN=CENTER><TD WIDTH=15%><B>Hex</B><TD WIDTH=15%><B>Translation</B><TD WIDTH=70%><B>Meaning</B></TR>
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF0000">0F 00 00 00<TD>15<TD ALIGN=LEFT>unknown; maybe 15 levels available; don't alter it or you'll lose all your settings</TR>
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF0000">0E 0B D0 D0<TD>unknown<TD ALIGN=LEFT>unknown</TR>
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF0000">5C 7F 0C 00<TD>819036<TD ALIGN=LEFT>the levels that are visible in the "load game" list; it's a bitset; the following bits are possible:<P>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
Level unlock data for 0-31
<TR VALIGN=TOP><TD ALIGN=RIGHT>1 -&nbsp;<TD>level 0*</TR>
<TR VALIGN=TOP><TD ALIGN=RIGHT>2 -&nbsp;<TD>level 1*</TR>
<TR VALIGN=TOP><TD ALIGN=RIGHT>4 -&nbsp;<TD>level 2</TR>
<TR VALIGN=TOP><TD ALIGN=RIGHT>... -&nbsp;<TD>...</TR>
<TR VALIGN=TOP><TD ALIGN=RIGHT>524288 -&nbsp;<TD>level 19</TR>
</TABLE>*) level 0 and 1 are always visible, so these bits aren't used
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF0000">00 00 00 00<TD>&nbsp;<TD ALIGN=LEFT>Level unlock data for 31-63
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF0000">00 00 00 00<TD>&nbsp;<TD ALIGN=LEFT>Level unlock data for 63-95
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF0000">00 00 00 00<TD>&nbsp;<TD ALIGN=LEFT>Level unlock data for 95-127
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF0000">00 00 00 00<TD>&nbsp;<TD ALIGN=LEFT>Level unlock data for 127-159
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF0000">00 00 00 00<TD>&nbsp;<TD ALIGN=LEFT>Level unlock data for 159-191
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF0000">00 00 00 00<TD>&nbsp;<TD ALIGN=LEFT>Level unlock data for 191-224
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF0000">00 00 00 00<TD>&nbsp;<TD ALIGN=LEFT>Level unlock data for 191-255
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFFF00">01 00 00 00<TD>1<TD ALIGN=LEFT>killed griffin (0 = no, 1 = yes)
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#00FF00">FE 1B 00 00<TD>7166<TD ALIGN=LEFT>unknown, but it's a bitset
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#00FFFF">1F 00 00 00<TD>31<TD ALIGN=LEFT>unknown
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF00FF">13 00 00 00<TD>19<TD ALIGN=LEFT>unknown
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFC8C8">01 00 00 00<TD>1<TD ALIGN=LEFT>unknown
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFFFC8">04 00 00 00<TD>4<TD ALIGN=LEFT>level of detail; the following options are possible (values in dec):<br>0 - extra low<BR>1 - low<BR>2 - medium<BR>3 - high<BR>4 - extra high
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#C8FFC8">00 00 80 3F<TD>1.000000<TD ALIGN=LEFT>music volume (0.0 = min, 1.0 = max)
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#C8FFFF">06 00 00 00<TD>6<TD ALIGN=LEFT>subtitles / invert mouse / cheats as  a bitset; the following bits are possible (values in dec):<br>1 - show subtitles<BR>2 - invert mouse<BR>4 - enable cheats
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFC8FF">02 00 00 00<TD>2<TD ALIGN=LEFT>difficulty; the following options are possible:<br>0 - easy<BR>1 - medium<BR>2 - hard
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFC800">20 03<TD>800<TD ALIGN=LEFT>resolution: width
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFC800">02 58<TD>600<TD ALIGN=LEFT>resolution: height
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#C800C8">20 00 00 00<TD>32<TD ALIGN=LEFT>color depth
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#C87C64">00 00 00 3F<TD>0.500000<TD ALIGN=LEFT>brightness (0.0 = min, 1.0 = max
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#B0C3D4">03 00 00 00<TD>3<TD ALIGN=LEFT>last saved level
<TR VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"><TD BGCOLOR="#E7CEA5">02 00 00 00<TD>2<TD ALIGN=LEFT>last saved savepoint

Latest revision as of 20:52, 23 May 2013