StUU is a lightning-fast drag-and-drop UUdecoder for the Mac.
StUU ran originally on 68000-based Macs running System 7, then on PowerPC Macs running System 7/8/9 or X, and now native on Intel Macs too.
StUU is pronounced "Stew U".
In addition to UU-encoded data, StUU 1.2 now also recognises and extracts Base64 (i.e. "Content-transfer-encoding: base64" sections in MIME files).
The intended mode of use is:
StUU is designed to do one job really quickly and simply: It decodes uuencoded (and now Base64) files.
StUU only does decoding, not encoding.
If the file you want to decode is split into multiple parts, you must join all the parts together yourself before dropping the single joined file onto StUU. However, when joining the files together you do not need to manually remove mail headers and trailers from the individual parts -- StUU can do that automatically while it is decoding the data.
StUU does not give you any control over where the output files are written -- they are always written into the same folder as the source file.
StUU does not automatically delete the source file when it is finished.
StUU uses Internet Config. If you don't have Internet Config installed, then StUU can still decode files, but the type and creator codes will be set to '????'.
StUU requires System 7 or later, including 8.x, 9.x. It also works in the "Classic" environment on Mac OS X, which means all versions up to 10.4.x on PowerPC, but not 10.4.x on Intel (no Classic), and not at all in OS X 10.5 (Classic is gone even on PowerPC in 10.5).
November 2007: Just added: Carbon build of StUU that works on Mac OS X 10.5 Leopard and on Intel Macs.
Why did I write StUU, when there are already lots of UU decoders for the Mac?
A little while ago, I had a large uuencoded file to decode. The file was 20 megabytes, and contained 112 component encoded files. I took a look on Sumex-Aim to see what uudecoding sofware was available for the Mac. I found eight different uudecoders, and tried them all. Rather than go into great detail, I'll just summarise the results:
The only program that managed to finish decoding all the way to the end was Jeff Strobel's UULite2.0.
UULite2.0 has three modes, with varying "intelligence":
Unfortunately none of UULite's modes, not even the "Super Smart" one, correctly decoded all of the 112 files, and I thought $29 was too expensive for a small utility program that I would only use occasionally.
Since I didn't intend to pay for it, I couldn't continue to use UULite with a clean conscience, so morally, I had to write my own.
I searched the Web, found the spec for uuencoded files, found DropShell 2.0 by Leonard Rosenthol, Marshall Clow, and Stephan Somogyi, put them together, and after one morning of work I had finished writing my own simple uudecodeder.
It took 24 seconds to decode the 20 megabyte file. I added calls to Internet Config to assign the correct file types and creator codes for the decoded files, and it took 25 seconds. I made the I/O calls asynchronous, and it took 20 seconds. Then on the recommendation of Quinn, I tried it again with File Sharing turned off, and it took 16 seconds.
Well, there you have it. 20 megabytes decoded into 112 component files, complete with correct file types, in 16 seconds. For comparison, just duplicating the 20 megabyte file in the Finder took 17 seconds.
That makes StUU roughly 20 times faster that UULite's "Smart" mode, and 150 times faster than "Super Smart" mode. Sorry Jeff.
Download StUU 1.2, including source code, from here.
Update November 2007: Download now includes Carbon build of StUU that works on Mac OS X 10.5 Leopard and on Intel Macs. This is a quick and dirty conversion to Carbon, so there may be bugs. Source code is included, so if someone wants to fix it up, that would be great. Right now it's a CodeWarrior 8 project, but now that I've got it compiling Carbonized, switching it to Xcode shouldn't be too difficult.