-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Hi,
I'm currently writing a program to extract data from Salvation Bakkup disc images. The goal is to recreate a ProDOS image of the original backed up hard drive, with all the files, directories, and complete ProDOS file informations, storage type, dates etc. The program generates AppleSingle files with entries 1 (data), 2 (resource, when needed), 3 (real name), 8 (file dates info) and 11 (ProDOS file info). acx is then invoked to create the drive image, directories structure, and import the AppleSingle files.
Everything works fine, except when putting files with a resource fork and 0 byte long data fork (e.g. SYSTEM/SYSTEM.SETUP/Sys.Resources). The file is rejected with the following exception:
java.io.IOException: This AppleSingle does not contain a data fork.
Actually, the AppleSingle file does contain a data fork, but it is empty (length==0).
Other minor issues encountered so far:
- Entry 3 (Real Name): case seems to be ignored (all file names are uppercase when imported).
- Entry 8 (File Dates Info): Creation date is used, but Modification date is ignored (all files have the system date as modification date). Is it possible to use the modification date instead?
I would gladly contribute and help to fix these issues if possible. Thanks in advance, Eric