• Welcome to Valhalla Legends Archive.
 

Warcraft III & The Frozen Throne race/level-specific icons

Started by Spht, April 14, 2004, 06:01 PM

Previous topic - Next topic

Soul Taker

Quote from: Spht on April 15, 2004, 05:18 PM
Quote from: BinaryzL on April 15, 2004, 05:12 PM
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.

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.
So maybe he doesn't?  Why ask why someone would want something, then present a scenario in which they would want them!

Spht

Quote from: Soul Taker on April 15, 2004, 05:29 PM
Quote from: Spht on April 15, 2004, 05:18 PM
Quote from: BinaryzL on April 15, 2004, 05:12 PM
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.

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.
So maybe he doesn't?  Why ask why someone would want something, then present a scenario in which they would want them!

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.

BinaryzL

Alright well is there any documentation on reading the Battle.net icon packages?

MyndFyre

QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

BinaryzL

Ahh it would help if you care to explain where or something of that nature.

MyndFyre

Quote from: BinaryzL on April 15, 2004, 06:35 PM
Ahh it would help if you care to explain where or something of that nature.

How about using "Search" or "Google"?
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.


Maddox

asdf.

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
asdf.

Spht

Quote from: Maddox on April 16, 2004, 04:49 AM
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

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.

tA-Kane

Quote from: Spht on April 14, 2004, 06:01 PMEach icon is 18x26.

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
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

UserLoser.

Quote from: tA-Kane on April 16, 2004, 03:34 PM
Quote from: Spht on April 14, 2004, 06:01 PMEach icon is 18x26.

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

Battle.snp: Untested.
IconView: No. ("Invalid icons file.")

Spht

Quote from: tA-Kane on April 16, 2004, 03:34 PM
Edit: See if battle.snp and/or Skywing's IconView can load these fixed files correctly?

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


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