www.gryphel.com/c/sw/archive/miniunzp - feedback

MiniUnZp

hosted by the Gryphel Project


Download

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
license: GPL

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.

gryphel logo, 1K

Here is an md5 checksum for the download:

-----BEGIN PGP SIGNED MESSAGE-----

9e67d291138900cf04abef430eb8c94b miniunzp-0.1.1.zip

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBV9W9+Niugru7WJg5AQH5/wQAqh0I8Qzz7uCNGHBnBgveYIFlMyiyFc4Y
o4DaO04Z9FjqpIGqTzbvHhdRH0OJwuEdIAWd95FxHTsh4srsA33v9NF5G0mFW2VM
CeS5hLPyfyFug6sOAdlmQUPvNfpnTqFRUaEhQejQaGLQ5wXx/NNahj8ibgqAfy2z
lDBCLV+JuoI=
=754S
-----END PGP 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.

News:

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.


www.gryphel.com/c/sw/archive/miniunzp - feedback
copyright (c) 2016 Paul C. Pratt - last update 9/11/2016