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. The poll for our 11th Music Contest is up! Help us choose the most awesome cinematic tracks by casting a vote!
    Dismiss Notice
  3. Melee Mapping contest #3 - Poll is up! Vote for the best 4v4 melee maps!
    Dismiss Notice
  4. The 30th edition of the Modeling Contest is finally up! The Portable Buildings need your attention, so come along and have a blast!
    Dismiss Notice
  5. The Aftermath has been revealed for the 19th Terraining Contest! Be sure to check out the Results and see what came out of it.
    Dismiss Notice

Warcraft 3 Extension (v1.1)

Submitted by Quilnez
This bundle is marked as approved. It works and satisfies the submission rules.
Description
Warcraft 3 Extension is a very versatile little tool used for registering shell extensions for Warcraft 3 map files (w3m, w3x, & w3n). The tool allows you to edit map files icons and to add multiple actions to context menu with ease. Using this feature you can play, edit, & open a map file with any compatible application just in two clicks.​

Requirements:
- Windows XP/7/8/10. Vista is not tested yet.
- .NET Framework 4.0 or higher.​

How to use
(Basic - Registers default custom icons and basic context menu actions [play and edit])
- Open the program
- Click "..." button and locate Warcraft Executable (Warcraft III.exe or war3.exe for legacy versions.)
- Click Register Shell Extension button

Now you will have default custom icons and play & edit actions in context menu.
[​IMG]

(In depth - Use your custom icons and add your own context menu actions)
1. Using your custom icon
- Click on the icon you want to change
- Locate icon file you want to use
- Click Register Shell Extension button
2. Edit/open map file with JNGP
- Click Add button
- Type "Edit with JNGP" (Optional) on Action string column
- Press "..." button on the right
- Locate Newgen WE.exe, Ok
- Click Register Shell Extension button
3. Play map file with Sharpcraft
- Click Add button
- Type "Play with Sharpcraft" (Optional) on Action string column
- Press "..." button on the right
- Locate Launcher.exe (in your sharpcraft directory), Ok
- Add "-game " before -loadfile parameter (in the command box)
- Click Register Shell Extension button

Some Notes:
• For legacy version, locate war3.exe, not Warcraft III.exe
• You can either locate legacy version or the new version, it makes no difference. Since it's only used for locating the default icons in the directory.

Changelog:
v1.0
- Release

v1.1
- Renamed to "Warcraft 3 Extension"
- Added support for newer patch version
- Now locates Warcraft directory automatically, but still accept user's confirmation
- Action limit is raised from 5 to 7​
Previews
Contents

