- LZX (algorithm)
:"LZX is also the name of the programming language used in the
OpenLaszlo platformLZX is the name of anLZ77 family compressionalgorithm . It is also the name of a file archiver with the same name. Both were invented byJonathan Forbes andTomi Poutanen .Instances of use of the LZX algorithm
Amiga LZX
LZX was publicly released as an
Amiga file archiver in 1995, while the authors were studying at theUniversity of Waterloo inCanada . The software wasshareware , which was common for compression software at the time. The registered version contained fixes and improvements not available in the evaluation version. In1997 , the authors gave away a free keyfile, which allowed anyone to use the registered version, as they had stopped work on the archiver and stopped accepting registrations.
=Microsoft Cabinet files=In 1997, Forbes went to work for
Microsoft , and Microsoft's cabinet archiver was enhanced to include the LZX compression method. Improvements included a variable search window size; Amiga LZX was fixed to 64kibibyte s, Microsoft LZX could range on powers of two between 32 and 2048 kilobytes. A specialpreprocessor was added to detect Intel80x86 "CALL" instructions, converting theiroperand s from relative addressing to absolute addressing, thus calls to the same location resulted in repeated strings that the compressor could match, improving compression of 80x86 binary code.Microsoft Compressed HTML Help (CHM) filesWhen Microsoft introduced the replacement to their classic Help file format, they chose to compress all of the HTML data with the LZX algorithm. However, in order to improve random access speed, the compressor was altered to reset itself after every 64 kilobyte interval and re-align to a 16-bit boundary after every 32 kilobyte interval. Thus, the HTMLHelp software could immediately seek to the nearest 64 kilobyte interval and start decoding from there, rather than decoding from the beginning of the compressed datastream at all times.
=Microsoft EBook Reader (LIT) files=Microsoft LIT files are simply an extension of the CHM file format, and thus also use LZX compression.
Windows Imaging Format (WIM) filesWindows Imaging Format , the installation/drive image file format ofWindows Vista , uses LZX as one of the compression methods [http://www.apcstart.com/site/jbannan/2006/07/759/build-your-own-vista-install-dvd] .Decompressing LZX files
The unlzx program can unpack Amiga LZX archives. The cabextract program can unpack Microsoft cabinet files using the LZX method. There are a multitude of cross-platform tools for decompiling or viewing CHM files, as stated in the CHM article. LIT files can be unpacked using the Convert LIT software.
ee also
*
List of archive formats
*List of file archivers
*Comparison of file archivers External links
* [http://xavprods.free.fr/lzx/ The LZX page, including many versions of the Amiga LZX archiver]
* [http://main.aminet.net/misc/unix/unlzx.c.gz unlzx source code]
* [http://www.cabextract.org.uk/ cabextract (includes source code)]
* [http://www.convertlit.com/ Convert LIT (includes source code)]
Wikimedia Foundation. 2010.