Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

MOTHER 3/Map info table: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Created page with "{{Infobox table|name=Map info table |game=MOTHER 3 |loc=ROM |start=0xD2E1D8 |end=0xD34F43 |numentries=1000 (0x3E8) |entrylength=28 bytes (0x1C) |totallength=28012 bytes (0x6D6...")
 
m (Xkeeper moved page MOTHER 3:Map info table to MOTHER 3/Map info table: normalize subpages and titles)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox table|name=Map info table
{{subpage|game=MOTHER 3:ROM map}}
{{Infobox table
|name=Map info table
|game=MOTHER 3
|game=MOTHER 3
|loc=ROM
|loc=ROM
Line 10: Line 12:


==Overview==
==Overview==
This table contains map layer dimensions and alpha values.
This table contains map layer dimensions and alpha values. The table has a 12-byte dummy header that can be ignored (but should be left untouched).


===Field listing===
===Field listing===
Line 34: Line 36:
Each map has three layers. The 4-byte layer info includes the dimensions of each respective layer.
Each map has three layers. The 4-byte layer info includes the dimensions of each respective layer.
* <tt>00-00 (01)</tt> = Bitfield
* <tt>00-00 (01)</tt> = Bitfield
** <tt>0x07</tt> = (Width - 1), in units of 16 [[MOTHER_3:Map_tilemaps|tiles]] (units of 256 pixels)
** <tt>0x07</tt> = (Width - 1), in units of 16 [[MOTHER_3:Map_tilemap_table|tiles]] (units of 256 pixels)
** <tt>0x38</tt> = (Height - 1), in units of 16 tiles (units of 256 pixels)
** <tt>0x38</tt> = (Height - 1), in units of 16 tiles (units of 256 pixels)
** <tt>0xC0</tt> = ''Unclassified data''
** <tt>0xC0</tt> = ''Unclassified data''
* <tt>01-03 (03)</tt> = ''Unclassified data''
* <tt>01-03 (03)</tt> = ''Unclassified data''

Latest revision as of 02:42, 24 January 2024

This is a sub-page of MOTHER 3.

Map info table
Game MOTHER 3
Start Address 0xD2E1D8
End Address 0xD34F43
# of Entries 1000 (0x3E8)
Entry Length 28 bytes (0x1C)
Total Length 28012 bytes (0x6D6C)
Back to the ROM map

Overview

This table contains map layer dimensions and alpha values. The table has a 12-byte dummy header that can be ignored (but should be left untouched).

Field listing

Table view

       00   01   02   03   04   05   06   07   08   09   0A   0B   0C   0D   0E   0F
    +--------------------------------------------------------------------------------
00  | [        A        ] [                            ?                            ]
10  | [        B        ] [        C        ] [        D        ]

Alpha

It's unknown exactly how these values work, but they do influence how the map layers blend together; for example, the 'spotlight' layers in the Drago Plateau caves (maps 462-464) have special values.

Layer info

Each map has three layers. The 4-byte layer info includes the dimensions of each respective layer.

  • 00-00 (01) = Bitfield
    • 0x07 = (Width - 1), in units of 16 tiles (units of 256 pixels)
    • 0x38 = (Height - 1), in units of 16 tiles (units of 256 pixels)
    • 0xC0 = Unclassified data
  • 01-03 (03) = Unclassified data