Skip to content

LHA

SprinterVersion: 0.1.19

LHA.EXE is a console archiver for the Sprinter running Estex DSS. It creates standard LHA/LZH archives compatible with LHa, lhasa, 7-Zip, and the Sprinter UNLHA.EXE utility.

Features

  • -lh5- compression (LZSS with an 8 KB window and static Huffman coding), -lh1- (LZHUF), and uncompressed -lh0- storage;
  • individual files, * and ? masks, and complete directory trees as input;
  • relative paths and empty-directory preservation;
  • appending to existing archives with name-conflict handling;
  • archive content listing;
  • CRC-16 and header checksum for every record;
  • hot encoder code running from the Sprinter’s fast SRAM cache.

Usage

lha a[opts] archive[.lha] item ...
lha l archive

Add-mode options include 5, 1, and 0 for compression selection, r for recursion, x for relative paths without recursion, and q for quiet mode.

Author: Dmitry Mikhalchenkov, Sprinter Team. MIT licensed.