StuffIt

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |formattype=electronic |subcat=Archiving |extensions={{ext|sit}} |mimetypes={{mimetype|application/x-stuffit}}, {{mimetype|application/x-sit}} |released=1987 }} ...")
 
(Compression methods)
(20 intermediate revisions by 5 users not shown)
Line 4: Line 4:
 
|extensions={{ext|sit}}
 
|extensions={{ext|sit}}
 
|mimetypes={{mimetype|application/x-stuffit}}, {{mimetype|application/x-sit}}
 
|mimetypes={{mimetype|application/x-stuffit}}, {{mimetype|application/x-sit}}
 +
|pronom={{PRONOM|fmt/639}}
 +
|wikidata={{wikidata|Q59535034}}
 +
|type code={{Type Code|SIT!}}
 
|released=1987
 
|released=1987
 
}}
 
}}
 
 
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 [[Tape Archive|tar]] and [[gzip]] are getting increasing use on Macs.
 
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 [[Tape Archive|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.
 +
 +
== Compression methods ==
 +
{| class="wikitable"
 +
! ID !! Name !! Description
 +
|-
 +
|0 || None || Uncompressed
 +
|-
 +
|1 || RLE || [[RLE90]]
 +
|-
 +
|2 || LZW || [[LZW]], similar to [[compress (Unix)]]
 +
|-
 +
|3 || Huffman || Static [[Huffman coding]]
 +
|-
 +
|5 || LZAH || [[LZ77 with Huffman coding|LZ77+Huffman]]/[[Adaptive Huffman coding|adaptive 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 || "Miller-Wegman". Presumably [[LZMW]].
 +
|-
 +
|13 || LZ+Huffman ||
 +
|-
 +
|14 || Installer ||
 +
|-
 +
|15 || Arsenic ||
 +
|}
 +
 +
== See also ==
 +
* [[SEA (StuffIt)]]
 +
* [[StuffIt X]]
 +
 +
== Identification ==
 +
Older StuffIt archives begin with ASCII "{{magic|SIT!}}", and have "{{magic|rLau}}" at offset 10.
 +
 +
StuffIt 5 archives begin with a string of text that always starts with "{{magic|StuffIt (c)1997}}". The byte at offset 82 has value {{magic|0x05}}.
 +
 +
See also [[StuffIt X#Identification]].
 +
 +
Some .SIT files start with a 128-byte [[MacBinary]] header.
  
 
== Software ==
 
== Software ==
* [http://www.stuffit.com/ Official site with downloads/purchases]
+
* [http://www.stuffit.com Official site with downloads/purchases]
 +
* [[The Unarchiver]] (based in part on XAD)
 +
* [[macutil]] → macunpack
 +
* [https://github.com/ParksProjets/Maconv Maconv] (based in part on The Unarchiver)
 +
* [http://aminet.net/package/util/arc/xadmasterdev XAD] (mainly for Amiga)
 +
* {{Deark}} (limited support)
  
 
== Format info ==
 
== Format info ==
 +
Original format:
 +
* [http://apple2.org.za/gswv/a2zine/GS.WorldView/Resources/The.MacShrinkIt.Project/ARCHIVES.TXT Archive format info, including StuffIt]
 +
 +
V5 format:
 +
* Comments and code in the [http://aminet.net/package/util/arc/xadmasterdev XAD] (StuffIt.c) and [[The Unarchiver]] (XADStuffIt5Parser.m) source code
 +
* [https://github.com/ParksProjets/Maconv/blob/master/docs/stuffit/Stuffit_v5.md Maconv: Stuffit 5 format]
 +
 +
Other information:
 
* [http://www.russotto.net/arseniccomp.html StuffIt method 15 compression format]
 
* [http://www.russotto.net/arseniccomp.html StuffIt method 15 compression format]
 +
 +
== Sample files ==
 +
* http://cd.textfiles.com/carousel344/MACTOSH/ ...
 +
* https://telparia.com/fileFormatSamples/archive/sit/blackfor.sit
 +
* [https://archive.org/details/Macintosh_Garden_Collection Macintosh Garden Collection] ...
  
 
== Other links ==
 
== Other links ==
 
* [[Wikipedia:StuffIt|Wikipedia article]]
 
* [[Wikipedia:StuffIt|Wikipedia article]]
 +
 +
[[Category:Macintosh]]

Revision as of 14:14, 18 October 2020

File Format
Name StuffIt
Ontology
Extension(s) .sit
MIME Type(s) application/x-stuffit, application/x-sit
PRONOM fmt/639
Type Code SIT!
Wikidata ID Q59535034
Released 1987

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 LZ77+Huffman/adaptive 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 "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

Format info

Original format:

V5 format:

Other information:

Sample files

Other links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox