Map crashes when a modified .w3u file is imported into MPQ

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

worldmapper
Newcomer
Posts: 1
Joined: July 3rd, 2016, 5:03 am

Map crashes when a modified .w3u file is imported into MPQ

Post by worldmapper »

Ok, this is strange because I haven't seen a map protected like this before.

I've used MPQMaster to extract war3map.w3u and imported it into Object Editor on World Editor. No problem so far.

Then I went ahead and changed the max health value of one unit from 200 to 201 in WE. Extracted w3u, imported newly changed w3u into the map.

When I try to load the map in Warcraft 3, the map crashes saying that the file data is corrupted (war3map.w3u).

I went ahead and tested for multiple units and changed only one value slightly, such as sight range from 700->701. Same issue. I'm thinking the map has some sort of special protection that potentially checks byte by byte on the modified w3u (very unlikely) or it has some sort of checksum value that Warcraft 3 checks (more likely).

To make sure that world editor wasn't messing up my modified w3u, I went ahead and did a hex compare of both the original and modified w3u. Needless to say, only a single byte that I've changed was modified.

I've also tried a similar thing for w3a, .j file (added a single space), same issue. I've never seen any maps do this before.

What kind of protection mechanism does this? How can I bypass this?

The map in question is TKOK Eastern 3.3.0f by the way.
flavius13
Member
Posts: 66
Joined: May 31st, 2015, 2:27 pm

Re: Map crashes when a modified .w3u file is imported into M

Post by flavius13 »

Why you dont rebuild arhive first?
User avatar
Xirizo
Senior Member
Posts: 198
Joined: May 24th, 2013, 11:53 am

Re: Map crashes when a modified .w3u file is imported into M

Post by Xirizo »

Last time he logged in was the time he made that thread so this guy is not serious about his question.
Add me on Discord Username: Xirizo#7777 , I love cheating wc3 maps and spreading my influence ;p
User avatar
haxorico
Super Moderator
Posts: 3196
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Been thanked: 1 time

Re: Map crashes when a modified .w3u file is imported into M

Post by haxorico »

make sure you delete the (attributes) file?...
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac: 

Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).

Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?