Page 1 of 1
parsing mmpz data?
Posted: Tue Mar 07, 2017 3:21 am
by patchelor
Hello,
Just wondering... how hard is it to extract/read the contents of a LMMS mmpz project file?
Is there any references anywhere for the file format?
Thanks,
-P
Re: parsing mmpz data?
Posted: Tue Mar 07, 2017 10:13 am
by zonkmachine
It's qcompress: outfile.write( qCompress( xml.toUtf8() ) );
To get an mmp from mmpz as a user you go:
lmms --dump myproject.mmpz > myproject.mmp
I think the part, codevise, you're looking for is:
https://github.com/LMMS/lmms/blob/c1321 ... #L292:L297
Re: parsing mmpz data?
Posted: Mon Aug 07, 2017 5:08 pm
by YEM12
Hello.
At once I attempted to rescue my project.mmpz file this way (lmms --dump ... mmp) in Windows 10.
Seems it doesn't work. The file was created but only with header, there was no content within (length of file was 2 bytes).
lmms --upgrade...mmp doesn't work too (the message "you have no rights to read this file..." shows).
I rescued my file by more simply way (it was posted here already), but it is interesting, why one cannot simply unpack mmpz archive in Windows?
Re: parsing mmpz data?
Posted: Mon Aug 07, 2017 7:52 pm
by musikbear
YEM12 wrote: ↑Mon Aug 07, 2017 5:08 pm
length of file was 2 bytes
That indicate that no date is saved. 2 bytes is exactly the value for those files.
I have tried to rescue projects for several users, and 2 bytes mean
'no data saved'