You are not logged in.
Pages: 1
I need help. I want to edit the palettes of Pokémon Red/Blue. That's very easy, but I want to add palettes from Pokémon Gold/Silver. So I have got a site with Super Game Boy palettes from Gen II: http://magicstone.de/rhwiki/article/SGB_COLORS_PKMN_GSK. But I have seen that the palettes are coded in 6-number hex color. An example: Red is written as #FF0000. I opened up PaletteEd GB, and I typed in $FF00. When I did that, there came a sort of red out, which looks a little bit more orange than the 6-number code.
The question is: Do someone know:
Where the SGB Palette offsets of Pokémon Gold.Silver are,
Or:
How you can calculate a hex color into a 4-number Game Boy palette.
I have already looked in DataCrystal, for it, but I didn't find anything about the SGB palettes.
Thanks.
Last edited by YORAMRW (2013-04-08 19:06:50)
Hacks Gameboy 8-bit music in Pokémon Gen I & II, composes 8-bit music in LSDJ and FamiTracker.
“God created the Earth, but the Dutch created the Netherlands.”
Offline
To fit into two bytes each color is 5 bits long instead of 8. Just shift each color three bits right and put them together in order 0 bbbbb ggggg rrrrr. The reason $FF00 makes red is that the program's input takes little endian values.
Offline
That said, you are better off looking for those values in the rom and copying them as opposed to calculating each one yourself.
Offline
But I can't find where the SGB palettes are in the Pokémon Gold/Silver:ROM Map. Only GBC palettes are told.
Hacks Gameboy 8-bit music in Pokémon Gen I & II, composes 8-bit music in LSDJ and FamiTracker.
“God created the Earth, but the Dutch created the Netherlands.”
Offline
To fit into two bytes each color is 5 bits long instead of 8.
I think you mean 4 bits long.
Hacks Gameboy 8-bit music in Pokémon Gen I & II, composes 8-bit music in LSDJ and FamiTracker.
“God created the Earth, but the Dutch created the Netherlands.”
Offline
I have found the start offset of the SGB Map Palettes: $BB9E.
Hacks Gameboy 8-bit music in Pokémon Gen I & II, composes 8-bit music in LSDJ and FamiTracker.
“God created the Earth, but the Dutch created the Netherlands.”
Offline
But I can't find the Night Palette (19). :(
Hacks Gameboy 8-bit music in Pokémon Gen I & II, composes 8-bit music in LSDJ and FamiTracker.
“God created the Earth, but the Dutch created the Netherlands.”
Offline
He does mean 5 bits. and here, this may help. I made it back when I was hacking Bugs Bunny Crazy Castle 2 to be a color game
https://anonfiles.com/file/605c74410f65 … 3242c812e2
With 5 bits, the color values range from 0-31, though since each color is 2 bytes, it will have an unused bit.
This isn't easy to say, but…
Music and ASM hacker
Offline
Thanks, but that isn't really needed anymore. Look at this thread: http://hax.iimarck.us/topic/3220/.
Hacks Gameboy 8-bit music in Pokémon Gen I & II, composes 8-bit music in LSDJ and FamiTracker.
“God created the Earth, but the Dutch created the Netherlands.”
Offline
Pages: 1