Page 1 of 1

Command Line LMMS: "compress" option?

Posted: Fri Nov 17, 2023 5:17 pm
by exparagon
This is about LMMS on the command line, not LMMS in the GUI. This is in no way related to any compressor effect plugins in LMMS.

This is a bit of a strange issue with LMMS on the command line. LMMS offers a compress option which isn't exactly well-described in the help text. It's assumed it has something to do with converting an .XML file into a working .mmpz file. Is this assumption correct?

For context, the dump option converts a compressed .mmpz file into a human-readable and editable .XML file. Trying to use compress even after making no edits and just giving the .XML file right back, as-is, causes the file to become unreadable by LMMS. The compress option still seems to give the same file size as what the properly compressed file should be; it just doesn't load, though.

An .XML file can have its extension changed to .mmpz manually, and LMMS will open it without issue. This causes a bloated file size, making even a single project file take up to 10x more space than it does when compressed.

This is seen on version 1.3.0-alpha.1.102

TLDR; How do you compress a dumped .XML without the LMMS GUI?

Re: Command Line LMMS: "compress" option?

Posted: Fri Nov 17, 2023 11:44 pm
by musikbear
exparagon wrote:
Fri Nov 17, 2023 5:17 pm
TLDR; How do you compress a dumped .XML without the LMMS GUI?
in CLI type

Code: Select all

<path> lmms.exe file.mmp -d  > file.mmpz
<enter>
MMPZ is zLib compression, so apps for zLib should also be useable