• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Warcraft 3 Extension (v1.2a)

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 several 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/war3.exe for legacy versions; or Warcraft III Launcher.exe or Warcraft III.exe for Reforged version)​
- Click Register Shell Extension button​
Now you will have default custom icons and play & edit actions in context menu.​

(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' or 'Warcraft III.exe'​
• For Reforged version, locate 'Warcraft III.exe' or 'Warcraft III Launcher.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​
v1.2​
- Added support for Reforged​
- 'Play' function is not working yet​
v1.2a​
- Default 'Play' & 'Edit' functions now work for Reforged​
Previews
Contents

Warcraft 3 Extension (Binary)

Deleted member 219079

D

Deleted member 219079

What about JNGP WE? Are the parameters same?
 

pyf

pyf

Level 32
Joined
Mar 21, 2016
Messages
2,985
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"?
 

Deleted member 219079

D

Deleted member 219079

This doesn't work for me. The entries don't appear in the list.
 

Deleted member 219079

D

Deleted member 219079

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"
 

Deleted member 219079

D

Deleted member 219079

Well I don't need that as I just stated that I manually did the change.
 

Kazeon

Hosted Project: EC
Level 33
Joined
Oct 12, 2011
Messages
3,449
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.
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.
 

Kazeon

Hosted Project: EC
Level 33
Joined
Oct 12, 2011
Messages
3,449
Level 2
Joined
Jul 21, 2013
Messages
15
This tool won't let me register Warcraft III.exe (Reforged), this worked for me in 1.30 and below.
[SPOILER

[/SPOILER]

Is there atleast a registry hack to make this work? I really love using this tool it's super convenient.
Unless you figured it out by now, you can use it on one of the older patches before game was integrated to Battlenet app and it will work just fine because tool will register all file types across your system.
 
Level 17
Joined
Feb 25, 2013
Messages
303
This tool won't let me register Warcraft III.exe (Reforged), this worked for me in 1.30 and below.

Is there atleast a registry hack to make this work? I really love using this tool it's super convenient.

It would seem the tool is just not updated, but you can use a similar setup to what it provides. If you already have the registry set up for it and you know how to edit registry, just go into the keys it has written and make sure to change the executable path to be correct again and add the -launch argument.

Another thing to note is that now the World Editor assigns itself automatically on installation so you don't have to use 3rd party tools for that, but for the play option you'd still have to make/change one.

A last thing to note is that the game may not act predictably if you run these commands as the authentication system has been changed in 1.32.0.

To sum up - this tool won't work nor is helpful for 1.32.x: WE sets itself already and the game won't like you doing this.
 
Top