Difference between revisions of "Mario vs. Donkey Kong 2: March of the Minis:Level Format"

From Data Crystal
Jump to: navigation, search
m
Line 18: Line 18:
 
| 0004
 
| 0004
 
| UInt32
 
| UInt32
| Offset to Actor Data
+
| Offset to Actor Data (usually/always 0x14)
 
|-
 
|-
 
| 0008
 
| 0008
 
| UInt32
 
| UInt32
| Offset to Tile Loading Data
+
| Offset to Tile Loading Data (usually/always 0x1C)
 
|-
 
|-
 
| 000C
 
| 000C
 
| UInt32
 
| UInt32
| Offset to Level Properties Data
+
| Offset to Level Properties Data (usually/always 0x1E70)
 
|-
 
|-
 
| 0010
 
| 0010
 
| UInt32
 
| UInt32
| Offset to Water/Lava Data
+
| Offset to Water/Lava Data (usually/always 0x1E98)
 
|}
 
|}
  
 
==Level Properties Data==
 
  
 
==Actor Data==
 
==Actor Data==
Line 52: Line 50:
 
|}
 
|}
  
===Actor Instance===
+
 
 +
===Instance===
 
See [[Mario_vs._Donkey_Kong_2:_March_of_the_Minis:Actors|here]] for more info.
 
See [[Mario_vs._Donkey_Kong_2:_March_of_the_Minis:Actors|here]] for more info.
  
Line 70: Line 69:
 
|}
 
|}
  
==Tile Data==
+
 
 +
==Tile Loading Data==
 +
{| class="wikitable"
 +
|-
 +
! Offset
 +
! Length
 +
! Description
 +
|-
 +
| 00
 +
| UInt32
 +
| Number of Tile IDs
 +
|-
 +
| 02
 +
| UInt16 * Number of Tile IDs
 +
| Array of tile IDs to load
 +
|}
 +
 
 +
==Level Properties Data==
  
 
==Water/Lava Data==
 
==Water/Lava Data==

Revision as of 18:38, 27 February 2021


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.

Values are in Little Endian.

Header

Offset Length Description
0000 UInt32 Always 0x0A
0004 UInt32 Offset to Actor Data (usually/always 0x14)
0008 UInt32 Offset to Tile Loading Data (usually/always 0x1C)
000C UInt32 Offset to Level Properties Data (usually/always 0x1E70)
0010 UInt32 Offset to Water/Lava Data (usually/always 0x1E98)


Actor Data

Offset Length Description
0000 UInt32 Number of Actor Instances
0004 0004 * Number of Actor Instances Actor Instance(s)


Instance

See here for more info.

Offset Length Description
00 UInt16 ID
02 UInt16 Parameter


Tile Loading Data

Offset Length Description
00 UInt32 Number of Tile IDs
02 UInt16 * Number of Tile IDs Array of tile IDs to load

Level Properties Data

Water/Lava Data