StuffIt

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Identification)
(Compression methods)
 
(24 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}}
+
|pronom={{PRONOM|fmt/639}}, {{PRONOM|fmt/1459}}, {{PRONOM|fmt/1460}}
 +
|wikidata={{wikidata|Q59535034}}
 +
|type code={{Type Code|SIT!}}
 
|released=1987
 
|released=1987
 
}}
 
}}
Line 12: Line 14:
  
 
These formats remain proprietary, and do not interoperate with other programs unless they are officially licensed.
 
These formats remain proprietary, and do not interoperate with other programs unless they are officially licensed.
 +
 +
== History ==
 +
StuffIt versions through 1.5.1 are credited to Raymond Lau. Following versions are by Aladdin Systems. Aladdin Systems was acquired by IMSI in 2004, and renamed to Allume Systems shortly afterward. In 2005, Allume Systems was acquired by Smith Micro.
 +
 +
== 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]]. Same compression as [[PackIt]].
 +
|-
 +
|5 || LZAH || [[LZ77 with Huffman coding|LZ77+Huffman]] with [[Adaptive Huffman coding]]. Similar or identical to [[LHA]]'s "lh1" method.
 +
|-
 +
|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 ==
 
== Identification ==
Older StuffIt archives begin with ASCII "{{magic|SIT!}}", and have "{{magic|rLau}}" at offset 10.
+
* Older StuffIt archives begin with ASCII "{{magic|SIT!}}", and have "{{magic|rLau}}" at offset 10. The byte at offset 14 (the version number) is 0x01 for versions 1.5.x and earlier, or 0x02 for versions 1.6 - 4.5.
  
StuffIt 5 archives begin with "{{magic|StuffIt (c)1997}}".
+
* 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]].
+
* See also [[StuffIt X#Identification]].
  
 
Some .SIT files start with a 128-byte [[MacBinary]] header.
 
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)
 +
* {{XAD}} (mainly for Amiga)
 +
* {{Deark}} (limited support)
  
* Stuffit Archives can be accessed and extracted by [http://unarchiver.c3.cx/unarchiver The Unarchiver]. Although a GUI version is only available for Mac, [http://unarchiver.c3.cx/commandline command-line versions] are available for Mac, Linux and Windows. On some GNU/Linux distributions, this can be obtained through the ''unar'' package. Source code is also available (under the LGPL)
+
== Format info ==
 +
Original format:
 +
* [http://apple2.org.za/gswv/a2zine/GS.WorldView/Resources/The.MacShrinkIt.Project/ARCHIVES.TXT Archive format info, including StuffIt]
  
* [http://linuxcommand.org/man_pages/macunpack1.html macunpack], part of the [http://linuxcommand.org/man_pages/macutil1.html macutils] package in many GNU/Linux distributions, can extract Stuffit Archives.
+
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]
  
== Format info ==
+
Other information:
 
* [http://www.russotto.net/arseniccomp.html StuffIt method 15 compression format]
 
* [http://www.russotto.net/arseniccomp.html StuffIt method 15 compression format]
* [http://apple2.org.za/gswv/a2zine/GS.WorldView/Resources/The.MacShrinkIt.Project/ARCHIVES.TXT Archive format info, including StuffIt]
+
 
 +
==Screenshots==
 +
[[Image:Stuffit151-About.png|400px]]
  
 
== Sample files ==
 
== Sample files ==
 
* http://cd.textfiles.com/carousel344/MACTOSH/ ...
 
* http://cd.textfiles.com/carousel344/MACTOSH/ ...
 +
* {{DexvertSamples|archive/sit}}
 +
* {{DexvertSamples|archive/sea}}
 +
* [https://archive.org/details/Macintosh_Garden_Collection Macintosh Garden Collection] ...
  
 
== Other links ==
 
== Other links ==

Latest revision as of 16:04, 10 May 2024

File Format
Name StuffIt
Ontology
Extension(s) .sit
MIME Type(s) application/x-stuffit, application/x-sit
PRONOM fmt/639, fmt/1459, fmt/1460
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

[edit] History

StuffIt versions through 1.5.1 are credited to Raymond Lau. Following versions are by Aladdin Systems. Aladdin Systems was acquired by IMSI in 2004, and renamed to Allume Systems shortly afterward. In 2005, Allume Systems was acquired by Smith Micro.

[edit] Compression methods

ID Name Description
0 None Uncompressed
1 RLE RLE90
2 LZW LZW, similar to compress (Unix)
3 Huffman Static Huffman coding. Same compression as PackIt.
5 LZAH LZ77+Huffman with Adaptive Huffman coding. Similar or identical to LHA's "lh1" method.
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

[edit] See also

[edit] Identification

  • Older StuffIt archives begin with ASCII "SIT!", and have "rLau" at offset 10. The byte at offset 14 (the version number) is 0x01 for versions 1.5.x and earlier, or 0x02 for versions 1.6 - 4.5.
  • StuffIt 5 archives begin with a string of text that always starts with "StuffIt (c)1997". The byte at offset 82 has value 0x05.

Some .SIT files start with a 128-byte MacBinary header.

[edit] Software

[edit] Format info

Original format:

V5 format:

Other information:

[edit] Screenshots

Stuffit151-About.png

[edit] Sample files

[edit] Other links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox