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
mNo edit summary |
m (→Layer info) |
||
Line 34: | Line 34: | ||
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'' |
Revision as of 21:57, 8 August 2013
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