If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
Mother 3/Map info table: Difference between revisions
< Mother 3
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...") |
Lelegofrog (talk | contribs) m (Lelegofrog moved page MOTHER 3/Map info table to Mother 3/Map info table: title consistency with TCRF) |
||
(4 intermediate revisions by 3 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: | ** <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:03, 20 May 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
- 00-03 (04) = [ A ] Bitfield
- 04-0F (0C) = Unclassified data
- 10-13 (04) = [ B ] Layer 1 info
- 14-17 (04) = [ C ] Layer 2 info
- 18-1B (04) = [ D ] Layer 3 info
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