Skip to content

[Feature]: Concatenate archives #183

Description

@MikaMika

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions