- Joined
- Jan 30, 2013
- Messages
- 12,758
I doubt this is of much use, but I hope it can be useful for some, as I use this personally to assist me in switching versions (so I can start campaign making again).
(2 ratings)
Well yes, I mean if people know regedit, this is a cakeThis is quite easily doable without the use of a bat file, and doesn't take a long time to do. Maybe you can improve it a bit by for example creating new Warcraft III entries with Dword 32 value "Allow Local Files" set to 1 so people don't have to restart their Warcraft 1.31 (or lower) every time they want to switch between editors.
EDIT: I'm also pretty sure you will have to delete "HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III" when you switch between editors, I see that you don't do that with this bat file.
Hmm just tested and apparently this is unnecessary yeah. I change back and forth quite frequently but have never bothered to test if only deleting the world editor entry works lol.As for the Warcraft III HKCU, it doesn't need to be removed when changing editor versions. So far, from my tests, I have yet to need to deal with that (I always just go delete World Editor keys and that's it). I even test the "test map" button which corresponds to WCIII the most and it seems to function properly, at least from my tests.
Hmm just tested and apparently this is unnecessary yeah. I change back and forth quite frequently but have never bothered to test if only deleting the world editor entry works lol.
Actually since it's not necessary to delete the Warcraft III entry then I guess allow local files 1 is also unnecessary since it never gets deleted.Still, it encourages me to check the other way around. So yeah, I'm glad you raised such points ^^
Wait, wouldn't Allow Local Files be in World Editor keys not Warcraft III keys? Or did I misremember again? :OActually since it's not necessary to delete the Warcraft III entry then I guess allow local files 1 is also unnecessary since it never gets deleted.
I have mine in the Warcraft III entry and it works fine with the editor too.Wait, wouldn't Allow Local Files be in World Editor keys not Warcraft III keys? Or did I misremember again? :O
Well, I guess that settles it thenI have mine in the Warcraft III entry and it works fine with the editor too.
As far as testing goes, no test has caused any corruption with the war3.mpq, but I might be wrong.Technically, for me, the World Editor 1.29 is still functionable despite I have two copies of W3 (1.29 and 1.31).
I really need this tool for using 1.31's World Editor, but I'm still doubt that 1.29's WE is broken upon switching back and forth (Couldn't load War3.mpq).
I will try to add support for preserving this additional information.In WorldEdit there is a 'Trigger Display Colors' subfolder. If you remove every entry from WorldEdit but leave this folder intact then you only need to change your preferences which is ok since there are like 5 checkboxes you need to tick. Trigger Display Colors keeps the information about what color should be attributed to each type of trigger (Unit, Game, Player, Animation etc.) and removing it means needing to change every single color again.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III]
"Allow Local Files"=dword:00000001
[HKEY_CURRENT_USER\Software\Blizzard Entertainment\WorldEdit]
"Tool Windows"=-
I think REG can delete subkeys as needed. I will make adjustments to this new information. As for pre-1.31 cannot be opened after using 1.31, what's up with that?The only key that actually prevents pre-1.32 World editors from starting is "Tool Windows". Zero other keys have to be changed for that.
For the game itself the situation is a bit different: The user data directory has to follow an outdated format only in 1.28 and only in 1.26 would you need to reset some graphics adapter settings.
Allowing local files is a nice addition though.
If "reg" doesn't have a simple way to only delete one key, I'd instead recommend replacing this script with a reg file with this content:
Code:Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III] "Allow Local Files"=dword:00000001 [HKEY_CURRENT_USER\Software\Blizzard Entertainment\WorldEdit] "Tool Windows"=-
Hive does not allow .bat files, so I think that's something beyond my ability.Simple, but useful to point people to when they want to use the older editor. One remark is that the download is double zipped so you have to unpack twice. Would be nice if that was fixed.
Only "Tool Windows" crashes the WE, and I made a .reg file to make that even more painless, posted in this thread above.Are there more keys than "Tool Windows" that lead to a crash? Here's my solution, I didn't know about yours: [Solved] - world editor broken??
Still workable. Good program