Mario vs. Donkey Kong 2: March of the Minis:Level Format
This is a mixture of research on the USA and the European versions of the game. In addition to page editor(s), TheMarioVariable has made contributions. Not everything has been tested in-game yet.
Values are in Little Endian.
|0000||UInt32||Magic value or format version|
|0004||UInt32||Offset to Actors to Load|
|0008||UInt32||Offset to Tiles to Load|
|000C||UInt32||Offset to Footer|
|0010||UInt32||Offset to Liquids|
Actors to Load
See here for a list of Actor IDs.
|0000||UInt32||Number of Actor IDs|
|0004||Array of UInt32 values||Actor IDs|
Tiles to Load
|00||UInt32||Number of Tile IDs|
|02||Array of UInt8 values||Tile IDs|
Each block is 16x16 pixels.
|00||UInt8||Level width (in half-blocks)|
|01||UInt8||Level height (in half-blocks)|
|08||UInt32||Offset to Actor Placements|
|0C||UInt32||Offset to Tile Placements|
|10||UInt32||Offset to Misc. Object Placements. At least some of the time, this is set to the value of the next field (at 0x14) if the Misc. Object Placements section isn't being used.|
|14||UInt32||Offset to Tile Collison Placements|
|18||UInt32||Offset to Warning Sign Placements|
|1C||UInt32||Offset to Intro Camera Properties|
|20||UInt32||Offset to Warp Pipe Placements. At least some of the time, this is set to 0x0 if the Warp Pipe Placements section isn't being used.|
|24||UInt32||Unknown. At least some of the time, this is set to (value of 0x20) + 0x8.|
|28||UInt32||Offset to Liquid Placements 2|