MacPaw / XADMaster

Objective-C library for archive and file unarchiving and extraction
GNU Lesser General Public License v2.1
104 stars 44 forks source link

Issue extracting HQX file #57

Open ci-macpaw opened 8 years ago

ci-macpaw commented 8 years ago

This HQX file does not extract. lsar understands its contents perfectly, and unar appears to start extracting OK, but ends with "No files extracted.". I don't know why this is.

ci-macpaw commented 7 years ago

A quick update: after extracting large amounts of old mac files, I've realised that this error occurs every time that a compressed file contains only one mac file and its resource fork. If there are multiple files inside of a folder, then it extracts fine.

ci-macpaw commented 8 years ago

Thanks for that workaround. I have found another file (this time a .sea) that also does not work, and quite a few that work fine. Let me know if you would like these files for testing.

ci-macpaw commented 8 years ago

Dag Ågren (DagAgren):

Looks like a bug with the handling of resource forks on non-macOS systems.

As a workaround, you can run the command twice with the options "-i 0" and "-i 1" to extract the two forks separately, which seems to work.