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.

Graphics > Re-ordering Palettes

#27619 - Celeryface - Sun Oct 17, 2004 12:16 pm

Hi there,

I was wondering if you guys know of a way to re-order palette index entries? I converted over a bunch of gifs to make animation strips to use in a GBA demo, but even though the gifs are of the same character (different animations) their palette index entries are in a different order.

Is there a way to re-order a palette entry so that all the sprites reference the correct colours? My goal here is to make them all use the same 16-colour palette. (For reference I'm a newbie Pro Motion v5.0 user, so I'm not sure if the program already has functionality to perform this palette operation).

Thanks in advance. :)

#27625 - tepples - Sun Oct 17, 2004 3:59 pm

Open your cels in GIMP (or any other image editor with an indexed mode). Paste all the cels into one RGB-color image file in a strip from top to bottom. Use dark black (#000000) for transparency and dark bluish gray (#222244) for black. Now convert this strip to indexed color and then to GBA format.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#27644 - LOst? - Mon Oct 18, 2004 3:55 am

GraphicsGale:
http://www.tempest-j.com/gale/e/

Select palette index, move it with the mouse cursor to a new index while holding SHIFT.

#27649 - Celeryface - Mon Oct 18, 2004 10:56 am

Thanks for the help. Works with Pro Motion as well :)

#27702 - Celeryface - Tue Oct 19, 2004 6:33 pm

Celeryface wrote:
Thanks for the help. Works with Pro Motion as well :)


I just tried to re-order the palettes entries, which I thought I had working on Pro Motion but it just seems to copy the colours rather than updating the index references on the actual image. Does anyone know how to do that in Pro Motion?

Thanks!

#27715 - Celeryface - Tue Oct 19, 2004 10:53 pm

After spending some time with GIMP, I used the method of putting all the sprites into one big image file. Then using that palette to output all the sprites into pcx files.

Thanks for the tip.