Welcome!
W3IR ReadMe v1.3.2

Contact BlackDoom by PM
On THW or on WC3C
Project Contact: w3ir_bd@yahoo.com

ToC Title Table of Contents ToC Title   Here you will find the main chapters this document covers, along with a brief description concerning the content of each chapter.
ToC entry 0 Chapters ToC entry 0

ToC entry 1 01. Warranty / License
ToC entry 2 02. Viewing note
ToC entry 3 03. Tut. 1 - Windows
ToC entry 4 04. Tut. 2 - Renaming
ToC entry 5 05. Tut. 3 - Bordering
ToC entry 6 06. Settings
ToC entry 7 07. About this version
ToC entry 8 08. Future features
ToC entry 9 09. Performance info
ToC entry 10 10. Conclusions

Downloads Downloads info

Author Info Author info

W3IR v1.3.2 ReadMe currently contains 10 chapters, at a document size of 225.335 bytes (220,05 KB).


01. Information concerning legal aspects, contact info & error reporting.
02. Information regarding reading this document.
03. First tutorial, covering the windows available in W3IR.
04. Second tutorial, on how to rename files included in a basic Icon package and how to manipulate and make use of the naming masks.
05. Third tutorial, on how to border an image, in order to obtain all the images required for a basic Icon package.
06. Information on how settings affect the output W3IR generates.
07. Here you will find the version history of this tool, along with info about the current version, known bugs and system requirements of W3IR.
08. In this chapter you will find some of the features next releases of W3IR will present.
09. This chapter contains the results of some tests I ran on W3IR on the current release.
10. This chapter features a small overview of W3IR, specifying the purpose of W3IR and other ideas I want to mention.


Here you will find information concerning download-page and screenshots locations on the web.



Please, when you read a section of this document, move your mouse cursor above the images inserted, in order to find the hint text. This text presents the specific subject treated in that section or subsection. Some images also have attached additional URLs. Links pointing to locations external to this document will launch a new window.



Installation: Just extract the contents of the archive you downloaded from any of these locations.



Developped over 8 months, from o9/o7/2oo6 to o5/13/2oo7 in Borland Delphi 6 Personal. Licensed under GNU GPL Version 2, June 1991.
Source code available on request, according to respective code section owner license.



All names of software solutions found in this document are registered trademarks and of their authors / owners.



Color scheme taken from Argus theme by Daelin, based on his acknowledgement.


ToC Chapter 1 Chapter 1 ToC Chapter 1   Warranty & License information. Complete license & Icon-posting rules directions. Contact info.
Back to ToC Title Back to ToC Back to ToC Title

Reload ToC entry Reload Chapter
Next ToC entry Next Chapter

Go Top Go Top

W3IR Icon Warcraft 3 Image Renamer - Fast icon images name & border processing
BlackDoom Logo © 2006 Octavian Cucuta a.k.a. BlackDoom
"This tool took 5 days out of my lifespan. 2 days for the renaming algorithm
and 3 days for figuring out how to make the packing algorithm work... :D :) o9/o7/2oo6 - o9/11/2oo6
"

The quoted text was written when version 1.0.1 was finalized... That makes over 8 months now...



If you do not take a few moments to read these lines, I am not liable for any damage you might suffer,
nor am I liable for any damaged caused even if you did fully read this document.



Redeployment This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Warranty This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License Text file License.txt for more details.

GNU GPL Cop You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Source code request You are allowed to send a request and receive a copy of the complete source code of this program. Warcraft3 Image Renamer was written and is developed in Delphi6 Personal. For requests, please see emailing details below.



Liability The author cannot be held liable for any damage brought to your system by either direct or indirect use of this program. You are using it at your own risk.

Revenues You are not allowed to receive any financial revenue, directly or indirectly connected to the distribution/use/selling of results obtained while using this program. The only financial revenue you can receive must be according to the content of the license file, which you can read opening this file: Text file License.txt.

Notice Please, in order to limit / prevent potential data loss, please always make at least one backup copy of your files before processing them with this program! Such cases are not supposed to appear, but for your own comfort, please make a backup!



E-mail format Please carefully read the rest of this chapter before sending your e-mail message! E-mail format

Please, do so in order to send relevant information concerning your troubles with W3IR!


Notice Please make sure that your subject respects the formats below: Notice
    - for TechSupport Technical Support / Bugs purpose:
    "TechSupport: Warcraft 3 Image Renamer - (Your name enclosed here)"

    - for Suggestions Suggestions purpose:
    "Suggestions: Warcraft 3 Image Renamer - (Your name enclosed here)"

    - for Feedback Feedback purpose:
    "Feedback: Warcraft 3 Image Renamer - (Your name enclosed here)"

    - for SC Request Source Code Requests purpose:
    "SC Request: Warcraft 3 Image Renamer - (Your name enclosed here)"

Please, use the format above in order to have your message delivered to the appropriate message folder. E-mail messages analyzing order:
    TechSupport TechSupport
    Suggestions Suggestions
    Feedback Feedback
    SC Request SC Request

Project contact: E-mail address w3ir_bd@yahoo.com
Response delay (max): 2 weeks / 15 days.
For messages related to W3IR not respecting the above described format, maximum delay is 1 month (30 days).

Notice Do not send e-mails to my personal e-mail address.
For this purpose you should use instead the e-mail address of the project. I will not reply to e-mails sent to my personal e-mail address concerning W3IR.

Notice Do not e-mail me if your data got deleted.
If this did happen, it means you did not fully read this document or that you continued with the process on your responsibility.
Before any potential data-loss-hazard operation described in this document you will receive a WARNING message.



Notice If you have troubles using W3IR, use this e-mail address after you have entirely read this document, the file(s) mentioned below and its comments: Notice

Error reports If errors do occur, a report file containing all error messages can be saved for later viewing, if that specific error was handled by the routines of W3IR. Based on that information, you can manually remove the faulty temporary data from the temporary folders.

Bordering errors Errors caused by the bordering routines will either produce a warning or should simply result in no action being taken, if they were successfully handled by the routines of W3IR. There is only 1 case presenting a data-loss hazard, yet you will be prompted before the data removal is performed.

Temporary folders The temporary folders are created in the same folder where W3IR is located. Their naming convention:
"prc_pk$yyyymmddhhnnss", where "yyyymmddhhnnss" represent (in that order) the digits of:
    "yyyy" = Year
    "mm" = Month
    "dd" = Day
    "hh" = Hours
    "nn" = Minutes and
    "ss" = Seconds.
Backup copies of error reports A backup copy of the errors report will be spawned in the "Error Reports" folder, within the folder where the "W3IR.exe" file is located. The naming convention of the backup error report files is this: "yyyy.mm.dd hh-nn-ss.txt" (digits have the same significance as shown above).



Error reporting When you have encountered a situation that lead to the creation of an Error Report in the "Error Reports" folder, please do not forget to attach them to your e-mail message. Please include a description as comprehensive as possible regarding the circumstances of the invalid behaviour of W3IR. In order to increase the chances of success of the bug-tracing process, please try to remember information such as (but not limited to):
    - file names - what kind of characters were they including (letters, digits, punctuation signs, wildcards etc.)
    - file extensions - what type of files were you working wiht (BMP, TGA, PSD, BLP, JPG etc.)
    - file formats - what image format the input files were possessing (24/32 bpp, (un)compressed BMP/TGA files, single/multi-layered PSD documents etc.)
    - file pathing - where were your input files stored and where were they going to be output
    - operating system - what OS you were using at that moment and what version
    - data amount - how many files were you trying to process with W3IR



Documentation respawn If any of the documents mentioned below this paragraph are missing from the folder where the program is located, the program will create them the first time when it will be run, on condition that "zip32.dll" exists in the same folder with W3IR or in a folder in the "PATH" variable of your operating system.
Documentation respawn Please note that the "ReadMe.htm" document and its dependencies cannot be spawned by W3IR!

Notice Please read all the documents, as they contain important information regarding either usage information and warranty and directions regarding icon posting rules on the W3-related websites I am registered to.


ToC Chapter 2 Chapter 2 ToC Chapter 2   Viewing note. Document browser-optimization info.
Back to ToC Title Back to ToC Back to ToC Title

Prev ToC entry Previous Chapter
Reload ToC entry Reload Chapter
Next ToC entry Next Chapter

Go Top Go Top


Notice This document was created using one page of The HiveWorkshop saved on my PC then manually edited by myself.
Environment While editing and tweaking the HTML and CSS code, these were the conditions I have used:
The behaviour of this document was also tested using a 1024x768 screen resolution and revealed no flaws.
I hope that the PNG images I have used in this document will be shown correctly by your browser. Both Firefox and Internet Explorer (starting with the versions above specified) correctly shown the PNG files used by this document.


ToC Chapter 3 Chapter 3 ToC Chapter 3   Tutorial #1: Windows available in W3IR. Information about W3IR windows and dialogs.
Back to ToC Title Back to ToC Back to ToC Title

Prev ToC entry Previous Chapter
Reload ToC entry Reload Chapter
Next ToC entry Next Chapter

Go Top Go Top


In this chapter, the elements of the windows available in the current version of W3IR are described. For most of them, you can find here whether they are or not available by default or under what conditions, what effect do they have and what other elements do they determine.
Though it may not represent a tutorial by the book, it has this significance as it shows all the aspects that may interest you, in a very detailed manner.

Note that you may have 2 windows of W3IR one next to the other, so you can easily Copy-Paste the suffixes from the bordering window to the main window.

MainWindow

This window presents input elements critical to the renaming algorithm. Here you can specify the working folders, type of files, suffixes, naming convention and several other options, depending on the type of files processed by W3IR in that case.
More details about the elements of the main window of W3IR


W3IR current version

MW_Title
    The title of the main window of W3IR; you can find here the current version of W3IR.

I/O folders and type of files

