Author Topic: Experimental Support of BLP1 files in MBNCSUtil  (Read 3887 times)

0 Members and 2 Guests are viewing this topic.

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Experimental Support of BLP1 files in MBNCSUtil
« on: February 18, 2008, 06:53:42 pm »
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:



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.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Experimental Support of BLP1 files in MBNCSUtil
« Reply #1 on: February 18, 2008, 07:03:02 pm »
I'm sure I'm not the only one who's thinking.... what's BLP1 mean?

Offline Newby

  • x86
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: Experimental Support of BLP1 files in MBNCSUtil
« Reply #2 on: February 18, 2008, 07:16:25 pm »
Who knows? It's a texture file.

Click.
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Experimental Support of BLP1 files in MBNCSUtil
« Reply #3 on: February 18, 2008, 08:20:29 pm »
I'm sure I'm not the only one who's thinking.... what's BLP1 mean?

BLP1 is the texture/image file used in Warcraft 3.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Experimental Support of BLP1 files in MBNCSUtil
« Reply #4 on: February 18, 2008, 11:25:12 pm »
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.

I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Experimental Support of BLP1 files in MBNCSUtil
« Reply #5 on: February 19, 2008, 10:47:07 am »
Hey, pandas!
I'd personally do as Joe suggests

You might be right about that, Joe.