MAPW (File Format)

Revision as of 08:20, 4 February 2015 by >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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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