MW_SelTarget
    Here you can select the type of the files W3IR is going to be working with in the renaming algorithm.

    Here are the options you can choose from: MW_SelTargetOpt

MW_SelInFol
    Here you can select the folder where the input files are located.
    Note that you are not allowed to specify as input folder neither of the following locations: 'My Computer', 'My Network Places', 'Recycle Bin'.

MW_SelOutFol
    Here you can select the folder where the output files should be saved after the input files are processed.
    Note that you are not allowed to specify as output folder neither of the following locations: 'My Computer', 'My Network Places', 'Recycle Bin'.

Naming mask and suffix input

MW_InputNm
    Here you can specify the naming convention for the current set of files.
    Note that you are not allowed to specify a void naming convention. W3IR will cancel the renaming process and prompt you for a valid naming mask.

MW_InputB
    Here you can specify the suffix for BTN files.
    Note that you are not allowed to specify neither of the following characters in the suffix string (in bold, not italic): '\/:*?"<>|'. W3IR will cancel the renaming process and prompt you for a valid suffix string.

MW_InputD
    Here you can specify the suffix for DISBTN files.
    Note that you are not allowed to specify neither of the following characters in the suffix string (in bold, not italic): '\/:*?"<>|'. W3IR will cancel the renaming process and prompt you for a valid suffix string.

MW_InputP
    Here you can specify the suffix for PASBTN files.
    Note that you are not allowed to specify neither of the following characters in the suffix string (in bold, not italic): '\/:*?"<>|'. W3IR will cancel the renaming process and prompt you for a valid suffix string.

MW_InputDP
    Here you can specify the suffix for DISPASBTN files.
    Note that you are not allowed to specify neither of the following characters in the suffix string (in bold, not italic): '\/:*?"<>|'. W3IR will cancel the renaming process and prompt you for a valid suffix string.

Other options

MW_Opt1
    Status: Unchecked
    Enabled: By default
    If unchecked: Enables the "Move files to output folder?" option
    If checked: Disables the "Please select the output folder:" treeview and the "Move files to output folder?" option

    Behaviour: If checked, W3IR will rename the input files located in the input folder, saving no files to the output folder.

MW_Opt2
    Status: Unchecked
    Enabled: By default
    If unchecked: Enables the "Rename original files?" option
    If checked: Disables the "Rename original files?" option

    Behaviour: If checked, W3IR will save the input files after rename to the output folder, leaving no files of the specified type in the input folder.

MW_Opt3
    Status: Unchecked
    Enabled: If "BLP" is the currently selected type of files
    If unchecked: Disables the "Individual packs?" option
    If checked: Enables the "Individual packs?" option

    Behaviour: If checked, W3IR will rename the input BLP files, then store them in a ZIP package, according to the layout required by WC3Sear.ch.

MW_Opt4
    Status: Unchecked
    Enabled: If "ZipPack after rename?" option is checked

    Behaviour: If checked, W3IR will store the BLP files in individual ZIP packages, rather than in a single ZIP package.

Buttons

MW_Btn1
    Enabled: By default

    Behaviour: Brings up the "W3IR - Add borders to images" window.

MW_Btn2
    Enabled: By default

    Behaviour: Launches the renaming process, if all input data is considered valid.
    Potential error messages:
      PErr"Please select both input and output folders before proceeding!"
      Cause You did not select one of the I/O folders or neither one.
      SAct Select the folder(s) (either input or output) that you did not specify, then click the button again.

      PErr"Please select a file type!"
      Cause You did not select the type of the input files.
      SAct Select the type of the input files from the highlighted drop-down list, then click the button again.

      PErr"Please specify a name mask for the Naming Convention!"
      Cause You did not specify the naming mask for the current rename process.
      SAct Specify a valid naming mask, then click the button again.

      PErr"Please remove the illegal characters within the suffixes or name mask strings! Suffix strings must be distinct!"
      Cause You have used illegal character(s) in the suffix(es)/naming mask, or you have input the same value in 2 (or more) fields.
      SAct Remove the illegal characters and specify distinct values for each field, then click the button again.
        Illegal characters (in bold): '\/:*?"<>|'.

      PErr"Unable to use the selected input folder!"
      Cause You did not specify a valid input folder.
      SAct Specify a proper input folder, then click the button again.
        Invalid locations potentially specified as I/O folder (in bold): 'My Computer', 'My Network Places', 'Recycle Bin'.

      PErr"Unable to use the selected output folder!"
      Cause You did not specify a valid output folder.
      SAct Specify a proper output folder, then click the button again.
        Invalid locations potentially specified as I/O folder (in bold): 'My Computer', 'My Network Places', 'Recycle Bin'.

    MW_Btn3

      Enabled: By default

      Behaviour: Launches a window of Internet Explorer to the renaming tutorial section.

BorderingWindow

This window presents input elements critical to the bordering algorithm. Here you can specify the working folders, type of files, suffixes for each icon format, the icon formats to generate and several other options.
More details about the elements of the bordering window of W3IR


Bordering window title

AB_Title
    The title of the bordering window of W3IR.

I/O folders and type of files

AB_SelTarget
    Here you can select the type of the files W3IR is going to be working with in the bordering algorithm.

    Here are the options you can choose from: AB_SelTargetOpt

    Notice: If you select the "PSD (Photoshop documents)" option, you will be prompted to select the output image type. This is generated by the fact that W3IR cannot output PSD documents, a limitation generated by the nature of the PSD documents (they can only be produced by Adobe products).

    This is the prompt W3IR will generate in the above-mentioned case: AB_SelPSDTargetPrompt

    Here are the options available for output for PSD input files: AB_SelPSDTargetOpt

AB_SelInFol
    Here you can select the folder where the input files are located.
    Note that you are not allowed to specify as input folder neither of the following locations: 'My Computer', 'My Network Places', 'Recycle Bin'.

AB_SelOutFol
    Here you can select the folder where the output files should be saved after the input files are processed.
    Note that you are not allowed to specify as output folder neither of the following locations: 'My Computer', 'My Network Places', 'Recycle Bin'.

Border types select and format suffix input

AB_SelBT
    Status: Checked
    Enabled: By default
    If checked: Unchecks the "48x48 images" option, enables the "Batch resize" button and disables the "Upgrade border:" and "AttackType border:" options

    Behaviour: When checked, you can specify the types of borders you intend to have applied to your 64x64 input files.
    Note that, in case you have stored any input file different from 64x64 dimensions in the input folder, it will be discarded by W3IR from the bordering process.

    Borders available for 64x64 images in this version of W3IR:
    AB_BB<-BTN AB_BD<-DISBTN AB_BP<-PASBTN AB_BDP<-DISPASBTN AB_BAC<-AutoCast

AB_SelBT
    Status: Unchecked
    Enabled: By default
    If checked: Unchecks the "64x64 images" option and disables the "BTN border:", "DISBTN border:", "PASBTN border:", "DISPASBTN border:" and "AutoCast border:" options and the "Batch resize" button

    Behaviour: When checked, you can specify the types of borders you intend to have applied to your 48x48 input files.
    Note that, in case you have stored any input file different from 48x48 dimensions in the input folder, it will be discarded by W3IR from the bordering process.

    Borders available for 48x48 images in this version of W3IR:
    AB_BU<-Upgrade AB_BAT<-AttackType

Individual border options

AB_Opt1
    Status: Unchecked
    Enabled: By default
    If unchecked: The BTN image format is not generated
    If checked: The BTN image format is generated

    Behaviour: If checked, W3IR will generate an image corresponding to a valid BTN icon format, based on the input file.

AB_Opt2
    Status: Unchecked
    Enabled: By default
    If unchecked: The DISBTN image format is not generated
    If checked: The DISBTN image format is generated

    Behaviour: If checked, W3IR will generate an image corresponding to a valid DISBTN icon format, based on the input file.

AB_Opt3
    Status: Unchecked
    Enabled: By default
    If unchecked: The PASBTN image format is not generated
    If checked: The PASBTN image format is generated

    Behaviour: If checked, W3IR will generate an image corresponding to a valid PASBTN icon format, based on the input file.

AB_Opt4
    Status: Unchecked
    Enabled: By default
    If unchecked: The DISPASBTN image format is not generated
    If checked: The DISPASBTN image format is generated

    Behaviour: If checked, W3IR will generate an image corresponding to a valid DISPASBTN icon format, based on the input file.

AB_Opt5
    Status: Unchecked
    Enabled: By default
    If unchecked: The AutoCast image format is not generated
    If checked: The AutoCast image format is generated

    Behaviour: If checked, W3IR will generate an image corresponding to a valid AutoCast icon format, based on the input file.

AB_Opt6
    Status: Unchecked
    Enabled: When "48x48 images" is checked
    If unchecked: The Upgrade image format is not generated
    If checked: The Upgrade image format is generated

    Behaviour: If checked, W3IR will generate an image corresponding to a valid Upgrade icon format, based on the input file.

AB_Opt7
    Status: Unchecked
    Enabled: When "48x48 images" is checked
    If unchecked: The AttackType image format is not generated
    If checked: The AttackType image format is generated

    Behaviour: If checked, W3IR will generate an image corresponding to a valid AttackType icon format, based on the input file.

Other options

AB_Opt8
    Status: Unchecked
    Enabled: By default
    If unchecked: The standard file name corresponding to the case-specific icon format is left unchanged
    If checked: Unless it's void, the specified string-marker is appended to the end of the standard file name

    Behaviour: If checked, W3IR will add the string specified by you at the end of the file name (e.g.: "BTNAmbush.blp" becomes "BTNAmbush_bordered.blp" if the string marker was "_bordered"), in order to facilitate the recognition of the bordered resources among other files.

AB_Opt9
    Status: Unchecked
    Enabled: By default
    If unchecked: The input files will not be deleted when the bordering process is finalized (for each input file)
    If checked: The input files will be deleted when the bordering process is finalized (for each input file)

    Behaviour: WARNING! If checked, W3IR will delete each input file after the bordering process is complete, then proceed to the next input file in queue.

    Notice Please, make sure you always keep a backup copy of your files. Notice

