Page 1 of 1

Color Palette for the guard in POP2 Level 1

Posted: December 30th, 2015, 7:51 pm
by SenJos68
Hello

I'm new here in posting...reading since a long time ;)

I used PR to extract the graphics from the POP2 game. The only sprites without a color palette are the Guard sprites.
The palette used is a standard palette and not to use.

Please can someone tell me ho to extraxt with the palette???

SenJos68

Re: Color Palette for the guard in POP2 Level 1

Posted: December 31st, 2015, 8:54 am
by Norbert
Hi SenJos68, welcome.

I know that for PoP1 it is prince/binary/guard palettes.pal, which contains 112 color lines, which matches the (112/16=) 7 guards.

For PoP2 it's most likely PRINCE/pals00750.pal, which contains 48 color lines, which matches the (48/16=) 3 guards.
Since BIRD and SKELETON are separate directories, 3 guards appears to be correct: black, blue, red.

I didn't test this, but my guess is most likely correct.

Re: Color Palette for the guard in POP2 Level 1

Posted: December 31st, 2015, 10:51 am
by SenJos68
Hello Norbert

You're guess was perfect!! Thank you so much!!

May I ask you if the sword sprites aren't extracted from PoP2, right?

Prince of Persia 1 was my first touch with computers and computer games!! I love this game more then any other! Well Tomb Raider comes realy near but next :D

I try, just for myself to remake some kind of POP with Unity. Maybe with a leveleditor. Just for myself and learning by doing. Now on the part of graphics I miss the sword sprites for PoP2 characters. I'll see if I'm able to do such a big project. :shock: :shock:

Re: Color Palette for the guard in POP2 Level 1

Posted: December 31st, 2015, 11:24 am
by David
There is a palette in GUARD.DAT, called shpl00750.bin.
But PR can't use SHPL-type palettes for some reason.
I remember the problem was that they are extracted *after* the images, and therefore they are not loaded yet when the images are extracted.

This same problem affects the copy protection images. (shap08###.bmp in PRINCE)
SenJos68 wrote:May I ask you if the sword sprites aren't extracted from PoP2, right?
They are. In PRINCE, they are in the shap01###.bmp files.

Re: Color Palette for the guard in POP2 Level 1

Posted: December 31st, 2015, 11:47 am
by Norbert
David wrote:
SenJos68 wrote:May I ask you if the sword sprites aren't extracted from PoP2, right?
They are. In PRINCE, they are in the shap01###.bmp files.
To be exact, if you mean just the ones on the floor:
- regular (long) sword: shap01011.bmp and shap01246.bmp
- short sword: shap01211.bmp and shap01046.bmp
The other sword images in that PRINCE/ directory are for fighting.
There is also the sword enemy, its images are in the FLAME/ directory.

Re: Color Palette for the guard in POP2 Level 1

Posted: December 31st, 2015, 1:12 pm
by SenJos68
You guys are just great!!! Thank you so much!!!!