wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Resources > Tools
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 09-28-2007, 02:53 PM   #1
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)

Default wc3Borderizer

There is an online version of this tool at http://wc3borderizer.appspot.com

// ---- Version 5.0 ---- //
Warning Big Image:


Zoom (requires log in)



// ---- Version 4.2 ---- //
Passive buttons now have standard PASBTN prefix
Infocard icons now have standard infocard- and infocard-neutral- prefixes
Borderizer now also generates Disabled passive buttons DISPASBTN

// ---- Version 4.1 ---- //
Fixed flipped TGA problem.

// ---- Version 4.0 ---- //
Supported input image types: BMP, PNG, JPG, GIF, TGA
Full cross-platform compatibility
Generated icons are 100% wc3 standard and contain all needed mipmaps.
All generated icons have same size (6641 bytes)
Command line parameters have changed: read the README.TXT

// ---- Version 3.1 ---- //
You can edit wc3Borderizer.bat for your own custom BLPaletter settings now.

============< java -jar WC3B.jar 64 -j -mip1 >==============

All options after WC3B.jar are passed directly to BLPaletter.
Default settings are: 64 colors, jpeg compression, one mipmap.
Read BLPaletter documentation for more info.

// ---- Version 3.0 ---- //
Much easier to use. (total noob friendly release)
Can now process multiple files at once.
Reduced java dependency from 1.6 to 1.4(and above)

// ---- Version 2.2 ---- //
Fixed a bug with .jpg files.
.bmp files turned out to be too much of a hussle = .bmp not supported any more.
Added better demo.

Made a totally new algorithm for disabled icons,
here is a comparison between a default disabled icon and a generated one.
Hidden information:
Zoom (requires log in)



// ---- Version 2.1 ---- //
Added demo.sh script for Mac and Linux users.

// ---- Version 2.0 ---- //
Added Infocard icon generation.
Also added shaded versions for BTN and BTNAUTO (-s files)
Also added some instructions for Linux and Mac users in Readme

I also tested all icon types in game just to make sure everything is OK - it is :).
(small note: If you are using the -s versions of icons remove the -s postfix when you import them so they point to the proper disabled version)

// ---- Version 1.0 ---- //

Toll for automatic creation of wc3 icons from any picture of any size.
Currently supports GIF, PNG, JPEG files

Simply download some image, for example this one:
Hidden information:
Zoom (requires log in)


pass it to borderizer and voila:
Hidden information:
Zoom (requires log in)


it automatically creates bordered icons for you in .jpg format so you can easily preview them.
All files are generated inside ReplaceableTextures folder
(.jpg files use 100% compression, the bordered images will look absolutelly the same as originals, except for borders ofc)

And that is not all, if Mikes' BLPalleter happens to be in the same directory,
it will be automatically called to create compressed blp's

Read the Readme.txt file for details.
Attached Images
File Type: jpg logo.JPG (2.2 KB, 1822 views)
File Type: png Biohazard1.PNG (13.7 KB, 1736 views)
File Type: jpg BH2.JPG (11.3 KB, 2124 views)
File Type: jpg comparision.JPG (2.6 KB, 1864 views)
File Type: png wc3bgui.png (231.4 KB, 1401 views)
Attached Files
File Type: zip wc3Borderizer v5.0.zip (444.1 KB, 1587 views)
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.

Last edited by cohadar : 02-19-2013 at 10:02 AM. Reason: new version
cohadar is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 09-28-2007, 04:43 PM   #3
Anitarf
Procrastination Incarnate


Development Director
 
Join Date: Feb 2004
Posts: 8,026

Submissions (19)

Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)

2008 Spell olympics - Fire - SilverApproved Map: Old School Alliance TacticsHero Contest #2 - 3rd PlaceSpell making session 2 winner

Default

The BTN should have that fade to black at the edges too I think.
__________________
Anitarf is offline   Reply With Quote
Old 09-28-2007, 04:49 PM   #4
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)

Default

