Jump to content

Oni (folder)/persist.dat: Difference between revisions

m
+cat
(lots of wording improvements and some corrections; structured the opening paragraphs better, with more subheaders)
m (+cat)
Line 2: Line 2:
The persist.dat file is the save-game and preference file for Oni. It can be edited most easily with GUI tools such as [[OSGE]] for Windows and [http://mods.oni2.net/node/155 OniLib] for Mac, though [[OBD]]-style hex-based documentation of this file is given below.
The persist.dat file is the save-game and preference file for Oni. It can be edited most easily with GUI tools such as [[OSGE]] for Windows and [http://mods.oni2.net/node/155 OniLib] for Mac, though [[OBD]]-style hex-based documentation of this file is given below.


The persist.dat file has nothing to do with Oni's [[Dat|.dat level files]] despite the ".dat" extension (it looks like Bungie West simply used .dat for every kind of file Oni read and wrote – saved_film####.dat, lvl_#_###_corpse.dat, etc. – until they later added .raw and then .sep as unique suffixes when they needed to break out some resource data from the levelX_Final.dat).
The persist.dat file has nothing to do with Oni's [[Dat|.dat level files]] despite the ".dat" extension (it looks like Bungie West simply used .dat for every kind of file Oni read and wrote – saved_film####.dat, lvl_#_###_corpse.dat, etc. – until they later added .raw and then .sep as unique suffixes when they needed to break out some resource data from levelX_Final.dat).


==Progress saving==
==Progress saving==
Line 107: Line 107:
{{OBDtr | 0x200| int32    |EBEBEB| 1E 00 00 00 | 30        | weapon ammo }}
{{OBDtr | 0x200| int32    |EBEBEB| 1E 00 00 00 | 30        | weapon ammo }}
|}
|}


;Player health
;Player health
Line 114: Line 115:
:Yes, Virginia, Oni does seem to support saved data for three weapons, even though the player can only carry one in the final game. Perhaps the three weapon slots were planned to allow for, say, [[Fully Armed Konoko|dual-wielded guns and a holstered weapon]]....
:Yes, Virginia, Oni does seem to support saved data for three weapons, even though the player can only carry one in the final game. Perhaps the three weapon slots were planned to allow for, say, [[Fully Armed Konoko|dual-wielded guns and a holstered weapon]]....


{{OBD}}
{{OBD}}[[Category:Game directory map]]