StuffIt
m (→Compression methods) |
(→Compression methods) |
||
Line 29: | Line 29: | ||
|5 || LZAH || | |5 || LZAH || | ||
|- | |- | ||
− | |6 || Fixed Huffman || | + | |6 || Fixed Huffman || Segmented. [[PackBits]], then optional [[Huffman coding]]. The set of Huffman codes is predefined, but the meaning of a code can be different in each segment. |
|- | |- | ||
− | |8 || MW || | + | |8 || MW || "Miller-Wegman". Presumably [[LZMW]]. |
|- | |- | ||
|13 || LZ+Huffman || | |13 || LZ+Huffman || |
Revision as of 13:45, 16 October 2020
If somebody tells you StuffIt, they might be brushing you off rudely, but, especially if they're a Mac user, they might just be recommending their favorite file archiver. Since the late 1980s, StuffIt has been the most popular file archiving system for the Mac platform, with a version available for Windows as well (though it never achieved a high degree of popularity there). Like a number of other Mac archivers, StuffIt supports storing the Resource Fork along with the "regular" file, which is one reason Mac-specific archivers were popular in preference to "generic" ones like ZIP. StuffIt also produced more compact archives than its main competitor PackIt at the time it was first released in 1987, when its author, Raymond Lau, was still in high school. It has faced other competitors since, but remained on top. In recent times, however, with OS X being Unix-based, traditional Unix archiving and compression programs such as tar and gzip are getting increasing use on Macs.
The makers of StuffIt have also released the newer format StuffIt X.
These formats remain proprietary, and do not interoperate with other programs unless they are officially licensed.
Contents |
Compression methods
ID | Name | Description |
---|---|---|
0 | None | Uncompressed |
1 | RLE | RLE90 |
2 | LZW | LZW, similar to compress (Unix) |
3 | Huffman | Static Huffman coding |
5 | LZAH | |
6 | Fixed Huffman | Segmented. PackBits, then optional Huffman coding. The set of Huffman codes is predefined, but the meaning of a code can be different in each segment. |
8 | MW | "Miller-Wegman". Presumably LZMW. |
13 | LZ+Huffman | |
14 | Installer | |
15 | Arsenic |
See also
Identification
Older StuffIt archives begin with ASCII "SIT!
", and have "rLau
" at offset 10.
StuffIt 5 archives begin with a string of text that always starts with "StuffIt (c)1997
". The byte at offset 82 has value 0x05
.
See also StuffIt X#Identification.
Some .SIT files start with a 128-byte MacBinary header.
Software
- Official site with downloads/purchases
- The Unarchiver (based in part on XAD)
- macutil → macunpack
- Maconv (based in part on The Unarchiver)
- XAD (mainly for Amiga)
- Deark (limited support)
Format info
Original format:
V5 format:
- Comments and code in the XAD (StuffIt.c) and The Unarchiver (XADStuffIt5Parser.m) source code
- Maconv: Stuffit 5 format
Other information:
Sample files
- http://cd.textfiles.com/carousel344/MACTOSH/ ...
- https://telparia.com/fileFormatSamples/archive/sit/blackfor.sit
- Macintosh Garden Collection ...