EarthBound/Map Data/Compressed Tile Animation Characters Data: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Fix up block 1 data)
(Fix up block 2 and document actual format)
Line 6: Line 6:
|game=EarthBound
|game=EarthBound
|loc=ROM
|loc=ROM
|start=0x1EF2E7
|start=<tt>0x1EF2E7</tt>
|end=0x1EFEDC
|end=<tt>0x1EFEDC</tt>
|numentries=5
|numentries=5
|entrylength=Varies
|entrylength=Varies, 8192 bytes (<tt>0x2000</tt>) after decompression
|totallength=3062 bytes (0xbf6)
|totallength=3062 bytes (<tt>0x0bf6</tt>), 40960 bytes (<tt>0xa000</tt>) after decompression
}}
}}


Line 32: Line 32:
|game=EarthBound
|game=EarthBound
|loc=ROM
|loc=ROM
|start=0x1FC443
|start=<tt>0x1FC443</tt>
|end=0x1FE6E0
|end=<tt>0x1FE6E0</tt>
|numentries=15
|numentries=15
|entrylength=Varies
|entrylength=Varies, 8192 bytes (<tt>0x2000</tt>) after decompression
|totallength=8862 bytes (0x229e)
|totallength=8862 bytes (<tt>0x229e</tt>), 122880 bytes (<tt>0x01e000</tt>) after decompression
}}This is the second block of graphical data for the map animations.
}}
 
