yourantumayel69 wrote: ↑July 24th, 2020, 12:31 pm
Anybody who can help?
I extract character SNES graphics (FAT.DAT, KID.DAT, PRINCE.DAT and VIZIER.DAT), but the problem appear: "error, monochrome palette format wrong"
It seems there is a bug in the PRINCE.DAT of SNES graphics; or at least something which PR doesn't expect.
Namely, the potion bubble images are in 4 bpp (16 colors) format instead of 1 bpp (2 colors).
PR will extract these images incorrectly in addition to giving an error message.
To extract these images properly, change this line of resources.xml:
Code: Select all
<folder name="bubble animation" path="bubble animation" type="image" colors="2">
to this:
Code: Select all
<folder name="bubble animation" path="bubble animation" type="image">
(Make sure you keep a copy of the original resources.xml; or make a copy and change the copy instead.)
By the way, the
previews of PRINCE.DAT files on PoPOT show the bubbles incorrectly for the two files by Brain, and the one file by DKM.
That's because of this same bug.
I don't even know why does resources.xml have to specify the number of colors in images, because it's stored in the image itself.
If I try to extract a 2-color image without specifying colors="2" in resources.xml, it gets extracted almost correctly (as 1 bpp) except the palette will be all black.
If PR used a black-and-white palette in that case then we wouldn't need colors="2" at all.