Quote:
Originally Posted by Ti[t]an[Mapmaker]
simple but good program,change the icon;a biohazard icon doesnt realy support the adds boarders to an icon

You mean the main submission icon?
Why not it has border :D

Quote:
Originally Posted by Anitarf
The BTN should have that fade to black at the edges too I think.

I see ... good point.
I will simply edit the border image in GIF folder.
(note that I already did so for autocast because it was more obvios that it should not be white at edges)

Tim. shame on you. :p

EDIT:

Hummm, maybe I should ask some professional icon maker to change that border.
Anyone interested?

Here is the problem, the difference between original and correct border:
Hidden information:
Zoom (requires log in)


The original border was white and white is treaded as transparent when saving border over original image.
(well not actually I have manual program controll over this but it is stupid to invent more complicated algorithm when simple image editing can do the same)

So I need someone to add proper shades to images, pretty please.
Attached Images
File Type: jpg humm.JPG (6.1 KB, 1462 views)
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.

Last edited by cohadar : 09-28-2007 at 05:02 PM.
cohadar is offline   Reply With Quote
Old 09-28-2007, 04:55 PM   #5
Diehard@Azeroth
User
 
Join Date: Aug 2007
Posts: 25

Submissions (1)

Diehard@Azeroth has little to show at this moment (9)

Default

Simple, Easy to use and useful program. Good Job.
Diehard@Azeroth is offline   Reply With Quote
Old 09-28-2007, 06:11 PM   #6
emjlr3
Rehabbing
 
emjlr3's Avatar
 
Join Date: Jun 2005
Posts: 1,386

Submissions (14)

emjlr3 is a jewel in the rough (151)emjlr3 is a jewel in the rough (151)

Mapping Contest First Place

Send a message via AIM to emjlr3 Send a message via MSN to emjlr3
Default

very interesting, things that can automate the tedius processes like this are very useful

will test it out soon
__________________
emjlr3 is offline   Reply With Quote
Old 09-28-2007, 06:32 PM   #7
Anitarf
Procrastination Incarnate


Development Director
 
Join Date: Feb 2004
Posts: 8,026

Submissions (19)

Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)

2008 Spell olympics - Fire - SilverApproved Map: Old School Alliance TacticsHero Contest #2 - 3rd PlaceSpell making session 2 winner

Default

Quote:
Originally Posted by emjlr3
very interesting, things that can automate the tedius processes like this are very useful
However, I was under the impression that the war3 image renamer resource already did this?
__________________
Anitarf is offline   Reply With Quote
Old 09-28-2007, 06:39 PM   #8
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)

Default

Quote:
Originally Posted by Anitarf
However, I was under the impression that the war3 image renamer resource already did this?

Well that impression turned out to be false as you can read in my last post on W3IR.

About that shade thing, It turned out that not all BTN icons have darkening around edges (BTNAdvancedMoonArmor.jpg for example)

So I will simply generate 2 versions, one with shade and one without it.
Hidden information:
Zoom (requires log in)


------

Fecking great, where are all the artists when I need one.
I so totally suck in photoshop....
Attached Images
File Type: jpg choice.JPG (7.1 KB, 1406 views)
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.

Last edited by cohadar : 09-28-2007 at 07:22 PM.
cohadar is offline   Reply With Quote
Old 09-28-2007, 09:31 PM   #9
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)

Default

Version 1.0 waiting approval.
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.
cohadar is offline   Reply With Quote
Old 09-28-2007, 09:45 PM   #10
Tide-Arc Ephemera
Overdoses result in death
 
Tide-Arc Ephemera's Avatar
 
Join Date: Jan 2007
Posts: 2,365

Submissions (3)

Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)

Default

It's not going to be approved as far as I know. You're not telling us the systems it runs on in the main post.

I can't seem to run it... I thought your other tool was cool, because it was multi-platform supportive.
__________________
Before asking for help with triggers... read this and check your trigger!

