mtkennerly / ludusavi

Backup tool for PC game saves

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support a "solid" archive format

lapo-luchini opened this issue · comments

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%.

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

Mine are:

image

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).