olha (Open LHA Archiver) is a GPL-2.0-or-later implementation of the LHA
archive format, wire-compatible with Amiga LHA archives.
Written from scratch under GPL-2.0-or-later. No code was copied from any
existing implementation. Algorithm behaviour was derived from published
papers, public format documentation, and the GPL source of LHa for Unix
(lhafu) used as an algorithm reference for -lh2- and -lh3-.
Features:
- Create, add, extract, list, test and delete LHA archives
- Full read/write support for all common compression methods:
-lh0- (store), -lh1-, -lh2-, -lh3-, -lh4-, -lh5-, -lh6-, -lh7-,
-lzs-, -lz5-, -lhd- (directory entries)
- Header levels 0, 1 and 2
- Extension headers: Unix permissions, uid/gid, mtime, Amiga protection bits
- Amiga path quirks: volume prefix stripping, backslash normalisation
- Self-extracting .run generation
This archive contains four per-CPU binaries and a self-extracting stub:
olha_000 68000 / 68010
olha_020 68020
olha_030 68030
olha_040 68040 / 68060
sfx_stub Self-extracting stub (68000, loads on all AmigaOS versions)
Usage:
olha {c|a|e|x|l|v|t|d} [-lhN] [-w<dir>] archive [file ...]
c create archive a add/replace members
e extract (flat) x extract with paths
l list v list verbose
t test integrity d delete members
Self-extracting archives:
Place sfx_stub in the same directory as olha, then:
olha s myapp.lha ; produces myapp.run
olha s myapp.lha release.run ; explicit output name
URL: https://codeberg.org/MastaTabs/olha
Requires: AmigaOS 2.0 or later (dos.library 36+)
|