tldr; I'm having fun realizing ideas I've literally had in my head for over 30 years but have been unable to do any of it.
--
My work re-enabled Chat History for staff, so I'm able to play with Gemini again. I've been maxing out my daily allotment of Pro & Think versions the past few weeks making silly programs for myself, but I thought I'd share them. I'll be posting their source code, too, if anyone wants to see what the LLM has stolen and how it's used.
I'm happy to say that
KNPR (Kracks Numbers & Patches) has been updated to version 0.2a. It can now read SNDBs that are encoded in either BinHex or MacBinary. I did this to protect the 'styl' resource that's used to display color so that SNDB files can be freely distributed cross-platform. I gave much thought about just using a markup language to do color (such as ANSI escape codes) and actually went so far as to getting sidetracked into building an ANSI viewer program (
you can see it working here), but using a markup language that almost nothing can read didn't seem very 80s/90s Mac-like. I also wanted the files to be easily viewable and editable on any vintage computer, so that ruled out RTFs.
I am currently finishing up a new utility to fill a gap in my archival process called
DropHex (
use with caution.) Currently I use a combination of DropBin and BinHex 4.0 to encode my files for archiving to my web archive, plus two more programs called FileTyper and Drop•Rename. Unfortunately I've run into two problems: BinHex 4.0 doesn't support Drag & Drop nor can you bulk encode. DropBin, on the hand, can do both those things, but it completely dies if a file name is longer than 31 characters or has the same name as a file that already exists. I deal a lot with files with really long names, especially disk images. As per tradition, I like to use ".image" for Disk Copy 4 images, which can quickly lead to file names that exceed 31 characters when you start adding ".hqx" to the end.
DropHex supports Drag & Drop, bulk encoding files, truncating long file names, prompts for duplicate file names, options for Save locations (same as file, prompt, or specific folder), option to set Type & Creator to Stuffit Expander, and add Line Feeds for PC compatibility.
It's only been tested in an emulator at the moment, so use with caution. I'll need to do more testing. I also need to see if I can optimize performance on encoding/decoding, including making use of FPUs if they're available.
Here're the nifty icons I made for it.
MultiBin is a feature I've removed, but might put back in? I don't know. It seemed antithesis to the original BinHex and single-file encoding. It's basically just multiple binhexed files stitched together with some info on directory structure if you have folders. That's it. I guess it's an uncompressed plain text archive at that point. Although you could literally open a MultiBin file in SimpleText and copy/paste each file back into their constituent files if you wanted to. Or use DropHex to decode them (and their folders.)
Another program I'm working on (but I'm not posting it yet, see below) is DropSTAC. DropSTAC is a compression utility that uses the original STAC LZS compression algorithm used in their prolific STAC 9703 (and others) microprocessor used mostly in tape drives, but also with real-time compression cards for PCs and Macs. But "
WHY?!" I can hear you yelling, "we already have Stuffit or working open-source LZS derivatives like LZW!"
Because I'm old and bitter, and I'm beyond disappointed that I can't use my DoubleUp real-time compression card to make archives that can be uncompressed without the card, that's why! There's the original ISA based Stacker hardware accelerator/real-time compression card for PCs (I'm sure there were a bunch more 3rd party competitors), and at least three real-time compression cards for the Macintosh that I'm aware of, all of them incompatible with each other. I figured it'd be cool to use an exceptionally well-documented compression algorithm (something that could be easily reverse engineered in the future) and, more importantly, I have an end-goal of getting it to work with my DoubleUp card. DiskDoubler with a DoubleUp card is very cool, but I suspect they were hamstrung by some sort of licensing deal with STAC. Making an self-extracting archive that was technically an application itself probably required additional licensing on a per-app basis that's not practical for something that's intended to be shared freely, so they locked it to a hardware card. I guess technically that makes the DoubleUp card a hardware copy protection device.
I am currently working on it, and I do plan on finishing it. What I'm uncertain about is the legality of releasing it. Even though (I think) it's an ANSI standard, I think the algorithm is still copyrighted. The archive format is just MultiBin (see DropHex above) compressed with the STAC algorithm. Very simple, well-documented already, and easy to reverse engineer in the future.
Anyway, here're the icons I had fun making.
