Valhalla Legends Forums Archive | Battle.net Bot Development | Experimental Support of BLP1 files in MBNCSUtil

AuthorMessageTime
Myndfyr
I've added experimental support for BLP1 files into MBNCSUtil.  The support is not code-complete and so I'm not yet making an official release.  However, you can check the files out of Subversion; details are here.  I haven't yet tested Jpeg compression - I just kind of implemented what the spec said - I haven't yet had a chance to track down a Jpeg-compressed version.

Here's a file from the downloads Ringo posted loaded into my test app:

[img]http://www.jinxbot.net/pub/war3blp1.png[/img]

Usage samples can be found in my test app, which is located under /branches/Blp1Test.

Note that repository code has the same version as the existing release, 2.0.5.18, and so certain dependencies may break if this is used next to production code.

Also corrected: an issue with the MpqFileStream class, in that it reported that it did not support seeking, but in fact did.
February 18, 2008, 11:54 PM
Myndfyr
I corrected the issues with JPG loading.  I also added a couple utility methods to the MpqArchive class.  However, I won't be making a final release until I've ported some BLP2 loading code.  It will also likely be refactored.

[img]http://www.jinxbot.net/pub/war3blpjpg.png[/img]
February 19, 2008, 4:25 AM

Search