| 12-05-2009, 07:25 AM | #1 |
What I mean is to make editor open map when i double click a map file in Windows Explorer. When I do that, the editor actually starts but it doesn't load the map which i double clicked. Kind of little and unimportant problem but I'm curious about it as I can remember it worked the right way some time ago. |
| 12-05-2009, 11:02 AM | #2 |
Making editor open map when i double click a map file in Windows Explorer need a argument.When you chang the program which is used to open zhe map,and then you change it back,you will find the WE would not load the map. You can easiy recover it by install WAR3 again. |
| 12-05-2009, 07:51 PM | #3 |
I don't think so :P First because I don't think I changed the program to open WC3 maps at all. Secondly because this isn't true for other file extensions. Thirdly I reinstalled WC3 yesterday because it's MPQ's were broken... |
| 12-07-2009, 04:30 AM | #4 | |
Quote:
|
| 12-13-2009, 08:00 PM | #5 |
Are you joking? I said that I already reinstalled WC3 for other reason and it didn't help, also I have no idea how could it, it's nonsense.What other program could change what? What are you talking about? At last what can happen if I change program for opening certain extension and the revert it? IMO completely nothing, as a proof try to change program for opening .txt files to something else, then revert it to Notepad. Woah, any problems now opening? Lol. bump Maybe someone knows what causes my problem..? ![]() |
| 12-14-2009, 07:21 AM | #6 |
English is not my mother tongue ,and my OS is not at the language of English.So, it`s hardly for me to explaining the problem.I don`t know what is the name of the program in English. Do you know Regedit ? The value of the key "HKEY_CLASSES_ROOT\.w3x" is "WorldEdit.ScenarioEx" (There is only a value maybe named common or other ) The value of the key "HKEY_CLASSES_ROOT\WorldEdit.ScenarioEx\shell\open\command" is the path of Worldeditor and at last with this words -loadfile "%L" There is a example : F:\Warcraft III 1.24b\WEHelper 1.8.1 汉化修正版\World Editor.exe -loadfile "%L" You can open Regedit with run "regedit" and find the path. And my meaning is that if you chang the program for opening the map ,and then change back ,the value of the key "HKEY_CLASSES_ROOT\.w3x" or "HKEY_CLASSES_ROOT\WorldEdit.ScenarioEx\shell\open\command" would be another value . If you can open the WE,the key of "HKEY_CLASSES_ROOT\WorldEdit.ScenarioEx\shell\open\command" lose -loadfile "%L" |
| 12-15-2009, 11:11 AM | #7 |
just "open as" one time and it will work again. |
| 12-22-2009, 09:17 PM | #8 | |||
Diod, it didn't work ;/ The world editor actually opens, but it doesn't load the map that was double clicked. Quote:
Quote:
Quote:
|
| 12-24-2009, 05:28 AM | #9 |
I`m sorry ,I don`t good at English .I am a chinese. Is there exist "HKEY_CLASSES_ROOT\WorldEdit.ScenarioEx\" ? When you open a file directly,the OS will find a key match the expand name (such as .w3x) in the path "HKEY_CLASSES_ROOT\" . IF it isn`t exist ,you can not open it . So when you open a map ,the OS will find "HKEY_CLASSES_ROOT\.w3x" and the value is "WorldEdit.ScenarioEx" and then the OS find how to open "WorldEdit.ScenarioEx"(IF it is a path to some program ,it would open the map with that program . and if you change it to Ms Word ,you will open map whit Ms Word,and so could not open ) "HKEY_CLASSES_ROOT\WorldEdit.ScenarioEx\" record the infromation of "WorldEdit.ScenarioEx"(the same as .w3x,and i don`t what is the difference) and the ICON of map is also record in it . "\shell\open\command"you can know what is the meaning of the key : using which command to open the map . -loadfile "%L" this is the right command .(I had make a mistake when i write about it ) the command mean that open map with the way "-loadfile", and "%L" is the path and name of the map you open. So , if there is not a value at "HKEY_CLASSES_ROOT\WorldEdit.ScenarioEx\shell\open\command" you would not open map directly. Give the value of the key is not a smart way.You can delete all the key about war3 and reinstall. You say you have reinstalled but also can not open directly . It because the key "HKEY_CLASSES_ROOT\WorldEdit.ScenarioEx\shell\open\command" is exist and the installing program was not giving a new value. |
