Donkey Kong Country: Tropical Freeze and SAVW (File Format): Difference between pages

From Retro Modding Wiki
(Difference between pages)
Jump to navigation Jump to search
>Aruki
(we probably dont need trivia sections)
 
>Aruki
No edit summary
 
Line 1: Line 1:
[[Donkey Kong Country: Tropical Freeze]] is the most recent Retro release, and their first game on the Wii U; along with the new console came a large overhaul of the engine, with a lot of old formats being removed, a lot of new ones introduced, and a lot of the remaining ones being overhauled completely.
''This article is for the SAVW format from Metroid Prime 1 and 2. See [[SAVW (File Format)]] for the other revisions of this format.''
 
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, like whether a particular MemoryRelay has been activated, whether you've scanned a particular scan has been fully scanned, etc.


__TOC__
__TOC__


== Formats ==
== Format ==


{| class="wikitable"
{| class="wikitable"
! Format
! Type
! Contents
! Count
! Name
! Notes
! MP1
! MP2
|-
| u32
| 1
| '''Magic'''
| Always <code>0xC001D00D</code>.
| {{check}}
| {{check}}
|-
| u32
| 1
| '''Version'''
| See [[SAVW (File Format)|hub article]] for a list of possible version numbers.
| {{check}}
| {{check}}
|-
| u32
| 1
| '''Area Count'''
| Number of areas contained in this world.
| {{check}}
| {{check}}
|-
| u32
| 1
| '''Cinematic Skip Count'''
| Count of skippable cinematics.
| {{check}}
| {{check}}
|-
| u32
| ''Cinematic Skip Count''
| '''Cinematic Skip Instance IDs'''
| Array of instance IDs listing every Cinematic Skip SpecialFunction instance (MP1)/Camera instance with cinematic skip enabled (MP2) in the world.
| {{check}}
| {{check}}
|-
| u32
| 1
| '''MemoryRelay Count'''
| Count of MemoryRelay instances.
| {{check}}
| {{check}}
|-
|-
| [[ANIM (File Format)|ANIM]]
| u32
| Animation
| ''MemoryRelay Count''
| '''MemoryRelay Instance IDs'''
| Array of instance IDs listing every MemoryRelay instance in the world.
| {{check}}
| {{check}}
|-
|-
| [[ARC (File Format)|ARC]]
| u32
| Archive
| 1
| '''Layer Toggle Count'''
| Count of layers that can be toggled on/off from this world.
| {{check}}
| {{check}}
|-
|-
| [[CABH (File Format)|CABH]]
| [[#Layer Toggle|Layer Toggle]]
| Audio Bus Heirarchy
| 1
| '''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.
| {{check}}
| {{check}}
|-
|-
| [[CAUD (File Format)|CAUD]]
| u32
| Audio Sound Effect
| 1
| '''Door Count'''
| Count of DoorArea/Door instances.
| {{check}}
| {{check}}
|-
|-
| [[CHAR (File Format)|CHAR]]
| u32
| Character
| ''Door Count''
| '''Door Instance IDs'''
| Array of instance IDs listing every DoorArea/Door instance in the world.
| {{check}}
| {{check}}
|-
|-
| [[CLSN (File Format)|CLSN]]
| u32
| Collision
| 1
| '''Scannable Object Count'''
| Count of scannable objects in the next array.
| {{check}}
| {{check}}
|-
|-
| [[CMDL (Tropical Freeze)|CMDL]]
| [[#Scannable Object|Scannable Object]]
| Model
| ''Scannable Object Count''
| '''Scannable Object Array'''
| Array describing every scannable object in this world.
| {{check}}
| {{check}}
|-
|-
| [[CSMP (File Format)|CSMP]]
| u32
| Audio Sample
| 1
| '''System State Env Var Count'''
| Count of system state env vars modified from this world.
| {{nocheck}}
| {{check}}
|-
|-
| [[DCLN (File Format)|DCLN]]
| [[#Environment Variable|Environment Variable]]
| Dynamic Collision
| ''System State Env Var Count''
| '''System State Env Var Array'''
| Array of env vars affecting the entire system. Mainly used for multiplayer music unlocks.
| {{nocheck}}
| {{check}}
|-
|-
| [[FSMC (File Format)|FSMC]]
| u32
| Finite State Machine
| 1
| '''Game State Env Var Count'''
| Count of game state env vars modified from this world.
| {{nocheck}}
| {{check}}
|-
|-
| [[GENP (File Format)|GENP]]
| [[#Environment Variable|Environment Variable]]
| Generic Particle System
| ''Game State Env Var Count''
| '''Game State Env Var Array'''
| Array of env vars affecting only this save slot. Mainly used to enable the Dark World map button.
| {{nocheck}}
| {{check}}
|-
|-
| [[GFX (File Format)|GFX]]
| u32
| Flash Movie
| 1
| '''Unmappable Object Count'''
| Count of unmappable objects in the world.
| {{nocheck}}
| {{check}}
|-
|-
| [[GFXL (File Format)|GFXL]]
| u32
| Flash Texture Library
| ''Unmappable Object Count''
| '''Unmappable Object Instance IDs'''
| Array of instance IDs listing every instance that can be removed from the map. Mainly used by Translator Door Location SpecialFunctions.
| {{nocheck}}
| {{check}}
|-
| colspan=6 {{unknown|End of file}}
|}
 
=== Layer Toggle ===
 
{| class="wikitable"
! Type
! Name
! Notes
|-
|-
| [http://en.wikipedia.org/wiki/MPEG-4_Part_14 MP4]
| u32
| Video
| '''Area ID'''
| Internal area ID (not the MREA ID).
|-
|-
| [[LDTA (File Format)|LDTA]]
| u32
| Loose Data
| '''Layer Index'''
| Index of the layer that can be toggled.
|-
|-
| [[LPRB (File Format)|LPRB]]
| colspan=3 {{unknown|End of layer}}
| Light Probe
|}
 
=== Scannable Object ===
 
{| class="wikitable"
! Type
! Name
! Notes
|-
|-
| [[MSBT (File Format)|MSBT]]
| Asset ID
| Message Table
| '''SCAN Asset ID'''
| Asset ID of a [[SCAN (Metroid Prime)|SCAN]] file.
|-
|-
| [[MTRL (File Format)|MTRL]]
| u32
| Material Shaders
| '''Logbook Category'''
| Enum describing which logbook category this scan is part of. Always 0 in MP2. See below for possible values for MP1.
|-
|-
| [[PAK (Tropical Freeze)|PAK]]
| colspan=3 {{unknown|End of scan}}
| Packages
|}
 
Possible logbook category values (MP1 only):
 
{| class="wikitable"
! ID
! Category
|-
|-
| [[ROOM (File Format)|ROOM]]
| 0
| Room Object Data
| Non-Logbook
|-
|-
| [[RSTC (File Format)|RSTC]]
| 1
| Rule Set
| Space Pirate Data
|-
|-
| [[SKEL (File Format)|SKEL]]
| 2
| Skeleton
| Chozo Lore
|-
|-
| [[CMDL (Tropical Freeze)|SMDL]]
| 3
| Skinned Model
| Creatures
|-
|-
| [[SPWN (File Format)|SPWN]]
| 4
| Spawn Particle System
| Research
|}
 
=== Environment Variable ===
 
{| class="wikitable"
! Type
! Name
! Notes
|-
|-
| [[SWSH (File Format)|SWSH]]
| string
| Swoosh Particle System
| '''Variable Name'''
| Name of the environment variable as a zero-terminated string.
|-
|-
| [[TXTR (Tropical Freeze)|TXTR]]
| u32
| Texture
| {{unknown|Unknown}}
| Always 0?
|-
|-
| [[UINF (File Format)|UINF]]
| u32
| Universe Info
| {{unknown|Unknown}}
| Always 1?
|-
|-
| [[CMDL (Tropical Freeze)|WMDL]]
| u32
| World Model
| {{unknown|Unknown}}
| Always 0?
|-
|-
| [[XFRM (File Format)|XFRM]]
| colspan=3 {{unknown|End of environment variable}}
| Transform Particle System
|}
|}


[[Category:Donkey Kong Country: Tropical Freeze]]
[[Category:File Formats]]
[[Category:Metroid Prime]]
[[Category:Metroid Prime 2 Demo]]
[[Category:Metroid Prime 2: Echoes]]

Revision as of 17:24, 29 May 2016

This article is for the SAVW format from Metroid Prime 1 and 2. See SAVW (File Format) for the other revisions of this format.

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, like whether a particular MemoryRelay has been activated, whether you've scanned a particular scan has been fully scanned, etc.

Format

Type Count Name Notes MP1 MP2
u32 1 Magic Always 0xC001D00D.
u32 1 Version See hub article for a list of possible version numbers.
u32 1 Area Count Number of areas contained in this world.
u32 1 Cinematic Skip Count Count of skippable cinematics.
u32 Cinematic Skip Count Cinematic Skip Instance IDs Array of instance IDs listing every Cinematic Skip SpecialFunction instance (MP1)/Camera instance with cinematic skip enabled (MP2) in the world.
u32 1 MemoryRelay Count Count of MemoryRelay instances.
u32 MemoryRelay Count MemoryRelay Instance IDs Array of instance IDs listing every MemoryRelay instance in the world.
u32 1 Layer Toggle Count Count of layers that can be toggled on/off from this world.
Layer Toggle 1 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.
u32 1 Door Count Count of DoorArea/Door instances.
u32 Door Count Door Instance IDs Array of instance IDs listing every DoorArea/Door instance in the world.
u32 1 Scannable Object Count Count of scannable objects in the next array.
Scannable Object Scannable Object Count Scannable Object Array Array describing every scannable object in this world.
u32 1 System State Env Var Count Count of system state env vars modified from this world.
Environment Variable System State Env Var Count System State Env Var Array Array of env vars affecting the entire system. Mainly used for multiplayer music unlocks.
u32 1 Game State Env Var Count Count of game state env vars modified from this world.
Environment Variable Game State Env Var Count Game State Env Var Array Array of env vars affecting only this save slot. Mainly used to enable the Dark World map button.
u32 1 Unmappable Object Count Count of unmappable objects in the world.
u32 Unmappable Object Count Unmappable Object Instance IDs Array of instance IDs listing every instance that can be removed from the map. Mainly used by Translator Door Location SpecialFunctions.
End of file

Layer Toggle

Type Name Notes
u32 Area ID Internal area ID (not the MREA ID).
u32 Layer Index Index of the layer that can be toggled.
End of layer

Scannable Object

Type Name Notes
Asset ID SCAN Asset ID Asset ID of a SCAN file.
u32 Logbook Category Enum describing which logbook category this scan is part of. Always 0 in MP2. See below for possible values for MP1.
End of scan

Possible logbook category values (MP1 only):

ID Category
0 Non-Logbook
1 Space Pirate Data
2 Chozo Lore
3 Creatures
4 Research

Environment Variable

Type Name Notes
string Variable Name Name of the environment variable as a zero-terminated string.
u32 Unknown Always 0?
u32 Unknown Always 1?
u32 Unknown Always 0?
End of environment variable