Editing Palettes + Pictures (4example Kid.dat)

Post Reply
User avatar
Zweiseelenherz
Efendi
Efendi
Posts: 8
Joined: June 3rd, 2019, 7:33 pm
Contact:

Editing Palettes + Pictures (4example Kid.dat)

Post by Zweiseelenherz »

Hello, dear PoP-Friends,

Could somebody maybe show me Step by Step, how to edit Palettes and Pictures, please?

I've already exported the Kid.DAT and startet to edit the individual Pictures, when I found the Kid.PAL.
Inside of it: three Numbers each Line,
16 Lines of that Kind.

Are this decimal Color codes of the Colors used by Kid.DAT?
Can they be edited via Notepad, too?

Lots of Thanks in Advance.
4DPlayer

Re: Editing Palettes + Pictures (4example Kid.dat)

Post by 4DPlayer »

I have found .pal files puzzling as well.
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5786
Joined: April 9th, 2009, 10:58 pm

Re: Editing Palettes + Pictures (4example Kid.dat)

Post by Norbert »

This document has information, but it's quite technical.

An alternative is to use SDLPoP, and then edit the images in its data/ directory.
That way you can use whatever colors you want; no palette limitations to worry about.
Using SDLPoP also means players won't need DOSBox.
And you get all additional functionality that comes with SDLPoP, including its menu, extra tiles, etc.
SDLPoP is based on a disassembly of PoP for DOS, and (therefore) its gameplay is exactly the same, including all tricks/bugs.
An example of a simple SDLPoP mod is Super Adventure (ZIP).
User avatar
Zweiseelenherz
Efendi
Efendi
Posts: 8
Joined: June 3rd, 2019, 7:33 pm
Contact:

Re: Editing Palettes + Pictures (4example Kid.dat)

Post by Zweiseelenherz »

I'd like to create a DosBox-based Version because of nostalgic Reasons. =)
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5786
Joined: April 9th, 2009, 10:58 pm

Re: Editing Palettes + Pictures (4example Kid.dat)

Post by Norbert »

Zweiseelenherz wrote: June 5th, 2019, 1:42 pm I'd like to create a DosBox-based Version because of nostalgic Reasons. =)
Then this:
Norbert wrote: June 5th, 2019, 2:20 amThis document has information, but it's quite technical.
4DPlayer

Re: Editing Palettes + Pictures (4example Kid.dat)

Post by 4DPlayer »

Norbert wrote: June 5th, 2019, 2:20 am This document has information, but it's quite technical.
Basically stick with the colors in the Colormap, and the KID won't get distorted, right?
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5786
Joined: April 9th, 2009, 10:58 pm

Re: Editing Palettes + Pictures (4example Kid.dat)

Post by Norbert »

4DPlayer wrote: June 5th, 2019, 8:40 pm
Norbert wrote: June 5th, 2019, 2:20 am This document has information, but it's quite technical.
Basically stick with the colors in the Colormap, and the KID won't get distorted, right?
Yes, exactly.
User avatar
Zweiseelenherz
Efendi
Efendi
Posts: 8
Joined: June 3rd, 2019, 7:33 pm
Contact:

Re: Editing Palettes + Pictures (4example Kid.dat)

Post by Zweiseelenherz »

I've tried it with the PDF, but to be honest, for my Person it was a little too technical. I didn't really understand. :(
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5786
Joined: April 9th, 2009, 10:58 pm

Re: Editing Palettes + Pictures (4example Kid.dat)

Post by Norbert »

Zweiseelenherz wrote: June 6th, 2019, 6:00 pm I've tried it with the PDF, but to be honest, for my Person it was a little too technical. I didn't really understand. :(
Simpler steps (using a batch file, and without modifying palettes):
1. Use the "Windows batch file" from the PR page to export everything.
2. Open the BMP image that you want to modify in GIMP.
3. Edit the image, but only use colors from: Windows -> Dockable Dialogs -> Colormap.
4. Export the modified BMP image, and make sure to check Compatibility Options->Do not write color space information. (Else some tile combinations may create distortions.)
5. Finally, use the Windows batch file again to import everything.
David
The Prince of Persia
The Prince of Persia
Posts: 2877
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Editing Palettes + Pictures (4example Kid.dat)

Post by David »

Zweiseelenherz wrote: June 3rd, 2019, 10:31 pm Are this decimal Color codes of the Colors used by Kid.DAT?
Can they be edited via Notepad, too?
You could use Notepad, but a better choice is Palette Suite: http://alister.eu/palsuite/
Post Reply