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...
 

Solu9

You can change this now in User CP.
Reaction score
216
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.
 

redwings1340

New Member
Reaction score
0
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.
 

Solu9

You can change this now in User CP.
Reaction score
216
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)...
 

vypur85

Hibernate
Reaction score
803
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...
 

Imp Midna

Active Member
Reaction score
52
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.
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
612
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
 

Solu9

You can change this now in User CP.
Reaction score
216
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...
 

Imp Midna

Active Member
Reaction score
52
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.
 

Solu9

You can change this now in User CP.
Reaction score
216
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.
 

Imp Midna

Active Member
Reaction score
52
*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
 

Solu9

You can change this now in User CP.
Reaction score
216
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.A

Quantum physics rules
Reaction score
29
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...
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
612
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.
 

Solu9

You can change this now in User CP.
Reaction score
216
Nope. Solu9 used an up to date version of Warcraft 3.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air
  • The Helper The Helper:
    New dessert added to recipes Southern Pecan Praline Cake https://www.thehelper.net/threads/recipe-southern-pecan-praline-cake.193555/
  • The Helper The Helper:
    Another bot invasion 493 members online most of them bots that do not show up on stats
  • Varine Varine:
    I'm looking at a solid 378 guests, but 3 members. Of which two are me and VSNES. The third is unlisted, which makes me think its a ghost.
    +1
  • The Helper The Helper:
    Some members choose invisibility mode
    +1
  • The Helper The Helper:
    I bitch about Xenforo sometimes but it really is full featured you just have to really know what you are doing to get the most out of it.
  • The Helper The Helper:
    It is just not easy to fix styles and customize but it definitely can be done
  • The Helper The Helper:
    I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
  • Blackveiled Blackveiled:
    People love rep, lol
    +1
  • The Helper The Helper:
    The recipe today is Sloppy Joe Casserole - one of my faves LOL https://www.thehelper.net/threads/sloppy-joe-casserole-with-manwich.193585/
  • The Helper The Helper:
    Decided to put up a healthier type recipe to mix it up - Honey Garlic Shrimp Stir-Fry https://www.thehelper.net/threads/recipe-honey-garlic-shrimp-stir-fry.193595/
  • The Helper The Helper:
    Here is another comfort food favorite - Million Dollar Casserole - https://www.thehelper.net/threads/recipe-million-dollar-casserole.193614/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top