Closed lebraseric closed 1 year ago
I looked at this a little and can only recreate the "there is no data in the data fork" message. Would you be willing to attach your Sys.Resources
AppleSingle file? Trying to identify what is causing the "low and high cannot be the same" message. Thanks!
Here it is.
Relaxed the edit and added a little bit of support for the empty entries as seen via analyze
). I did bump this to Java 11 since the rest of AppleCommander is heading there, as a note.
Relevant portion of output:
003e: 00 00 00 01 00 00 08 00 00 00 00 00 .. .. .. .. | ............ | Entry header
0800: .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. | | Data Fork (empty)
004a: 00 00 00 02 00 00 0a 00 00 00 20 0f .. .. .. .. | .......... . | Entry header
0a00: 00 00 00 00 8c 00 00 00 32 08 00 00 00 00 00 00 | ........2....... | Resource Fork
Here's a copy of the pre-release. If you can verify this piece works, that would be great! (Sorry for the Zip, but I can't attach a Jar file. Just unzip it...)
I've done some testing with this pre-release and it seems to work very well. Files I have tested include the content of SYSTEM/CDEVS directory (the Control Panel NDA resource files).
These files included with the Apple IIGS System 5.0 and successors are interesting because they all contain a data fork + a resource fork, and the data fork is empty for all of them but one, the exception being the file CDEV.DATA which has a non empty data fork + a zero length resource fork (only of this kind I've seen so far).
I have encoded all these files to AppleSingle and passed them through asu analyze
. The information displayed is OK for every file I have tested.
So I would say that the analyze
option is now working the expected way.
Sorry for the delay. That's great! Essentially, it was an edit that didn't belong.
(Edit: I'm going to let the new release sit for a bit. Just in case something is discovered while acx
is worked on. I don't expect anything, but you never know!)
Finally preparing a release! Glad I gave you a snapshot last year. lol
Thanks for fixing the issue 👍 (I succeeded in restoring my backup in the meantime, thanks to the snapshot you provided me !)
Hi,
I came across this issue while dealing with extended storage type files with 0 length data fork. These files actually exist on GS/OS system disks e.g the file System/System.Setup/Sys.Resources. Having encapsulated this file in an AppleSingle file, this is what I obtain with asu (the original file is on SYSTEM 5.0.4 disk):
Either the AppleSingle is malformed, either detected errors are inappropriate.
The AppleSingle encapsulation has been produced by a tool I am developing, to restore a GS/OS drive from a Salvation Bakkup disk set.
If I can participate in testing or improving the code in any way, I would gladly help with the project.
Thank you in advance for your attention, Eric