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

m
link fix
m (/link)
m (link fix)
Line 5: Line 5:
As players of Oni are well aware, the game does not allow arbitrary saving ("save anywhere"), but relies on the use of fixed savepoints activated through level scripting by reaching certain places in each level. This means that by setting a maximum number of levels and savepoints for Oni, the developer could store the total state of the player's progress in a single, fixed-size file -- a 206,496 byte file, to be exact.
As players of Oni are well aware, the game does not allow arbitrary saving ("save anywhere"), but relies on the use of fixed savepoints activated through level scripting by reaching certain places in each level. This means that by setting a maximum number of levels and savepoints for Oni, the developer could store the total state of the player's progress in a single, fixed-size file -- a 206,496 byte file, to be exact.


In addition to savepoint data, persist.dat has a header which stores Oni's preferences as chosen on the Options screen (note that this does not include [[Oni (folder)/key_config.txt|key bindings]]). It also records whether the cheats are enabled, i.e. whether you have beaten the game (however, cheats are unlocked at all times when playing with the [[Daodan DLL]] installed or when using a [[AE:FERAL|Intel Mac build]]), and whether you killed Griffin in {{C|13}}.
In addition to savepoint data, persist.dat has a header which stores Oni's preferences as chosen on the Options screen (note that this does not include [[Oni (folder)/key_config.txt|key bindings]]). It also records whether the cheats are enabled, i.e. whether you have beaten the game (however, cheats are unlocked at all times when playing with the [[Daodan DLL]] installed or when using a [[FERAL|Intel Mac build]]), and whether you killed Griffin in {{C|13}}.


The persist.dat file has nothing to do with Oni's [[Dat|instance 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., then later on added .raw and then .sep as unique suffixes when they needed to break out the level data .dats).
The persist.dat file has nothing to do with Oni's [[Dat|instance 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., then later on added .raw and then .sep as unique suffixes when they needed to break out the level data .dats).