What the SIT?!

eric

Administrator
Staff member
Sep 2, 2021
1,289
2,263
113
MN
bluescsi.com
Tired of dealing with the onion of Vintage Mac archived files?

Struggling to extract game.img.cpt.sit.bin.hqx files with emulators & 20 different programs each with their quirks?

Checkout What The SIT! v2 (all in browser)

https://www.patreon.com/nulleric/posts/what-sit-167390197

Full list of file formats

Inputs

- StuffIt 1.5
- StuffIt 1.6-4.5 (SIT!)
- StuffIt 5.x - store / LZ77+Huffman / Deflate / Arsenic-BWT
- Self-extracting .sea - StuffIt or Compact Pro
- Compact Pro (.cpt)
- MacZip (.zip) - STORED + DEFLATE
- LHA / LZH (.lzh)
- MacBinary (.bin)
- BinHex 4.0 (.hqx)
- AppleSingle / AppleDouble (.as, ._name)
- uuencode (.uu)
- gzip (.gz, .tgz)
- .tar/.mar
- DiskCopy 4.2 (.dc42, .image)
- Raw HFS (.dsk, .img, .hda), bare or inside an Apple Partition Map
- DiskDup+ (DDim/DDp+) .dsk
- MFS 400K
- DiskCopy 6 / NDIF (.img) - including ADC-compressed, with resource-fork-less chunk reconstruction
- UDIF .dmg - koly trailer, zlib/bzip2/ADC/raw blocks
- HFS+ volumes
- ISO9660 (.iso, .toast, .cdr) - raw 2352-byte sectors, Rock Ridge names, Apple resource forks; APM/HFS hybrids too

Outputs

- StuffIt 1.5.1 (.sit)
- PCE .mar
- DiskCopy 4.2 (.dc42) - 400K/800K/1.44MB
- BlueSCSI hard disk (.hda)
- Zip (.zip)

Not possible without these fine Open Source projects and specifications:

Code

- resource_dasm Martin Michelsen / "Fuzziqer", MIT https://github.com/fuzziqersoftware/resource_dasm
- machfs Elliot Nunn MIT https://github.com/elliotnunn/machfs
- Fix-a-Fork file_ext.c, Eric Helgeson & jcs
- stuffit stuffit-rs, MIT OR Apache-2.0, https://github.com/benletchford/stuffit-rs
- compact-pro - cpt-rs, Apache-2.0, https://codeberg.org/cyco/cpt-rs

Reference specifications

- Apple TN1150 (HFS Plus); Inside Macintosh: Files (HFS MDB, B-trees, resource-fork format); Inside Macintosh: More Macintosh Toolbox(resource map layout); QuickDraw/PICT opcode reference
- ISO 9660 / ECMA-119, Rock Ridge & SUSP, Joliet
- Apple UDIF (koly), NDIF, DiskCopy 4.2, Apple Partition Map

Web front-end

- @sakun/system.css Sakun Panditharatne, MIT - classic Mac OS theme https://github.com/sakofchit/system.css/
 
  • Like
Reactions: Froggy814 and PL212