Squeeze

From Just Solve the File Format Problem
Revision as of 01:27, 6 December 2012 by JTN (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
File Format
Name Squeeze
Ontology
Extension(s) .?q?, .qqq
Squeeze was a method of compressing single files popular on CP/M, devised by Richard (Dick) Greenlaw(?) circa 1981. It was superseded by Crunch and later CrLZH. Squeezed files were common in LBR archives. It uses Huffman compression.

Squeezed files were signified in CP/M's 8.3 filename format by replacing the middle letter of the extension with Q (.?Q? -- so FOO.TXT became FOO.TQT), with the extension .QQQ used for corner cases such as a blank extension.

The /usr/share/misc/magic file on Linux systems suggests that it was perhaps also in use on the Apple ][ platform.

Tools

  • CFX (DOS/Unix)
  • On CP/M (or emulators):
    • The original tools were SQ/USQ. See for instance the SQUSQ directory of the Oakland CP/M archive.
    • The later LT31 deals with extracting from all of Squeeze, Crunch, CrLZH and LBR formats. Widely available in CP/M archives, e.g. LT31.LBR

References

  • See the SQUSQ directory on CP/M archives for various source code and documentation (much of it, unfortunately, itself squeezed/crunched).
  • The file header follows a similar/compatible structure to Crunch and CrLZH.
  • FIXME: is the exact compression algorithm documented anywhere?
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox