Open 6AKU opened 2 years ago
Need tag "enhancement"
SDFZ = spring demo file zipped so already done, you can decompress them if you want to look at the contents of the demo
Already done and LZMA2 giving more compression rate.
Please unzip the replay and then re-archive it with 7z (make two experiments with normal and maximum compression ratios), then compare with sdfz size. I'm curious how the compression will perform on a single file.
Results:
Profiles:
I checked and the only hurdle seems to be the need to deal with insane LZMA API, the rest is pretty extensible. That's ~ a day worth of efforts, so unfortunately can't be put together quickly.
What exactly was done to obtain the results above? Individual replays aren't 2-3 GB in size. If you unpack a lot of individual replays and then compress the whole folder into a single archive (maybe even if you compress a whole folder of already-individually-compressed replays too?) you'll naturally get better results because that enables the compression of things across replays (for example the startscript section is fairly unique data in a given replay but it tends to look similar in multiple replays).
LZMA2 already being used for maps, so i suggest use it for replays too.