Page 1 of 1

Macintosh Prince Graphics

Posted: October 8th, 2019, 11:06 pm
by 4DPlayer
I’m looking forward to create a DOS KID.DAT with Macintosh Prince graphics.

I started testing with different graphics, the shadow graphics. I resized all images to the correct sizes with Photos, but they got garbled. Resizing them in Paint results in an incorrect pallete.
Is there anything that will correctly resize the images, or do they just get garbled when they shrink because they’re BMP or something?

Re: Macintosh Prince Graphics

Posted: October 9th, 2019, 12:03 am
by Norbert
4DPlayer wrote: October 8th, 2019, 11:06 pmI’m looking forward to create a DOS KID.DAT with Macintosh Prince graphics.
Doesn't that one already exist?
I think
https://www.popot.org/KID.DAT/008/KID.DAT
used, for example, here
https://www.popot.org/custom_levels.php?mod=0000017

DOS graphics are substantially smaller, so resizing Macintosh graphics to DOS means you lose some of the quality (information/data).
Plus, as you wrote, DOS has smaller palettes. SDLPoP can display many more colors simultaneously, which makes it much easier to mod.
4DPlayer wrote: October 8th, 2019, 11:06 pmIs there anything that will correctly resize the images, or do they just get garbled when they shrink because they’re BMP or something?
You'd have to convert the BMP file to full RGB first, so non-indexed.
After that you can scale using interpolation.

Re: Macintosh Prince Graphics

Posted: October 9th, 2019, 1:15 am
by 4DPlayer
Norbert wrote: October 9th, 2019, 12:03 am
4DPlayer wrote: October 8th, 2019, 11:06 pmI’m looking forward to create a DOS KID.DAT with Macintosh Prince graphics.
Doesn't that one already exist?
I think
https://www.popot.org/KID.DAT/008/KID.DAT
used, for example, here
https://www.popot.org/custom_levels.php?mod=0000017
This KID.DAT is the PoP2 kid, am I right?
Norbert wrote: October 9th, 2019, 12:03 am
DOS graphics are substantially smaller, so resizing Macintosh graphics to DOS means you lose some of the quality (information/data).
Plus, as you wrote, DOS has smaller palettes. SDLPoP can display many more colors simultaneously, which makes it much easier to mod.
Perhaps I should use SDLPop. Also since the images are in PNG, they will be more flexible.

Re: Macintosh Prince Graphics

Posted: October 9th, 2019, 9:41 am
by Norbert
4DPlayer wrote: October 9th, 2019, 1:15 amThis KID.DAT is the PoP2 kid, am I right?
For PoP2 they used the Macintosh prince.
Macintosh was released before PoP2.

Re: Macintosh Prince Graphics

Posted: October 9th, 2019, 3:40 pm
by 4DPlayer
Norbert wrote: October 9th, 2019, 9:41 am
4DPlayer wrote: October 9th, 2019, 1:15 amThis KID.DAT is the PoP2 kid, am I right?
For PoP2 they used the Macintosh prince.
Macintosh was released before PoP2.
For PoP2 they used the Macintosh style, (turban, blue vest), but no one has made an exact replica of the Mac Prince. If this can be done, he will look clearer and move much more fluent (especially in sword fighting, where the PoP2 Prince jumps).

Re: Macintosh Prince Graphics

Posted: October 9th, 2019, 5:18 pm
by Norbert
4DPlayer wrote: October 9th, 2019, 3:40 pm[...], but no one has made an exact replica of the Mac Prince. If this can be done, he will look clearer
An exact replica is impossible, because the Macintosh graphics are roughly twice as large.
Macintosh 0415.bmp (related ZIP) is 22x85, while the DOS kid/normal.bmp (related tool) is 12x41.
The Macintosh port has graphics for a 640x400 play area, while the DOS port has graphics for 320x200.
You may think DOS has graphics for 640x400 or higher, but that's only because the DOSBox renderer can scale x2 (and x3).
Only modern remakes can theoretically hold larger graphics, such as SDLPoP (related thread) and MININIM (related video).

Re: Macintosh Prince Graphics

Posted: October 9th, 2019, 5:51 pm
by 4DPlayer
Norbert wrote: October 9th, 2019, 5:18 pm
4DPlayer wrote: October 9th, 2019, 3:40 pm[...], but no one has made an exact replica of the Mac Prince. If this can be done, he will look clearer
An exact replica is impossible, because the Macintosh graphics are roughly twice as large.
Macintosh 0415.bmp (related ZIP) is 22x85, while the DOS kid/normal.bmp (related tool) is 12x41.
The Macintosh port has graphics for a 640x400 play area, while the DOS port has graphics for 320x200.
You may think DOS has graphics for 640x400 or higher, but that's only because the DOSBox renderer can scale x2 (and x3).
Only modern remakes can theoretically hold larger graphics, such as SDLPoP (related thread) and MININIM (related video).
This is why I was asking about actually resizing the images to the DOS scale. I see a full Mac set has already been used for SDLPoP, but it’s also very buggy. Since Mininim will have this support in a future release, maybe it’s a little pointless for me to create it for the DOS version. And, furthermore, in the SDPoP Mac sprites the Kid isn’t buggy and works well, right? If that is true, then users of SDLPoP will just need to move the kid folder containing those sprites into the data folder of their build of SDLPoP.

And anyways, it’s not worth it since I will loose a lot of quality when shrinking the images.