Page 1 of 1

Some maps cant open by any Mpq program

Posted: August 26th, 2016, 4:36 am
by quang.billy.79
Some maps are protected by preventing anybody from opening it by mpq programs like this:
A Warcraft 3 map is like a zip file. You have first a 512 bytes big map header with some information. 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. Clever map protectors now change the size from 0x20 00 00 00 to a random number which can look like this (mine) for example: hex 0xG6 RE A2 16. Most MPQ applications now cannot open the MPQ archive anymore because of that wrong size entry. Warcraft 3 seems to ignore false header size entries, so those maps still run in warcraft 3.
So how to open a map like this????

Re: Some maps cant open by any Mpq program

Posted: August 26th, 2016, 4:55 am
by lantistk
upload map and i will try open

Re: Some maps cant open by any Mpq program

Posted: August 26th, 2016, 6:40 am
by Apple
quang.billy.79 wrote:Some maps are protected by preventing anybody from opening it by mpq programs like this:
A Warcraft 3 map is like a zip file. You have first a 512 bytes big map header with some information. 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. Clever map protectors now change the size from 0x20 00 00 00 to a random number which can look like this (mine) for example: hex 0xG6 RE A2 16. Most MPQ applications now cannot open the MPQ archive anymore because of that wrong size entry. Warcraft 3 seems to ignore false header size entries, so those maps still run in warcraft 3.
So how to open a map like this????

He seem like he understand the thing. He want to learn how to open them..There is no point for you to open the mpq for him..
Refer to Deprotection/Cheating section, there is a post teaching how to fix mpq header corruption on the popular spazzler. Or you can try searching for spazzler

Re: Some maps cant open by any Mpq program

Posted: August 26th, 2016, 7:43 am
by quang.billy.79
Tks. I have found a guide topic, but it seemed quite hard
deprotection-cheating-f64/how-to-unhex-mpq-somj2hm16-t28627.html
upload map and i will try open

hey do you have despazzler or mpq moon light?