[Help] Deprotection Editing
Moderator: Cheaters
-
- Newcomer
- Posts: 6
- Joined: April 26th, 2009, 11:55 pm
[Help] Deprotection Editing
I've recently requested for a deprotected map and got my request fulfilled, thanks again! But when I open it in WE it gives me an error, so I've used the search button and came upon a solution(deleting war3map.w3i and replacing it with a blank one). It worked perfectly...I could open/edit the map...but the game title, description, etc.. is gone =\. All I'm trying to do is to make it into a different version, i.e. Pokemon World 7.4 into Pokemon World 7.5. Is there a way to do this without deleting all that other stuff? If anyone can help that'd be great, thanks.
-
- Spice Pirate
- Posts: 862
- Joined: January 29th, 2009, 5:35 pm
- Title: LHC
- Location: Canada
Re: [Help] Deprotection Editing
You can actually do this without even deprotecting the map. All you need is MPQ Master and a hex editor.
Using MPQ Master, extract these files:
1) war3map.w3i
2) war3map.j OR scripts\war3map.j (whichever exists)
3) war3map.wts
Then do:
1) Using hex editor, open the map. On the right side, you should have HM3W, 4 null characters (00h), then the map name. Since you're just changing from 7.4 to 7.5, do that, making sure you don't add in any characters, only overwrite. Then save the map.
2) Open war3map.w3i in the hex editor. Similarly, the map name SHOULD be near the start, unless it's a reference to the string file. If it has the map name, edit it and save. Import this file back into the map.
If it references the string file, read step 4.
3) Open war3map.j in JassCraft. Find "function config", and see what the map name is set to. If it has the name, edit, save, import into map. If not:
4) Open war3map.wts in NotePad, and find the string that was referenced in war3map.j or war3map.w3i. Edit that, save, import file into map.
If you need help or something, lemme know.
Using MPQ Master, extract these files:
1) war3map.w3i
2) war3map.j OR scripts\war3map.j (whichever exists)
3) war3map.wts
Then do:
1) Using hex editor, open the map. On the right side, you should have HM3W, 4 null characters (00h), then the map name. Since you're just changing from 7.4 to 7.5, do that, making sure you don't add in any characters, only overwrite. Then save the map.
2) Open war3map.w3i in the hex editor. Similarly, the map name SHOULD be near the start, unless it's a reference to the string file. If it has the map name, edit it and save. Import this file back into the map.
If it references the string file, read step 4.
3) Open war3map.j in JassCraft. Find "function config", and see what the map name is set to. If it has the name, edit, save, import into map. If not:
4) Open war3map.wts in NotePad, and find the string that was referenced in war3map.j or war3map.w3i. Edit that, save, import file into map.
If you need help or something, lemme know.
Spoiler:
-
- Old Wrinkly Member
- Posts: 200
- Joined: September 15th, 2009, 7:20 am