View Full Version : Icon size mismatch


smeagolheart
Mar 09, 2009, 12:53 AM
Hey, I've had an error message show up a couple times while testing my mod. I'm not sure how to find the problem. The error says something like icon size mismatch, 64 is the limit in city scape.

Anyone know how I can easily find the offending file(s)? Or how to find the problem?

smeagolheart
Mar 09, 2009, 07:41 AM
Here's a screenshot of what I'm talking about

http://i543.photobucket.com/albums/gg445/smeagolheart/untitled-2.jpg

Shiggs713
Mar 09, 2009, 08:30 AM
looks like you made an icon (aka button) that isn't 64x64

all buttons should be saved at 64x64 pixels as a DDS (direct draw surface) and DXT3 compression with no mip maps

smeagolheart
Mar 09, 2009, 08:44 AM
I've been saving them without compression, quality seems a bit better sometimes for the icons.

At this point, I've got hundreds of icons, is there a way to see if one of these hundreds is mis-sized?

The_J
Mar 09, 2009, 06:02 PM
Normal buttons with 64*64 have a size of 5-6 kb, so just look into the folder.


Why do you get an error? At the beginning, i tried buttons with 128*128 because of the quality, and my mod crashed without error, when i hit one of the buttons.

smeagolheart
Mar 10, 2009, 12:38 AM
I'm not sure why I'm getting the error. I had done a quick look before and didn't notice anything obviously wrong but maybe I just missed the problem. I get the error messge above 2-3 times per game, it doesn't crash the game but it is an annoyance.

smeagolheart
Mar 12, 2009, 03:52 PM
Hey so does anyone have any advice for browsing through a lot of .dds files quickly to discover civ compatibility problems, size as it seems?

Any programs that can work for this instead of loading each one individually in gimp or photoshop?

grumbler
Mar 12, 2009, 04:51 PM
For quickly checking image sizes, you can use XnView (http://www.xnview.com/). (Select "View/Sort by/Image size" and then either "View/View as thumbnails" or "View/View as/Details" for the browser.)

Shiggs713
Mar 12, 2009, 08:18 PM
the best program for viewing .dds is irfanview, though I think you have to get an add on for it. Its only really great for quick viewing though, not editing, though you still can do that also. You can even view all your .dds's as thumbnails once you install it