the lharc/lha archiver is a multi platform archiver made by haruyasu yoshizaki,
which has a relatively good compression. it uses more or less the same
technology like the zip programs by phil katz. there was a hack named "ice",
which had only the graphic characters displayed on decompression changed.
offset count type description
0000h 1 byte size of archived file header
0001h 1 byte checksum of remaining bytes
0002h 3 char id='-lh'
id='-lz'
0005h 1 char compression methods used (see table 0005)
0006h 1 char id='-'
0007h 1 dword compressed size
000bh 1 dword uncompressed size
000fh 1 dword original file date/time (see table 0009)
0013h 1 word file attribute
0015h 1 byte filename / path length in bytes
="len"
0016h "len" char filename / path
0018h 1 word crc-16 of original file
+"len"
(table 0005)
lharc compression types
"0" - no compression
"1" - lzw, 4k buffer, huffman for upper 6 bits of position
"2" - unknown
"3" - unknown
"4" - lzw, arithmetic encoding
"5" - lzw, arithmetic encoding
"s" - lha 2.x archive?
"\" - lha 2.x archive?
"d" - lha 2.x archive?
extension:lzh,ice
occurences:pc
programs:lharc.exe, lha.exe
|