How to add an additional color to an existing palette?

About PR usage and development, and about the POP format.

Moderator: English Moderator Team

Post Reply
elmaton
Sheikh
Sheikh
Posts: 26
Joined: October 6th, 2015, 7:52 am

How to add an additional color to an existing palette?

Post by elmaton » October 11th, 2015, 12:53 pm

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

User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 3139
Joined: April 9th, 2009, 10:58 pm
Contact:

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

Post by Norbert » October 11th, 2015, 1:54 pm

Better to just use SDLPoP.

elmaton
Sheikh
Sheikh
Posts: 26
Joined: October 6th, 2015, 7:52 am

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

Post by elmaton » October 11th, 2015, 3:53 pm

Not an option because I've already edited a lot of frames with PR.

User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 3139
Joined: April 9th, 2009, 10:58 pm
Contact:

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

Post by Norbert » October 11th, 2015, 4:29 pm

You should be able to just copy the frames you've already edited into SDLPoP's directories.

David
The Prince of Persia
The Prince of Persia
Posts: 1496
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

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

Post by David » October 15th, 2015, 7:29 pm

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.

Post Reply