First post, by legodude
Compaq distributed drivers/firmware/etc as "Softpaq" executables*. Many of the earlier Softpaqs were designed to be run in DOS and wrote directly to a formatted floppy - there is no option to extract the files without writing to a floppy and this can make accessing drivers challenging in 2025. I have jury-rigged VMs or emulators into being able to write to a floppy image file, but this process is labor-intensive and inconsistent.
I thought there had to be a better way of extracting these, but Google lead me nowhere. Makefile on The Retro Web Discord helped with this project ( and by help I mean did 95% of the work). So I present 'unsoftpaq.py', a very quick and very dirty Python script that will extract Softpaqs. It handles multiple image files as well. I've only tested this with Softpaqs that write floppies and only in Linux (MacOS would likely work as well)
Take a look at the file before you blindly run it, there are likely bugs etc.
It depends on the python library bitstring
It depends on having 'blast' in your path. This can be obtained from zlib in the 'contrib/blast' directory.
*Many of these are only available due to Davidg's mirror: https://ftp.zx.net.nz/pub/archive/ftp.compaq. … om/pub/softpaq/
mike