miniunzp-0.1.1.zip (184K) a zipped hfs disk image and checksum file. The disk image can be mounted with Mini vMac. Includes source code.
copyright: Paul C. Pratt, Mark Adler, and many others
mod date: Sep 11, 2016
MiniUnZp is a simple tool for unzipping a compressed archive created by OS X, preserving some of the Macintosh specific information: the file type, the file creator, and the resource fork.
MiniUnZp is currently extremely preliminary, but it functions, and may be useful as is.
MiniUnZp is based upon Info-ZIP code copyright Mark Adler and many others. The license for this code can be found in the file ":sourc:app.c" in the MiniUnZp disk image.
To use MiniUnZp, in the Macintosh OS X Finder, create a folder named “arc” and move inside of it files and folders. Select the “arc” folder, and choose the “Compress "arc"” command from the file menu, which should create a file named “arc.zip”. (Taking an existing zip file and renaming it to “arc.zip” will not work with MiniUnZp.)
Now import the file “arc.zip” into a Mini vMac disk image, such as by using ImportFl. Place a copy of the MiniUnZp application into the same folder as the “arc.zip” file, and then launch the application. (In Mini vMac - though presumably MiniUnZp would function the same in a different emulator or a real 680x0 Macintosh.)
A folder name “arc” should be created containing the contents of “arc.zip”. (Also the files "dbglog" and "stdout.txt" are created, but they can be ignored.)
Note that MiniUnZp currently extracts only the data fork, the resource fork, the file type, and the file creator. Some other information is lost. The spatial locations of files and folder might be saved in ".DS_Store" files, which are currently ignored and deleted. The file creation date might not be saved at all, at least OS X doesn't preserve it when extracting the archive. Comments are lost, it is not clear whether OS X knows about them at all.
If you find MiniUnZp useful, please consider helping the Gryphel Project, of which it is a part.
Here is the md5 checksum for the download, signed with Gryphel Key 5:
--------- GRY SIGNED TEXT --------- 9e67d291138900cf04abef430eb8c94b miniunzp-0.1.1.zip ------- BEGIN GRY SIGNATURE ------- Gry/4Xa8CFcUzxdN/Jb6L0UAlbc9xyauZ0qdechbTqVsaZrRXG5Ws58Z3hgE2VwM YGfZZY0g2fdWkF7q9Jgto/iWSYjimfLj0n3914fhRGx6kqljOW5K0ApQzraNMmQ2 hkdWGXD6/Z5hZttX8BdPUeBDXyiiqikl7NQJVuIG1uV8WTJehN3APq5J0TOSTQ9e -------- END GRY SIGNATURE --------
See the Compiling page for instructions on compiling MiniUnZp from the source code.
You can redistribute MiniUnZp and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the included file COPYING.
MiniUnZp is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.
September 11, 2016 version 0.1.1 adds a reasonable ‘SIZE’ resource so that it can operate with non trivial archives. Also it will now translate the Unicode file names written by OS X into the MacRoman character set.