Valhalla Legends Forums Archive | Battle.net Bot Development | Warcraft III & The Frozen Throne race/level-specific icons

AuthorMessageTime
Spht
I created war3_icons.bni and w3xp_icons.bni today which contains all race/level-specific icons for Warcraft III and The Frozen Throne.

war3_icons.bni contains the 5 icons for each 5 races (25 icons).
w3xp_icons.bni contains the 6 icons for each 5 races, plus the 6 tournament icons (36 icons).

It uses the standard Battle.net icons format. Each icon is 18x26. Use the product field of icons header to determine which icon to match up with the icons field of a Warcraft III statstring ('W3R1' for example).

I originally created them for SphtBotv3, but others may want to support them in their client.
April 14, 2004, 11:01 PM
Myndfyr
Is there any chance that Blizzard might invoke copyright on these sorts of things?

Presently (Alpha 3), my bot is distributed with the ListView images embedded in the binary as a resource, and the animated (profile) images in a subfolder, as they were animated .gifs downloaded directly from the Battle.net website.

In Alpha 4, I'm going to create a cache and download these images off of the internet as-needed (or perhaps the first time it is run). I believe that by making the client download the images rather than distributing them, I might be getting around some sort of copyright violation.

Anybody have thoughts about that?
April 15, 2004, 1:20 AM
Spht
[quote author=Myndfyre link=board=17;threadid=6303;start=0#msg55172 date=1081992020]
Is there any chance that Blizzard might invoke copyright on these sorts of things?
[/quote]

Blizzard did not register those icons with the Copyright Office.
April 15, 2004, 1:30 AM
tA-Kane
[quote author=Spht link=board=17;threadid=6303;start=0#msg55174 date=1081992625]Blizzard did not register those icons with the Copyright Office.[/quote]That does not prevent the images from being copyrighted.
April 15, 2004, 1:58 AM
Spht
[quote author=tA-Kane link=board=17;threadid=6303;start=0#msg55178 date=1081994296]
[quote author=Spht link=board=17;threadid=6303;start=0#msg55174 date=1081992625]Blizzard did not register those icons with the Copyright Office.[/quote]That does not prevent the images from being copyrighted.
[/quote]

Being unregistered, and that bots have used them for many years, it doesn't seem like they care much.
April 15, 2004, 2:01 AM
tA-Kane
I've been trying to download the icons for nearly an hour, but I can't seem to... :\
[quote author=Spht link=board=17;threadid=6303;start=0#msg55179 date=1081994470]Being unregistered, and that bots have used them for many years, it doesn't seem like they care much.[/quote]You're probably right.


Edit: oops, fixed the quoting tags :\
April 15, 2004, 2:42 AM
Spht
Note that you will not be able to view these icons with Skywing's IconView because they are all 26x18 and IconView refuses to load/save icons which battle.snp wouldn't be able to load or would crash on.
April 15, 2004, 2:53 AM
tA-Kane
[quote author=Spht link=board=17;threadid=6303;start=0#msg55187 date=1081997611]Note that you will not be able to view these icons with Skywing's IconView because they are all 26x18 and IconView refuses to load/save icons which battle.snp wouldn't be able to load or would crash on.[/quote]I have a Mac, I can't run Skywing's IconView. Instead, I can run my own BNI editor! I want to see if it crashes my code! mmm
April 15, 2004, 2:58 AM
Myndfyr
[quote author=tA-Kane link=board=17;threadid=6303;start=0#msg55189 date=1081997922]
I have a Mac[/quote]

Congrats, Kane. Admitting you have a problem is the first step to solving it.... ;)
April 15, 2004, 3:15 AM
Maddox
Still can't download the file. It would have been nice to simply state the server was down and remove the link instead of letting people try to download it.
April 15, 2004, 4:11 AM
FuzZ
[quote author=Maddox link=board=17;threadid=6303;start=0#msg55201 date=1082002317]
Still can't download the file. It would have been nice to simply state the server was down and remove the link instead of letting people try to download it.
[/quote]
http://www.bloodynub.com/files/index.php?dir=bnet/bots/development/&file=icons.zip

If his link doesn't work.
I'll probably add more files to that directory as I find them.

anywho, now if I get off my lazy ass and work on parsing war3 stat string and writing war3 logon sequence I'll be able to use them.
April 15, 2004, 3:47 PM
SKiLLs
They said that the new was going to have new icons.. Looks like someone find them and i ended up finding them from him..

http://www.battle.net/war3/ladder/portraits/animated/war3/W3R2.gif
As you can see it just like they do the stats phase on Bnet

W3R2.gif
W3H2.gif
W3N2.gif
W3U2.gif
W3O2.gif
April 15, 2004, 4:27 PM
Spht
[quote author=SKiLLs link=board=17;threadid=6303;start=0#msg55265 date=1082046438]
They said that the new was going to have new icons.. Looks like someone find them and i ended up finding them from him..

http://www.battle.net/war3/ladder/portraits/animated/war3/W3R2.gif
As you can see it just like they do the stats phase on Bnet

W3R2.gif
W3H2.gif
W3N2.gif
W3U2.gif
W3O2.gif

[/quote]

What are you getting at?
April 15, 2004, 4:40 PM
BinaryzL
Can someone just post a zip file with all the icons for WAR3 and W3XP, the images not the .bni files? I can't seem to find them.
April 15, 2004, 10:12 PM
Spht
[quote author=BinaryzL link=board=17;threadid=6303;start=0#msg55313 date=1082067174]
Can someone just post a zip file with all the icons for WAR3 and W3XP, the images not the .bni files? I can't seem to find them.
[/quote]

Why would you want just the image files? The icon package contains all the images plus the icon codes for each. Very easy to implement if you support reading Battle.net icon files.
April 15, 2004, 10:18 PM
Soul Taker
[quote author=Spht link=board=17;threadid=6303;start=0#msg55315 date=1082067537]
[quote author=BinaryzL link=board=17;threadid=6303;start=0#msg55313 date=1082067174]
Can someone just post a zip file with all the icons for WAR3 and W3XP, the images not the .bni files? I can't seem to find them.
[/quote]

Why would you want just the image files? The icon package contains all the images plus the icon codes for each. Very easy to implement if you support reading Battle.net icon files.
[/quote]
So maybe he doesn't? Why ask why someone would want something, then present a scenario in which they would want them!
April 15, 2004, 10:29 PM
Spht
[quote author=Soul Taker link=board=17;threadid=6303;start=15#msg55318 date=1082068173]
[quote author=Spht link=board=17;threadid=6303;start=0#msg55315 date=1082067537]
[quote author=BinaryzL link=board=17;threadid=6303;start=0#msg55313 date=1082067174]
Can someone just post a zip file with all the icons for WAR3 and W3XP, the images not the .bni files? I can't seem to find them.
[/quote]

Why would you want just the image files? The icon package contains all the images plus the icon codes for each. Very easy to implement if you support reading Battle.net icon files.
[/quote]
So maybe he doesn't? Why ask why someone would want something, then present a scenario in which they would want them!
[/quote]

Posted them for people who have support for reading Battle.net icon packages. If someone wants to waste executable size by including a list of bitmap pictures that they collected from the Blizzard web site, or by taking screen shots of the game, then that's unrelated to this thread.
April 15, 2004, 10:36 PM
BinaryzL
Alright well is there any documentation on reading the Battle.net icon packages?
April 15, 2004, 11:30 PM
Myndfyr
[quote author=BinaryzL link=board=17;threadid=6303;start=15#msg55335 date=1082071843]
Alright well is there any documentation on reading the Battle.net icon packages?
[/quote]

Yes.
April 15, 2004, 11:31 PM
BinaryzL
Ahh it would help if you care to explain where or something of that nature.
April 15, 2004, 11:35 PM
Myndfyr
[quote author=BinaryzL link=board=17;threadid=6303;start=15#msg55337 date=1082072110]
Ahh it would help if you care to explain where or something of that nature.
[/quote]

How about using "Search" or "Google"?
April 15, 2004, 11:43 PM
Spht
Kane's documentation is here:
http://linkware.clan-mac.com/kanebot/misc/bni_file.shtml
April 16, 2004, 12:15 AM
Maddox
Might want to check out http://astronomy.swin.edu.au/~pbourke/dataformats/tga/ as well.
April 16, 2004, 3:39 AM
Maddox
I've resized the icons down to 28x14 to match the other icons.

You can download them here: http://24.6.105.63/files/war3_icons_28x14.zip
April 16, 2004, 9:49 AM
Spht
[quote author=Maddox link=board=17;threadid=6303;start=15#msg55391 date=1082108948]
I've resized the icons down to 28x14 to match the other icons.

You can download them here: http://24.6.105.63/files/war3_icons_28x14.zip
[/quote]

I prefer leaving them the default size. They end up being a little closer to the 28x14 icons, but it doesn't take away from the look and they're not distorted.

http://www.valhallalegends.com/spht/images.asp?filename=sphtbotv3_war3icons.gif

But some people might want to use yours if their bots rely on the size always being 28x14, so thanks for contributing.
April 16, 2004, 6:26 PM
tA-Kane
[quote author=Spht link=board=17;threadid=6303;start=0#msg55137 date=1081983694]Each icon is 18x26.[/quote]

Whatever software you used to create this file, it's got a (nasty) bug...

It's reporting each icon (in w3xp_icons.bni) as having a width of 26 and a height of 648. 648 / NumIcons (36) is 18. Obviously, it's taking the height from the entire ("compiled") TGA, instead of the height for the individual icon. That's probably why it would crash Blizzard's software (and thus Skywing's software too), because the first icon would use up the entire image, and then the second icon would then be "out of range" of the image.

I found the same problem with war3_icons.bni, a width of 26 and a height of 450 (NumIcons (25) * 18) for each icon.

My software, however, doesn't crash, but rather uses an empty picture for icons who's image is out of range of the TGA. Though, my software does only display the first 28x14 pixels of the icon, so I'll need to fix that! 8)


Edit: See if battle.snp and/or Skywing's IconView can load these fixed files correctly?

http://linkware.clan-mac.com/kanebot/misc/war3w3xpiconsfixed.zip
April 16, 2004, 8:34 PM
UserLoser.
[quote author=tA-Kane link=board=17;threadid=6303;start=15#msg55443 date=1082147673]
[quote author=Spht link=board=17;threadid=6303;start=0#msg55137 date=1081983694]Each icon is 18x26.[/quote]

Whatever software you used to create this file, it's got a (nasty) bug...

It's reporting each icon (in w3xp_icons.bni) as having a width of 26 and a height of 648. 648 / NumIcons (36) is 18. Obviously, it's taking the height from the entire ("compiled") TGA, instead of the height for the individual icon. That's probably why it would crash Blizzard's software (and thus Skywing's software too), because the first icon would use up the entire image, and then the second icon would then be "out of range" of the image.

I found the same problem with war3_icons.bni, a width of 26 and a height of 450 (NumIcons (25) * 18) for each icon.

My software, however, doesn't crash, but rather uses an empty picture for icons who's image is out of range of the TGA. Though, my software does only display the first 28x14 pixels of the icon, so I'll need to fix that! 8)


Edit: See if battle.snp and/or Skywing's IconView can load these fixed files correctly?

http://linkware.clan-mac.com/kanebot/misc/war3w3xpiconsfixed.zip
[/quote]

Battle.snp: Untested.
IconView: No. ("Invalid icons file.")
April 17, 2004, 12:33 AM
Spht
[quote author=tA-Kane link=board=17;threadid=6303;start=15#msg55443 date=1082147673]
Edit: See if battle.snp and/or Skywing's IconView can load these fixed files correctly?
[/quote]

As I mentioned, Skywing's IconView will refuse to load icons which battle.snp would crash loading, or would simply refuse to load (like non-28x14 dimentions). Because of this, IconView will not load my icons because they are not 28x14.

Regarding the image height problem, I noticed that before I was going to publish the icons and fixed it, but uploaded the wrong package. You can get the correct ones here:
http://www.valhallalegends.com/spht/files/icons.zip
April 17, 2004, 2:32 AM
BinaryzL
Thank you Maddox.
April 19, 2004, 9:00 PM
Spht
Update: I created a new icon file: legacy_icons.bni which contains 42 win/level/rating/rank-specific icons for Starcraft/Brood War/Diablo I/Warcraft II.

Uses the standard Battle.net icons format, and each icon is 28x14. These are a static position-determined icon set, so the flags and product fields are unspecified. Uses BNI format for giving processor dimentions of each icon.

Also originally created for SphtBotv3 (click click), but others may want to support them in their client.

http://www.valhallalegends.com/spht/files/icons.zip
June 5, 2004, 2:42 AM

Search