Problem
If I have a MPQ with compressed wav inside and want to add it to another MPQ, I need to extract then add. But I would have a double lossy compression on the wav.
What am I really trying to do?
Distributing sound/music that needs to be added into my mod mpq.
If I share the wavs, the download triples in size.
If I share the mpq, it needs to be extracted and re-added, that's a lot of process, and the wav loses more quality than needed.
Proposed solution
The command would be something like
mpqcli concat --overwrite <archive write> <archive read> [pattern|file]
Read the index of archive read for the offset of file, or all files if omitted,
Add a new index entry to archive write and append the file at the end of the archive.
Additional context
This one might be a crazy idea.
Maybe the quality loss is not really relevant, or the effort to make this feature is too demanding?
I'm not too sure this feature should be introduced to mpqcli, but I wanted to share and let you judge.
Problem
If I have a MPQ with compressed wav inside and want to add it to another MPQ, I need to extract then add. But I would have a double lossy compression on the wav.
What am I really trying to do?
Distributing sound/music that needs to be added into my mod mpq.
If I share the wavs, the download triples in size.
If I share the mpq, it needs to be extracted and re-added, that's a lot of process, and the wav loses more quality than needed.
Proposed solution
The command would be something like
mpqcli concat --overwrite <archive write> <archive read> [pattern|file]Read the index of
archive readfor the offset offile, or all files if omitted,Add a new index entry to
archive writeand append thefileat the end of the archive.Additional context
This one might be a crazy idea.
Maybe the quality loss is not really relevant, or the effort to make this feature is too demanding?
I'm not too sure this feature should be introduced to mpqcli, but I wanted to share and let you judge.