Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Alendar on April 14, 2008, 09:49 PM

Title: WarCraft III Ladder Icons
Post by: Alendar on April 14, 2008, 09:49 PM
Could someone please supply me with the official Warcraft III: Reign of Chaos and Warcraft III: The Frozen Throne 28x14 ladder icons.

Thank you,
Alendar
Title: Re: WarCraft III Ladder Icons
Post by: UserLoser on April 14, 2008, 11:23 PM
Quote from: Alendar on April 14, 2008, 09:49 PM
Could someone please supply me with the official Warcraft III: Reign of Chaos and Warcraft III: The Frozen Throne 28x14 ladder icons.

Thank you,
Alendar

are no such thing
Title: Re: WarCraft III Ladder Icons
Post by: Alendar on April 14, 2008, 11:26 PM
Yes, I am pretty sure there are. StealthBot uses them. As does SphtBot v3.
Title: Re: WarCraft III Ladder Icons
Post by: Ribose on April 14, 2008, 11:45 PM
Do you mean this (http://www.battle.net/war3/ladder/war3-ladder-info-laddericons.aspx) and this (http://www.battle.net/war3/ladder/w3xp-ladder-info-laddericons.aspx) scaled to that size? That's all they are. :/
Title: Re: WarCraft III Ladder Icons
Post by: Alendar on April 14, 2008, 11:51 PM
Yes, that's pretty much what I was looking for but I want to know the contents of war3-icons.bni and w3xp-icons.bni as well. I can't scale those to size either, they become very ugly.
Title: Re: WarCraft III Ladder Icons
Post by: Barabajagal on April 15, 2008, 12:21 AM
http://realityripple.com/Uploads/icons/Warcraft%20III/

?
Title: Re: WarCraft III Ladder Icons
Post by: Alendar on April 15, 2008, 12:25 AM
I have seen those, they are nice but I do not like the border on them. Thanks though.
Title: Re: WarCraft III Ladder Icons
Post by: l2k-Shadow on April 15, 2008, 12:32 AM
Quote from: Alendar on April 15, 2008, 12:25 AM
I have seen those, they are nice but I do not like the border on them. Thanks though.

paint + 10 minutes = no border.
Title: Re: WarCraft III Ladder Icons
Post by: UserLoser on April 15, 2008, 12:42 AM
Quote from: Alendar on April 14, 2008, 11:26 PM
Yes, I am pretty sure there are. StealthBot uses them. As does SphtBot v3.

the "official" icons are not 28x14 for either war3 product
Title: Re: WarCraft III Ladder Icons
Post by: Barabajagal on April 15, 2008, 01:21 AM
Or... just shrink the ones on the official site. For instance, (http://realityripple.com/Uploads/55x38.gif) is 55 by 38 pixels. All you have to do is shrink it to 20x14 (http://realityripple.com/Uploads/20x14.gif), which is the correct ratio, then add another 8 pixels of black space to the right(http://realityripple.com/Uploads/28x14.gif), and if you want, put the level number there. it's easy.
Title: Re: WarCraft III Ladder Icons
Post by: Spht on April 15, 2008, 06:32 AM
Quote from: Andy on April 15, 2008, 01:21 AM
Or... just shrink the ones on the official site. For instance, (http://realityripple.com/Uploads/55x38.gif) is 55 by 38 pixels. All you have to do is shrink it to 20x14 (http://realityripple.com/Uploads/20x14.gif), which is the correct ratio, then add another 8 pixels of black space to the right(http://realityripple.com/Uploads/28x14.gif), and if you want, put the level number there. it's easy.

But that's terrible quality and would take an extraordinary amount of time (there's like 60 icons).  blizzard does have "official" small icons which are 28x18, that are used on pages like ladder rankings (http://www.battle.net/war3/ladder/w3xp-ladder-solo.aspx?Gateway=Azeroth)

I downloaded all of these and created a bnet icon file several years ago: http://www.valhallalegends.com/spht/files/icons.zip

In Sphtbotv3, to preserve quality, all the legacy icons remain 28x14, whereas war3 icons are 26x18

http://www.valhallalegends.com/spht/images/sphtbotv3_war3icons.gif
http://www.valhallalegends.com/spht/images/sphtbotv3_war3level.gif
Title: Re: WarCraft III Ladder Icons
Post by: Alendar on April 15, 2008, 12:33 PM
How would I open those files? I am guessing since they are bigger then the normal icons that is why IconViewer can't open the file.
Title: Re: WarCraft III Ladder Icons
Post by: UserLoser on April 15, 2008, 12:38 PM
Quote from: Alendar on April 15, 2008, 12:33 PM
How would I open those files? I am guessing since they are bigger then the normal icons that is why IconViewer can't open the file.

IconViewer can't read the icons-war3.bni because it is actually an MPQ not a bni file
Title: Re: WarCraft III Ladder Icons
Post by: Alendar on April 15, 2008, 12:42 PM
Well, in the past I tried to open it using an MPQ viewer and it told me it is an invalid file. Do I need a list file for the MPQ viewer or how would I go about opening the file?
Title: Re: WarCraft III Ladder Icons
Post by: Spht on April 15, 2008, 02:36 PM
What i linked to are not mpq files, they are regular icon files.  the reason skywing's iconview won't open them is because it refuses to work with any icon files that battle.snp would refuse to load or crash on

In this case, it doesn't like the dimensions used, so i recommend you use another program for reading the icons or hack iconview to accept any dimensions.  in any case, why would you be trying to open them in iconview anyway?  i posted them so that your bot can use them without having to hassle with anything.  if your bot doesn't support reading battle.net icon files, then download them all from the batte.net website and include them in your exe as bitmaps or however you kids are doing things...andy don't tell me how long it took you to download all those pictures, resize them, and add borders.  please tell me someone paid you to do it
Title: Re: WarCraft III Ladder Icons
Post by: Barabajagal on April 15, 2008, 02:59 PM
Heh... Actually I wrote a quick app to do it in VB...
Title: Re: WarCraft III Ladder Icons
Post by: Ringo on April 15, 2008, 10:11 PM
Quote from: Alendar on April 14, 2008, 09:49 PM
Could someone please supply me with the official Warcraft III: Reign of Chaos and Warcraft III: The Frozen Throne 28x14 ladder icons.

Thank you,
Alendar

Spht posted some bni files, you could easy clip the header and rename them to .tga.

Anyway, extracted these from my bots archive file:
http://d2bot.cjb.net/w3bni.zip
Those are 2 bni files with w3roc/w3tft 28 by 14 icons. Might be worth noteing, the bni version is 5 and the image/data is BMP, not TGA (my bni parser supports multiple image formats, just for the hell of it, and bmp compress's better into an archive)
Heres the bmp's, as well as some others:
(http://d2bot.cjb.net/images/iW3.bmp)(http://d2bot.cjb.net/images/iW3Ex.bmp)(http://d2bot.cjb.net/images/iRating.bmp)(http://d2bot.cjb.net/images/iSC.bmp)(http://d2bot.cjb.net/images/iW2.bmp)(http://d2bot.cjb.net/images/iD1.bmp)(http://d2bot.cjb.net/images/iD2.bmp)

Hope this helps

edit: some more icons here (http://forum.valhallalegends.com/index.php?topic=11533.msg111812#msg111812) why we are on the subject
Title: Re: WarCraft III Ladder Icons
Post by: Joe[x86] on April 16, 2008, 01:52 AM
Why doesn't Spht use capitalization anymore?
Title: Re: WarCraft III Ladder Icons
Post by: Alendar on April 16, 2008, 02:00 AM
Thank you very much Ringo, I am pretty sure that's what I was looking for. :D

Joe, why do spam my topic with non-sense like that?