[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 »

Thanks Ladik it helps a lot. Can we still edit the .j file after force opening?
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
NumberXIII
Forum Spammer
Posts: 943
Joined: March 30th, 2013, 11:05 am
Title: Gamma Ray
Location: Earth

Re: [Guide]how to unhex MPQ Somj2hM16

Post by NumberXIII »

Apple wrote:Thanks Ladik it helps a lot. Can we still edit the .j file after force opening?
No Need for force opening, you can edit without it :)
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 »

any idea what MPQ corruption is this http://forum.wc3edit.net/map-requests-f ... 30627.html
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
NumberXIII
Forum Spammer
Posts: 943
Joined: March 30th, 2013, 11:05 am
Title: Gamma Ray
Location: Earth

Re: [Guide]how to unhex MPQ Somj2hM16

Post by NumberXIII »

Yeah its MPQ.Somj2hM16
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 »

But Ladik's mpq editor can only force open it, can't edit :/
trying to unhex now

file size = 6F2E20
00 02 00 00 = 200 Hash size
98 01 00 00 = 198 Block size

(Hash + Block Size) * 10 = Block & Hash Size
(200+198=398)*10 = 3980

Map Hash size = Initial Map Size - (Block & Hash Size)

6F2E20- 3980=6EF4A0
Map Block size = Map Hash size + (Hash size *10)

6EF4A0 + 2000 = 6F14A0


what did i do wrong?
You do not have the required permissions to view the files attached to this post.
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 »

Apple, 1 big mistake u did is that we insert the data with opposite direction, for example, map size = 6F2E20, then we input the data with this orientation, 20 2E 6F
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 »

JustANewbie wrote:Apple, 1 big mistake u did is that we insert the data with opposite direction, for example, map size = 6F2E20, then we input the data with this orientation, 20 2E 6F
Thanks! Now that I've corrected that..
I'm stuck here
28. Go back to hex editor and correct the map size then recalculate map hash size and map block size

I don't know what to correct
You do not have the required permissions to view the files attached to this post.
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 »

not need correct u can open map well when u complete 25.
or use vexorian(5.0wc3mapoptimizer) rebuild it :lol: when complete 22.
Do you want to get Code map Darkness reborn
Doraemon_Hieu
Newcomer
Posts: 1
Joined: October 7th, 2017, 3:39 am

Re: [Guide]how to unhex MPQ Somj2hM16

Post by Doraemon_Hieu »

Why? I do not understand
14 72 74
MPQ edit tool
147074
GODS
Newcomer
Posts: 5
Joined: March 9th, 2012, 12:32 am

Re: [Guide]how to unhex MPQ Somj2hM16

Post by GODS »

So I have the same, I don't know what to correct on 28th step.
How to correct optimize the map? After 25 or 22 step