-
Notifications
You must be signed in to change notification settings - Fork 1
Documentation for the Mac OS resource compression algorithms? #2
Description
Hi, thank you for putting this on GitHub! I was recently looking into how Macintosh resource de-/compression works, and there is almost no information about this online, so your implementation is very helpful.
I was wondering how you managed to implement the compression formats. Do you know of any proper documentation (official or unofficial) for the compression algorithms supported by Mac OS? I could only find one online source about resource compression, which is an article by Alysis Software Corporation that was published on their website and in MacTech, and that only documents how to write a custom decompressor, not how to use the standard Mac OS decompressors.
I'm asking because I'm working on a Python library/tool to read (and eventually also write) resource forks, and I recently added support for compressed resources. I couldn't find any documentation about the Mac OS compression algorithms (and I hadn't found your repo yet), so I had to reverse-engineer them from scratch. It would be helpful if I had proper documentation to compare with, because in a few places I'm not sure if my implementation is correct, and I don't know the meaning of some of the header fields.