Given that the aff format supports different compression methods: * zlib/deflate (AF_PAGE_COMP_ALG_ZLIB) * bzip or bzip2 (AF_PAGE_COMP_ALG_BZIP), which does not appear to be implemented? * lzma (AF_PAGE_COMP_ALG_LZMA) Please add a small section to README which of these are/are not supported by the library.
Activity
joachimmetz commentedon Oct 24, 2026
Maybe change the comment in
AFFLIBv3/include/afflib/afflib.h
Line 455 in f35df6c
To something in line of: originally reserved for bzip2 compression but never implemented.
[-]README - consider adding supported page compression[/-][+]README - consider adding supported page compression overview[/+]sshock commentedon Oct 25, 2026
Sounds good. Feel free to provide a PR if you can.
joachimmetz commentedon Oct 26, 2026
Works for me I'll combine the other issues into 1 PR.
joachimmetz commentedon Oct 26, 2026
@sshock also do you know if lzma is LZMA1, LZMA2 or both?
joachimmetz commentedon Oct 26, 2026
Changes in #65 PTAL
sshock commentedon Oct 27, 2026
Pretty sure it's just LZMA1.
joachimmetz commentedon Oct 28, 2026
Great, that matches my observations from AFF test files (in the sense that I've only seen LZMA1). I've updated that in the README as well.