Modcraft - The community dedicated to quality WoW modding!
Projects => Software Development => Topic started by: Themistocles on March 28, 2014, 02:07:49 pm
-
Hey there Modcraft,
I am currently working on a MPQ Editor in Java. I ripped mpqLib from taliis and it works for extracting and digging around in the MPQ's, but when it comes to saving the MPQs, I run into the problem that WoW doesn't load the newly made MPQ. I am thinking it has something to do with the header formats of the MPQs but, unfortunately, I know next to nothing about the MPQ format. I'm looking around the source to try and figure it out, but I figured I might drop a line here as well, see if anyone might point me in a better direction.
What steps could I take as far as figuring out what the issue is?
Am I looking in the right place, that the header data might be wrong?
What resources could I look at for code / MPQ Format comparisons? I am operating on 3.3.5a MPQ structures (if that is event relevant).
Anything short of reinventing the wheel is welcomed, as well as rewriting it in C++/C#. I also tried using Stormlib and JNA but couldn't figure out how to make the interface file in java.
Thanks!
-Edit-
I found an application that uses StormLib so I am going to try again, using the interface file as an example.
-
I'm no programmer, but be sure to take a look at stormlib from zezula.net, which currently supports all variants of MPQ file formats. There's also BananaMPQ, a C# library that might be a bit closer to what you're looking for.
-
Or perhaps stop work and have a look an the new file system. There are still mpq editors that work very well.