[Guide]how to unhex MPQ Somj2hM16

Cheatpacks and learning how to use them, as well as other guides for manipulating maps.

Moderator: Cheaters

Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: [Guide]how to unhex MPQ Somj2hM16

Post by Apple »

yeah. Pictoria explanation works best, but is the guide in pictures? I need a map which has that protection to learn...
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
JustANewbie
Forum Spammer
Posts: 510
Joined: August 18th, 2012, 2:32 am

Re: [Guide]how to unhex MPQ Somj2hM16

Post by JustANewbie »

the .rar contains a map which the MPQ is corrupted and a map which the MPQ is fixed
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: [Guide]how to unhex MPQ Somj2hM16

Post by Apple »

sounds good enough to test. but hey i couldn't find the offset in numbers with this tool XVI32.. what do i do?
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
User avatar
arieschan
Senior Member
Posts: 161
Joined: March 30th, 2013, 12:16 pm
Title: Umaru-chan

Re: [Guide]how to unhex MPQ Somj2hM16

Post by arieschan »

Do you want to get Code map Darkness reborn
q444412
Newcomer
Posts: 1
Joined: September 7th, 2014, 10:50 am

Re: [Guide]how to unhex MPQ Somj2hM16

Post by q444412 »

hi
I'm from south korea.

I am not good at writing English, so please understand my writing.

I saw your 'How to unhex MPQ Somj2hM16' but I couldn't understand one thing ...

That is "25. We have 80 and 5C(Block & Hash size), sum it up and multiply it by 10: (80+5C) * 10 = DC0"

To tell the truth, I never learned about 'HEX'...

80 and 5C(Block & Hash size),(80+5C) * 10 = DC0 <<<- What does it mean???.....

I like to unhex F.O.C, KOREAN GAME, Fight Of Characters.

I have completed 1~24.. but I'm all blocked before 25!!

please help me .. If you help me, I'd appreciate you..
thank you
User avatar
whitegun
Old Wrinkly Member
Posts: 219
Joined: April 21st, 2009, 12:30 am
Location: Việt Nam

Re: [Guide]how to unhex MPQ Somj2hM16

Post by whitegun »

q444412 wrote:hi
I'm from south korea.

I am not good at writing English, so please understand my writing.

I saw your 'How to unhex MPQ Somj2hM16' but I couldn't understand one thing ...

That is "25. We have 80 and 5C(Block & Hash size), sum it up and multiply it by 10: (80+5C) * 10 = DC0"

To tell the truth, I never learned about 'HEX'...

80 and 5C(Block & Hash size),(80+5C) * 10 = DC0 <<<- What does it mean???.....

I like to unhex F.O.C, KOREAN GAME, Fight Of Characters.

I have completed 1~24.. but I'm all blocked before 25!!

please help me .. If you help me, I'd appreciate you..
thank you
If i remembered correctly, i have told that you can use the "calculator" to calculating hex number
User avatar
Unryze
Member
Posts: 75
Joined: October 21st, 2013, 4:18 pm

Re: [Guide]how to unhex MPQ Somj2hM16

Post by Unryze »

I tried this method for MBCS, but it won't show up the files...

00 08 00 00 = 800
C2 04 00 00 = 4c2

00 08 00 00
C2 04 00 00

(800+4c2) * 10 = CC20

7E8280 = map size
7E8280 - CC20 = 7DB660 map hash size
7DB660 + 4c20 = 7E0280 map block size

7E8820 = map size
7E8820 - CC20 = 7DBC00 map hash size
7DBC00 + 4c20 = 7E0820 map block size

7E8080 = map size
7E8080 - CC20 = 7DB460
7DB460 + 4c20 = 7E0080

Tried 3 versions... None work.


P.S. Never mind that shit all of those have mistakes, instead of + 4c20, should be +8000. Big thanks for the guide, after 5-6 hours of brainsex, I learnt how to do it!

Thus the correct formula will be V

7E8080 = map size
7E8080 - CC20 = 7DB460
7DB460 + 8000 = 7E3460
You do not have the required permissions to view the files attached to this post.
User avatar
Unryze
Member
Posts: 75
Joined: October 21st, 2013, 4:18 pm

Re: [Guide]how to unhex MPQ Somj2hM16

Post by Unryze »

A small re-made guide by me. So it will be easier for you guys.

(Hash + Block Size) * 10 = Block & Hash Size
Map Hash size = Initial Map Size - (Block & Hash Size)
Map Block size = Map Hash size + (Hash size *10)

Example for my map:

7E8080 = Initial map size

00 08 00 00 C2 04 00 00
V V V V V V V V V V V V
00 08 00 00 = 800 -> hash size
C2 04 00 00 = 4c2 -> Block size

(800 + 4c2) * 10 = (CC2) * 10 = CC20
7E8080 - CC20 = 7DB460
7DB460 + 8000 = 7E3460
th3LatentDuckling
Newcomer
Posts: 3
Joined: October 27th, 2014, 7:53 pm

Re: [Guide]how to unhex MPQ Somj2hM16

Post by th3LatentDuckling »

Tailer007 wrote: 7E8280 = map size
7E8280 - CC20 = 7DB660 map hash size
7DB660 + 4c20 = 7E0280 map block size

7E8820 = map size
7E8820 - CC20 = 7DBC00 map hash size
7DBC00 + 4c20 = 7E0820 map block size

7E8080 = map size
7E8080 - CC20 = 7DB460
7DB460 + 4c20 = 7E0080
I was wondering how you got three different map sizes and decided which one to pick.
I always get a different map size at step 23 from yours when I tried to practice on this map.
Ladik
Newcomer
Posts: 3
Joined: February 3rd, 2015, 6:54 am

Re: [Guide]how to unhex MPQ Somj2hM16

Post by Ladik »

Fixed in MPQ Editor v 3.5.1.770. Download it on my webpage:
http://www.zezula.net/en/mpq/download.html

BTW, the map could be open by previous builds as well. You needed to check the "Force opening the MPQ as v 1.0".
I made change in StormLib so it now detects Warcraft III maps and does not check for MPQ User Data.