Color mapping
Notes from gbatheme manual
There are 16 physical palettes. Using the *_pal directive you can reference palette numbers 0 to 31.
Palettes 0-15 fill transparent font pixels with color 0 of the palette.
Palettes 16-31 are identical but fill transparent pixels with color 1 instead.
Palette 15 is reserved for the background -- only set its colors if you want to define background image colors manually.
Each palette holds 16 colors stored as hex values with 5 bits per channel (BGR555 format). The very first color in each palette is the transparency color.
Background images should use no more than 15 colors so the system can reserve one slot for transparency. Exceeding this may cause graphical artifacts.
Write your directives into a cfg.txt file, then either:
- Drag cfg.txt onto gbatheme.exe
- Or run the included make theme.bat file
Both methods compile your config into a .bgr file ready to copy onto your EverDrive SD card.