68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
Desperately seeking Mac OS Anthology 2000 & 2001 Edition
Posted by: olePigeon on 2018-06-12 16:36:43
Not to add any anxiety, but gee wiz this was up on eBay last month.  $100 seems like a steal, and only 1 bid.  1999-2001.  Heck of a set.

https://www.ebay.com/itm/Mac-OS-Anthology-1999-2001-Mac-OS-7-X-on-DVD/183244330361?hash=item2aaa369579:g:O18AAOSwQKlbCZrg

There was another 2000/2001 set back in April.  That one went for over $200.

Don't know if it was a fluke.  I'm gonna watch eBay, hope to snag one.  I asked my local Apple repair guy, and he said he used to have it but not anymore.

Posted by: uyjulian on 2018-06-12 20:07:19
When I extracted the files from 1999 Mac OS Anthology, the only image that failed the checksum check while converting to dmg was the Swedish 7.5.3 image. I used an image from my Apple Support Area archive to replace the damaged file.

Here are the hacked extractors, so @max1zzz can fix his files: https://transfer.sh/giJWz/unar_hacked_overflow.zip

Try one. If it doesn't extract correctly, use the other one.

Changes in unar source code:

In XADStuffit5Parser.m, on lines 340, 341, 349, use numberWithUnsignedLongLong.

In the same file with each argument, add  | (1ULL << 32) .

Posted by: Alex on 2018-06-13 01:11:23
Not to add any anxiety, but gee wiz this was up on eBay last month.  $100 seems like a steal, and only 1 bid.  1999-2001.  Heck of a set.

https://www.ebay.com/itm/Mac-OS-Anthology-1999-2001-Mac-OS-7-X-on-DVD/183244330361?hash=item2aaa369579:g:O18AAOSwQKlbCZrg

There was another 2000/2001 set back in April.  That one went for over $200.

Don't know if it was a fluke.  I'm gonna watch eBay, hope to snag one.  I asked my local Apple repair guy, and he said he used to have it but not anymore.
That's too much bread for me, if you snag one please share those 4 discs if you can.

Posted by: Alex on 2018-06-13 01:21:25
Changes in unar source code:

In XADStuffit5Parser.m, on lines 340, 341, 349, use numberWithUnsignedLongLong.

In the same file with each argument, add  | (1ULL << 32) .
Hi

I was wondering why you mentioned the 1999 version? Is it because you had a similar issue with that set and the files inside the zip you added helped? To be honest I am not sure how I should proceed with those binaries. Could you provide some steps?

Posted by: uyjulian on 2018-06-13 06:27:28
Hi

I was wondering why you mentioned the 1999 version? Is it because you had a similar issue with that set and the files inside the zip you added helped? To be honest I am not sure how I should proceed with those binaries. Could you provide some steps?
1. Open Terminal

2. Drag the binary to the window

3. Drag the archive to the window

4. Hit return

Posted by: Alex on 2018-06-13 07:34:41
Did you build this yourself or download it somewhere. It's clean of viruses right?

Posted by: uyjulian on 2018-06-13 07:39:22
Did you build this yourself or download it somewhere. It's clean of viruses right?
I built it myself. It should be clean of viruses.

Posted by: Alex on 2018-06-13 13:21:59
I built it myself. It should be clean of viruses.
ok I am going to run it on a spare Mac, not my main machine. So I see that this is just unar which is the CLI version of unarchive, https://theunarchiver.com/command-line. What and why did you modify it, I am kind of curious. Do you want to share some of those details. I mean what's the goal of the mod.

 

Posted by: uyjulian on 2018-06-13 14:49:00
 What and why did you modify it, I am kind of curious. Do you want to share some of those details. I mean what's the goal of the mod.

 


I have fixed decompression of broken >4GB files. It was an overflow problem. You can easily hack your way around that by bit shifting left 1 32 times and then add that to the (broken) size in the source code of The Unarchiver.
Changes in unar source code:

In XADStuffit5Parser.m, on lines 340, 341, 349, use numberWithUnsignedLongLong.

In the same file with each argument, add  | (1ULL << 32) .

Posted by: Alex on 2018-06-14 02:13:54
@uyjulian I see what you did now. By the way I tried both binaries and although the files inside the mounted image show proper sizes and at least one of the .img files mounted. Amazing. I am going to go through the 4 discs I have that I suspected were corrupted and careful go through it all.

I may come back and report which of you binaries worked. Dude, amazing! You rock man, this is one heck of a hack you pulled off. I thought these images were long gone.

