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 <octosquidopus@gmail.com> wrote:
This works:

lmms -d inputfile.mmpz > output.mmp

http://lmms.sourceforge.net/wiki/index.php?title=Developer_FAQ

-Octosquidopus


On Fri, Jun 4, 2010 at 08:54, Andy Kelley <superjoe30@gmail.com> 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
http://superjoesoftware.com/

------------------------------------------------------------------------------
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:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
LMMS-devel mailing list
LMMS-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lmms-devel





--
Andy Kelley
http://superjoesoftware.com/