Ryoko: Suggestion to change link in Tutorial Page

Sud

"[If life=Dota] I'd have quit long ago" -- Acehart
Reaction score
64
As my map grows, I have found it necessary to convert the item icons from their .TGA roots to .BLP to save filesize (I've been able to save the greater part of a meg in doing this).

On the tutorial site (http://www.world-editor-tutorials.thehelper.net/skinning.php), you recommend using the "Warcraft III Image Extractor II" file. I found this utility to be flawed in the task I set it to - namely, it does not add the "Alpha Channel" to the TGA files being converted. This results in black, blank boxes in the game for all the converted icons, and some wasted time. I even got an .OCX error which I had to manually fix upon my first use of that program.

Doing some searches back to forum topics on the subject of .TGA to .BLP conversions, I've noted some unresolved issues from this and would like to make a suggestion that you change the recommended software from the Extractor II to The Prophet's WarcraftIIIViewer software ( available at http://www.wc3sear.ch/index.php?p=Tools&ID=11&sid= ) which actually does prompt you to add the alpha channel and has some nice features, such as the insanely useful batch conversion utility so you can convert those 100 icons all at once instead of one by one.

Just may save some people some time and headaches.
 

SD_Ryoko

Ultra Cool Member
Reaction score
85
Due to heavy icon issues, I have done some homework. And not all of this is true.

I want to convert all my icons to BLP
When using BLP format, you must select the alpha channels in ulead by selecting the entire image, then saving it. Here I have created two icons - a normal button, and a disabled button. The dashed line around my image shows that I am saving it with the entire image selected.

-Save in TGA format
-64x64 pixels in size
-NO compression
-ALL selected

(see icons1.jpg)

Then I converted it to BLP with the WC3 Image extractor II, as shown. I recieve a prompt that gives me an option to set quality. I stick to about 80 percent.

(see icons2.jpg)

Now I import them into my map. I import them EXACTLY AS THE TUTORIAL SAYS, and nothing else.

I didn't mess up the path, get the green box, then come post on the forum. I follow the tutorial.

I did not forget to select the image, come here, and post because I got a black box.

NOTE: Names in the image shown are for the BLP test icons. If your using TGA files, the extensions will be TGA in the import manager.

(see icons3.jpg)

I assigned my icons to a unit in the game. When I test my map, it works perfectly.

(see icons4.jpg)

Don't bother, I want to use TGA in my map.
This is PERFECTLY acceptable. But save them DIFFERENT. When saving icons for TGA format use, DO NOT select the image in ULEAD. No selection areas, no alphas, no dashed line.

Here I have attached a demo map that uses TGA files. You can see I did not select the image, come to the forum, and post because it crashes my game.

-64x64 pixels in size
-NO compression
-NO Selection area

And it works perfectly fine.

I beleive using BLP will save me uber space
I don't know how many times I've said this, but N.T.

I have attached an image for you all to see. I imported BOTH the BLP file, and the TGA file.

When WC3 saves a map, it compresses ALL files, including TGA. Lets open it with WINMPQ, and look at what the compressed sizes of both are.

I have highlighted them in red. Notice, they are only 1k different. To save a meg in a map, you would need 1000 icons.

(see icons5.jpg)

The tutorial does not mention selection areas, or other viewers
Sud does have valid points, that it is hard to understand how to convert your files. And I have experienced problems with WC3 Image extractor before.

If 'Darg' would like to revamp his tutorial, I'd certainly update the website.

But all the information you need, has been layed out now. I do apreciate Sud trying to help stamp out the noob questions, caused by the people who won't listen to my 1000 other posts about icons.

Last Thoughs
If using another viewer allows us to save the TGA the same way, every time, for both BLP and TGA, lets do that. But I don't know enough about the other viewer, that evidence was not submitted.
.... I done talking now :)
 

Attachments

  • icons1.jpg
    icons1.jpg
    10.6 KB · Views: 128
  • icons2.jpg
    icons2.jpg
    30.3 KB · Views: 134
  • icons3.jpg
    icons3.jpg
    46.4 KB · Views: 131
  • icons4.jpg
    icons4.jpg
    46.8 KB · Views: 153
  • icons5.jpg
    icons5.jpg
    87.3 KB · Views: 148

Sud

"[If life=Dota] I'd have quit long ago" -- Acehart
Reaction score
64
Some replies:

"I want to convert all my icons to BLP"

The description for that one is different in that I received the black box (I believe the green one would be a different issue entirely). The black box I can say with confidence has to be the alpha issue.

"Don't bother, I want to use TGA in my map."

The TGAs in question were created with Irfanview, a lot of them coming from screenscrapes captured off the clipboard. Perhaps with the tool you mentioned it does have the alpha, though Irfan is seriously popular image acquisition software.

"I beleive using BLP will save me uber space"

This is situational, but in my map I had over 120 custom icons. When I compressed these to BLP, I saved roughly 700kb, almost a meg. This is a significant gain especially considering that the maximum playable battle.net map is 4mb.

"The tutorial does not mention selection areas, or other viewers"

I believe the absence of a feature to actually add the alpha channel kind of makes that software unsuitable, in the very least, for a newbie tutorial. It's like the equivalent of a graphics viewer that wouldn't let you resize your icons to 64x64 - it just won't work (and it won't work in the most annoying, game crashingest, hair tearingest out way). The latter software I suggested because it does say right out "this image needs an alpha channel to work, click yes to add an alpha channel" when you do the conversion. Plus it has better features such as the batch conversion I mentioned.
 

SD_Ryoko

Ultra Cool Member
Reaction score
85
Sud said:
The description for that one is different in that I received the black box (I believe the green one would be a different issue entirely). The black box I can say with confidence has to be the alpha issue.
What? We already agree on that. Read carefully :
SD_Ryoko said:
I did not forget to select the image, come here, and post because I got a black box.
Selecting the image in ulead CREATES the alpha channels. So we already both agree.....Ulead gives you the option. You don't need to be confident; its a known fact.

Green Box: Icon not found. Path is wrong.
Black Box: Bad alpha channels / layers.
Crash: Bad save format, bad selection area.

Sud said:
The TGAs in question were created with Irfanview, a lot of them coming from screenscrapes captured off the clipboard. Perhaps with the tool you mentioned it does have the alpha, though Irfan is seriously popular image acquisition software.
I can understand that. But all of the tutorials reccomend ULEAD at this point. Mainly because, its much much more powerfull, easier to get than Photoshop, gives you the alpha channel options, has a free trial, and both Darg and I have the full ver.
Sud said:
This is situational, but in my map I had over 120 custom icons. When I compressed these to BLP, I saved roughly 700kb, almost a meg. This is a significant gain especially considering that the maximum playable battle.net map is 4mb.
The only way this is even conceivably possible, is that your program for TGA is not saving it as optomized as the program we reccomend. When saved, all TGA icons should be 13k in size, and compress to 6k. As shown in my screen shot, they are almost the exact same size. My guess would be, your TGA program saves them at 20k+ each.

NOTE: All BLP is, is a compressed version of TGA. And, World Edit compresses your TGA's for you already. Provided, they are correct size and format.
Sud said:
I believe the absence of a feature to actually add the alpha channel kind of makes that software unsuitable, in the very least, for a newbie tutorial. It's like the equivalent of a graphics viewer .....
I agree. Unsuitable for a newbie tutorial. But 'unsuitable' for the more advanced of us, who know how to do alpha channels, who design models for alpha channels, and handle models right down to the alpha layers.

Give Darg a chance to review it, and we'll see what he says. After all, its his tutorial. Please also, post a much shorter summary of the programs, steps, and process, for his review.
 

SD_Ryoko

Ultra Cool Member
Reaction score
85
Another note.

Have a look at the skinning tutorial. This is an example of why 'Ulead'.

See how selecting and unselecting the patches controls the alpha channels? And that in turn, controls layers and team colors.

My question is, can the other programs do that too? When you tell it to 'create' alpha channels, will it preserve the original? And handle the team color areas?

Lastly, if your real curious about how alphas and layers work, check out 'Adding Materials'. Even if you don't model, it will give you great understanding of how it all works.

Thanks for your participation, Sud :D
 

Sud

"[If life=Dota] I'd have quit long ago" -- Acehart
Reaction score
64
Selecting the image in ulead CREATES the alpha channels. So we already both agree.....Ulead gives you the option. You don't need to be confident; its a known fact.

Ok that works - the only thing is that it may need to be clearer that it is mandatory to use ULead otherwise your icons aren't going to work.

The only way this is even conceivably possible, is that your program for TGA is not saving it as optomized as the program we reccomend. When saved, all TGA icons should be 13k in size, and compress to 6k. As shown in my screen shot, they are almost the exact same size. My guess would be, your TGA program saves them at 20k+ each.

All of the TGA icons were 13k in size. They compressed to about 5-7kb. The file size of my map in the previous version was 4.5mb which reduced to 3.7mb using Vexorian's map optimizer. The file size of my map in the version where I introduced .BLP icons was 3.8mb reduced to 3.1mb via Vexorian. All the .TGAs are of the correct size and format, and if the WorldEditor is further compressing them, it's doing a bad job of it because the benefit I received was immediate. Of course I will agree with you that this won't be an issue for the average person who's just throwing in one or two icons, but in my case I had a critical mass of the things and needed to reduce the size of them.

Give Darg a chance to review it, and we'll see what he says. After all, its his tutorial. Please also, post a much shorter summary of the programs, steps, and process, for his review.

Sure I can do that. I'm not at home at the moment (working) but when I get back later tonight I'll do you one better and do a short walkthrough of it with screenshots.
 

SD_Ryoko

Ultra Cool Member
Reaction score
85
Sud said:
The latter software I suggested because it does say right out "this image needs an alpha channel to work, click yes to add an alpha channel" when you do the conversion. Plus it has better features such as the batch conversion I mentioned.

What about FullScreen.blp, from the Loading Screen tutorial? Its model file only uses 1 layer, therefore, no alpha channels. If you add them, it doesn't work.
 

Myzteryz

It only does everything.
Reaction score
90
I use a mac...so maybe do it for me..?...but it the picture shows up fine when Im about to learn it...i see it clear..its just that it disappears when i already learned it..and it doesn't show up in the ability bar..

So could ne1 tell me If i placed them wrong
 

Sud

"[If life=Dota] I'd have quit long ago" -- Acehart
Reaction score
64
Sounds to me then that you specified a research/learn icon, but not a skill icon. It should be in the same area as the research icon for the spell.

If that isn't it I'll have to look at it, but not home atm
 

Myzteryz

It only does everything.
Reaction score
90
I did specify it...its in the normal icon space..

and also..my bad..I folowed the link from the original thread and accidently posted here..
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top