Page 1 of 1

apply a palette from external .pal file

Posted: 2011-02-03T11:28:28-07:00
by elypter
i want to make a script to convert gta1 cars to gta2 cars. I already have a working script for generating deltas(which define how the car changes with damage or lights) The problem is that gta2 textures use 8 bit palettes to save space and to allow remaps (eg: to allow cars in different colors). These palettes are fixed so i have to export one of them and then apply it to the car/texture i want to import.

So my question is: how can i apply a 8bit(with 24bit color depth) palette from an external .pal file to a .bmp image? the palette must stay unchanged. no rearrangement or removal of unused colors

i hope this is possible.
thanks

Re: apply a palette from external .pal file

Posted: 2011-02-16T04:40:37-07:00
by elypter
so, that nobody answers means that it is impossible?

Re: apply a palette from external .pal file

Posted: 2011-02-16T11:44:42-07:00
by fmw42
elypter wrote:so, that nobody answers means that it is impossible?
Not necessarily. Just means no one knows how to do it or has had experience doing such.