• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

ExtProtect v0.1.2.0b

  • Like
Reactions: thePeacey
This tool originates from here

There are a lot of different ways of protecting a warcraft 3 map. Here are some:

>> 1: Damaging the MPQ headersize information.
A warcraft3 map is like a zip file. You have first a 512 bytes big map header with some informations. Then you have a MPQ archive attached. The MPQ archive contains all the numerous files needed for a map. The first 4 bytes of the MPQ file are the identifier. It can be read as 'MPQ'. The next four bytes are the header size, which is always hex 0x20 00 00 00. Some map protectors now change the size from 0x20 00 00 00 to a random number which can look like this for example: hex 0xF6 6E BA 76. Most MPQ applications now cannot open the MPQ archive anymore because of that wrong size entry. Warcraft3 seems to ignore false header size entries, so those maps still run in war3.
This protection can be very easily be repaired by just setting the value back to 0x20 00 00 00.

>> 2: Delete the war3map.wgt file inside a map The war3map.wgt contains all the necessairy information about the variables, triggers and groups your map uses. This file is only used by the World-Editor. A missing or altered war3map.wgt file results the World-Editor to fail loading the map.

2b: Deleting the war3map.w3c, war3map.w3s, war3map.w3r, .war3mapunits.doo files
war3map.w3c stores the camera settings for the world editor. war3map.w3s stores the sounds used by a map world editor. war3map.w3r defines the regions used in a map for world editor.
All those files are also only used by the world editor and can be easily regenerated by the war3map.j file. See "Delete the war3map.wgt file inside a map" above.

>> 3: Hiding the war3map.j file
Some clever map protecting people figured out a way to hide the war3map.j file, so you cannot extract it easily with some programs. Regular map files contains the war3map.j file directly in the root directory. The map protector guys figured out that a map still works if the file is moved into a directory called "Scripts\".
This protection can be broken very easily... just.....

>> 4: Scrambling the war3map.j file
Some protecting dudes think they are clever, so they rename all the variables and function names with random numbers. This renders the war3map.j file very hard to read by normal people, but it's useless for parser scripts. Deprotect's parser scripts do not care for keywords.

if you have any question please email me at [email protected]
Contents

ExtProtect v0.1.2.0b (Binary)

Reviews
23:32, 8th Dec 2008 Hakeem: I can't open it in the World Editor afterwards, so I suppose it fulfills its purpose. Has some less desirable effects such as map description disappearance.

Moderator

M

Moderator

23:32, 8th Dec 2008
Hakeem: I can't open it in the World Editor afterwards, so I suppose it fulfills its purpose.

Has some less desirable effects such as map description disappearance.
 
Level 10
Joined
Aug 19, 2008
Messages
491
This tool works properly, but Vex optimizer is much better.

Cheezeman, you can play protected maps.

No, the fact is that I can't play protected maps, and that's why I'm so confuzed... :eekani:
War3.exe, or WarCraft III The Frozen Throne if you will, won't show the map at all.
It won't be detected.
or... I can't see it.

Get it?


EDIT:
You deletes the data that the editor requires but leaves the data that WC3 needs without any touch

I did not understand that...
Here is what I did:
1: I downloaded this map protector
2: I protected the map using this map protector
3: I started war3.exe, or WarCraft III The Forzen Throne if you recall, and I tried to play the map on Battle.net.
The map didn't show up in the list of maps.
I tried to play it on Single Player.
The map didn't show up in the list of maps.

So... is this my fault or is there something wrong?
 
Last edited by a moderator:
Level 9
Joined
Apr 3, 2008
Messages
700
I had a lag like that when i tried to use an old version of Heavy Locker.
All other protectors / versions works properly for me.
What protectors did you try to use? (Except this one)
Do you have the last version of Warcraft 3 TFT?
 
Level 6
Joined
Apr 1, 2009
Messages
220
No, the fact is that I can't play protected maps, and that's why I'm so confuzed... :eekani:
War3.exe, or WarCraft III The Frozen Throne if you will, won't show the map at all.
It won't be detected.
or... I can't see it.

Get it?


EDIT:


I did not understand that...
Here is what I did:
1: I downloaded this map protector
2: I protected the map using this map protector
3: I started war3.exe, or WarCraft III The Forzen Throne if you recall, and I tried to play the map on Battle.net.
The map didn't show up in the list of maps.
I tried to play it on Single Player.
The map didn't show up in the list of maps.

So... is this my fault or is there something wrong?
Is your Warcraft III a shit or not.:xxd:
 
Level 10
Joined
Aug 19, 2008
Messages
491
Ok now some months after my final post here I might aswell explain what I was trying to say. I'm trying to be as clear as possible now, try to reply to what I write and not what you assume I write.

(I'm still having this issue)
So first, I make a map. Then I save the map.
After I've saved it I make a copy out of it.
When it's copied, I use this tool to protect the copy.

Now I open WarCraft III (the game, NOT the world editor).
I search in the folders and I can't find my map in the list.

Yes, I know it isn't openable in the WorldEditor, that is not what I'm trying to do. I'm trying to play my map, not open it.
And that's were everything go wrong, since it refuses to be found.

(Yes I put the map in the Maps folder under Games\WarCraft III )
 
Level 4
Joined
Apr 21, 2006
Messages
126
Hello Cheezeman. I had this problem too, and it is very easy to solve.
You have to shorten up your map file. Warcraft 3 can't find maps with too long file name.

Here's an example:
The Old Knights of Dragonslaying 1.1b protected.w3x <-- This does NOT work.
TOKoD 1.1b protected.w3x <-- This should work just fine.
 
Level 10
Joined
Aug 19, 2008
Messages
491
Hello Cheezeman. I had this problem too, and it is very easy to solve.
You have to shorten up your map file. Warcraft 3 can't find maps with too long file name.

Here's an example:
The Old Knights of Dragonslaying 1.1b protected.w3x <-- This does NOT work.
TOKoD 1.1b protected.w3x <-- This should work just fine.
Hehe, I'll see if that works when I've got something to protect :thumbs_up:
+rep on that anyway, since you made a good job explaining it
 
Level 9
Joined
May 10, 2009
Messages
542
I mean...that is a humiliating example that you put: its plain pathetic.
Cheezeman said:
Why not go rate all YouTube movies 1/5 because they don't have your name in it?
I can't use it, so I have the right to give it a 1/5. Do you have a problem with that? "because they don't have your name in it?" -- I am not an egoist. That is the worst possible example...EVER.
 
Level 9
Joined
Jul 29, 2009
Messages
498
I was wondering...
Are the protected maps supposed to be undetectable by WarCraft III, or is it just some new patch that disables map protecting?

If the first case is true then I wonder why map protecting even exists...

New patch distoryed Any portected map lolz.
see why Corruption of Sargeras closed.
And every portected map had to make new Version
 
Level 16
Joined
May 1, 2008
Messages
1,605
Moin moin =)

Ok for all those "Now no one can open my map - boys and girls" - it's open not even in 2 minutes :hohum:

I don't say this is a bad tool and I don't want hack your maps, but you should pay attention what you write here ^^

But I ask myself, does this tool work AFTER I used the Wc3MapOptimizer)
http://www.wc3c.net/showthread.php?t=79326

If it does, this would be an imba combination if not... yes failed =D

Greetings
~ The Bomb King > Dr. Boom
 
Top