Color Palette for the guard in POP2 Level 1

About PR usage and development, and about the POP format.
Post Reply
SenJos68
Scholar Scribe
Scholar Scribe
Posts: 3
Joined: December 28th, 2015, 11:17 am

Color Palette for the guard in POP2 Level 1

Post 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
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5743
Joined: April 9th, 2009, 10:58 pm

Re: Color Palette for the guard in POP2 Level 1

Post 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.
SenJos68
Scholar Scribe
Scholar Scribe
Posts: 3
Joined: December 28th, 2015, 11:17 am

Re: Color Palette for the guard in POP2 Level 1

Post 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:
David
The Prince of Persia
The Prince of Persia
Posts: 2846
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Color Palette for the guard in POP2 Level 1

Post 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.
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5743
Joined: April 9th, 2009, 10:58 pm

Re: Color Palette for the guard in POP2 Level 1

Post 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.
SenJos68
Scholar Scribe
Scholar Scribe
Posts: 3
Joined: December 28th, 2015, 11:17 am

Re: Color Palette for the guard in POP2 Level 1

Post by SenJos68 »

You guys are just great!!! Thank you so much!!!!
Post Reply