LHA

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Format documentation)
Line 10: Line 10:
  
 
The file format is also known as '''LZH'''.
 
The file format is also known as '''LZH'''.
 +
 +
== Identification ==
 +
Bytes {{magic|'-' 'l' ?? ?? '-'}} appear at offset 2. This is not a global file signature, but represents the compression scheme of the first member file of the archive.
  
 
== Format documentation ==
 
== Format documentation ==
Line 17: Line 20:
 
* [http://apple2.org.za/gswv/a2zine/GS.WorldView/Resources/The.MacShrinkIt.Project/ARCHIVES.TXT Archive format info]
 
* [http://apple2.org.za/gswv/a2zine/GS.WorldView/Resources/The.MacShrinkIt.Project/ARCHIVES.TXT Archive format info]
 
* [http://www.textfiles.com/programming/FORMATS/arc_fmts.txt LZH file header format (among other archive types)]
 
* [http://www.textfiles.com/programming/FORMATS/arc_fmts.txt LZH file header format (among other archive types)]
 +
* [https://github.com/libarchive/libarchive/blob/master/libarchive/archive_read_support_format_lha.c libarchive: archive_read_support_format_lha.c] - Has comments with information about the header formats
  
 
== Software ==
 
== Software ==
Line 22: Line 26:
 
* [[7-Zip]]
 
* [[7-Zip]]
 
* [http://www.ponsoftware.com/en/ Explzh for Windows]
 
* [http://www.ponsoftware.com/en/ Explzh for Windows]
* [http://homepage1.nifty.com/dangan/en/Content/Program/Java/jLHA/jLHA.html Java library]
+
* [https://web.archive.org/web/20130906133859/http://homepage1.nifty.com/dangan/en/Content/Program/Java/jLHA/jLHA.html Java library] (from archive.org)
 +
* [https://www.libarchive.org/ libarchive]
  
 
== Other links ==
 
== Other links ==
 
* [[Wikipedia:LHA (file format)|Wikipedia article]]
 
* [[Wikipedia:LHA (file format)|Wikipedia article]]

Revision as of 17:00, 10 July 2017

File Format
Name LHA
Ontology
Extension(s) .lha, .lzh
MIME Type(s) application/x-lzh-compressed
PRONOM fmt/626
Kaitai Struct Spec lzh.ksy
Released 1988

LHA is an archiving program and file format created by Haruyasu Yoshizaki in 1988. It was originally called LHArc, then was briefly LH before settling on LHA. In the 1990s it was the most popular archiving format on the Amiga platform, and also got some use on the PC platform including in the installers for id Software games such as Doom and Quake, because ZIP compression was inferior until the release of PKZIP 2.0, which brought the formats to parity. At present, it is mostly used in Japan.

The file format is also known as LZH.

Contents

Identification

Bytes '-' 'l' ?? ?? '-' appear at offset 2. This is not a global file signature, but represents the compression scheme of the first member file of the archive.

Format documentation

Software

Other links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox