Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: IronBeer on December 24, 2010, 11:30:41 pm

Title: Mass palette import?
Post by: IronBeer on December 24, 2010, 11:30:41 pm
Mostly for HUD message ani building.
I've got a suitable palette swiped from a pre-existing ani frame, yoinked by IrfanView. Is there a way I can apply this palette to prospective ani frames faster than one at a time? Any programs or clever file operations?
Title: Re: Mass palette import?
Post by: Talon 1024 on December 24, 2010, 11:49:33 pm
I usually open up all the frames of the ANI that I want to convert as layers in a single document, then I apply the palette from there.  That way, it will affect all the frames of the ANI at once.  It's a hassle when you have to save it frame by frame, though...
Title: Re: Mass palette import?
Post by: Black Wolf on December 24, 2010, 11:50:46 pm
Paint Shop Pro allows you to record macros to do just exactly this.
Title: Re: Mass palette import?
Post by: FreeSpaceFreak on December 25, 2010, 02:40:26 am
Bright Texture Converter. It's a command-line tool available on FSMods, made especially for converting stuff to PCX, and it has the option of using a specific image's palette for all the files it converts.
Title: Re: Mass palette import?
Post by: IronBeer on December 25, 2010, 01:58:51 pm
I've been using BRIGHT in my conversion process- how can I tell it to use a certain palette?
Title: Re: Mass palette import?
Post by: FreeSpaceFreak on December 26, 2010, 02:03:21 am
1. Put the file of which you want to use the palette in the working directory
2. Use the flag -palette <filename> during conversion
3. ???
4. Profit

Enter BRIGHT /? for the manual :P
Title: Re: Mass palette import?
Post by: Nuke on December 26, 2010, 02:24:27 am
my method has always been to automate photoshop to do it for me.

though frankly i look forward to the day we can abolish 8 bit indexed color from the game.