Difference between revisions of "MAPW (File Format)"
From Retro Modding Wiki
(Created page with "The '''MAPW format''' defines the map for a world. == Format == MAPW is an extremely simple format; it's essentially just an array of MAPA IDs. There's always one MAPA per a...") |
m |
||
Line 32: | Line 32: | ||
|} | |} | ||
− | [[Category:File | + | [[Category:File Formats]] |
[[Category:Metroid Prime]] | [[Category:Metroid Prime]] | ||
[[Category:Metroid Prime 2: Echoes]] | [[Category:Metroid Prime 2: Echoes]] | ||
[[Category:Metroid Prime 3: Corruption]] | [[Category:Metroid Prime 3: Corruption]] |
Revision as of 02:21, 4 February 2015
The MAPW format defines the map for a world.
Format
MAPW is an extremely simple format; it's essentially just an array of MAPA IDs. There's always one MAPA per area. The MAPW format has never been updated; every Prime game uses the same version of the format, version 1. The only difference is that Prime 1/2 has 32-bit file IDs, while Prime 3 has 64-bit ones.
Offset | Type | Size | Description |
---|---|---|---|
0x0 | u32 | 4 | Magic; always 0xDEADF00D |
0x4 | u32 | 4 | Version; always 1 |
0x8 | u32 | 4 | MAPA count (AC) |
0xC | MAPA[] | 4 × AC | MAPA array |