Help! Resource Palette Problem

Blue Monkey

Archon Without Portfolio
Joined
Jul 31, 2005
Messages
11,325
Location
Timeless Isle
I can't figure out why I'm getting the "pink square" problem. The palette is the standard C3C resource palette.

In-Game Screenshot:

pinksquareca2.png


The resource pcx:
View attachment 195431


If anyone sees the problem please tell me the solution rather than just fix it. This is a WIP & I'll need to know in case the same problem shows up later.

Thanks in advance to anyone who takes a look.
 
Maybe you accidentaly changed the Magenta setting by one point and its not transparent anymore? You probably thought of this yourself, but its the only thing that comes to mind..
The last thing done was to import/apply the C3C resource palette & check that the bg is using the color at that index location - I don't see how the numbers could be off. Hopefully someone will take a look at the file itself.
 
Your palette is screwed up royally. I attached a screenshot of what it looks like. If you do not have the software to fix it let me know and I will upload a new pcx for you. This is in photoshop so the transparency colors should be the first 2.
 

Attachments

  • color-table.png
    color-table.png
    12.4 KB · Views: 68
When you say it "screwed up royally" do you see something more than the last 2 colors not set properly?

I have a choice of several ways to edit palettes. But I still don't understand what happened. I had the black square, so I imported the C3C palette, now I've got the pink square. The default resources look fine in a standard game so the problem can't be the C3C palette. I just don't see the difference between the two palettes. On top is the resources.pcx & palette direct from Conquests, underneath is mine.

c3cscreencn6.png

myresourcescreenxu2.png
 
Postscript: I went back & edited the pcx to add the magenta & green on the end, change the bg to the magenta, & corrected a few pixels that were using those slots for black. The file works fine now. I'm still mystified why the default file shows those slots black when I open it, though. Thank you, Stormrage & BadKharma, for your help.
 
Well I am mystified why you have a default palette with 2 black for the transparency because that should not work. Here is a screenshot of the default resources and color table. Anyway I am glad you got it working now.
 

Attachments

  • default.png
    default.png
    21.4 KB · Views: 70
Thinking about it earlier this evening I realized that GraphicConverter sometimes shifts blacks that are not used in the image to the end of the palette. It's inconsistent about when it does so. It may be that the default palette has an unused slot - which I wasn't expecting. At least I know what to watch out for in the future.

Thanks again for your help.
 
Thinking about it earlier this evening I realized that GraphicConverter sometimes shifts blacks that are not used in the image to the end of the palette. It's inconsistent about when it does so. It may be that the default palette has an unused slot - which I wasn't expecting. At least I know what to watch out for in the future.

Thanks again for your help.

It's not inconsistent. It does that whenever the maximum number of pixels is not used. So, with GIMP, after I've indexed an image, if there are, say, 250 squares on the colormap, I add five and then change the last two. Then I add the pink to the image.

So to recap: If it shows up black, it's unindexed. If it shows up pink (in game) it's mis-indexed.
 
Back
Top Bottom