AB_StatPrF
    This label will specify the number of files processed by the bordering algorithm of W3IR, when the bordering process comes to an end.

AB_OptA
    Status: Unchecked
    Enabled: If "JPG (JPEG images)" is selected as output file type for PSD input files

    Behaviour: Allows you to specify the quality of the output images that W3IR will generate.
    This option is useful if you want to generate JPG previews of your icons showing a specific set of borders.

      Notice: The input value must be an unsigned integer value, included in the [1;100] range.
      This value represents a quality percentage, 1 for minimum quality and 100 for maximum quality (that is, 1 for maximum compression and 100 for minimal compression). Keep in mind that JPEG compression is not a lossless compression type, thus, the lower the value of the percent you choose, the lower the quality the JPG image will have.


Buttons

AB_Btn1
    Enabled: By default

    Behaviour: Brings up the "W3IR - Scramble RGB coefficients" window.

AB_Btn2
    Enabled: If all input data has been specified

    Behaviour: Launches the bordering process, if all input data is considered valid.
    Potential error messages:
      PErr"Please select both input and output folders before proceeding!"
      Cause You did not select one of the I/O folders or neither one.
      SAct Select the folder(s) (either input or output) that you did not specify, then click the button again.

      PErr"Please select a file type!"
      Cause You did not select the type of the input files.
      SAct Select the type of the input files from the highlighted drop-down list, then click the button again.

      PErr"Please remove the illegal characters within the suffixes or name mask strings! Suffix strings must be distinct!"
      Cause You have used illegal character(s) in the suffix(es)/naming mask, or you have input the same value in 2 (or more) fields.
      SAct Remove the illegal characters and specify distinct values for each field, then click the button again.
        Illegal characters (in bold): '\/:*?"<>|'.

      PErr"Unable to use the selected input folder!"
      Cause You did not specify a valid input folder.
      SAct Specify a proper input folder, then click the button again.
        Invalid locations potentially specified as I/O folder (in bold): 'My Computer', 'My Network Places', 'Recycle Bin'.

      PErr"Unable to use the selected output folder!"
      Cause You did not specify a valid output folder.
      SAct Specify a proper output folder, then click the button again.
        Invalid locations potentially specified as I/O folder (in bold): 'My Computer', 'My Network Places', 'Recycle Bin'.

      PErr"You have not selected any border type. No action can be taken."
      Cause You did not select any border type, although you did specify a set of input images dimensions (64x64 or 48x48).
      SAct Select a category of input images dimensions (64x64 or 48x48), then check all the border types you want and input a distinct suffix for each option, then click the button again.

      PErr"Please insert a valid unsigned integer value!"
      Cause You did not specify a valid unsigned integer value.
      SAct Remove any characters other than digits if there are any and insert a proper value in the [1;100] range, then click the button again.

      PErr"Specified numeric value does not fit within [1..100] interval."
      Cause You did not specify a proper value (e.g.: you have specified 0 or 101 as quality percentage).
      SAct Specify a value that fits in the [1;100] range, then click the button again.

AB_Btn3
    Enabled: By default

    Behaviour: Calls IrfanView, providing it a set of parameters based on your option. IrfanView will then resample and convert all the 64x64 files of the type you have selected found in the "C:\WC3Actions\Conv\" folder into 48x48 files, either of the same type as the input files (if you have chosen BMP or TGA) or of the type you have specified, if you have input PSD files. The resampled (and converted) files will be then saved by IrfanView into "C:\WC3Actions\Conv\48x48 Done\".
    Potential error messages:
      PErr"IrfanView was not found in the registry entries of your system. Batch resampling cannot proceed."
      Cause You do not have IrfanView installed on your system.
      SAct Install the latest version of IrfanView, then click the button again.
        Please note that this feature is totally optional. You are free to resample your files to the 48x48 dimensions with any software of your choice. I have chosen IrfanView for this task as it is a freeware software solution that provides a powerful set of features, also available for command line. This specific feature (the command line options IrfanView has) facilitated its integreation with W3IR.

      PErr"You must specify a file type before proceeding with batch resizing!"
      Cause You did not specify a file type prior to or during the execution of the batch resample process.
      SAct Select a type of files in the bordering window, then click the button again.

AB_Btn4
    Enabled: By default

    Behaviour: Launches a window of Internet Explorer to the bordering tutorial section.

RGBScramblingWindow

This window presents input elements critical to the RGB Scrambling algorithm. Here you can specify the input image and other options.
More details about the elements of the RGB Scrambling window of W3IR


RGB Scrambling window title

Rs_Title
    The title of the scrambling window of W3IR.

Input file

RS_InImg Here the input image you chose will be shown.
    Note that you are only allowed to specify as input image a single BMP image. That is, you cannot scramble the RGB coefficients of multiple input images at one given time.

Optionally generated images

RS_GenImg Status: Unchecked
    Behaviour: When checked, W3IR will save the generated image, when you click the "Save imgs" button, in the same folder as the input image, its name being obtained by concatenating "RBG_" and the name of the original input file.
      Example: for "Ambush.bmp" as input file, W3IR will output "RBG_Ambush.bmp".

RS_GenImg Status: Unchecked
    Behaviour: When checked, W3IR will save the generated image, when you click the "Save imgs" button, in the same folder as the input image, its name being obtained by concatenating "BRG_" and the name of the original input file.
      Example: for "Ambush.bmp" as input file, W3IR will output "BRG_Ambush.bmp".

RS_GenImg Status: Unchecked
    Behaviour: When checked, W3IR will save the generated image, when you click the "Save imgs" button, in the same folder as the input image, its name being obtained by concatenating "BGR_" and the name of the original input file.
      Example: for "Ambush.bmp" as input file, W3IR will output "BGR_Ambush.bmp".

RS_GenImg Status: Unchecked
    Behaviour: When checked, W3IR will save the generated image, when you click the "Save imgs" button, in the same folder as the input image, its name being obtained by concatenating "GBR_" and the name of the original input file.
      Example: for "Ambush.bmp" as input file, W3IR will output "GBR_Ambush.bmp".

RS_GenImg Status: Unchecked
    Behaviour: When checked, W3IR will save the generated image, when you click the "Save imgs" button, in the same folder as the input image, its name being obtained by concatenating "GRB_" and the name of the original input file.
      Example: for "Ambush.bmp" as input file, W3IR will output "GRB_Ambush.bmp".

RS_GenImg Status: Unchecked
    Behaviour: When checked, W3IR will save the generated image, when you click the "Save imgs" button, in the same folder as the input image, its name being obtained by concatenating "NEG_" and the name of the original input file.
      Example: for "Ambush.bmp" as input file, W3IR will output "NEG_Ambush.bmp".
    This image represents the negative of the input image.

RS_GenImg Status: Unchecked
    Behaviour: When checked, W3IR will save the generated image, when you click the "Save imgs" button, in the same folder as the input image, its name being obtained by concatenating "RGB_R_" and the name of the original input file.
      Example: for "Ambush.bmp" as input file, W3IR will output "RGB_R_Ambush.bmp".
    This image represents the amount of red found in the input image. It is the equivalent of the "Red channel" in Adobe Photoshop.

RS_GenImg Status: Unchecked
    Behaviour: When checked, W3IR will save the generated image, when you click the "Save imgs" button, in the same folder as the input image, its name being obtained by concatenating "RGB_G_" and the name of the original input file.
      Example: for "Ambush.bmp" as input file, W3IR will output "RGB_G_Ambush.bmp".
    This image represents the amount of green found in the input image. It is the equivalent of the "Green channel" in Adobe Photoshop.

RS_GenImg Status: Unchecked
    Behaviour: When checked, W3IR will save the generated image, when you click the "Save imgs" button, in the same folder as the input image, its name being obtained by concatenating "RGB_B_" and the name of the original input file.
      Example: for "Ambush.bmp" as input file, W3IR will output "RGB_B_Ambush.bmp".
    This image represents the amount of blue found in the input image. It is the equivalent of the "Blue channel" in Adobe Photoshop.

RS_GenImg Status: Unchecked
    Behaviour: When checked, W3IR will save the generated image, when you click the "Save imgs" button, in the same folder as the input image, its name being obtained by concatenating "CMY_C_" and the name of the original input file.
      Example: for "Ambush.bmp" as input file, W3IR will output "CMY_C_Ambush.bmp".
    This image represents the amount of cyan found in the input image.

RS_GenImg Status: Unchecked
    Behaviour: When checked, W3IR will save the generated image, when you click the "Save imgs" button, in the same folder as the input image, its name being obtained by concatenating "CMY_M_" and the name of the original input file.
      Example: for "Ambush.bmp" as input file, W3IR will output "CMY_M_Ambush.bmp".
    This image represents the amount of magenta found in the input image.

RS_GenImg Status: Unchecked
    Behaviour: When checked, W3IR will save the generated image, when you click the "Save imgs" button, in the same folder as the input image, its name being obtained by concatenating "CMY_Y_" and the name of the original input file.
      Example: for "Ambush.bmp" as input file, W3IR will output "CMY_Y_Ambush.bmp".
    This image represents the amount of yellow found in the input image.

RS_GenImg Status: Unchecked
    Behaviour: When checked, W3IR will save the generated image, when you click the "Save imgs" button, in the same folder as the input image, its name being obtained by concatenating "HSV_H_" and the name of the original input file.
      Example: for "Ambush.bmp" as input file, W3IR will output "HSV_H_Ambush.bmp".
    This image represents the hue of the pixels of the input image.

RS_GenImg Status: Unchecked
    Behaviour: When checked, W3IR will save the generated image, when you click the "Save imgs" button, in the same folder as the input image, its name being obtained by concatenating "HSV_S_" and the name of the original input file.
      Example: for "Ambush.bmp" as input file, W3IR will output "HSV_S_Ambush.bmp".
    This image represents the saturation of the pixels of the input image.

