Open warcraft 3 maps by clicking them

Solu9

You can change this now in User CP.
Reaction score
216
This is probably the stupidest question I'll ever ask here.

I recently screwed up my computer by accidentally downloading Milkshape via Softonic.com (DO NOT DO THAT)... What it did was redirecting my browser to some shady search engine every time I opened Chrome.
Anyway. I found a way to get rid of it I thought. I had to delete some files while browsering the Run \ regedt32 Local keys. After deleting what seemed to be what I needed I was horrified that my Warcraft 3 (among other programs such as MS Office) would not open. I then tried unintalling Chrome and reinstalling it, and that worked. If only I had done that to begin with...
So. I uninstalled WC3 as well, but I got an error message! I then booted windows in safe-mode and voila I could install again AND even run WC3 in normal mode afterwards.

So loooong story short. Normally I could open maps directly by double clicking them. But not anymore. I have to open the editor first and then open the map from within. I changed the default program to open maps with, to the Editor. However when I click the maps it simply opens the default editor and I still need to open my maps from within.

I have probably missed something simple but I can't see it...
 
Uhm no. If I double click fx. the map (2)BootyBay.w3m it should open the map (2)BootyBay.w3m and not just the editor.
 
oh, hmm, interesting. This happens to me too. Opening a map not inside the editor only opens the editor and not the map. I don't know why.
 
Nope. Never got around anything but GUI.
So that can't possibly be the problem. I can still open maps from within the editor. But usually I can just click on the map file itself and it loads that map in the editor right away. <- That, does not happen anymore (after the reinstall). It just opens the editor no matter what map file I click, and then I have to open the map manually.

It's not a big deal, just an annoyance I have been without for as long as I can remember (I guess that makes it a really big annoyance)...
 
Actually I had the same damn problem before. Lol. Then again, just live with it eh. Perhaps someday you'd serendipitously find that it works again...
 
Blizzard definitely did not add the double-click feature by default, probably because they couldn't decide whether a double click should open the map in the map editor or in warcraft 3 to play it. And a separate entry in the context menu for both options would have been overkill i assume.
As you know, the world editor opens maps directly in warcraft 3. It does so by calling wc3.exe with -loadfile parameter. The exact same parameter is also supported by worldedit.exe. If you just rightclick and use "open with", windows just opens worldedit.exe with your filename as a parameter, which is not supported by the world editor. WE then decides to ignore the wrong parameter and just boot up normally.
You probably set windows up to correctly use -loadfile at some point in time and forgot about it. When softonic was swarming your computer with all kinds of shit, it probably bombed your registry keys (god knows how and why), so you will have to do that again.

I don't know the exact registry keys you have to create, but i know a handy command line tool that at least exists on my machine (windows 7 home, 64 bit). It might not be there in your windows, just give it a try.
1: open up a command prompt with admin rights (its somewhere in your start-menu, or just search for "cmd")
2: use assoc to bind filename extensions to a filetype
3: use ftype to bind the filetype you defined to a special way of opening it upon a double-click.

Something like this:
Code:
assoc .w3x=WC3MAP
assoc .w3m=WC3MAP
ftype WC3MAP="C:\Program Files(x86)\Warcraft III\worldedit.exe" -loadfile "%1"

WC3MAP is just some name that might suit to the files. ftype takes a command line to be executed when you doubleclick such a file. In this example, .w3x and .w3m files are defined to be WC3MAPs, and when you doubleclick on a WC3MAP, windows executes the command line ["C:\Program Files(x86)\Warcraft III\worldedit.exe" -loadfile "%1"], where [%1] will be replaced by the full path to the file you doubleclicked on, which will make windows call worldedit with the parameters -loadfile <filename> instead of just <filename> as a parameter.
 
Learned a bit from that, but the steps didn't work :(
so I opened up regedit and changed the command lines for w3m_auto_file and w3x_auto_file from
Code:
"D:\Warcraft\World Editor.exe" "%1"
to
Code:
"D:\Warcraft\World Editor.exe" -loadfile "%1"
It works now :D
 
Imp Midna I always love your posts. But as usual I'm having a hard time understanding it :D

Bu seriously though. I am baffled that such complicated measures are being mentioned. I mean... since the very first time I installed WC3 many years ago I have ALWAYS been able just to click on the maps. There has never, ever, been any reasons to change anything in regedit.

I do not understand why this seems to be so complicated when it used to be so simple...
 
Maybe they removed the feature with an update? I've never had that feature in my game. And that changing this requires you to edit a registry key is kinda obvious, as it is the only place where you can change variables of windows itself.
Actually, the solution is so damn easy that im a little bit buffed that you can not find tutorials on the internet. Like, if you broke it down, you could create a single textfile, tell the guys to copy and paste the text into a text file and rename it to something.bat or something.reg (depending on which way you want to go) and just doubleclick it and boof, you have it back.
 
Actually, the solution is so damn easy that im a little bit buffed that you can not find tutorials on the internet.

Alright alright, take off the top hat and the monocle. All I'm saying is that I really didn't think I had to go through all that just to make a damn map open when double clicking it. It can't be an update since my WC3 was fully updated before I reinstalled it the day before yesterday.

