HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Icon-from-MPQ Issues...

07-16-2008, 08:59 PM#1
Kyrbi0
So I have this custom .mpq. I was attempting to export one of the icons it uses (BTNTikiIceMage.blp and DISBTNTikiIceMage.blp) for usage.

In Magos (thru it's MPQ Browser), it shows up fine, and exports fine as well.
Click image for larger version

Name:	NoIcon - 1.JPG
Views:	7
Size:	75.0 KB
ID:	35777

However, in Wc3Viewer, the BTN is blank; completely transparent (blue background).
Click image for larger version

Name:	NoIcon - 2.JPG
Views:	8
Size:	58.2 KB
ID:	35778

And basically, it is transparent in both the World Editor and Warcraft 3 (notice the side of the Town Hall is showing through :/ ).
Click image for larger version

Name:	NoIcon - 3.JPG
Views:	1
Size:	129.8 KB
ID:	35779Click image for larger version

Name:	NoIcon - 4.JPG
Views:	1
Size:	56.0 KB
ID:	35780Click image for larger version

Name:	NoIcon - 5.JPG
Views:	9
Size:	176.4 KB
ID:	35781

The most stump-alicious part of this conundrum is that the Disabled version works fine! Both are ripped from the same MPQ, named the same, imported the same; I'm 99% positive I used the correct filename, <ReplaceableTextures\CommandButtons\TikiIceMage.blp> (always leave that 1% just in case :P).


Anyway, any help on the matter would be greatly appreciated; it's a pretty cool custom-drawn icon. +Rep to the helpiest helper, of course. :P
Attached Images
File type: jpgNoIcon - 1.JPG (75.0 KB)
File type: jpgNoIcon - 2.JPG (58.2 KB)
File type: jpgNoIcon - 3.JPG (129.8 KB)
File type: jpgNoIcon - 4.JPG (56.0 KB)
File type: jpgNoIcon - 5.JPG (176.4 KB)
07-16-2008, 09:04 PM#2
Ammorth
It looks like your icon has an alpha layer which covers the entire icon. Try converting the icon to .tga, open it in an image editing program and then remove the alpha layer. Save and convert it back to .blp with war3veiwer. You will be asked to insert a blank alpha-layer, so hit accept. The icon should now work properly.
07-16-2008, 09:21 PM#3
Kyrbi0
Argh!

I followed your directions, and finally got to where it asked me to add an "opaque alpha layer", and I said yes (forgetting your post). Now when I use it, it's solid White!!

I'm using MGI Photosuite, just copy/pasted the icon image into another 64x64 image, then saved. It worked up until that point. Am I just not using an advanced-enough image editing program?
07-16-2008, 11:32 PM#4
Ammorth
I'm not so sure about that program, but it should work. You can always try create your own alpha layer in the editing program. Try saving it as 32 bit and then converting.

If you are still having problems, post the icon here and I can do it for you in a sec.
07-17-2008, 03:01 AM#5
Kyrbi0
Quote:
Originally Posted by Ammorth
You can always try create your own alpha layer in the editing program. Try saving it as 32 bit and then converting.

Huh? How in the world...

I'll mess around a bit more, but I'll probably end up giving it to you. Would you prefer a PM to a Pastebin thread, or just make it public on here?
07-17-2008, 04:02 AM#6
Ammorth
whichever works, or you can even email me at ammorth(at)gmail(dot)com.
07-17-2008, 04:13 AM#7
Kyrbi0
Sent; thanks again!
07-17-2008, 04:48 AM#8
Ammorth
Sent back, you're welcome.