RS_GenImg Status: Unchecked
    Behaviour: When checked, W3IR will save the generated image, when you click the "Save imgs" button, in the same folder as the input image, its name being obtained by concatenating "HSV_V_" and the name of the original input file.
      Example: for "Ambush.bmp" as input file, W3IR will output "HSV_V_Ambush.bmp".
    This image represents the amount of white found in the input image.
    It is also known as B (brightness, in the HSB color space), V (value, in the HSV color space) and K (in the CMYK color space).

Other options

RA_Status Enabled: By default
    Behaviour: This label specifies the phase the RGB scrambling process has reached, the completion percentage and the duration of the process.
    Note that this process is not automatic. It consists in 3 stages:
      Stage #1: The Input stage, when you choose the input image.
      Stage #2: The Generation stage, when W3IR computes all the new RGB codes.
      Stage #3: The Output stage, when W3IR saves to the folder of the input image all the images you selected for saving.

RS_Count Enabled: By default
    Behaviour: This label specifies the number of images to be output, based on your choices.

RS_AllToggle
    Status: Unchecked
    Enabled: By default
    If unchecked: Not all generated images are selected in order to be saved
    If checked: All generated images are selected in order to be saved

    Behaviour: This option toggles the status of all optional images generated by the RGB scrambling algorithm of W3IR. When checked, all other checkboxes below the generated images are also checked. When unchecked, all images are also unselected, so you may select either a few or no other images to be saved.

RS_SelTarget
    Enabled: After the RGB scrambling process is complete

    Behaviour: This option allows you to choose what type should the output images have.

    Here are the options you can choose from: RS_SelTargetOpt

Buttons

RS_Btn1
    Enabled: By default

    Behaviour: Brings up the browse dialog that allows you to search and select an input bitmap image.
    Potential error messages:
      PErr"File type not supported!"
      Cause You have not selected a bitmap image as input file, but forced the filter and chose a different type of file.
      SAct Click the button again and this time choose a bitmap image as input file.

RS_Btn2
    Enabled: If a valid input image has been selected

    Behaviour: Launches the bordering process, if all input data is considered valid. After the scrambling process is complete, this button is disabled until a new file is selected as input image.

RS_Btn3
    Enabled: When the scrambling process is complete

    Behaviour: Initializes the output routines. Every image selected by you will be saved, based on the above-presented system.
    Potential error messages:
      PErr"No "Save" operation has been performed as no file was selected for saving."
      Cause You have not selected any generated images to be saved, thus no saving operation can be executed.
      SAct Choose what images you want to save, then click the button again.

      PErr"Please select the file type before saving!"
      Cause You have not selected a type of file for the images to be output.
      SAct Choose what format you desire the images to output to have, then click the button again.

About recolouring
    If you'd use the "Swap Colors" feature of IrfanView or the "RGB Scrambler" feature of W3IR, you would obtain Blizzard-like looking icons, provided you swapped the colours of a Blizzard original icon, while having diverse colours. This can be done by changing the RGB numeric values of each colour. Thus, we can obtain from RGB the following colour codes: RBG, BGR, BRG, GRB and GBR.

    Reading the rules (which I strongly recommend), one may conclude that the recolouring and Copy+Paste processes are not denied as techniques involved in the process of icon production. However, icons resulted by pure recolouring OR Copy+Paste processes are not allowed.

    In order to prevent this (or at least make it difficult), I have only implemented support for RGB scrambling on single BMP files. This way, you may inspect what color variations are feasible and show potential, but you may not mass-produce such icons.

    This type of icons could represent a starting point for an icon, but in no case the final icon. It is not my intention, the Author, to promote recolours. Though they are usable and, up to one given limit, they look great, keep in mind that, in fact, a purely recoloured icon is a stolen one.

    Read the Text fileIconRules.txt document! Please, read it and follow the most recent set of rules available online!



ToC Chapter 4 Chapter 4 ToC Chapter 4   Tutorial #2: Renaming files; manipulating and making use of the naming masks.
Back to ToC Title Back to ToC Back to ToC Title

Prev ToC entry Previous Chapter
Reload ToC entry Reload Chapter
Next ToC entry Next Chapter

Go Top Go Top


Before proceeding to the actual renaming tutorial, let us explain some frequently used notions in this document.

What is a suffix?
    A suffix is a letter, letters, syllable, or syllables added or appended to the end of a word or a root to modify the meaning; a postfix, according to the Everest Dictionary version 2 (beta).

    Concerning W3IR, a suffix is a user-defined string (array of characters) used for file recognition.
    I found as optimum the direct relationship between one distinct string (user defined) and each icon format (by Blizzard standards, e.g. a BTN image is one of the formats that an icon may have) so, in order to ensure a fair simplicity or the tool, I chose to implement the following algorithm based on that unique relationship.
A suffix may only identify one distinct icon format.
    Therefore, you are forced to specify distinct suffixes (distinct one from the other suffix) for any given set of images.

    Analyzing the way Blizzard named their icons in the original MPQs, one can reach the following conclusion: each icon format (that is, most of them) has a specific marker at the beginning of its name.
    Thus, a standard command button (or icon of an item) is called "BTN" at the beginning (e.g. BTNAcorn.blp).

    In order to maximize the amount of control a user can have over W3IR, the suffixes used by W3IR are user-defined. That is, you can specify your own set of strings, according to your tastes.

    W3IR analyzes the name of the input files (that you have specified) and decides, according to the suffixes you specified, how to rename the files.

    Example: The suffixes you have specified in the main window of W3IR are the following:
      Please, notice how the coloured strings below are kept in the final name.
      If there is an input file called "Ambush_0.bmp" in the input folder, W3IR will rename it to "BTNAmbush.bmp".
      If there is an input file called "Ambush_1.bmp" in the input folder, W3IR will rename it to "DISBTNAmbush.bmp".
      If there is an input file called "Ambush_2.bmp" in the input folder, W3IR will rename it to "PASBTNAmbush.bmp".
      If there is an input file called "Ambush_3.bmp" in the input folder, W3IR will rename it to "DISPASBTNAmbush.bmp".

      For instance, considering the above set of suffixes, if a files bears the "_0" marker, that file will not be renamed to "DISPASBTN". That, thanks to the unique relationship defined by you (the user of W3IR) in the main window of W3IR.

      This way, you can rename files based on your own set of suffixes. If you keep the same suffix set for multiple icons, the time needed to manually rename the files according to the rules of the site you are going to upload the icons to is reduced to a fraction.

      If, instead, you specify "_0" for, let's say, "BTN" and "PASBTN", W3IR will not be able to rename your files in a proper way. First of all, because this would mean that you only have 1 file (containing a single icon format) meant to be used for 2 distinct icon formats (as you cannot 2 files bearing identical full names - on Windows, extensions are a critical section of the name of a file, allowing shell file-type format registration).


What is a naming convention or naming mask?
    A mask is a cover, or partial cover, for the face, used for disguise or protection; as, a dancer's mask; a fencer's mask; a ball player's mask, according to the Everest Dictionary version 2 (beta).

    Concerning W3IR, mask is used in its technical meaning, that of an array of symbols used to determine a specific set of symbols contained in a set / array of symbols, based on a position-related significance. From the above definition, we will only use this part: "a cover, or partial cover, for the face", by "the face" one understanding "an object" => "a cover, or partial cover, for an object".

    In the real world, nearly every mask / helm has a set of orifices to allow the bearer to view and breathe. This is a position-related significance - if the orifices would be placed somewhere else, the bearer would be unabled to view and breathe.

    Following this exact relationship - looking for information in specific places - I have implemented a renaming algorithm based on naming masks.

    For instance, in the Internet, one could obtain some valuable information analyzing, let's say, an URL. w3ir_bd@yahoo.com is a good example: the mask is ID@PROVIDER.DOMAIN. Based on this mask, one can identify the ID as w3ir_bd, the PROVIDER as yahoo and the web-DOMAIN as com.
    This is the purpose of a mask, for us.
