LHA
Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.
LHA/LZH Archive Preview.
At a glance
| Purpose | An LHA (LZH) archive under the .lha and .lzs extensions: members with -lh?- method headers. |
| Extensions | .lha |
| Poka parser | poka-lha |
| Viewer | poka-table-viewer |
| Depth tier | Parser with a shared viewer (see Depth tiers) |
| Breadth tier | B4 Summary (see Breadth tiers) |
How much Poka reads
B4 Summary. The container and metadata are read and summarised (counts, properties, structure), but the main content is not rendered.
Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-26: read parsers/poka-lha/src/main.rs (291 lines) and plugin.json. No unit tests or tests/samples.rs; the corpus has no .lha and .lzs sample. Covers .lha and .lzs. The table lists every member (header levels 0 to 3) with name, original and compressed size, ratio, method, header level, OS, CRC-16 and the raw modification time. Judgement: B4: the archive is listed but no member is extracted or shown.
What Poka does not read
- Member contents are not extracted or shown
- Modification times are shown raw
- Extended headers other than the file name (directory, attributes, comments) are not read
- Only the first 5,000 members are listed; files over 256 MiB are cut (flagged)
Libraries
Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.
- delharc (candidate; MIT OR Apache-2.0; Rust; https://docs.rs/crate/delharc/0.8.0) — Parses LHA/LZH headers and decompresses entries; supports no_std with alloc.
- unarc-rs (candidate; MIT OR Apache-2.0; Rust; https://github.com/mkrueger/unarc-rs) — Universal archive extraction & decompression library for retro + modern formats (7z, ZIP, RAR, LHA/LZH, TAR, ACE, ARJ, ARC/PAK, ZOO, HA, JAR, UC2, SQ/SQ2, SQZ, HYP, gz, bz2, Z, ICE, Pack-Ice).; v0.7.2
Sources
- parsers/poka-lha/src/main.rs
- parsers/poka-lha/plugin.json