1. Are you planning to upload your awesome tool to Hive? Please review the rules here.
    July 9, 2018: The rules for the Tool Section have been revised. Please be sure to read the revisions.
    Dismiss Notice
  2. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  3. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. The poll for Hive's 12th Concept Art Contest is up! Go cast your vote for your favourite genie!
    Dismiss Notice
  5. Travel to distant realms and encounter scenes unknown to the common folk. The Greatest of Adventures is upon us with the 8th Cinematic Contest. Join in on a fun ride.
    Dismiss Notice
  6. The 18th Icon Contest is ON! Choose any ingame unit and give him/her Hero abilities. Good luck to all.
    Dismiss Notice
  7. Contestants are to create a scene set in the Stone Age. Come and see what you can come up with. We wish you the best of luck!
    Dismiss Notice
  8. Colour outside the lines! Techtree Contest #13 is a go. The contest is optionally paired.
    Dismiss Notice
  9. Greetings cerebrates, our Swarm needs new spawners that will have numerous children. Join the HIVE's 31st Modeling Contest - Spawners and Spawned! The contest is optionally paired.
    Dismiss Notice
  10. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Wc3 Universal Calculator & Colorizer v5.3.2

Submitted by D.O.G.
This bundle is marked as approved. It works and satisfies the submission rules.
Tool Capabilities Description
Text Colorizer Text editor like Microsoft WordPad which generates colored text to text with Warcraft III, StarCraft II, vBulletin or HTML color codes. Looks like in-game tooltip (Wc3 tooltips' borders and Wc3 font)
Supports solid coloring, 2-color gradients (From color 1 to color 2, and from color 1 to color 2 to color 1) and striped (zebra) coloring.
Has custom color choosing resizable (large color field) dialog, which has customizable unlimited color palette and can pick color from screen.
Hero XP Calculates XP required for specified level range.
Registry fixer Registers most Wc3 file extensions, even those that aren't registered by default! (w3m, w3x, w3n, wai, w3g, w3z, w3v, w3p, w3o, w3u, w3t, w3b, w3d, w3a, w3h, w3q)
Can change game resolution to your screen's. Useful for those who have wide or very large screen.
Also enables Local Files, which should be enabled for some RPGs which write save-codes to files.
Damage -> Dice Calculates all possible variants of "Damage Base", "Number of Dice" and "Sides per Dice" for given damage (minimum and maximum) for units and heroes (for heroes takes in account their primary attribute and level, calculates hero damage bonus). [/tr]
Dice -> Damage Calculates damage (minimum and maximum) from "Damage Base", "Number of Dice" and "Sides per Dice"
Damage per Second Calculates damage per second (DPS) and damage from "Damage Base", "Number of Dice", "Sides per Die", "Cooldown Time" or "Minimum Damage", "Maximum Damage", "Cooldown Time".
Armor -> Damage Reduction Calculates how given armor amount reduces damage.
Calculates percentage and fractional value.
Damage Reduction -> Armor Calculates what armor amount should be that damage reduction will be as specified.
Armor -> Damage Taken Calculates what damage will receive unit with given armor from unit with given damage.



CHANGELOG
Version 5.3.2 (05.05.2019)
- Returned accidentaly removed colorizer buttons
- Now when copying/pasting text into colorizer you no longer see cursor running through all text (however now it flickers)

Version 5.3.1 (03.05.2019)
- Recompiled and adapted to Windows 10 (required now .NET framework 4.6)
- Fixed "Check for Updates" functionality (will start working after submission on hiveworkshop.com is approved)
- Warcraft font now is placed in temp system folder - tool does not require admin rights for main functionality
- Fixed some crashes
- Now does not use binary compression so there should't be antivirus false positive alarms

Version 5.3
- Added Registry Fixer (Registers most Wc3 file extensions, changes Wc3 resolution to your screen's and enables Local Files)
- Added Serious Sam FE/SE color codes to Text Colorizer

Version 5.2
- Now in "Text Colorizer" color codes are automatically parsed when text is pasted from clipboard
- Now in "Text Colorizer" when copying text to clipboard color codes are automatically generated
- Added "Hero XP" calculator which calculates how many XP needed to gain specified level

Version 5.1.4
- Reduced program's filesize

Version 5.1.3
- Added button "Check for Updates"

Version 5.1.2
- Improved "Damage Base", "Number of Dice" and "Sides per Dice" calculation

Version 5.1.1
- Made Text Colorizer more similar to in-game tooltips (Wc3 tooltips' borders and Wc3 font)
- Now in new color dialog color palette automatically resizes

Version 5.1
- Added capability to apply color codes in Text Colorizer
- Added new color dialog in Text Colorizer
- Renamed from "Wc3 Universal Calculator" to "Wc3 Universal Calculator & Colorizer" because new name fully represents tool's capabilities

Version 5.0.2
- Added "Damage taken" field in "Armor <-> Damage Reduction" tab
- Fixed typo in StarCraft II color codes in Text Colorizer

Version 5.0.1
- Added StarCraft II color codes to Text Colorizer

Version 5.0
- Completely redone calculator's interface (Damage -> Dice, Dice -> Damage, Damage -> DPS, Dice -> DPS calculators combined together; Armor -> Damage Reduction, Damage Reduction -> Armor combined together)
- Temporary removed new color dialog in Text Colorizer because it didn't generate all possible colors
- Temporary removed search for user-typed color-codes
- Added option for selecting code types in Text Colorizer (Warcraft III, vBulletin, Html)
- Changed hotkeys in Text Colorizer
- Added "Colorize with Color 2", "Colorize with Tooltips' color", "Colorize with white", "Colorize with red", "Colorize with green" buttons in Text Colorizer
- Now Text Colorizer generates text with codes directly to Clipboard
- Changed a bit Variants dialog
- Now doesn't calculates exact values (For example 7/13, 5/3, etc) because useless

Version 4.6
- "Generate text" button in text colorizer moved down
- New color selection dialog in text colorizer
- DPS calculator moved to new tab
- DPS calculator can show dps for several units in one time for easier comparison
- Added "Clear text" button to text colorizer
- Window's transpercy code has been improved (may not work for Windows Vista and Windows 7)

Version 4.5.1
- Window's default width increased for compatibility with Windows Vista (In other case "Generate Text" button in Text Colorizer isn't visible)
- Window's transpercy code has been changed for compatibility with Windows 7 (In other case window was always transparent)

Version 4.5
- Now in tooltips for "Color 1" and Color 2" buttons are showing color codes
- Color code of color of buttons "Color 1" and Color 2" can be copied by right-click
- After clicking "Generate Text" button tool searches for user-typed Warcraft III codes and if found, asks for deleting them

Version 4.4
- Renamed from "Wc3 Number of Dice Calculator" to "Wc3 Universal Calculator" because of several capabilities
- Added "Gradient 2" function (gradient from color 1 to color 2 and back to color 1) to text colorizer
- Added reset button (colours all text with white color) to text colorizer
- Added tooltips in text colorizer
- More compact toolbar in text colorizer
- More compact window

Version 4.3
- Improved text colorizer (Changed toolbar, added context menu with copy/paste functions)
- Small bugfixes

Version 4.2
- Added DPS (damage per second) calculator
- Added text colorizer with preview

Version 4.1
- Added "Armor to Damage Reduction" calculator
- Added "Damage Reduction to Armor" calculator
- Tool now saves what you typed into fields and loads next time you run it

Version 4.0
- Tool now is written in VB.NET language and requires .NET Framework 3.5
- Added Dice to Damage calculator
- Added "sticky" window option (window sticks to edges of screen when moved close)
- Now supports minimum damage greater than maximum
- Bugs with decimals fixed

Version 3.0
- Added hero damage calculator

Version 2.2
- Added option window, which allows to you decrease count of variants
- Number of variant is now after word "Variant"

Version 2.1
- Fixed bug with window transparency

Version 2.0
- Now tool generates several variants of base, number of dice and sides per die
- Added window transparency when mouse leaves window

Version 1.0 (10.06.2010)
- Starting version


Comments, suggestions and ideas please!

Program requires .NET Framework 4.6!!!


You can download it here.
Contents

Wc3 Universal Calculator & Colorizer 5.3.2.exe (Binary)

Reviews
Moderator
27th July 2012 Magtheridon96: This thing rocks. It's like a Universal Warcraft III Tool for both players and modders :D Highly Recommended! Well done.
Ralle
Google reports this as malware. If you can update it, it'd be great.
eejin
Is no longer reported as malware and works properly.
  1. Daffa the Mage

    Daffa the Mage

    Map Moderator

    Joined:
    Jan 30, 2013
    Messages:
    7,641
    Resources:
    27
    Packs:
    1
    Maps:
    8
    Spells:
    16
    Tutorials:
    2
    Resources:
    27
    Please, a Mac version :)
     
  2. DaneTheBeast

    DaneTheBeast

    Joined:
    Dec 11, 2014
    Messages:
    578
    Resources:
    1
    Maps:
    1
    Resources:
    1
    I get an error

    error
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.UnauthorizedAccessException: Access to the path 'C:\Windows\Fonts\Friz Quadrata TT.ttf' is denied.
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
    at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
    at Wc3_Universal_Calculator_and_Colorizer.fCalc.InstallWc3Font()
    at Wc3_Universal_Calculator_and_Colorizer.fCalc.Form1_Load(Object sender, EventArgs e)
    at System.EventHandler.Invoke(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8009 (FX35W81RTMGDR.050727-8000)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
    ----------------------------------------
    Wc3 Universal Calcula
    Assembly Version: 5.3.0.0
    Win32 Version: 5.3.0.0
    CodeBase: file:///C:/Users/Dane/Desktop/Wc3%20Universal%20Calculator%20And%20Colorizer%205.3.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8015 (FX35W81RTMGDR.050727-8000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8009 (FX35W81RTMGDR.050727-8000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8016 (FX35W81RTMGDR.050727-8000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8009 (FX35W81RTMGDR.050727-8000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    Wc3 Universal Calculator & Colorizer
    Assembly Version: 5.3.0.0
    Win32 Version: 5.3.0.0
    CodeBase: file:///C:/Users/Dane/Desktop/Wc3%20Universal%20Calculator%20And%20Colorizer%205.3.exe
    ----------------------------------------
    Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.8007 (FX35W81RTMGDR.050727-8000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    ----------------------------------------
    System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8012 (FX35W81RTMGDR.050727-8000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

    Windows 8.1
     
  3. D.O.G.

    D.O.G.

    Joined:
    Oct 20, 2007
    Messages:
    348
    Resources:
    38
    Models:
    27
    Icons:
    3
    Packs:
    1
    Tools:
    3
    Maps:
    2
    JASS:
    2
    Resources:
    38
    Run program as administrator. It needs to install Warcraft 3 font into your system.
     
  4. BiroN

    BiroN

    Joined:
    Sep 10, 2013
    Messages:
    358
    Resources:
    0
    Resources:
    0
    I think it's useful. I'll test it myself later.
     
  5. EdwardElric

    EdwardElric

    Joined:
    Jun 19, 2010
    Messages:
    49
    Resources:
    0
    Resources:
    0
    i'm very interested in the formulas & their derivation for the damage calculation, especially when min & max damage is given, how the base, dice and sides are computed...
    reason is, i want to create an Excel sheet where i write desired min & max damage while Excel generates working base, dice and sides values.
    so, for normal units (no heros):
    min = base + dice
    max = base + dice * sides

    base = ? max - min ?
    dice = ?
    sides = ?

    ok... little bit math:
    base = min - dice
    base = max - dice * sides
    base = base
    min - dice = max - dice * sides
    now after which one should i solve? sides?
    min - dice - max = - dice * sides
    -min + dice + max = dice * sides
    sides = (dice - min + max) / dice
    and now what?
    or do i have to use binomial formula? to get the dice * sides apart?

    edit:
    instead of advanced maths, i guess the following will also do it:
    condition:
    - keep dice > 0, because when dice = 0, attacks are completely disabled!
    decided for following rule:
    - keep dice = 1
    resulting formula:
    - dice = 1
    - base = min - 1
    - sides = max - base
     
    Last edited: Jul 9, 2017
  6. .E.n.I.g.M.a.

    .E.n.I.g.M.a.

    Joined:
    Oct 31, 2017
    Messages:
    7
    Resources:
    0
    Resources:
    0
    Nice! So many features I needed!! Thx :D
     
  7. Ralle

    Ralle

    Owner

    Joined:
    Oct 6, 2004
    Messages:
    11,213
    Resources:
    22
    Tools:
    3
    Maps:
    5
    Tutorials:
    14
    Resources:
    22
    Google reports this as malware. If you can update it, it'd be great.
     
  8. D.O.G.

    D.O.G.

    Joined:
    Oct 20, 2007
    Messages:
    348
    Resources:
    38
    Models:
    27
    Icons:
    3
    Packs:
    1
    Tools:
    3
    Maps:
    2
    JASS:
    2
    Resources:
    38
    Now updated! Check please with your antivirus.

    Later on, I will rewrite this using Java (to be OS-independent, excluding registry part) and probably more modifications will be needed due to Wc3 Reforged possible changes.
     
    Last edited: May 3, 2019
  9. eejin

    eejin

    Tool Reviewer

    Joined:
    Mar 6, 2017
    Messages:
    134
    Resources:
    1
    Tools:
    1
    Resources:
    1
    Is no longer reported as malware and works properly.
     
  10. Alxen345

    Alxen345

    Joined:
    Aug 6, 2015
    Messages:
    1,032
    Resources:
    3
    Maps:
    2
    Template:
    1
    Resources:
    3
    A very useful tool !
     
  11. Watsuby

    Watsuby

    Joined:
    Dec 16, 2011
    Messages:
    12
    Resources:
    0
    Resources:
    0
    Just used it for the tooltip colorizer, great tool.

    Not sure if I'm missing something but it would be nice to be able to flip between raw text and processed text.