main
61.2d refuses -to ext when the target directory does not exist yet (66.1 creates it). extract_segment now makedirs ext/ first, so both versions unpack. Verified byte-identical round-trip with 61.2d and 66.1; make test passes.
lzpaq
zpaqfranz archives with an lzply FEC parity trailer.
The zpaqfranz archive bytes are never modified: lzpaq appends a parity
trailer after the archive end. Stock zpaqfranz can still list and extract
the archive; lzpaq check verifies the trailer and lzpaq repair
recovers damaged archive bytes from the parity (repair is TODO in the
v0.1 skeleton).
See DESIGN.md for the trailer layout, the append verdict, and the limitations (including encrypted archives).
Build
make -j$(nproc) # needs gcc, liblz (lzip library, -llz), zpaqfranz 66.1
make test # CRC16 known-answer test + CLI smoke tests
Usage
lzpaq add [-r 0-4] archive.zpaq files... # add files (new version)
lzpaq extract archive.zpaq [files...] # extract
lzpaq test archive.zpaq # verify archive + trailer
lzpaq check archive.zpaq # verify trailer + per-block CRC16
lzpaq repair archive.zpaq # repair from parity (TODO)
-r mirrors lzply: 0 = no RS parity, 1 = 8, 2 = 16, 3 = 24, 4 = 32 RS
parity bytes per 255-byte block. Default -r 2.
LZPAQ_ZPAQFRANZ overrides the zpaqfranz binary (default: zpaqfranz).
Sources
FEC modules in src/ are verbatim copies from lzply main — see
SOURCES.md. lzply remains the owner of that code.
Tools
tools/zseg.py— segment-parallel zpaqfranz compression: split input into N segments, compress each on its own core (-m5), one.zsegcontainer out. ~6x on novel data at N=8 for ~11-15% larger output; do NOT use on inputs with large internal repeats (seetools/zseg.mdfor the measured tables and the warning).
Languages
C
94.4%
Python
5.1%
Makefile
0.5%