Warcraft 3 Extension (Binary)

  1. BlueSaint

    BlueSaint

    Joined:
    Jun 18, 2012
    Messages:
    2,717
    Resources:
    3
    Tools:
    1
    Spells:
    2
    Resources:
    3
    What about JNGP WE? Are the parameters same?
     
  2. Quilnez

    Quilnez

    Joined:
    Oct 12, 2011
    Messages:
    3,163
    Resources:
    37
    Icons:
    2
    Tools:
    1
    Maps:
    7
    Spells:
    21
    Tutorials:
    2
    JASS:
    4
    Resources:
    37
    Nope, I'm adding the tutorial how to do it :)
     
  3. pyf

    pyf

    Joined:
    Mar 21, 2016
    Messages:
    2,273
    Resources:
    2
    Tutorials:
    2
    Resources:
    2
    Not a valid Win32 application on Windows XP...

    (edit: fixed by author)
     
    Last edited: Nov 6, 2016
  4. Quilnez

    Quilnez

    Joined:
    Oct 12, 2011
    Messages:
    3,163
    Resources:
    37
    Icons:
    2
    Tools:
    1
    Maps:
    7
    Spells:
    21
    Tutorials:
    2
    JASS:
    4
    Resources:
    37
    Well, it's only tested on w7 and w8.

    @pyf: I have updated it. Hopefully it works for XP now.
     
    Last edited: Nov 6, 2016
  5. pyf

    pyf

    Joined:
    Mar 21, 2016
    Messages:
    2,273
    Resources:
    2
    Tutorials:
    2
    Resources:
    2
    It does now. Thanks.
    +rep
     
  6. Wareditor

    Wareditor

    Joined:
    Jan 16, 2009
    Messages:
    638
    Resources:
    2
    Maps:
    2
    Resources:
    2
    Damn I have been needing this for years! Excellent.
     
  7. pyf

    pyf

    Joined:
    Mar 21, 2016
    Messages:
    2,273
    Resources:
    2
    Tutorials:
    2
    Resources:
    2
    Is the ending symbol for 'edit' and 'play' supposed to look like this?

    shell extension register - XP.png


    A CnP in Notepad shows this weird last symbol appears to be a question mark.
    "C:\Jeux\Warcraft III\worldedit.exe" -loadfile "%L"?
    "C:\Jeux\Warcraft III\war3.exe" -loadfile "%L"?
     
  8. Quilnez

    Quilnez

    Joined:
    Oct 12, 2011
    Messages:
    3,163
    Resources:
    37
    Icons:
    2
    Tools:
    1
    Maps:
    7
    Spells:
    21
    Tutorials:
    2
    JASS:
    4
    Resources:
    37
    No, there shouldn't be a symbol at the end. Must be a bug.
     
  9. MindWorX

    MindWorX

    Blizzard Developer

    Joined:
    Aug 3, 2004
    Messages:
    689
    Resources:
    5
    Tools:
    1
    Tutorials:
    4
    Resources:
    5
    Easy to use. Works perfectly. Perhaps make it look up the install folder from the registry, this way it would just be a matter of two clicks and things would be working. In any case, approved!
     
  10. BlueSaint

    BlueSaint

    Joined:
    Jun 18, 2012
    Messages:
    2,717
    Resources:
    3
    Tools:
    1
    Spells:
    2
    Resources:
    3
    This doesn't work for me. The entries don't appear in the list.
     
  11. KILLCIDE

    KILLCIDE

    Administrator

    Joined:
    Jul 22, 2015
    Messages:
    3,446
    Resources:
    20
    Models:
    2
    Icons:
    10
    Spells:
    7
    Tutorials:
    1
    Resources:
    20
    This is some awesome stuff, Quilnez! This will help me out so much in moderating submissions :) thank you for making it!

    P.S - This was on Windows 10 Home 64 bit. I didn't have any issues when following the instructions.
     
  12. BlueSaint

    BlueSaint

    Joined:
    Jun 18, 2012
    Messages:
    2,717
    Resources:
    3
    Tools:
    1
    Spells:
    2
    Resources:
    3
    Even though it doesn't work for me, your tool enlightened me - I didn't know JNGP actually uses startup args :p

    So in case someone wanders here and this doesn't work for him, manual installation:
    1. Press Win+R, type regedit and press enter
    2. Navigate to HKEY_CLASSES_ROOT\Applications\newgen we.exe\shell\open\command
    3. Add "-loadfile" (no quotes) before "%1"
     
  13. Quilnez

    Quilnez

    Joined:
    Oct 12, 2011
    Messages:
    3,163
    Resources:
    37
    Icons:
    2
    Tools:
    1
    Maps:
    7
    Spells:
    21
    Tutorials:
    2
    JASS:
    4
    Resources:
    37
  14. BlueSaint

    BlueSaint

    Joined:
    Jun 18, 2012
    Messages:
    2,717
    Resources:
    3
    Tools:
    1
    Spells:
    2
    Resources:
    3
    Well I don't need that as I just stated that I manually did the change.
     
  15. RedLord

    RedLord

    Joined:
    Feb 21, 2016
    Messages:
    119
    Resources:
    2
    Maps:
    2
    Resources:
    2
    I need this...
     
  16. Kyrbi0

    Kyrbi0

    Joined:
    Jul 29, 2008
    Messages:
    7,615
    Resources:
    1
    Models:
    1
    Resources:
    1
    Ooooh... For a long time now I could click on a map file to open up the WE, but it couldn't seem to figure out where the map itself was; it just opened a blank WE. This seems pretty schweet.
     
  17. Quilnez

    Quilnez

    Joined:
    Oct 12, 2011
    Messages:
    3,163
    Resources:
    37
    Icons:
    2
    Tools:
    1
    Maps:
    7
    Spells:
    21
    Tutorials:
    2
    JASS:
    4
    Resources:
    37
    Anyone else experiencing the same problem?

    I've just found you can't directly play a map if the folder name (that is containing the map file) is too long.
     
  18. KILLCIDE

    KILLCIDE

    Administrator

    Joined:
    Jul 22, 2015
    Messages:
    3,446
    Resources:
    20
    Models:
    2
    Icons:
    10
    Spells:
    7
    Tutorials:
    1
    Resources:
    20
    I think he was talking about what it was like before he downloaded your tool.
     
  19. Quilnez

    Quilnez

    Joined:
    Oct 12, 2011
    Messages:
    3,163
    Resources:
    37
    Icons:
    2
    Tools:
    1
    Maps:
    7
    Spells:
    21
    Tutorials:
    2
    JASS:
    4
    Resources:
    37
    Ah, okay then.