Page 1 of 1

How to add an additional color to an existing palette?

Posted: October 11th, 2015, 12:53 pm
by elmaton
I've just read this http://www.popot.org/documentation/docu ... Images.pdf,

But it didn't help me.

I wan't to add the color red to the princess' palette. But I don't know how to do that. :?

Thanks for support.

regards Wolfgang

Re: How to add an additional color to an existing palette?

Posted: October 11th, 2015, 1:54 pm
by Norbert
Better to just use SDLPoP.

Re: How to add an additional color to an existing palette?

Posted: October 11th, 2015, 3:53 pm
by elmaton
Not an option because I've already edited a lot of frames with PR.

Re: How to add an additional color to an existing palette?

Posted: October 11th, 2015, 4:29 pm
by Norbert
You should be able to just copy the frames you've already edited into SDLPoP's directories.

Re: How to add an additional color to an existing palette?

Posted: October 15th, 2015, 7:29 pm
by David
Norbert wrote:You should be able to just copy the frames you've already edited into SDLPoP's directories.
But PR and SDLPoP call images by different names.
To solve this, I think I should add something like music/names.txt...
elmaton wrote:I wan't to add the color red to the princess' palette.
A palette in PoP1 can't have more than 16 colors, so you can only replace one of the colors.
The palettes are in the *.pal files.
You can edit them in a text editor, each line contains RGB values.

Re: How to add an additional color to an existing palette?

Posted: August 7th, 2023, 1:24 pm
by elmaton
I just edited a palette with text editor and the color should now be red. When i open the picture in gimp then it uses the old palette, how can that be? I edited the palette inside the folder with the pics in it.

Re: How to add an additional color to an existing palette?

Posted: August 12th, 2023, 1:09 pm
by David
elmaton wrote: August 7th, 2023, 1:24 pm I just edited a palette with text editor and the color should now be red. When i open the picture in gimp then it uses the old palette, how can that be? I edited the palette inside the folder with the pics in it.
You need to import the images with PR, then export them again.
This will put the changed palette into the images.

Re: How to add an additional color to an existing palette?

Posted: August 12th, 2023, 2:42 pm
by elmaton
Thats what i thought, thanks for your reply