Apparently this is a bug in windows 7 and windows vista so far that I know of.
windows XP doesn't have this issue.
Also: I found the registry key to alter, when I get home I'll give the full path to check if it works.
EDIT: okay so I did a lot of tests and it all seems to fail
First off, the registry key is under: Computer/HKEY_CLASSES_ROOT/Applications/NewGen WE.exe/shell/open/command
There should be a key that shows the path to your NewGen WE with at the end "%1".
Now for the regular world editor I couldn't find any keys.
This is what troubles me, since when NewGen is opened, the process turns into worldedit121.exe
So I thought I'd add the key myself (apparently this didn't seem to work).
I'm also having trouble associating the file type with my normal world editor since it seems that it gets overridden by JNGP... (same problem as TKF, I guess that is inevitable)
Then I started looking inside wehack.lua inside my JNGP folder. It seems to set some registry keys like this:
Code:
if disable then
grim.setregstring("HKEY_CLASSES_ROOT\\WorldEdit."..filetype.."\\shell\\open\\command\\","","\""..warpath.."\\World Editor.exe\" -loadfile \"%L\"")
else
grim.setregstring("HKEY_CLASSES_ROOT\\WorldEdit."..filetype.."\\shell\\open\\command\\","",wepath.." -loadfile \"%L\"")
end
I tried changing the %L to %1 but it didn't seem to make any change either
Then I thought: let's see what is over at that registry key: nothing! There was no registry key at all??
So I'm thinking it has got to do something with the registry values being placed under a different key (just searched through the entire registry for the word WorldEdit, doesn't seem to be there except for standard WE options).
This or wehack.lua points to keys that only seem to exist in windows XP. (I think this might be the problem really...)
(and if so this could mean that it's also the reason for the regular world editor not to work since JNGP simply points to that key).
If someone could check with a windows XP machine if there is anything under HKEY_CLASSES_ROOT\WorldEdit I'd really appreciate it.
A screenshot could really help. Preferrably one that shows what is inside HKEY_CLASSES_ROOT\WorldEdit\shell\open\command
If there is something in there I'm going to create a registry file that fixes this issue by simply double clicking it.