HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Image Import

03-11-2007, 03:59 AM#1
Tide-Arc Ephemera
Ok, so I imported a 256x256 (pix) mini map image. I changed the path to war3mapPreview.tga, but now all it does is crash warcraft. I think this has something to do with the alpha channels, but it might have something else to do with.

How could I fix this bug? I'm using Mac, and my Java console is messing up again... so could you help me find a solution?

Just incase you can't find a solution for mac, I have the image attached.
Attached Images
File type: tgaMirrorMatch.tga (256.0 KB)
03-11-2007, 07:58 AM#2
Chocobo
Try changing the compression system? Use a normal compression. (use the "low leveled" image modifiers to save it again, see the size will change)
03-11-2007, 08:30 AM#3
blu_da_noob
I checked in PS and it lacks an alpha channel, which is probably the problem.

I attached it with an alpha channel added, try it and if it solves your problem then you know what caused it.
Attached Images
File type: tgaMirrorMatchAlpha.tga (256.0 KB)
03-12-2007, 04:49 AM#4
Tide-Arc Ephemera
It partially solves it. I get to view it for a second, and then it crashes. It's probably because wc3 is spazzing out. With alpha channels, I am able to view it for a second (as said before) and I get to see wc3 crash.

Would changing it to a BLP help? I have a TGA-BLP converter...

Edit#1: It might be a format problem, because apparently with TGA you don't use alphas (God knows why it crashed if there were none) and if you convert it, you should have alphas, I'll convert it to see what happens..

Edit#2: You get 1 second less than you did with TGA... Most probably wc3 doesn't like me...

Edit#3: Everything I tried failed. Using blu's alpha'd image. Using a compressed version of blu's alpha'd image. Using a blp converted version of blu's alpha'd image and even a converted version of blu's compressed alpha'd image... does JPG work for minimap previews without crashing?

Edit#4: Apparently saving WITH alphas causes wc3 to crah, so if it didn't have an alpha, why did it crash...
03-12-2007, 04:55 AM#5
harshateja
Quote:
Originally Posted by Tide-Arc Ephemera
Edit#1: It might be a format problem, because apparently with TGA you don't use alphas
Yes you do.
03-12-2007, 08:40 AM#6
Tide-Arc Ephemera
NONE THE LESS, the thing still crashes wc3, so I'm going to add it maybe in a later version, it's not like the image is all so vital or anything.
03-13-2007, 09:27 AM#7
Chocobo
Try this .tga one. If it doesn't work, convert the .jpg one to .tga.
Attached Images
File type: jpgMirrorMatch JPG.jpg (19.2 KB)
File type: tgaMirrorMatch TGA.tga (256.0 KB)