Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Korean MPQ corruption method #105

Closed
ghost opened this issue Aug 5, 2017 · 7 comments
Closed

New Korean MPQ corruption method #105

ghost opened this issue Aug 5, 2017 · 7 comments

Comments

@ghost
Copy link

ghost commented Aug 5, 2017

Hello, it's me again and yes it's again wc3 related. I hope that you will spare some of your patience and look at it. So here is what happens:
mpqeditornotopening
As per usual, due to the corruption / offset change MPQ Editor cannot open the file, which is understandable, I believe they did a MPQ shambling (speculating).
edenrpgw3xscrn1
Here is the header, as you can see it is very different from usual W3X, as it does not have any indication of MPQ at offset 200, yet, if we move by a lot down we find this:
edenrpgw3xscrn2
On offset 01C98A50 is MPQ (4D 50 51), which is supposed to be at offest 200. I tried moving hex data around, but to no avail.

Here is the map.

Eden RPG

The version I used is:
mpqeditorversion

@ghost
Copy link
Author

ghost commented Aug 6, 2017

While searching for more hex data, I was able to make the MPQ at least openable, but with only 850 available files, but what I found in the hex data itself is this.
morehexscreen
I guess they use multiple headers or possibly a mpq inside of mpq, unsure why, but that is what I got, hopefully you fill find a way to fix this.

@ladislav-zezula
Copy link
Owner

ladislav-zezula commented Aug 7, 2017 via email

@ghost
Copy link
Author

ghost commented Aug 7, 2017

Very, very awesome. Thanks as usual, I cannot thank you enough. Will wait for new MPQ Editor to release.

@ladislav-zezula
Copy link
Owner

You can have a preview here: http://www.zezula.net/download/MPQEditor_test_en32.zip
Note that there are still issues with the file names that I need to solve.

There's a new feature for all them W3 map breakers: The Deep File Verification. As the protected map you sent me contains many fake files in the hash table (which don't actually exist in the MPQ), MPQ Editor can be opted-in for verifying every file in the MPQ by trying to read a few bytes from the file. This will indeed slow loading the MPQ, but will make sure that all files visible in the MPQ editor will really be there.

@ghost
Copy link
Author

ghost commented Aug 7, 2017

Well, now I feel bad, as I made you do a bit an overkill, but yes, it was creating tons of fakes files that were just filled with 00s, and each was 1-4 GB. Can't say how much I appreciate your work and dedication, thanks again, will surely test it as soon as I can!

Thank you once again,
Sandro.

@null15
Copy link

null15 commented Aug 7, 2017

Thanks for the work, Zezula.

@ladislav-zezula
Copy link
Owner

The new MPQ Editor build is out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants