SAVW (File Format): Difference between revisions

Jump to navigation Jump to search
no edit summary
>Aruki
(trying out all versions on one page)
>Aruki
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
The '''SAVW format''' determines what data gets saved to the memory card. It's used to save information on non-hardcoded parts of the game.
The '''SAVW format''' describes save data in the Metroid Prime series and Donkey Kong Country Returns. It allows any data used by the game's script data that needs to be preserved between play sessions to be saved and retrieved from the save file without the executable having to know anything about it. This is used for, for instance, saving whether a particular MemoryRelay has been activated, or whether a specific layer has been toggled on.


__TOC__
__TOC__
Line 56: Line 56:
| ''Cinematic Skip Count''
| ''Cinematic Skip Count''
| '''Cinematic Skip Array'''
| '''Cinematic Skip Array'''
| Array describing all skippable cinematics in the world. Points to Cinematic Skip SpecialFunctions in MP1 and Cameras/CinematicCameras with cinematic skip enabled in MP2+.
| Array describing all skippable cinematics in the world. Points to Cinematic Skip SpecialFunctions (MP1) or cameras with cinematic skip enabled (MP2+).
| {{check}}
| {{check}}
| {{check}}
| {{check}}
Line 92: Line 92:
| ''Layer Toggle Count''
| ''Layer Toggle Count''
| '''Layer Toggle Array'''
| '''Layer Toggle Array'''
| Array specifying every layer that can be toggled on/off from this world (any layer referenced by a ScriptLayerController). The layers specified can be in other worlds.
| Array specifying every layer toggleable from this world (referenced by a ScriptLayerController). The layers specified can be in other worlds.
| {{check}}
| {{check}}
| {{check}}
| {{check}}
Line 232: Line 232:
=== Saved State Descriptor ===
=== Saved State Descriptor ===


In Metroid Prime 1 and 2, saved state values were referenced only via the instance ID of the object that the state is for. In Prime 3 and DKCR, a 128-bit [[Saved State ID]] was introduced that handles references to save file data, and is stored in the file in conjunction with the instance IDs.
In Metroid Prime 1 and 2, saved state values were referenced only via the instance ID of the object that the state is for. In Prime 3 and DKCR, a 128-bit [[GUID]] was introduced that handles references to save file data, and is stored in the file in conjunction with the instance IDs.


{| class="wikitable"
{| class="wikitable"
Line 243: Line 243:
! DKCR
! DKCR
|-
|-
| [[Saved State ID]]
| [[GUID]]
| '''Saved State ID'''
| '''GUID'''
| ID of this saved state.
| ID of this saved state.
| {{nocheck}}
| {{nocheck}}
Line 318: Line 318:
| 4
| 4
| Research
| Research
|-
| 5
| Artifacts
|}
|}


Anonymous user

Navigation menu