Page 2 of 5

Re: [Guide]how to unhex MPQ Somj2hM16

Posted: February 11th, 2014, 7:20 pm
by Apple
yeah. Pictoria explanation works best, but is the guide in pictures? I need a map which has that protection to learn...

Re: [Guide]how to unhex MPQ Somj2hM16

Posted: February 12th, 2014, 3:30 am
by JustANewbie
the .rar contains a map which the MPQ is corrupted and a map which the MPQ is fixed

Re: [Guide]how to unhex MPQ Somj2hM16

Posted: February 14th, 2014, 4:09 pm
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?

Re: [Guide]how to unhex MPQ Somj2hM16

Posted: February 14th, 2014, 4:16 pm
by arieschan

Re: [Guide]how to unhex MPQ Somj2hM16

Posted: September 7th, 2014, 11:52 am
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

Re: [Guide]how to unhex MPQ Somj2hM16

Posted: September 27th, 2014, 12:36 pm
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

Re: [Guide]how to unhex MPQ Somj2hM16

Posted: October 21st, 2014, 8:52 pm
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

Re: [Guide]how to unhex MPQ Somj2hM16

Posted: October 31st, 2014, 12:56 am
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

Re: [Guide]how to unhex MPQ Somj2hM16

Posted: November 5th, 2014, 3:41 pm
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.

Re: [Guide]how to unhex MPQ Somj2hM16

Posted: February 3rd, 2015, 9:12 am
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.