go-play
go-play copied to clipboard
[GB] color palette
It would be nice, to have an option to change the color palette in Game Boy emulation. Just like the Super Game Boy for the SNES did. If this would be too complicated, you could add an option to cycle through a set of predefined color palettes. At least please add a color palette with a light green background, like the original Game Boy.
Someone will need to provide the RGB color values for the palettes.
Unfortunately, I don't have the exact RGB codes ready, but I found some website that lists all the predefined palettes: https://www.mariowiki.com/Super_Game_Boy#Color_palettes And this website lists all GB Color palettes: https://en.wikipedia.org/wiki/List_of_video_game_console_palettes#Game_Boy_Color
These are the palette definitions of the open source GBC.emu emulator: https://github.com/Rakashazi/emu-ex-plus-alpha/blob/master/GBC.emu/src/main/Palette.cc
Referece and background info about the Super Game Boy palettes, with RGB codes: https://gamefaqs.gamespot.com/snes/588731-super-game-boy/faqs/58647
OtherCrashOverride provided this link to the current palette: https://github.com/OtherCrashOverride/go-play/blob/master/gnuboy-go/components/gnuboy/lcd.c#L52-L54
and related: https://github.com/OtherCrashOverride/go-play/blob/master/gnuboy-go/components/gnuboy/lcd.c#L694-L734