EarthBound/Map Data/Compressed Tile Animation Characters Data

From Data Crystal
Jump to navigation Jump to search

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.

Portions of decompressed data are pointed to by Tile Animation Properties entries.

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.)

Decompressed Format

Each entry, once decompressed, consists of an unstructured block of up to 256 tileset characters, each a 4-bits-per-pixel 8x8 SNES graphics tile (sometimes referred to as a "minitile" by EarthBound modders). See Tileset Character Data Decompressed Format.