ShadowFlare's Realm
http://sfsrealm.hopto.org/cgi-bin/yabb2/YaBB.pl ShadowFlare's Realm Forums >> Program Development >> Can't extract files from WoW-patches! http://sfsrealm.hopto.org/cgi-bin/yabb2/YaBB.pl?num=1132814555 Message started by silkfire on Nov 24th, 2005, 7:42am |
Title: Can't extract files from WoW-patches! Post by silkfire on Nov 24th, 2005, 7:42am This is a great utility, really. I had 2 problems with it, one has been solved (the overflow error) one has not. I'd like WinMPQ to correctly extract files from the patches (*.exe). If you extract a text file, for example, it turns out emty. Other files become useless. Any one knows the compression technique in a patch? You can view all the files fine, and extract as well, but it extracts them incorrectly. |
Title: Re: Can't extract files from WoW-patches! Post by ShadowFlare on Dec 3rd, 2005, 8:17pm The new compression method is called BZip2, I think. BTW, you could try putting WoW's storm.dll in the same folder as WinMPQ. SFMPQ is programmed such that it will load storm.dll for the decompression if it encounters an unrecognized compression method. In the past when Warcraft III came out, before I added the new compression method it used, I had it find where Warcraft III was installed and use storm.dll from there. After I got the new compression method from it implemented (which turned out to be zlib), I commented out that section of code, so right now it only looks in its own folder for storm.dll when it needs it. For now I could uncomment that section of code and modify it to search for WoW. I'll need to know of a place in the registry that specifies where WoW is installed and if storm.dll is in a subfolder, which one. This is because I don't have WoW and I may never have it, since I don't want to pay the monthly fee. Of course, this isn't the only thing that needs to be done. WoW has a new way that it can store compressed files such that the file isn't divided into blocks, but rather compressed all at once. I also need to implement that in SFMPQ. |
Title: Re: Can't extract files from WoW-patches! Post by silkfire on Dec 5th, 2005, 9:43am ok, thanx for the answer :) well, guess you don't have WoW, cause you wouldn't speak about the storm library then. The thing is, all MPQ-specific code (extraction etc.) is now stored internally in the gamefile WoW.exe so Blizzard ha hid all the code there, unfotunately... |
Title: Re: Can't extract files from WoW-patches! Post by Kodo on Dec 6th, 2005, 7:48pm There's no storm.dll in WoW. At all :-/ List of dll's loaded when WoW is running... Quote:
|
Title: Re: Can't extract files from WoW-patches! Post by ShadowFlare on Dec 7th, 2005, 2:29am Are there any small WoW mpq archives that you could send to me that contain files that SFMPQ can't decompress properly? If so, it would help a lot with getting it implemented, since I would have something with which to test extraction of those files. You can e-mail it to me if you want. Just send me an e-mail telling me you are sending an attachment right before you send the one with the attachment. |
Title: Re: Can't extract files from WoW-patches! Post by silkfire on Dec 7th, 2005, 1:00pm Sure, except the patches are usually around 100 MB. I have a smaller patch that is around 25 MB, but I believe it's too big to attach in a mail. So when I come home, I'll upload the patch and send you a link to it, so you can use it for testing purposes. Thanx! PS. Should I write to your Hotmail? //silkfire |
ShadowFlare's Realm » Powered by YaBB 2.2.1! YaBB © 2000-2008. All Rights Reserved. |