A mask may be used to extract information from a specific set of data.
    As one cannot place the mask of a human on the head of a whale, the same the above presented mask for an e-mail address cannot be used to extract information from a phone number. What makes this "data" specific to us is that, for the current version of W3IR, you must provide input files sharing their name layout. Therefore, you are forced to specify input files having icon names of the same length and sharing the set of attached suffixes. The reason? Continue reading :).

    Analyzing the way Blizzard named their icons in the original MPQs, one can reach the following conclusion: each icon format (that is, most of them) has a specific marker at the beginning of its name.
    Thus, what matters most is how does the name of a file begins. Of course, the name of that icon (e.g. "Ambush") is critical related to the purpose of that file, but for submission, rules are set concerning the layout, not the purpose of the name of the uploaded resource.
    Please note that I am now analyzing the point of view of an automatic system, not the human perspective. "Ambush" has more relevance for a human being (user or moderator) rather than to the uploading system.

    In order to maximize the amount of control a user can have over W3IR, the naming mask used by W3IR is user-defined. That is, you can specify a naming mask of your choice, according to your tastes and needs.

    W3IR analyzes the name of the input files (that you have specified) and decides, according to the naming mask and suffixes you specified, how to extract the information from the names of the input files and, in the end, how to rename the files for output.

    Example: The suffixes you have specified in the main window of W3IR are, just like the other example above, the following:
      We will use this naming mask (enclosed by quotes): "$$$$$$%%". I will explain later how and why I chose this string.
      Please, notice how the coloured strings below are kept in the final name.
      If there is an input file called "Ambush_0.bmp" in the input folder, W3IR will rename it to "BTNAmbush.bmp".
      If there is an input file called "Ambush_1.bmp" in the input folder, W3IR will rename it to "DISBTNAmbush.bmp".
      If there is an input file called "Ambush_2.bmp" in the input folder, W3IR will rename it to "PASBTNAmbush.bmp".
      If there is an input file called "Ambush_3.bmp" in the input folder, W3IR will rename it to "DISPASBTNAmbush.bmp".

      Notice that we can also apply the colour scheme of the input file names to the naming mask. Thus, this is what we obtain: "$$$$$$%%".

    On a closer inspection, you can see that the name of our icon is "Ambush". This name has a length of 6 characters.
    You can also see that the names of our input files have a set of 2 characters at the end of each input-file name - e.g. "_0".

    In order to make it clear to W3IR which characters contain the name of the icon that is currently processed and which characters contain the format of our icon, I had to set a rule concerning the characters you may use.

    Therefore, here are the characters you may use in a mask and what is their designed purpose (just as holes in a real mask are designed to allow the air to enter so one could breathe and to allow the light to enter so one could see):

    #
    Discardable character
    When processed, any character occupying a position in the name of the input file equal to the position of a # will be ignored and not kept in the final name.
      These characters have no relevance to the renaming algorithm, whatever the information contained by them.
    $
    Icon name character
    When processed, any character occupying a position in the name of the input file equal to the position of a $ will be kept and concatenated in the order of their occurence, to obtain the name of the icon for the final output name.
      These characters have relevance to the renaming algorithm, the information contained by them being used to compute the name of the icon.
    %
    Suffix character
    When processed, any character occupying a position in the name of the input file equal to the position of a % will be kept and concatenated in the order of their occurence, to obtain the suffix assigned to the file, ensuring a proper output-naming layout.
      These characters have relevance to the renaming algorithm, the information contained by them being used to compute the suffix assigned to the name of the input file.


    How to obtain a mask, in a minimum time?

    Basically, you must copy the longest name from the names of the input files then replace the characters based on their meaning. Why? Here:

    Say you have "Ambush_0.bmp" and "Ambush_1234.bmp" in the input folder. You cannot use "$$$$$$%%" as naming mask as the other file would not be correctly analyzed. However, you can use this mask: "$$$$$$%%%%%". This is possible due to the way W3IR parses the input file names.

    W3IR will first ignore the extension of the analyzed file. The string obtained ("Ambush_0") will then be checked if having the same length as the naming mask (Length($$$$$$%%%%%) versus Length(Ambush_0) => 11 versus 8). If the naming mask exceeds the length of the analyzed string, W3IR completes it with temporary characters that will be removed later on.

    Then the suffix is extracted from the input string ("_0"). In the following step, W3IR extracts the icon name ("Ambush") and removes any discardable characters, as well as illegal characters. In the following step, W3IR matches the obtained suffix with those specified by you ("BTN") and computes the output name ("BTN" + "Ambush" + ".bmp"). If the generated suffix does not match any of the 4 suffixes specified in the main window, W3IR will issue you a notice (stored as an error message, for faster processing).

    If your files are distinct by characters occupying the same position as a "#" character in the naming mask string (thus sharing the icon name of each other), only the last files encountered having this icon name will be renamed; this way no files will be overwrote, thus protecting your work from being lost; you should however make sure this case does not occur, in order to prevent any unhandled errors or undesired dataloss from occurring.

    This is why you should always choose the longest name from a set of files with the same length in the name of the icon and having the same set of suffixes attached.

    What about the #?

    Say you have "My_New_Version_of_Ambush_0.bmp" and "My_New_Version_of_Ambush_1234.bmp" in the input folder. You cannot use "$$$$$$%%" as naming mask anymore, obviously. Renaming them - in this case it's feasible - would be too time-consuming (if you had 15 icons with 2-4 formats each).

    In this case, the best option is a new naming mask. How? Copy "My_New_Version_of_Ambush_1234.bmp" (the longest of the 2) and replace each character with the character having a proper meaning. We do not intend to use "My_New_Version_of_", so we'll replace it with the same number (18) of "#" => "##################". The rest of the naming mask, corresponding to what is left from the longest name ("Ambush_1234.bmp") will become "$$$$$$%%%%%" after we have discarded the extension. Concatenating the 2 strings will provide us a nice and efficient new naming mask -> "##################$$$$$$%%%%%".

    This new mask will ensure correct results both on "My_New_Version_of_Ambush_1234.bmp" and on "My_New_Version_of_Ambush_0.bmp".

    What if I have some unwanted characters stuck in the icon name?

    Well... Say you have "My_New_Version_of_XAmbXush_0X.bmp" and "My_New_Version_of_XAmbXush_1X2R3K4.bmp" in the input folder. You cannot use "##################$$$$$$%%%%%" as naming mask anymore, obviously why.

    Therefore, we'll make a new one. "Yeah?" you may say... "How?"... Just as we did before, that's how! Copy the longest name ("My_New_Version_of_XAmbXush_1X2R3K4.bmp") and discard the extension. Replace each character with the character having the meaning you need. W3IR is all about what you need. So you now have morphed "My_New_Version_of_XAmbXush_1X2R3K4" into "###################$$$#$$$%%#%#%#%". This is why W3IR is just as versatile as it is static (static by rules, versatile by effect).

    With a good naming mask, you can extract the information you need from nearly any file name.

    And if I have icons with different icon names?

    Consider this example: Let us say you have "NoExAmbush_0.bmp" and "JokeAmbush1_x3n.bmp". In the same folder you put "FreeTemper1@2.bmp" and "GetXTempera-2bc.bmp". You can use a single mask to process both sets of files, because "Ambush" and "Temper" have the same length (6) and they both use the same set of suffixes. Again, taking the longest input filename (""NoExAmbush1_x3n.bmp" or GetXTempera-2bc.bmp"), discarding the extension and replacing the characters with the proper ones, we obtain "####$$$$$$%%%%%".

    After W3IR will have finalized processing them, the output files will be named "BTNAmbush.bmp", "DISPASBTNAmbush.bmp", "DISBTNTemper.bmp" and "PASBTNTemper.bmp".

    More on input characters

    Consider the same set of suffixes. If you'd have "NoExAmbush_0.bmp", "JokeAmbush1_x3n.bmp", "FreeTorture1@2.bmp" and "GetXTorturea-2bc.bmp" in the input folder, you could not use "####$$$$$$%%%%%" to process them. That, because "Torture" has that "e" and is 7 characters long, over "Ambush", 6 characters long. Your choices now are these: either rename the "Ambush" files, or insert a new character that would be later ignored my W3IR and the output would still be "Ambush".

    =
    Special character
    Special character, actually an illegal character. Use it to let W3IR know you are attempting a variable icon-name-length process.
      These characters have no relevance to the renaming algorithm. They will be discarded when processed, thus removed from any special area they may be found (icon name or suffix).

    You must know that characters considered legal by W3IR are these: "A" to "Z", "a" to "z" and "0" to "9". Blizzard used mostly letters in the names of the original files. However, "!" can be clearly found in "BTNYouDirtyRat!.blp". It is your responsibility to check the rules of the site you intend to upload your work to, in order to learn what rules on file names they have (or not) specified.

    W3IR will replace any illegal character with "_" when processing the input file names. Later in the process, W3IR will remove any "_". Therefore, any illegal character you may insert in the names of your files will be removed.

    Back to our example. In order to allow the "Ambush" files to be processed along with the "Torture" files, without making a new mask, you can insert a "=" in their name, so they would have them same icon-name length as the other files (7). The position where you insert the "=" in the names of the "Ambush" files has no relevance to W3IR - that character will be discarded, as it is not legal.

    Thus, these are the potential new names:
    These new names have a length of 7, just as "Torture". Use any position to insert the "=". For this example, I'll consider you chose "Amb=ush" to rename your "Ambush" files. So, now you have "NoExAmb=ush_0.bmp", "JokeAmb=ush1_x3n.bmp", "FreeTorture1@2.bmp" and "GetXTorturea-2bc.bmp" in the input folder. The mask is produced using the same steps as before - copy the name, delete the extension (if you need to), replace the characters.

    This is the resulted mask: "####$$$$$$$%%%%%". Processing the 4 files with this mask, W3IR will output these names: "BTNAmbush.bmp", "DISPASBTNAmbush.bmp", "DISBTNTorture.bmp" and "PASBTNTorture.bmp".

More on input characters

My suggestion is that you store your files in different folders, in each folder having files with equal icon-name length (e.g.: Folder 1: "Torture", "Panther"; Folder 2: "Ambush", "Poison"), and all sharing the set of attached suffixes (e.g.: Folder 1: "Torture_0", "Panther_1"; Folder 2: "Ambush_2", "Poison_3"). When you will instruct W3IR to process these files, specify the input folder for each set and update the naming mask for each folder ("$$$$$$$%%" for "Torture", "$$$$$$%%" for "Ambush").

This will allow you to rename loads of files with a minimal effort. Also, to reduce the complexity of the masks, keep the names of your files simple and clean (icon-name, then suffix, without any other characters). Please note that you may use a void suffix, but you cannot specify 2 void suffixes.

Yes, it is a bit tricky until you get the idea, but it will do the job just fine. If you want, try the examples I specified above on real files and see if they work. Post your results and suggestions on any thread of W3IR (see here).

