gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Help about palettes

#59149 - mastertop101 - Sat Oct 29, 2005 7:15 pm

Hello !

I have many images to convert into .raw.c but I only want ONE palette.pal.c file . How can I do so?

Thank you

[edit] just found the PA_LoadSpriteExtPal function, should work (I'll test it tomorrow) but I would still want to create only one .pal file (gfx2gba does not want to make one..)

#59199 - Mollusk - Sun Oct 30, 2005 7:45 am

gfx2gba should do so, at least it does for me... I just put all my sprites in a single folder, and convert all *.bmp...
_________________
PAlib official forum : http://www.palib.info
PAlib official tutorials: http://www.palib.info/wiki
Updates, help, code examples, tutorials, etc...

#59218 - mastertop101 - Sun Oct 30, 2005 1:50 pm

Hum.. it's strange, because gfx2gba tries to create a single 256 colors palette but because my sprites' total colors is more than 256 colors, it can't..

#59219 - Mollusk - Sun Oct 30, 2005 2:06 pm

then you have to reduce the number of different colors used... You can't create a single palette of 256 colors if you have more than 256 colors
_________________
PAlib official forum : http://www.palib.info
PAlib official tutorials: http://www.palib.info/wiki
Updates, help, code examples, tutorials, etc...