MAPA (File Format): Difference between revisions
Jump to navigation
Jump to search
The Corruption format should actually be correct now
>Claris (Saved State ID) |
>Claris (The Corruption format should actually be correct now) |
||
Line 6: | Line 6: | ||
== Format == | == Format == | ||
=== Header === | === Header === | ||
The header is very | The header is very straightforward, and has some minor differences depending on version. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 46: | Line 45: | ||
|{{check}} | |{{check}} | ||
|- | |- | ||
|{{Vector3f}} | |||
|{{ | |'''Map Adjustment''' | ||
|{{nocheck}} | |{{nocheck}} | ||
|{{check}} | |{{check}} | ||
Line 55: | Line 54: | ||
|{{unknown|Unknown}} | |{{unknown|Unknown}} | ||
|{{nocheck}} | |{{nocheck}} | ||
|{{ | |{{nocheck}} | ||
|{{check}} | |{{check}} | ||
|- | |- | ||
|u32 | |u32 | ||
| | |'''Mappable Object Count''' | ||
|{{check}} | |{{check}} | ||
|{{check}} | |{{check}} | ||
|{{check}} | |{{check}} | ||
|- | |- | ||
|u32 | |u32 | ||
|''' | |'''Vertex Count''' | ||
|{{check}} | |{{check}} | ||
|{{check}} | |{{check}} | ||
Line 77: | Line 70: | ||
|- | |- | ||
|u32 | |u32 | ||
|''' | |'''Primitive Count''' | ||
|{{check}} | |{{check}} | ||
|{{check}} | |{{check}} | ||
Line 83: | Line 76: | ||
|- | |- | ||
|u32 | |u32 | ||
|''' | |'''Environment Variable Section Size''' | ||
|{{ | |{{nocheck}} | ||
|{{nocheck}} | |||
|{{check}} | |{{check}} | ||
|- | |||
|u32 | |||
|'''Environment Variable Count''' | |||
|{{nocheck}} | |||
|{{nocheck}} | |||
|{{check}} | |{{check}} | ||
|- | |||
| colspan=5 {{unknown|End of Header}} | |||
|} | |} | ||
Line 103: | Line 104: | ||
|Metroid Prime 3: Corruption | |Metroid Prime 3: Corruption | ||
|5 | |5 | ||
|} | |||
=== Environment Variables === | |||
Only exists in Corruption; used for some areas with Landing Sites. | |||
{|class="wikitable" | |||
!Type | |||
!Count | |||
!Description | |||
|- | |||
|string | |||
|Environment Variable Count | |||
|'''Environment Variable''' | |||
|- | |||
| colspan=3 {{unknown|Pad to 4 bytes}} | |||
|- | |||
| colspan=3 {{unknown|End of Environment Variables}} | |||
|} | |} | ||
Line 112: | Line 129: | ||
!MP1 & MP2 | !MP1 & MP2 | ||
!MP3 | !MP3 | ||
|- | |- | ||
|u32 | |u32 | ||
Line 131: | Line 143: | ||
|'''Editor ID'''; Same ID format as SCLY, indicates associated world object | |'''Editor ID'''; Same ID format as SCLY, indicates associated world object | ||
|{{check}} | |{{check}} | ||
|{{ | |{{check}} | ||
|- | |- | ||
|[[Saved State ID]] | |[[Saved State ID]] | ||
Line 139: | Line 151: | ||
|- | |- | ||
|u32 | |u32 | ||
| | |{{unknown|Unknown}} | ||
|{{check}} | |{{check}} | ||
|{{check}} | |{{check}} | ||
Line 149: | Line 161: | ||
|- | |- | ||
|u32 * 4 | |u32 * 4 | ||
| | |{{unknown|Unknown}} | ||
|{{check}} | |{{check}} | ||
|{{check}} | |{{check}} | ||
|- | |||
| colspan=4 {{unknown|End of Mappable Object}} | |||
|} | |} | ||