[Help] Deprotection Editing

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

bryv
Newcomer
Posts: 6
Joined: April 26th, 2009, 11:55 pm

[Help] Deprotection Editing

Post by bryv »

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.
User avatar
Ken
Spice Pirate
Posts: 862
Joined: January 29th, 2009, 5:35 pm
Title: LHC
Location: Canada

Re: [Help] Deprotection Editing

Post by Ken »

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.
Spoiler:
xkiska wrote:BARTIMEAUS is more understandable then u
Senethior459 wrote:Wow, Dream Theatre reminds me of Dragonforce, but with real skill.
Ozzapoo wrote:We laughed, we cried. Trashed.
FatherSpace: You don't find smart chicks hawt?
GeorgeMots: not anymore, im fed up with that kind of girls
FatherSpace: lol
FatherSpace: What happened?
GeorgeMots: most smart girls find out that i date/do/see other girls....
FatherSpace: ...
FatherSpace: So monogamy is your enemy?
Bartimaeus: Hmm, well, I hope my sister hasn't been kidnapped.
FatherSpace: What happened, Bart?
Bartimaeus: She walked out of the house saying that she was going over to some friends, and it's been like two hours, and my mom is trying to get a hold of her, which she's been unable to.
Bartimaeus: I can also hear three car alarms going off.
GeorgeMots: how old is she?
Bartimaeus: I haven't a clue. Probably 17.
UndeadxAssassin: wut
AbusivePie: You don't know how old your sister is?
Bartimaeus: Nope.
UndeadxAssassin: Epic fail
GeorgeMots: is she cute??
Bartimaeus: So, uh, how about you get into the Christmas spirit and put that avatar on before I do it myself and take away your bloody avatar-changin' rights?
UndeadxAssassin: If I thought of a random one...
UndeadxAssassin: Like....
UndeadxAssassin: I'll get back to you on that
User avatar
dDemoneEvil
Old Wrinkly Member
Posts: 200
Joined: September 15th, 2009, 7:20 am

Re: [Help] Deprotection Editing

Post by dDemoneEvil »

Image
Spoiler for The result if you double posted!:
Image