1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  3. The SharpCraft World Editor Extended (WEX) has been updated for the latest Warcraft 3 version: Forum.
    Dismiss Notice
  4. The Paired Modeling/Texturing Contest #3 - Leaders has begun! Artists group up and struggle! May the best team lead the run.
    Dismiss Notice

Warcraft 3 Shell Extension Register

Submitted by Quilnez
This bundle is marked as approved. It works and satisfies the submission rules.
Description
Warcraft 3 Shell Extension Register 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. This will make your life easier both as modder and tester.​

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 your Warcraft installation path (war3.exe)
- 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​
Previews
Contents

Warcraft 3 Shell Extension Register (Binary)

  1. jondrean

    jondrean

    Joined:
    Jun 18, 2012
    Messages:
    2,491
    What about JNGP WE? Are the parameters same?
     
  2. Quilnez

    Quilnez

    Joined:
    Oct 12, 2011
    Messages:
    2,924
    Nope, I'm adding the tutorial how to do it :)
     
  3. pyf

    pyf

    Joined:
    Mar 21, 2016
    Messages:
    1,006
    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:
    2,924
    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:
    1,006
    It does now. Thanks.
    +rep
     
  6. Wareditor

    Wareditor

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

    pyf

    Joined:
    Mar 21, 2016
    Messages:
    1,006
    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:
    2,924
    No, there shouldn't be a symbol at the end. Must be a bug.
     
  9. MindWorX

    MindWorX

    Tool Moderator

    Joined:
    Aug 3, 2004
    Messages:
    559
    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. jondrean

    jondrean

    Joined:
    Jun 18, 2012
    Messages:
    2,491
    This doesn't work for me. The entries don't appear in the list.
     
  11. KILLCIDE

    KILLCIDE

    Code Moderator

    Joined:
    Jul 22, 2015
    Messages:
    2,671
    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. jondrean

    jondrean

    Joined:
    Jun 18, 2012
    Messages:
    2,491
    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:
    2,924
  14. jondrean

    jondrean

    Joined:
    Jun 18, 2012
    Messages:
    2,491
    Well I don't need that as I just stated that I manually did the change.
     
  15. RedLord

    RedLord

    Joined:
    Feb 21, 2016
    Messages:
    102
    I need this...
     
  16. Kyrbi0

    Kyrbi0

    Joined:
    Jul 29, 2008
    Messages:
    5,833
    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:
    2,924
    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

    Code Moderator

    Joined:
    Jul 22, 2015
    Messages:
    2,671
    I think he was talking about what it was like before he downloaded your tool.
     
  19. Quilnez

    Quilnez

    Joined:
    Oct 12, 2011
    Messages:
    2,924
    Ah, okay then.