If you're having troubles getting help on WC3C or anywhere at all, please have a look at...
The WRONG way to ask for help and The CORRECT way to ask for help.

Quote:
Originally Posted by Alevice
You may never stop our bioweapon! We mexicans shall rule the third world! Mwahahahahahahaha!
Please acknowledge that I use Mac and avoid suggesting vJass and other tools that don't work on it. Thank you.
Tide-Arc Ephemera is offline   Reply With Quote
Old 09-28-2007, 09:55 PM   #11
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)

Default

Sure you can. Just not directly.

Open the conzole, got to the directory where you unzipped the tool
and then type:

java -jar WC3B.jar <someimage>

for example:
java -jar WC3B.jar Biohazard1.PNG

it will work.

I also must add that you must remove mikes BLPaletter.exe because it will not run on MAC ofc.

wc3Borderizer does not need BLPaletter.exe but will try to use it if it is there.
And if it tries that on MAC it will crash.

When you make it work I would appreciate you write a small readme for MAC users so I can include it in zip.
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.

Last edited by cohadar : 09-28-2007 at 09:56 PM.
cohadar is offline   Reply With Quote
Old 09-28-2007, 10:15 PM   #12
Tide-Arc Ephemera
Overdoses result in death
 
Tide-Arc Ephemera's Avatar
 
Join Date: Jan 2007
Posts: 2,365

Submissions (3)

Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)

Default

It's Mac, not MAC...

What version of Java was this compiled on? Mine just crashes with/without BLPalleter... I even tried using Console.
__________________
Before asking for help with triggers... read this and check your trigger!

If you're having troubles getting help on WC3C or anywhere at all, please have a look at...
The WRONG way to ask for help and The CORRECT way to ask for help.

Quote:
Originally Posted by Alevice
You may never stop our bioweapon! We mexicans shall rule the third world! Mwahahahahahahaha!
Please acknowledge that I use Mac and avoid suggesting vJass and other tools that don't work on it. Thank you.
Tide-Arc Ephemera is offline   Reply With Quote
Old 09-28-2007, 10:37 PM   #13
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)

Default

java 1.6.

Will you please send me an error report.

do this:

java -jar WC3B.jar Biohazard1.PNG > report.txt

It will create a file report.txt and you post it then.
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.
cohadar is offline   Reply With Quote
Old 09-28-2007, 10:43 PM   #14
Tide-Arc Ephemera
Overdoses result in death
 
Tide-Arc Ephemera's Avatar
 
Join Date: Jan 2007
Posts: 2,365

Submissions (3)

Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)

Default

That 'Conzole' program you describe... it's called Console and all that seems to do is give error reports. The last error reports I have are because Limewire crashed. I haven't used it in a few weeks.
__________________
Before asking for help with triggers... read this and check your trigger!

If you're having troubles getting help on WC3C or anywhere at all, please have a look at...
The WRONG way to ask for help and The CORRECT way to ask for help.

Quote:
Originally Posted by Alevice
You may never stop our bioweapon! We mexicans shall rule the third world! Mwahahahahahahaha!
Please acknowledge that I use Mac and avoid suggesting vJass and other tools that don't work on it. Thank you.
Tide-Arc Ephemera is offline   Reply With Quote
Old 09-28-2007, 10:56 PM   #15
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)

Default

no no no,
you cannot use konzola.bat. it is windows console.

Mac console is called terminal.

Do a google: Mac Terminal

-----------
EDIT:

Version 2.0, added infocard support.
some Icon makers will owe me rep for the rest of their lives, he he.

-----------
EDIT2:

Did some testing, program is working without problems and icons have been tested in game.

I would like to see some Linux and Mac users to report me that they have successfully used this tool, just to know everything is ok. If not a screenshot of the errors please.
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.

Last edited by cohadar : 09-29-2007 at 07:49 AM.
cohadar is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 03:45 PM.


Donate

Affiliates
The Hubb http://bylur.com - Warcraft, StarCraft, Diablo and DotA Blog & Forums The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2014, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services