Closed GoogleCodeExporter closed 9 years ago
This appears to be happening because the file is encrypted but not compressed.
The
method of working out the encryption key I am using (based on stormlib) only
works if
the file is compressed.
Ladik's MPQ Editor shows the key as unknown in its Name Breaker screen, but is
still
able to decrypt it. I wish I knew how.
I will keep looking into it.
Original comment by fool...@gmail.com
on 6 Aug 2007 at 9:02
I have found a fix. It involves guessing the first 8 bytes of the file based
on its
extension.
I have made a lot of changes to the code in the process so it will take me a
while to
merge it with the current version in svn.
I also found the same issue with "staredit\wav\combeep0.wav" in Starcraft's
"maps\campaign\(1)Enslavers01.scm" so I've used that as a double-check for the
new code.
Original comment by fool...@gmail.com
on 17 Aug 2007 at 12:26
Glad to hear that. And that's what mpqeditor does?
Original comment by deerc...@gmail.com
on 17 Aug 2007 at 1:08
I don't know how mpqeditor does it. This method is my own invention.
This should now be fixed (svn revision 9).
Original comment by fool...@gmail.com
on 19 Aug 2007 at 6:24
Yes, it's fixed.
Thanks again!
Original comment by deerc...@gmail.com
on 19 Aug 2007 at 10:33
:)
Closing this issue.
Original comment by fool...@gmail.com
on 19 Aug 2007 at 10:55
Original issue reported on code.google.com by
deerc...@gmail.com
on 6 Aug 2007 at 5:30Attachments: