Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support a "solid" archive format #317

Open
lapo-luchini opened this issue Mar 7, 2024 · 3 comments
Open

Support a "solid" archive format #317

lapo-luchini opened this issue Mar 7, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@lapo-luchini
Copy link

What's your idea?

Some games have got very similar save files, e.g. Terraria keeps a single previous version as .bak (which maybe we could just skip since it is redundant with Ludusavi options for keeping multiple backups, but that's another issue), but using ZIP file format have the files occupy the whole space each time:
image
Using any "solid" compression format, such as .7z or even .tar.xz this would reduce the used space by almost 50%.

@lapo-luchini lapo-luchini added the enhancement New feature or request label Mar 7, 2024
@sluedecke
Copy link
Contributor

I wonder, isn't your backup zipped alrady - the filename suggests so?

Mine are:

image

@lapo-luchini
Copy link
Author

Well yes, that's why 7-zip GUI is showing file size 7 MiB and packed size of 2.2 MiB. 😇
But if the file was solid, the total size would be 2.2 MiB, not 4.4 MiB (as the two files are very similar and thus the second one would re-use most of the compressed chunks in the first).

@GlobalCBWK
Copy link

True, supporting .7z format could significantly reduce storage requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants