News:

Holy shit, it's 2018 2019 2020 2021 2022 2023 2024, and the US isn't a fascist country! What a time to be alive.

Main Menu

[Java] MPQ utils

Started by Camel, May 14, 2009, 04:23:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Camel

In my free time I've been toying with MPQ files, working towards a stormless file extractor. I've put my work here:
http://bnubot.googlecode.com/svn/trunk/BNUBot/src/net/bnubot/util/mpq/

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

MyndFyre

Nice, I've been working on it too!  :)  I haven't committed any of it to my SVN yet, but I'm up to the point where I need to implement pkzip and zlib (at lease explode).  Good times!
Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

Camel

I borrowed explode() from Volker Schönefeld's code so I wouldn't have to port it.

It would appear that zlib inflate is also supported by storm.dll, but I haven't run across an MPQ that uses it. Perhaps that's only in WoW? In any case, if I do run across the problem, java.util.zip.Inflater should be able to do the work.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Camel

Nevermind; I just went to extract a patch file, and discovered some zlib deflated files.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!