I'll try your suggestion, since it looks like KaerfNomekop got it to work. It just seem like an unnecessary detour.

Thanks anyway.
 
*takes off his monocle*
*hesitates, but likes his hat too much to just take it off*

Well, i am aware of what you wanted so say. What i actually intended to do was motivating some random person
*slowly turns to mudkip
*gaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaze
*slowly turns pack
some random person to fill the hole and write that tutorial that seemingly can not be found out there on the internet. I'm sorry if it looked like i had any other intentions. As for that...
...
gaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaze
 
This thread has turn out to be quite weird...

*gazes into the horizon with emptiness in my eyes, wondering where my life went wrong*
 
O_O

(what the hell's going on out here)

Seriously though, i remember opening maps that way too a couple of years back, but then it didn't work anymore all of a sudden. I just assumed it happened somewhere around the 1.25 patch, and that was the reason for it, so i never looked into it...
 
I just assumed it happened somewhere around the 1.25 patch, and that was the reason for it, so i never looked into it...

Maybe Solu9 was using an older version that still supported this? Then the Softonic thing made the program realise it was out of date and update itself.
 
Nope. Solu9 used an up to date version of Warcraft 3.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    I don't think he ever figured out how to do the calamari in a pan though, like idk how to do that either. He was afraid of the at home deep fryers though and it's like yeah, that's fair, I am too
  • Varine Varine:
    He was just such a sweet old man, we had two servers pregnant and they held a baby shower together, he was soooooo fucking excited to get to see a baby. Unfortunately he died a month or so before they were born
  • The Helper The Helper:
    So I decided to Google some people that I had not seen or heard from in a while and sure enough one of my old best friends, we had a falling out years ago but whatever, find out he died of Pancreatic Cancer in January. I have also lost a few of my closer acquaintances from growing up the last year. Getting old - people die - I kinda thought it was going to be this way a few years ago....
    +2
  • The Helper The Helper:
    Forum running super slow again
  • Ghan Ghan:
    Not really clear from the stats as to what is causing the slowness.
  • Ghan Ghan:
    We get a lot of guest traffic so it may just be the load is getting too high and not from any particular source.
  • Ghan Ghan:
    Looks like the server is maxed out on CPU.
  • Ghan Ghan:
    Oh it looks like a lot of the traffic is Silkroad Forums. That domain isn't protected by Cloudflare.
  • Ghan Ghan:
    But the old Silkroad site is still on its own server. I just had a test site set up on this server for it.
  • Ghan Ghan:
    I just disabled that test site. Let's see if that helps the load.
  • Ghan Ghan:
    Looks much better already.
  • The Helper The Helper:
    I had actually forgot about the Silkroad site. I had asked
  • The Helper The Helper:
    SD Ryoko about it and he said the couple of people left on there really like it, that was a few years ago, maybe I should check back
  • jonas jonas:
    I guess when you're getting old, and the last day of soup season draws near, you start wondering
  • jonas jonas:
    will I make it to the start of the next season? or was this the last time I'll ever have my favorite dish?
  • The Helper The Helper:
    I am doing my first Vibe Coding project. In installed the environment and tools according to instructions but it is all chat doing this for me at my direction. It is fun really and holy shit I might finish in 2 hours what it would have taken a day to in my Access and this would be an electron app complete new
  • Ghan Ghan:
    Good stuff.
  • Ghan Ghan:
    Just make sure it is secure. :)
    +1
  • The Helper The Helper:
    It will only be on internal network
  • jonas jonas:
    Man the AI is good about gaslighting about security though. I've had several times where I pointed out security problems and it tried to convince me that with a tiny tweak it suddenly becomes secure
  • jonas jonas:
    Like using a distrobox as a "secure" container, and when I point out that's not secure at all, it claimed that specifying home will make it secure
  • The Helper The Helper:
    Yeah I finished the app today and it is bad ass. Like ChatGPT codes way better and faster than me that is for sure. The app is unsecure AF though and I would never put it anywhere it was obvious. I did not even show it today, the boss never made it in, but I showed the office and they liked it and frankly, I do software for a living and I am qualified to judge this kind of stuff and... Holy Shit this is a game changer. It took me around 4 hours to finish the app from design to end and that is much faster than I could have done it in the outdated MS Access the thing it replaced was in. Good Stuff! Had tons of fun doing it too! Work has not been fun in a while - today was fun!
    +1
  • The Helper The Helper:
    And really, I did not do it, chat wrote all the code I just pasted it in, tested it, acted like Chats eyes on it and just learned. I learned VS Code, how to use the Terminal and a bunch of Powershell and Command stuff, I used Git for the first time and learned how to save, search, start my server, stop it, run the tests, do some debugging - all the freaking fun stuff - chat wrote all the code
    +1
  • The Helper The Helper:
    I think the key was the 40 minutes of that 4 hours that went into the design of it. The thing was fully specced out before we started and the only reason it took so long was I had never done any of it and had to get used to the navigation and workflow.
    +1
  • The Helper The Helper:
    React, JS and AG Grid are the tools that I know i used along with git. I learned alot but it will be a minute before I fully understand everything I am doing in these environments because I am really just following instructions.
    +1

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials
      Top