Posted by: Alex on 2018-06-14 06:33:11
I have fixed decompression of broken >4GB files. It was an overflow problem. You can easily hack your way around that by bit shifting left 1 32 times and then add that to the (broken) size in the source code of The Unarchiver.
I was wondering about this point. What is broke, I mean the existing version of the unar cli can cope with files over 4GB as is. Could you clarify? I also was told that we were able to already decompress some of the img files in the past but some remained corrupted so this is still ongoing.

Could let me know more about this hacked version that you have. Sorry to derail the conversation but I would like to know more if you are willing to provide more details.

Posted by: uyjulian on 2018-06-14 08:13:03
I was wondering about this point. What is broke, I mean the existing version of the unar cli can cope with files over 4GB as is. Could you clarify? I also was told that we were able to already decompress some of the img files in the past but some remained corrupted so this is still ongoing.

Could let me know more about this hacked version that you have. Sorry to derail the conversation but I would like to know more if you are willing to provide more details.


It was an overflow problem. 
From https://en.wikipedia.org/wiki/Integer_overflow

In computer programming, an integer overflow occurs when an arithmetic operation attempts to create a numeric value that is outside of the range that can be represented with a given number of bits – either larger than the maximum or lower than the minimum representable value.

Posted by: Alex on 2018-06-14 12:36:57
I know the images on my server are compressed badly (Large stuffit archives just don't seem to unpack correctly). I can however obtain uncompressed images from what I think was my original source of the images. Do you have any idea what data is missing so I can check these images are good before replacing the ones on my server?
Max, any progress?

Posted by: Alex on 2018-06-14 15:56:00
@uyjulian @max1zzz

Screen Shot 2018-06-15 at 00.50.50.pngLooks good. First disc tried and every img mounted in os9 VM (sheep shaver)! 

Also, your unar_unc_comp_overflow was the charm, to prove the point I tried straight unar and it gave me an error.

Thanks a million for this solution! 3 discs to go.

Screen Shot 2018-06-15 at 00.54.34.png

Posted by: CC_333 on 2018-06-14 18:17:54
To avoid this error in the future (and to allow the unmodified unar to work properly), would it not be prudent to re compress these images and splitting the resultant archive into smaller bits that unaltered unar can "digest"?

Macintosh Garden uses this strategy to alleviate bandwidth limitations?

c

Posted by: uyjulian on 2018-06-14 22:45:41
To avoid this error in the future (and to allow the unmodified unar to work properly), would it not be prudent to re compress these images and splitting the resultant archive into smaller bits that unaltered unar can "digest"?

Macintosh Garden uses this strategy to alleviate bandwidth limitations?

c
No, use a proper format that supports >4GB files like ZIP64 or 7z.

Posted by: Alex on 2018-06-15 10:44:57
Changes in unar source code:

In XADStuffit5Parser.m, on lines 340, 341, 349, use numberWithUnsignedLongLong.

In the same file with each argument, add  | (1ULL << 32) .
@uyjulian I would love to edit the file which I have in front of me in Visual Code Studio, the problem is I am not an Objective C programmer so I can't do this on my own.

The only reason I am bringing this up is that disc 6 does not expand successfully. Without having work experience with objective-c I am unable to do 2 things, 1) I can't make changes to the code 2) I can't verify if disc 6 is indeed corrupt or if the source code for XADStuffIt5Parser.m can be altered further to potentially fix the issue or simply prove that the .sit file for disc 6 is simply corrupt and nothing can be done.

What are your thoughts?

—Alex

Posted by: uyjulian on 2018-06-15 13:17:03
@uyjulian I would love to edit the file which I have in front of me in Visual Code Studio, the problem is I am not an Objective C programmer so I can't do this on my own.

The only reason I am bringing this up is that disc 6 does not expand successfully. Without having work experience with objective-c I am unable to do 2 things, 1) I can't make changes to the code 2) I can't verify if disc 6 is indeed corrupt or if the source code for XADStuffIt5Parser.m can be altered further to potentially fix the issue or simply prove that the .sit file for disc 6 is simply corrupt and nothing can be done.

What are your thoughts?

—Alex
Did you try using the other binary?

Posted by: omidimo on 2018-06-15 14:17:25
I am just going to put this out there.  :wink:

CompleteAnthology.jpg

Posted by: CC_333 on 2018-06-15 20:56:06
I take that to mean you got disk 6 to expand properly?

c

< 2 >