NeoTechni's Novelty Gaming Peripheral Museum
Documentation:
A complete palette set is structured as follows:
BG Palette 0 1 2 3
OBJ0 Palette 0 1 2 3
OBJ1 Palette 0 1 2 3
Window Palette 0 1 2 3
LCD Off Color 3
At the end of the file are 5 extra bytes - 0x81 and the ASCII characters APGB. These must be present for the palette to be correctly recognized.
Here is a sample hex listing for a blue and orange palette:
000000 52528C 8C8CDE FFFFFF ; BG
000000 944A4A FF8484 FFFFFF ; OBJ0
000000 843100 FFAD63 FFFFFF ; OBJ1
000000 555555 AAAAAA FFFFFF ; Window
FFFFFF 81 41504742 ; LCDoff and footer