go-play icon indicating copy to clipboard operation
go-play copied to clipboard

[GB] color palette

Open Crushless opened this issue 6 years ago • 5 comments

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.

Crushless avatar Jul 02 '18 21:07 Crushless

Someone will need to provide the RGB color values for the palettes.

OtherCrashOverride avatar Jul 03 '18 00:07 OtherCrashOverride

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

Crushless avatar Jul 03 '18 08:07 Crushless

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

Crushless avatar Jul 03 '18 11:07 Crushless

Referece and background info about the Super Game Boy palettes, with RGB codes: https://gamefaqs.gamespot.com/snes/588731-super-game-boy/faqs/58647

Crushless avatar Jul 03 '18 16:07 Crushless

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

kamotswind avatar Jul 04 '18 08:07 kamotswind