Skip to content

[Feature request] Add 7z archive decompression support for .ftl mod archives #17

@heydojo

Description

@heydojo

The compression format of ftl mods is currently zip. If you load an lzma compressed .ftl mod into Slipstream, it does not error out but fails to patch ftl.dat.

Would it be possible for Slipstream to work with lzma compressed ftl mods please?

Evaluating the compression type of a mod and erroring out with a warning message before trying to extract it (if Slipstream does not support the compression format) would be a nice feature too. Say if a new mod maker were to load a rar compressed ftl mod into Slipstream (idk why you would try to do this but whatever.)

7-Zip is pretty much the standard application Windows users install to work with compressed archives.
LZMA compressed 7zip archives (.7z) are a suitable alternative to zip archives and the format is preffered by many users (I remember the bad old days of zip file corruption, lol.)

The LZMA SDK is here and has the required tools to utilise lzma compression within a java application.
One of the main benefits of LZMA is that it offers better compression ratios in comparison to zip archives in many situations. This benefit results in smaller sized archives. Smaller sized archives require less storage space and less bandwidth to download. This change would benefit everyone. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions