yeah but then my project is dependent on LMMS, Qt, and a dozen other libs.

On Fri, Jun 4, 2010 at 6:19 AM, Kevin <> wrote:
This works:

lmms -d inputfile.mmpz > output.mmp


On Fri, Jun 4, 2010 at 08:54, Andy Kelley <> wrote:
My failed attempts:

$ gunzip 1-blank.mmpz
gzip: 1-blank.mmpz: unknown suffix -- ignored

$ zcat 1-blank.mmpz

gzip: 1-blank.mmpz: not in gzip format

$ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import zlib
>>> zlib.decompress(open('1-blank.mmpz', 'rb').read())
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
zlib.error: Error -3 while decompressing data: unknown compression method

It looks like the file is compressed with qCompress() and qDecompress() with the default compression setting, which means that the above should work!

Andy Kelley

ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
LMMS-devel mailing list

Andy Kelley