The current URL is datacrystal.tcrf.net.
EarthBound/Map Data/Compressed Palette Animation Data
This is a sub-page of EarthBound/Map Data.
Map Data: Compressed Palette Animation Data | |
Game | EarthBound |
Start Address | 0x1FE81B |
End Address | 0x1FEE45 |
# of Entries | 8 |
Entry Length | Variable |
Total Length | 1579 bytes (0x62B) |
Back to the ROM map |
Data block of compressed map animation palettes. Entries are found via lookups to the Palette Animation Secondary Pointer/Data Table.
Format
Each entry is individually compressed. See Compression Format.
Decompressed Format
Each entry contains 1 to 8 full map palettes (number specified by the Palette_Animation_Secondary_Pointer/Data_Table). The map palettes are formatted similarly to non-animated map palettes.
Unknown
- Length: 2 bytes (0x2)
- Offset within entry: 0x00
- Range of values: ???
The SNES generally ignores the first color in any palette, always treating it as transparent. Unknown if EarthBound is using these bytes to store additional information about the palette because the value is non-zero for some animated palettes.
Subpalette 0
- Length: 30 bytes (0x1e)
- Offset within entry: 0x02
- Range of values: color values
15-color subpalette. Combined with Unknown as the first ignored transparent "color" to create a 16-color subpalette.
Colors are each stored as little endian (2 bytes):
gggrrrrr 0bbbbbgg
The subpalette is formatted as 15 colors in a row.
Unknown
- Length: 2 bytes (0x2)
- Offset within entry: 0x20
- Range of values: ???
The SNES generally ignores the first color in any palette, always treating it as transparent. Unknown if EarthBound is using these bytes to store additional information about the palette because the value is non-zero for some animated palettes.
Subpalette 1
- Length: 30 bytes (0x1e)
- Offset within entry: 0x22
- Range of values: color values
15-color subpalette. Same format as Subpalette 0.
Unknown
- Length: 2 bytes (0x2)
- Offset within entry: 0x40
- Range of values: ???
The SNES generally ignores the first color in any palette, always treating it as transparent. Unknown if EarthBound is using these bytes to store additional information about the palette because the value is non-zero for some animated palettes.
Subpalette 2
- Length: 30 bytes (0x1e)
- Offset within entry: 0x42
- Range of values: color values
15-color subpalette. Same format as Subpalette 0.
Unknown
- Length: 2 bytes (0x2)
- Offset within entry: 0x60
- Range of values: ???
The SNES generally ignores the first color in any palette, always treating it as transparent. Unknown if EarthBound is using these bytes to store additional information about the palette because the value is non-zero for some animated palettes.
Subpalette 3
- Length: 30 bytes (0x1e)
- Offset within entry: 0x62
- Range of values: color values
15-color subpalette. Same format as Subpalette 0.
Unknown
- Length: 2 bytes (0x2)
- Offset within entry: 0x80
- Range of values: ???
The SNES generally ignores the first color in any palette, always treating it as transparent. Unknown if EarthBound is using these bytes to store additional information about the palette because the value is non-zero for some animated palettes.
Subpalette 4
- Length: 30 bytes (0x1e)
- Offset within entry: 0x82
- Range of values: color values
15-color subpalette. Same format as Subpalette 0.
Unused
- Length: 2 bytes (0x2)
- Offset within entry: 0xa0
- Range of values: 0x0000-0xffff
Unused zero color that will always be treated as transparent, no matter its value. Always 0x0000 in unmodified EarthBound.
Subpalette 5
- Length: 30 bytes (0x1e)
- Offset within entry: 0xa2
- Range of values: color values
15-color subpalette. Same format as Subpalette 0.