Renaming a set of files
    Step 1: Select the input folder.
    Step 2: Select the output folder.
    Step 3: Select the type of the input images (SelTarget).

    Step 4: Specify the naming mask corresponding to your input files (NamingConv).

    Step 5: Type your set of distinct suffixes (e.g.: "_0" for "BTN" etc.).
    Step 6: You may choose other operations to be executed on the inout files, after they have been processed or operations to be executed on BLP files (it's recommended that you keep your original files for backup purpose).

    Step 7: Click the ClickRfB button (may have the "Rename + Pack" text in certain conditions).

    If you have respected all the restrictions detailed in through Chapter 3 and Chapter 4, you should now be done with the renaming of your files!


ToC Chapter 5 Chapter 5 ToC Chapter 5   Tutorial #3: Bordering images; standard icon formats; required icon formats.
Back to ToC Title Back to ToC Back to ToC Title

Prev ToC entry Previous Chapter
Reload ToC entry Reload Chapter
Next ToC entry Next Chapter

Go Top Go Top


Some quick Q&A relative to W3IR.

What does bordering mean?
    Bordering is the operation of adding a specific border to an input image.
What does a border represent?
    A border is a mask, an image (or parts of an image) that is generally used to give a distinct contour to an input image.

What does an icon represent?
    An icon is an image, a Warcraft III resource, used as part of the GUI (Graphical User Interface). It can be used as an item or as a button.

The bordering feature of W3IR is particulary useful to icon designers and map creators, as it gives them the ability to create resources respecting Blizzard standards without the need of a major dedicated software solution, as Adobe Photoshop. Agreed, if you want to be a designer, you need a dedicated software solution for graphic editing, such as Adobe Photoshop, The GIMP, Corel Draw or Jasc PaintShop Pro.

W3IR comes to supply you with the resources to automatically add a number of borders to your images, featuring specially designed routines for this task.

Available border types in this version of W3IR

BorderB
BTN border
This border is used for enabled command buttons and available items & abilities. This is one of the most oftenly encountered border.
    Required when you want to upload it to a W3 modding website along with the DISBTN border.
BorderD
DISBTN border
This border is used for disabled command buttons and unavailable items & abilities. This is also one of the most oftenly encountered border.
    Required when you want to upload it to a W3 modding website along with the BTN border.
BorderP
PASBTN border
This border is used for enabled passive abilities.
    Required when you want to upload it to a W3 modding website along with the DISPASBTN border.
BorderDP
DISPASBTN border
This border is used for disabled passive abilities.
    Required when you want to upload it to a W3 modding website along with the PASBTN border.
BorderAC
AutoCast border
This border is used for enabled autocastable abilities.
    Required when you want to upload it to a W3 modding website along with the DISBTN border.
BorderU
Upgrade border
This border is used for upgrade information about a unit or a Hero. Also used by GUI when leveling up a Hero.
BorderAT
AttackType border
This border is used for attack-type information about a unit or a Hero.




Bordering a set of input images
    Consider you have "Ambush.bmp", "Temper.tga" and "Poison.psd" in the input folder. In order to fit them with valid BTN, DISBTN, PASBTN, DISPASBTN, AutoCast, Upgrade or AttackType, you must first make sure you have either 64x64 images or 48x48 images in the input folder.

    Bordering a set of 64x64 input images

    When working with 64x64 images, you may add them these borders: BTN, DISBTN, PASBTN, DISPASBTN or AutoCast. Why? Read here. This restriction was set as these borders have a visible area around 56x56 pixels (the BTN border), while the others have a visible area around 48x48 pixles.

    Step 1: Select the input folder.
    Step 2: Select the output folder.
    Step 3: Select the dimensions category of the input images (64xBorders).

    Step 4: Select the type of the input images (SelTarget).

      If you chose PSD, also select an output format for the bordered files (SelOutTarget).

      Also select a compression percentage for JPEG output, if you chose JPEG type for your PSD input files (SelJPGqual).

    Step 5: Select the borders you want W3IR to add to your input files.
    Step 6: Type your set of distinct suffixes (e.g.: "_0" for "BTN" etc.).
    Step 7: You may choose to add a distinctive string marker to the end of the names of the output files (e.g.: concatenate "ByBlackDoom" at their end => "Ambush_0ByBlackDoom.bmp"). You may as well select to erase the original files after they have been bordered (it's recommended that you keep them for backup purpose).
    Step 8: Click the ClickBiB button (should be enabled if you have correctly input all required data; more details here).

    Done with bordering of 64x64 images!

    Tip: after bordering, for an easier renaming, copy the suffixes from the bordering window to the main window (except the suffix of "AutoCast")!


    Bordering a set of 48x48 input images

    When working with 48x48 images, you may add them these borders: Upgrade or AttackType. Why? Read here. This restriction was set as these borders have a visible area around 48x48 pixles (the Upgrade border), while the others have a visible area around 56x56 pixels.

    Step 1: Select the input folder.
    Step 2: Select the output folder.
    Step 3: Select the dimensions category of the input images (48xBorders).

    Step 4: Select the type of the input images (SelTarget).

      If you chose PSD, also select an output format for the bordered files (SelOutTarget).

      Also select a compression percentage for JPEG output, if you chose JPEG type for your PSD input files (SelJPGqual).

    Step 5: Select the borders you want W3IR to add to your input files.
    Step 6: Type your set of distinct suffixes (e.g.: "_5" for "Upgrade" etc.).
    Step 7: You may choose to add a distinctive string marker to the end of the names of the output files (e.g.: concatenate "ByBlackDoom" at their end => "Ambush_5ByBlackDoom.bmp"). You may as well select to erase the original files after they have been bordered (it's recommended that you keep them for backup purpose).
    Step 8: Click the ClickBiB button (should be enabled if you have correctly input all required data; more details here).

    Done with bordering of 48x48 images!


ToC Chapter 6 Chapter 6 ToC Chapter 6   Combinations of settings and their effects.
Back to ToC Title Back to ToC Back to ToC Title

Prev ToC entry Previous Chapter
Reload ToC entry Reload Chapter
Next ToC entry Next Chapter

Go Top Go Top


You have within the main window 3 checkboxes. Each one leads to a given effect, checked as well as unchecked. The effects vary according to the input and output folders. In some cases, you will be allowed to select both of them, in other cases you will only be allowed to select the input folder, depending on what options you choose (which checkboxes you check).

Abbreviations
    MF
    "Move files to output folder?"
      checkbox status: "X" for "Checked", " " for "Unchecked"
    RO
    "Rename original files?"
      checkbox status: "X" for "Checked", " " for "Unchecked"
    ZP
    "ZipPack after rename?"
      checkbox status: "X" for "Checked", " " for "Unchecked"
    P
    "Paths"
      referring to the Input/Output folders
      "Same" or "Diff" (for "Different")
    DP
    "Drive/Partition"
      referring to the Input/Output drive/partition letter
      "Same" or "Diff" (for "Different")
    Op
    "Operation"
      what exactly will happen to your original files
      "Copy", "Move" or "Ren" (for "Rename")
    original files will not be modified
      copies of these files will appear in the output folder
    original files will be removed from their current location
      original files will be moved from the input folder to the output folder
    Ren
    original files will not be modified
      original files will be renamed, remaining in the input folder
These are the operations while ZP is unchecked.

MF
RO
ZP
P
DP
Op

X

Same
Same
Ren
X


Same
Same
Ren
X


Diff
Same
Move
X


Diff
Diff
Move



Same
Same
Copy



Diff
Same
Copy



Diff
Diff
Copy

When ZP is unchecked, the result will be files of the type selected in the "Please select the target image type/extension" listbox.


These are the operations while ZP is checked.

MF
RO
ZP
P
DP
Op

X
X
Same
Same
Move
X

X
Same
Same
Move
X

X
Diff
Same
Move
X

X
Diff
Diff
Move



Same
Same
Copy



Diff
Same
Copy



Diff
Diff
Copy

ZipPack only applies to BLP files. When ZP is checked, the result will be one or more ZIP archives containing the renamed input files.

"Individual packs?" checkbox defines whether the user does or does not wish to pack the BLP files to individual icon sets of 1 up to 4 files in each Zip package. This way, you can make a single zip package with as many icon sets as you like. For example, you can have 1 zip archive with 20 BLP files composing 5 icon sets if you have not checked the "Individual packs?" checkbox instead of 5 zip files with 4 BLP files each, if you did check the checkbox.

The name of the ZIP archive, provided you did not check the "Individual packs?" checkbox, will be the icon name of the first icon set processed by W3IR.


ToC Chapter 7 Chapter 7 ToC Chapter 7   Version history, info about free components used to develop W3IR, info about this version and system requirements.
Back to ToC Title Back to ToC Back to ToC Title

Prev ToC entry Previous Chapter
Reload ToC entry Reload Chapter
Next ToC entry Next Chapter

Go Top Go Top

Known bugs Known bugs and limitations

Notice WARNING! DO NOT INPUT BITMAP FILES SAVED BY PHOTOSHOP! Notice
W3IR will collapse with a "Stream read error!". Please use the Batch Convert feature of IrfanView in order to easily convert a large number of files!
How to do that? Check the documentation provided by IrfanView regarding the command line parameters or create a *.BAT file containing the following line:

i_view32.exe C:\WC3Actions\Conv\*.bmp /resample=(64,64) /aspectratio /convert=C:\WC3Actions\Conv\BMP Done\*.bmp

Have your input files placed in the "C:\WC3Actions\Conv\" folder. The converted, "fixed" bitmap files will be saved to this folder: "C:\WC3Actions\Conv\BMP Done\". Save the BAT file (a MS-DOS batch file) to the folder you have installed IrfanView.
I was unable to detect why this error occurs, yet this is the only solution I managed to come up with.


Notice GUI glitch
When processing a large number of files, the GUI of W3IR will hang. Please, do not terminate it, as W3IR is still working, only that its GUI does not refresh properly. The reason for this issue is that W3IR is implemented as a single-thread application. When the main thread is busy processing your files, the GUI will fail to update normally, and the application will seem to hang. Wait for it to finalize its routines, then continue your work with W3IR.



SysReq System requirements for W3IR
    Display: 800x600 minimum
    Memory: 10 MB
    Disk space: 563 KB

    I am not sure what minimum CPU speed you should have... Given the fact that W3IR does not use algorithms of major complexity, it should work fine on nearly any PC. Note that W3IR may also be run of Linux. Use an emulator to be able to run it.


Atv Title About this version

Atv: Overview Warcraft 3 Image Renamer, as is, can create a complete set of icons with a little support from IrfanView (resampling from 64x64 to 48x48 for AttackType and Upgrade resources). It is your choice if you will use W3IR for bordering or the Photoshop materials I included in the download. If you use the correct strings as suffixes, you can finalize any W3 valid icon only with freeware software - W3IR and IrfanView.

Atv: GraphicEx This version of the tool has implemented algorithms that allow reading of BMP, TGA and PSD files as well as writing of BMP, TGA and JPG files. Routines involved in reading input files and those routines involved in the saving TGA files are implementations found in GraphicEx Convert Delphi demo project.

Atv: RecSearch This version of the tool does not feature a recursive searching algorithm. The input files are only searched throughout the Input Folder only, not through its subfolders.

Atv: Wildcards This version of the tool does not feature a complex renaming algorithm, such as wildcards. Therefore, renaming icon sets with variable icon name length will prove troublesome, if not destructive regarding data loss. Please carefully read this document in order to prevent any loss.

Atv: Void names This version of the tool does not allow using void names for icon images. Cases such as "BTN.tga", "DISBTN.bmp", "PASBTN.psd" or "DISPASBTN.blp" are not allowed, regardless of the type of image. An error will be delivered instead of the desired result.

Atv: Image Output This version of the tool is only able to output 24bit resources. In order to obtain quality valid Icon resources, please add the Alpha channel using Warcraft 3 Viewer designed by TheProphet. This tool adds a correct mask to the input images, ensuring a quality output ready to be used in Warcraft 3 as a BLP resource.

Atv: Quality images This version of the tool has no JPEG reading routines implemented. Use any other format with a lossless compression type, if you want quality resources and provide 24bit or 32bit input images. If you do not, W3IR may simply crash providing a Delphi-implemented error message or create an unusable image.

Atv: Zipcompress This program uses the tsqInfoZipPkg component for Delphi. The ZIP compression is up to equal to that used by WinRAR v3.51.
    There is no connection between the author of W3IR and neither author of WinRAR and the tsqInfoZipPkg component for Delphi. The mention of the WinRAR product name is only for reference only, so that you could create an idea on the zip pack final size.
Atv: GFX_LIB This program uses the GFX_LIB 1.5 collection of graphic tools. It uses only the color-conversion routines involving RGB and HSV/HSB color spaces.

Atv: wc3 icon layer This tool uses a derived version of the "wc3 icon layer" for Photoshop once found in the "Tools" section of http://www.wc3sear.ch . The layers have been selectively chosen from all the others to provide an easier and faster access to the layer used for every icon image.



Atv: Free components You can find links if you want learn more about the free components used by W3IR here:
    http://www.info-zip.org
    Homepage of Info-ZIP; the "zip32.dll" file is used by tsqInfoZipPkg Delphi component, thus implicitly by Warcraft3 Image Renamer.
Atv: Further info Warcraft3 Image Renamer is developped unrelated to the owners or authors of the above mentioned websites and/or software. If you do have any question that was not answered to in the documentation of W3IR, please first contact the author of W3IR by sending an e-mail message to w3ir_bd@yahoo.com in concordance to the specified formats. For any further information, please use the above mentioned e-mail address!

Notice Do not directly contact any of the above mentioned websites and/or software owners/authors unless your question/interest is unrelated to W3IR. They cannot provide you any support regarding W3IR.


Version history A few glimpses on previous versions of W3IR. Move your cursor over the icons to identify the modification type.
1.3.2 - 04/21/2007 - version 1, dev-version 3, public release 2 features:


    Release package size: 694,0 KB, ZIP archive

    Updated GUI - all windows now have a "Cancel" or "Exit" button
    Updated GUI - the main window and the bordering window now have a "View tutorial" button (suggested by Wolverabid)
      This button will bring up a message specifiying what chapter you should check, then a window of Internet Explorer will be opened to the location of that tutorial.
      If the opened window of IE does not show the proper section, append "#w3ir_ren_tut" or "#w3ir_bord_tut" to the full name & path to this document.@
    Updated the IconRules.txt section of the documentation #
    Updated the entire documentation
    Added the "ReadMe.htm" and dependencies to increase the friendliness of the documentation of W3IR
    Implemented a restriction against faulty bordering - you may not input files of other dimensions than selected
    Changed "PSDs and Actions.zip" content - removed the "Warcraft3 Icon Save.atn" action set
    Changed ZIP archive layout - "all eggs in one basket": all W3IR files in one folder now (suggested by Daelin)
    Changed splash image
    Fixed 32bit input images reading
    Fixed the autorefresh ability of the shell tree-views
    Fixed the way the suffix for recognition of bordered files was appended
    Fixed a few small GUI glitches

    @ - I failed to find a specific regitry location to the default web browser on your computer, so I chose to implement this solution; most likely, Internet Explorer will be launched, whether it is your default web browser or not.

    # - the former info in IconRules.txt was obtained from WC3Sear.ch; as the Rules section of The HiveWorkshop was updated, the content of IconRules.txt was changed as well

1.3.1 - 01/01/2007 - version 1, dev-version 3, public release 1 features:


    Release package size: 580,6 KB ZIP archive

    Updated documentation content (forgive the dimensions)
    Added Photoshop-independent bordering algorithm for AutoCast, AttackType and Upgrade images
    Added 6 more Photoshop actions and 3 more layers @
    Added original "wc3 icon layer.zip" package
    Implemented support for IrfanView-independent logics for RGB scrambling - RBG, BRG, BGR, GRB, GBR, Negative
    Implemented support for channel separation - such as Red, Green, Blue, Cyan, Magenta, Yellow, Hue, Saturation, Brightness = Value = Luminosity #
    Implemented support for reading 24bpp images %: BMP, TGA and PSD
    Implemented support for writing 24bpp images$: BMP, JPG and TGA

    @ - based on the original actions and layers; the new layers include the layers used in AutoCast, AttackType and Upgrade images; the new actions include the algorithms used in order to obtain valid AutoCast, AttackType and Upgrade image files, using either one of the 2 Photoshop action sets (*.atn files)
    # - I implemented this feature hoping that it may represent a potential bonus in obtaining quality images; Hue and Saturation images do not show too much usable potential, yet they may be usefull for sparks or fractal-like features of your images
    % - please note that JPG reading is not (and will not be) supported
    $ - please note that PSD writing is not (and will not be) supported

      * Not uploaded to WC3Sear.ch due to website failure.
      * Review of potential dataloss-hazard lead to the decision of uploading this tool to the new home of WC3Sear.ch, http://www.hiveworkshop.com/
      * The above date represents the release date... Actual date of approval unknown.

1.2.1 - 09/29/2006 - version 1, dev-version 2, public release 1 features:


    Added Photoshop-independent bordering algorithm for BTN, DISBTN, PASBTN and DISPASBTN images

      * Not uploaded to WC3Sear.ch due to website failure.
      * Not finalized due to future improvements research.

1.1.1 - 09/16/2006 - version 1, dev-version 1, public release 1 features:


    Changed Zip download archive layout
    Changed Zip package layout
    Changed the main icon layout
    Fixed some bugs involved in BLP renaming process
    Fixed the zip packing routine (workaround removed)
    Fixed an interface bug
    Updated documentation content (forgive the dimensions)
    Added "IconRules.txt" and "ZipContent.txt"
    Added 4 more Photoshop actions @
    Implemented TXT documentation respawn
    Implemented individual & unique ZIP packaging

      * Not uploaded to WC3Sear.ch due to website failure.
      This is the main reason, as WC3Sear.ch "Tools" moderators still haven't sent a reason for W3IR v1.0.1 upload refusal.

      @ based on the original actions; the new actions include a "Save a copy" operation of the currently editing file; the copy file will be saved in "C:\W3Actions\Copies\"

1.0.1 - 09/11/2006 - version 1, dev-version 0, public release 1 features:


    Implemented full logic and main features functional (basic)

      * Not approved by WC3Sear.ch ... No reason yet communicated by the "Tools" section moderators.


ToC Chapter 8 Chapter 8 ToC Chapter 8   Some features I want to implement in upcoming W3IR releases.
Back to ToC Title Back to ToC Back to ToC Title

Prev ToC entry Previous Chapter
Reload ToC entry Reload Chapter
Next ToC entry Next Chapter

Go Top Go Top

    ToImpl Support for more languages (FlagRO Romanian and FlagFR French)
    ToImpl Support for user-defined interface and error-message strings (and a tool for those)
    ToImpl Support for BLP conversion
    ToImpl Support for 32bit images output
    ToImpl Support for "one-click" processing - just by specifying I/O file settings (locations, formats), conversion options (images to BLP) and border types
    ToImpl Support for recursive file search
    ToImpl Support for variable icon name length renaming algorithm
      (rather hybrid, fixed/variable; sorting the input files by icon-name length; should not be expected in the near future)
    ToImpl Support for suffix settings transfer from the bordering window to the renaming window
    ToImpl Support for settings loading from INI file (registry entries in the following update)
    ToImpl Support for user-defined custom borders as TGAs

ToC Chapter 9 Chapter 9 ToC Chapter 9   Performance aspects concerning this version of W3IR, while testing its behaviour on BMP files.
Back to ToC Title Back to ToC Back to ToC Title

Prev ToC entry Previous Chapter
Reload ToC entry Reload Chapter
Next ToC entry Next Chapter

Go Top Go Top


System configuration used for performance tests:
    AMD AthlonXP 1600+ (1400 MHz real-clock)
    512MB DDR-RAM (2x256MB)
    Gigabyte GA 7VRX mainboard
    nVidia GeForce2 MX/MX 400 64MB VRAM graphic card
    Seagate Barracuda ATA IV 7200rpm 2MB Cache 40GB hard drive

Tested version W3IR version in test: v1.3.2

Test 1
Phase 1

Input: 1024 BMP 64x64 pixels 24bpp images; 12.342 B each
Process: BTN, DISBTN, PASBTN, DISPASBTN and Autocast bordering
Time: 97.339 ms = 97,3 s
Created files: 5120 BMP 64x64 pixels 24bpp images; 12.342 B each
Top memory level: 9.380 KB
Phase 2

Input: 1024 BMP 48x48 pixels 24bpp images; 6.966 B each
Process: AttackType and Upgrade bordering
Time: 28.157 ms = 28,15 s
Created files: 2048 BMP 64x64 pixels 24bpp images; 12.342 B each
Top memory level: 9.404 KB
Total time: 125.496 ms = 125,49 s; Created files: 7168; Time per file: 17,50 ms (19,01ms per 64x64 image; 13,74ms per 48x48 image)
( 125.496 / 7168 = 17,50 ms ; (19,01 x 5120 + 13,74 x 2048) / 7168 = 17,50 ms )


Test 2
Phase 1

Input: 1024 BMP 64x64 pixels 24bpp images; 12.342 B each
Process: BTN, DISBTN, PASBTN, DISPASBTN and Autocast bordering
Time: 97.422 ms = 97,42 s
Created files: 5120 BMP 64x64 pixels 24bpp images; 12.342 B each
Top memory level: 9.352 KB
Phase 2

Input: 1024 BMP 48x48 pixels 24bpp images; 6.966 B each
Process: AttackType and Upgrade bordering
Time: 27.750 ms = 27,75 s
Created files: 2048 BMP 64x64 pixels 24bpp images; 12.342 B each
Top memory level: 9.372 KB
Total time: 125.172 ms = 125,17 s; Created files: 7168; Time per file: 17,46 ms (19,02ms per 64x64 image; 13,54ms per 48x48 image)
( 125.172 / 7168 = 17,46 ms ; (19,02 x 5120 + 13,54 x 2048) / 7168 = 17,46 ms )

Average: (17,50 + 17,46)/2 = 17,48ms

According to the results of the above presented tests, working with 24bpp BMP files leads to a required time of 17,48ms per output file in W3IR v1.3.2.


Tested version W3IR version in test: v1.3.1

Test 1
Phase 1

Input: 1024 BMP 64x64 pixels 24bpp images; 12.342 bytes each
Process: BTN, DISBTN, PASBTN, DISPASBTN and Autocast bordering
Time: 99.359 ms = 99,36 s
Created files: 5120
Top memory level: 35.252 KB
Phase 2

Input: 1024 BMP 64x64 pixels 24bpp images; 12.342 bytes each
Process: AttackType and Upgrade bordering
Time: 48.703 ms = 48,70 s
Created files: 2048
Top memory level: 62.832 KB
Overall: Faulty memory management; Total time: 148.062 ms = 148,06 s; Created files: 7168; Time per file: 20,66 ms
Specification Time intervals measured using Delphi routines. Memory levels measured using Microsoft TaskManager. Specification


Test 2
Phase 1

Input: 1024 BMP 64x64 pixels 24bpp images; 12.342 bytes each
Process: BTN, DISBTN, PASBTN, DISPASBTN and Autocast bordering
Time: 106.390 ms = 106,39 s
Created files: 5120
Top memory level: 10.028 KB
Phase 2

Input: 1024 BMP 64x64 pixels 24bpp images; 12.342 bytes each
Process: AttackType and Upgrade bordering
Time: 29.125 ms = 29,12 s
Created files: 2048
Top memory level: 9.320 KB
Overall: Improved memory management; Total time: 135.515 ms = 135,51 s; Created files: 7168; Time per file: 18,9 ms
(20,77ms per 64x64 image; 14,22ms per 48x48 image) ( 135.515 / 7168 = 18,90 ms ; (20,77 x 5120 + 14,22 x 2048) / 7168 = 18,90 ms )


According to the results of the above presented tests, working with 24bpp BMP files leads to a required time of 23,45ms per output file in W3IR v1.3.1.

Specification Switched from Delphi time measuring routines to SysInternals Process Explorer as it offers more reliable results compared to Delphi routines. Also switched to Sysinternals Process Explorer as it offers a more detailed array of info about memory usage then the Microsoft TaskManager.

Specification Time intervals measured using Delphi routines. Memory levels measured using Sysinternals Process Explorer. Specification
Specification Specified values are approximate to the speed and efficiency of the test system. Effective times on your computer may vary.


ToC Chapter 10 Chapter 10 ToC Chapter 10   Conclusions and perspectives on W3IR.
Back to ToC Title Back to ToC Back to ToC Title

Prev ToC entry Previous Chapter
Reload ToC entry Reload Chapter
Next ToC entry Next Chapter

Go Top Go Top


W3IR Perspectives Perspectives of W3IR

It was my intention to create W3IR as a tool for personal use. I first tried to create some icons for W3 and I found myself in the annoying position of being bound to a ridiculous task in order to achieve something I sought. That is, I had to go through the process of adding specific borders rending visible or not the layers in the original border-layers package (included in the download of W3IR).

W3IR will never be released as "pre-aplpha"/"alpha"/"beta" software, unless this is expressly requested. I do my own beta-testing and various conditions check, as through-going as feasible. All in all, this is still not subjected to the "real world" - user control. Feedback assures a better product in coming versions.



Data loss Data loss scenario suggestion

Notice If, in a NightmareMode worst case scenario - you do end up with your data lost, stop any actions that may lead to data-write operations on the partition/drive your (now lost) data was! Install a data recovery software (if you do not have one already installed) on a different partition/drive and attempt to recover the lost data (a freeware example is PCI File recovery).

I do not intend this tip to be considered an ad to that tool - feel free to scour the web with Google in search of free data recovery software!

Notice Note that this tip does not refer to Windows XP's System Restore feature!! Notice



FormatGen When you only have one of the active formats of an icon in 64x64 category (BTN, PAS, Autocast) and need other formats of it, produce a PAS format of it, then use that image to obtain the others! You can then use the same image (PAS) in order to obtain the 48x48 category of formats, by resampling it down to 48x48 from 64x64!

Renaming If you did not already named your original files in an easy to process manner, it may be less time consuming to manually rename the files to the final names, though this will be boring and tiresome.

Productivity I recommend you to only create one image, 64x64 pixels, having no border at all, for each icon design you intend to finalize.
From this point, you can either make use of the Photoshop actions provided within the download archive, using them along with Photoshop and Bridge, or you could stick to W3IR.

Resizing As I failed to successfully find and implement an efficient resampling algorithm, I had to enforce the following option restrinction: in order to add borders according to the AttackType and Upgrade resources, you will only be allowed to provide images reduced to 48x48 pixels. The reason I chose to do so is related only to the final quality of the output image. None of the algorithms I found and tested were not even close to what IrfanView and Photoshop created after I resized (scaled down) a 64x64 image to 48x48. These being said, I hope you will find useful the batch resize feature in the "Add borders" dialogue. Please note that this feature is available and functional ONLY if you have IrfanView installed on your system. If you like Photoshop better, you can use Adobe Bridge instead (Tools / Photoshop / Image processor).

Pre-batch Before proceeding with the use of the batch resampling feature, please copy your files (64x64 BMP, TGA or PSD) to "C:\WC3Actions\Conv". Within this folder, IrfanView will create a folder called "48x48 Done". Here you will find all your input files from "C:\WC3Actions\Conv" saved as:
    - *.bmp if your input files were bitmap files
    - *.tga if your input files were TARGA files
    - *.bmp if your input files were PSD files -> PLEASE BE CAREFUL NOT TO OVERWRITE EXISTING FILES!
IrfanView cannot create PSD files, thus you will be prompted to choose another format instead, either one from BMP, TGA or JPG.

Small images Please also note that, in case you provide an image of X x Y, where either X or Y is lower than the specified size (64 or 48), the exceeding space will be filled with white.



Overall effort Please, take a minute and think about these tips, so that your productivity could enhance and your efforts as artist/designer/fan :) could decrease!

Conclusion I apologize for the dimensions of the documentation of W3IR. It’s easy for me to use this tool, yet I tried to be as explicit as possible so that any user could use it to its full potential.


Downloads Download Details Downloads   URLs to W3IR download pages available online, thanks to The HiveWorkshop and Warcraft III Campaigns; details about other W3IR download resources.
Back to ToC Title Back to ToC Back to ToC Title

Prev ToC entry Previous Chapter

Reload ToC entry Reload Section

W3IR Author Info Section Author info

Go Top Go Top

In this section you will find URLs to online download locations that you might want to check every once in a while, in order to update to a newer version of W3IR, patches, bug notices and work-arounds. You may also contribute yourself, either by simply posting your share of the feedback of W3IR, by posting a suggestion or by highlighting a flaw of W3IR.

Latest stable version: 1.3.2          Online download locations

Standard package: promotional W3IR banner by BlackDoom not included in the release package. Backup bundles: standard packages including the promotional W3IR banner by BlackDoom.
    Use these direct download URLs only if the above 2 pages are not available anymore!

    GetW3IR Download W3IR     DlDirect_FX Hosted by: FileXoom
      Version: 1.3.2
      Size: 0,98 MB RAR archive

    GetW3IR Download W3IR     DlDirect_FX Hosted by: FileXoom
      Version: 1.3.1
      Size: 843,6 KB RAR archive
Promotional banners: W3IR banners designed by BlackDoom.
    These are direct download URLs!

    PreviewImgView image Version: 1.3.2 - 1024x768 (0,75 MP) 357,2 KB JPEG image

    PreviewImgView image Version: 1.3.1 - 1024x768 (0,75 MP) 291,6 KB JPEG image

Versions prior to 1.3.1 are not available for download.


W3IR Author Info Section Author Details W3IR Author Info Section   URLs to BlackDoom's public profiles on THW, WC3C; URLs to artwork created by BlackDoom.
Back to ToC Title Back to ToC Back to ToC Title

Downloads Downloads info

Reload ToC entry Reload Section

Go Top Go Top

Author Info
Profiles Author Profiles
Posts Author Posts Artwork Author Artwork W3IR Comments W3IR online comments:
Thank you for using W3IR and for showing interest in its development!