{| border=1 cellspacing=0 cellpadding=3
! Address !! Tileset name !! Tileset index !! Compressed length
|-
| <tt>0x1FC443</tt> || [[EarthBound/Map_Data/Global_Tileset/Palette_Table#LostUnderworld|Lost Underworld]] || <tt>00</tt> || 1784 bytes (<tt>0x06F8</tt>)
|-
| <tt>0x1FCB3B</tt> || [[EarthBound/Map_Data/Global_Tileset/Palette_Table#Onett|Onett]] || <tt>01</tt> || 580 bytes (<tt>0x0244</tt>)
|-
| <tt>0x1FCD7F</tt> || [[EarthBound/Map_Data/Global_Tileset/Palette_Table#Twoson|Twoson]] || <tt>02</tt> || 25 bytes (<tt>0x19</tt>)
|-
| <tt>0x1FCD98</tt> || [[EarthBound/Map_Data/Global_Tileset/Palette_Table#Threed|Threed]] || <tt>03</tt> || 25 bytes (<tt>0x19</tt>)
|-
| <tt>0x1FCDB1</tt> || [[EarthBound/Map_Data/Global_Tileset/Palette_Table#Fourside|Fourside]] || <tt>04</tt> || 25 bytes (<tt>0x19</tt>)
|-
| <tt>0x1FCDCA</tt> || [[EarthBound/Map_Data/Global_Tileset/Palette_Table#Magicant|Magicant]] || <tt>05</tt> || 1078 bytes (<tt>0x0436</tt>)
|-
| <tt>0x1FD200</tt> || [[EarthBound/Map_Data/Global_Tileset/Palette_Table#Outdoors|Outdoors]] || <tt>06</tt> || 1774 bytes (<tt>0x06EE</tt>)
|-
| <tt>0x1FD8EE</tt> || [[EarthBound/Map_Data/Global_Tileset/Palette_Table#Summers|Summers]] || <tt>07</tt> || 1641 bytes (<tt>0x0669</tt>)
|-
| <tt>0x1FDF57</tt> || [[EarthBound/Map_Data/Global_Tileset/Palette_Table#DustyDunes|Dusty Dunes Desert]] || <tt>08</tt> || 1172 bytes (<tt>0x0494</tt>)
|-
| <tt>0x1FE3EB</tt> || [[EarthBound/Map_Data/Global_Tileset/Palette_Table#Dalaam|Dalaam]] || <tt>09</tt> || 25 bytes (<tt>0x19</tt>)
|-
| <tt>0x1FE404</tt> || [[EarthBound/Map_Data/Global_Tileset/Palette_Table#Indoors1|Indoors 1]] || <tt>10</tt> || 25 bytes (<tt>0x19</tt>)
|-
| <tt>0x1FE41D</tt> || [[EarthBound/Map_Data/Global_Tileset/Palette_Table#Indoors2|Indoors 2]] || <tt>11</tt> || 25 bytes (<tt>0x19</tt>)
|-
| <tt>0x1FE436</tt> || [[EarthBound/Map_Data/Global_Tileset/Palette_Table#Stores1|Stores 1]] || <tt>12</tt> || 460 bytes (<tt>0x01CC</tt>)
|-
| <tt>0x1FE602</tt> || [[EarthBound/Map_Data/Global_Tileset/Palette_Table#Caves1|Caves 1]] || <tt>13</tt> || 198 bytes (<tt>0xC6</tt>)
|-
| <tt>0x1FE6C8</tt> || [[EarthBound/Map_Data/Global_Tileset/Palette_Table#Indoors3|Indoors 3]] || <tt>14</tt> || 25 bytes (<tt>0x19</tt>)
|}


{{clear}}
{{clear}}
=Format=
=Format=
Entries are followed with an FF terminator. Tilesets with no animations are all the same 24 bytes, 8 repetitions of E7FF00
Data for each map tileset is individually compressed. See [[EarthBound/ASM/Decompression_Routine#CompressionFormat|Compression Format]].
followed by the terminator.
==Entry 00(0x1FC443 to 0x1FCB3A, Underworld)==
{{table el||len=1784 bytes(0x6F8)|loc=0x00|valrange=0x00-0xFF|}}
 
==Entry 01(0x1FCB3B to 0x1FCD7E, Onett)==
{{table el||len=580 bytes(0x244)|loc=0x6F9|valrange=0x00-0xFF|}}
 
==Entry 02(0x1FCD7F to 0x1FCD97, Twoson)==
{{table el||len=25 bytes(0x19)|loc=0x93D|valrange=0x00-0xFF|}}
e7 ff 00 e7 ff 00 e7 ff 00
e7 ff 00 e7 ff 00 e7 ff 00
e7 ff 00 e7 ff 00 ff
 
==Entry 03(0x1FCD98 to 0x1FCDB0, Threed)==
{{table el||len=25 bytes(0x19)|loc=0x956|valrange=0x00-0xFF|}}
e7 ff 00 e7 ff 00 e7 ff 00
e7 ff 00 e7 ff 00 e7 ff 00
e7 ff 00 e7 ff 00 ff
 
==Entry 04(0x1FCDB1 to 0x1FCDC9, Fourside)==
{{table el||len=25 bytes(0x19)|loc=0x96F|valrange=0x00-0xFF|}}
e7 ff 00 e7 ff 00 e7 ff 00
e7 ff 00 e7 ff 00 e7 ff 00
e7 ff 00 e7 ff 00 ff
 
==Entry 05(0x1FCDCA to 0x1FD1FF, Magicant)==
{{table el||len=1078 bytes(0x436)|loc=0x989|valrange=0x00-0xFF|}}
 
==Entry 06(0x1FD200 to 0x1FD8ED, Outdoors)==
{{table el||len=1774 bytes(0x6EE)|loc=0xDC0|valrange=0x00-0xFF|}}
 
==Entry 07(0x1FD8EE to 0x1FDF56, Summers)==
{{table el||len=1641 bytes(0x669)|loc=0x14AF|valrange=0x00-0xFF|}}
 
==Entry 08(0x1FDF57 to 0x1FE3EA, Desert)==
{{table el||len=1172 bytes(0x494)|loc=0x1B18|valrange=0x00-0xFF|}}
 
==Entry 09(0x1FE3EB to 0x1FE403, Dalaam)==
{{table el||len=25 bytes(0x19)|loc=0x1FAD|valrange=0x00-0xFF|}}
e7 ff 00 e7 ff 00 e7 ff 00
e7 ff 00 e7 ff 00 e7 ff 00
e7 ff 00 e7 ff 00 ff
 
==Entry 10(0x1FE404 to 0x1FE41C, Indoors 1)==
{{table el||len=25 bytes(0x19)|loc=0x1FC7|valrange=0x00-0xFF|}}
e7 ff 00 e7 ff 00 e7 ff 00
e7 ff 00 e7 ff 00 e7 ff 00
e7 ff 00 e7 ff 00 ff
 
==Entry 11(0x1FE41D to 0x1FE435, Indoors 2)==
{{table el||len=25 bytes(0x19)|loc=0x1FE1|valrange=0x00-0xFF|}}
e7 ff 00 e7 ff 00 e7 ff 00
e7 ff 00 e7 ff 00 e7 ff 00
e7 ff 00 e7 ff 00 ff
 
==Entry 12(0x1FE436 to 0x1FE601, Stores 1)==
{{table el||len=460 bytes(0x1CC)|loc=0x1FFB|valrange=0x00-0xFF|}}
 
==Entry 13(0x1FE602 to 0x1FE6C7, Caves 1)==
{{table el||len=198 bytes(0xC6)|loc=0x21C8|valrange=0x00-0xFF|}}


==Entry 14(0x1FE6C8 to 0x1EF6E0, Indoors 3)==
Tilesets with no animations are all the same 24 bytes, 8 repetitions of <code>E7FF00</code>
{{table el||len=25 bytes(0x19)|loc=0x2286|valrange=0x00-0xFF|}}
followed by the <code>FF</code> terminator.  (This is simply the compressed format of <code>00</code> repeated 8192 (<tt>0x2000</tt>) times.)
e7 ff 00 e7 ff 00 e7 ff 00
e7 ff 00 e7 ff 00 e7 ff 00
e7 ff 00 e7 ff 00 ff


[[Category:EarthBound|ROM Map]]
[[Category:EarthBound:Map_Data|Compressed Tile Animation Characters Data]]

Revision as of 04:39, 10 May 2024

Data blocks for storing compressed raw graphics for animated map tiles. Data for a given map tileset is found using the Map Data: Tile Animation Characters Pointer Table.

Blocks

Block 1

Map Data: Compressed Tile Animation Characters Data, Block 1
Game EarthBound
Start Address 0x1EF2E7
End Address 0x1EFEDC
# of Entries 5
Entry Length Varies, 8192 bytes (0x2000) after decompression
Total Length 3062 bytes (0x0bf6), 40960 bytes (0xa000) after decompression
Back to the ROM map
Address Tileset name Tileset index Compressed length
0x1EF2E7 Stores 2 15 25 bytes (0x19)
0x1EF300 Indoors 4 16 452 bytes (0x01C4)
0x1EF4C4 Winters 17 807 bytes (0x0327)
0x1EF7EB Scaraba 18 638 bytes (0x027E)
0x1EFA69 Caves 2 19 1140 bytes (0x0474)

Block 2

Map Data: Compressed Tile Animation Characters Data, Block 2
Game EarthBound
Start Address 0x1FC443
End Address 0x1FE6E0
# of Entries 15
Entry Length Varies, 8192 bytes (0x2000) after decompression
Total Length 8862 bytes (0x229e), 122880 bytes (0x01e000) after decompression
Back to the ROM map
Address Tileset name Tileset index Compressed length
0x1FC443 Lost Underworld 00 1784 bytes (0x06F8)
0x1FCB3B Onett 01 580 bytes (0x0244)
0x1FCD7F Twoson 02 25 bytes (0x19)
0x1FCD98 Threed 03 25 bytes (0x19)
0x1FCDB1 Fourside 04 25 bytes (0x19)
0x1FCDCA Magicant 05 1078 bytes (0x0436)
0x1FD200 Outdoors 06 1774 bytes (0x06EE)
0x1FD8EE Summers 07 1641 bytes (0x0669)
0x1FDF57 Dusty Dunes Desert 08 1172 bytes (0x0494)
0x1FE3EB Dalaam 09 25 bytes (0x19)
0x1FE404 Indoors 1 10 25 bytes (0x19)
0x1FE41D Indoors 2 11 25 bytes (0x19)
0x1FE436 Stores 1 12 460 bytes (0x01CC)
0x1FE602 Caves 1 13 198 bytes (0xC6)
0x1FE6C8 Indoors 3 14 25 bytes (0x19)

Format

Data for each map tileset is individually compressed. See Compression Format.

Tilesets with no animations are all the same 24 bytes, 8 repetitions of E7FF00 followed by the FF terminator. (This is simply the compressed format of 00 repeated 8192 (0x2000) times.)