MAPW (File Format): Difference between revisions

From Retro Modding Wiki
Jump to navigation Jump to search
>Aruki
(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...")
 
>Aruki
mNo edit summary
Line 32: Line 32:
|}
|}


[[Category:File Format]]
[[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 08: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