The current URL is datacrystal.tcrf.net.
EarthBound/Map Data/Global Tileset/Palette Table: Difference between revisions
(Add info on indexing and also fix the page category.) |
(Fix up format and start adding value descriptions) |
||
Line 11: | Line 11: | ||
}} | }} | ||
Primary listing of what locations on the global map use what tilesets and palettes. | |||
==Format== | |||
Each byte represents a tileset/palette entry for a sector of 8x4 tiles, starting at the top-left corner of the map. | |||
TTTT TPPP | TTTT TPPP | ||
The first five bits of each entry is the tileset, | The first five bits (<code>T</code>) of each entry is the tileset, so there are 32 global tilesets. The last three (<code>P</code>) is the map palette and is specific to the tileset, so there are up to 8 palettes per tileset. | ||
Entries are arranged by sector rows, so given that the global map is 32 sectors wide, a table index can be generated from a sector x,y coordinate (starting from the top left sector as 0,0), using the formula <code>table_index = x + y * 32</code>. | Entries are arranged by sector rows, so given that the global map is 32 sectors wide, a table index can be generated from a sector x,y coordinate (starting from the top left sector as 0,0), using the formula <code>table_index = x + y * 32</code>. A table index can be generated from a tile x,y coordinate using the formula <code>table_index = x / 8 + y / 4 * 32</code>. | ||
Note that the global map is 32 sectors wide by 80 sectors tall for a total of 2560 entries. | Note that the global map is 32 sectors wide by 80 sectors tall for a total of 2560 entries. | ||
==Values== | |||
===Tileset <tt>00</tt>: Lost Underworld=== | |||
Tileset used for the [https://earthbound.fandom.com/wiki/Lost_Underworld Lost Underworld] area of the game. | |||
Usable palettes: | |||
* <tt>0</tt>: ?? | |||
* <tt>1</tt>: Only palette used in EB? | |||
* <tt>2</tt>: ?? | |||
* <tt>3</tt>: ?? | |||
===Tileset <tt>01</tt>: Onett=== | |||
Tileset used for the [https://earthbound.fandom.com/wiki/Onett Onett] area of the game. | |||
Usable palettes: | |||
* <tt>0</tt>: Normal daytime palette. | |||
* <tt>1</tt>: Nighttime palette. | |||
* <tt>2</tt>: Color-muted palette. Used for flashback scenes? | |||
[[Category:EarthBound:Map_Data|Global Tileset/Palette Table]] | [[Category:EarthBound:Map_Data|Global Tileset/Palette Table]] | ||
{{stub}} | {{stub}} |
Revision as of 21:58, 15 June 2023
This is a sub-page of EarthBound/Map Data/Global Tileset.
Global Tileset/Palette Table | |
Game | EarthBound |
Start Address | 0x17AA00 |
End Address | 0x17B3FF |
# of Entries | 2560 |
Entry Length | 1 byte (0x1) |
Total Length | 2560 bytes (0xA00) |
Back to the ROM map |
Primary listing of what locations on the global map use what tilesets and palettes.
Format
Each byte represents a tileset/palette entry for a sector of 8x4 tiles, starting at the top-left corner of the map.
TTTT TPPP
The first five bits (T
) of each entry is the tileset, so there are 32 global tilesets. The last three (P
) is the map palette and is specific to the tileset, so there are up to 8 palettes per tileset.
Entries are arranged by sector rows, so given that the global map is 32 sectors wide, a table index can be generated from a sector x,y coordinate (starting from the top left sector as 0,0), using the formula table_index = x + y * 32
. A table index can be generated from a tile x,y coordinate using the formula table_index = x / 8 + y / 4 * 32
.
Note that the global map is 32 sectors wide by 80 sectors tall for a total of 2560 entries.
Values
Tileset 00: Lost Underworld
Tileset used for the Lost Underworld area of the game.
Usable palettes:
- 0: ??
- 1: Only palette used in EB?
- 2: ??
- 3: ??
Tileset 01: Onett
Tileset used for the Onett area of the game.
Usable palettes:
- 0: Normal daytime palette.
- 1: Nighttime palette.
- 2: Color-muted palette. Used for flashback scenes?
This page is rather stubbly and could use some expansion. Are you a bad enough dude to rescue this article? |