emmanuel-marty / salvador

A free, open-source compressor for the ZX0 format
Other
69 stars 10 forks source link

Delta #4

Open DeadlyKom opened 11 months ago

DeadlyKom commented 11 months ago

Hello Here in the documentation they write that you can unzip with partial data overlap. Is it possible to display similar information in your packer, thanks in advance.

howprice commented 10 months ago

Hi. I would really like to switch over to salvador from zx0.exe, but my application requires decompress-in-place so I really need that delta. I've tried the -v and -stats options, and searched the codebase but I can't see anything obvious. Is this possible to do?

alpine9000 commented 3 months ago

You can calculate delta based on the "safe distance" reported in stats. Delta would be (safe_distance + compressed_size) - original_size - or check out my fork which adds delta to the stats output.