Error of type -39 occurred

About SheepShaver, a PPC Mac emulator for Windows, MacOS X, and Linux that can run System 7.5.3 to MacOS 9.0.4.

Moderators: Cat_7, Ronald P. Regensburg, ClockWise

Post Reply
perk8j
Space Cadet
Posts: 8
Joined: Fri Oct 01, 2021 9:01 pm

Error of type -39 occurred

Post by perk8j »

I got OS9.0.2 working via SheepShaver on Mac OS Big Sur 11.5.1.

Then I unpacked TRLE_full_mac.sit and dragged onto the OS9 desktop whilst holding option. When I open "TR RoomEdit" or "Tomb Raider Level Player" I receive the following error:

Image

Is there a solution to properly open these programs without the trial and error?
Last edited by perk8j on Fri Oct 01, 2021 9:47 pm, edited 2 times in total.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Error of type -39 occurred

Post by Ronald P. Regensburg »

I notice that the applications have generic icons.

Which SheepShaver build do you use? Note that in older builds on APFS hosts (like macOS 11), files will loose their resource fork in the "Unix" volume.
perk8j
Space Cadet
Posts: 8
Joined: Fri Oct 01, 2021 9:01 pm

Re: Error of type -39 occurred

Post by perk8j »

I'm using Version 2.5, 1 August 2021, universal (x86_64 and arm64)
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Error of type -39 occurred

Post by Ronald P. Regensburg »

A recent build, so that is not the issue.

-39 eofErr End of file; no additional data in the format

Usually means the file is incomplete or damaged.
perk8j
Space Cadet
Posts: 8
Joined: Fri Oct 01, 2021 9:01 pm

Re: Error of type -39 occurred

Post by perk8j »

Hmm, I've downloaded from three separate sources including Macintosh Repository and Internet Archives. These are 32-bit 3D apps and would that make a difference with SheepShaver compatibility?
Jorpho
Master Emulator
Posts: 380
Joined: Fri Sep 17, 2004 4:22 am

Re: Error of type -39 occurred

Post by Jorpho »

perk8j wrote: Fri Oct 01, 2021 9:10 pmThen I unpacked TRLE_full_mac.sit and dragged onto the OS9 desktop whilst holding option.
Can you be more precise about what you did here? Did you use Stuffit Expander inside of Sheepshaver?
perk8j
Space Cadet
Posts: 8
Joined: Fri Oct 01, 2021 9:01 pm

Re: Error of type -39 occurred

Post by perk8j »

Yes I'm using stuffit in SheepShaver as it's not possible to extract sit extensions in Big Sur. For iso files I mount in Big Sur and share to SheepShaver OS9.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Error of type -39 occurred

Post by Ronald P. Regensburg »

"The Unarchiver" https://theunarchiver.com will expand almost any archive, also Stuffit archives, also in Big Sur.

- Use The Unarchiver to unstuff the archive on the host (Big Sur)
- Do not mount the .iso file in Big Sur
- Use SheepShaver preferences to add the .iso file to the volumes list and check the CDROM box
- Save settings and quit SheepShaver.
- After launching SheepShaver again, the CD will mount on the MacOS9 desktop

(I am not sure the game will run properly in SheepShaver. It needs 3D acceleration. The needed hardware is not emulated in SheepShaver.)
perk8j
Space Cadet
Posts: 8
Joined: Fri Oct 01, 2021 9:01 pm

Re: Error of type -39 occurred

Post by perk8j »

Thanks, that worked. Also, I switched out the new rom with the old and I'm no longer recieving the error messages.

The TR editor only shows a blank white space where 3D acceleration is used. It should be showing a 3D box with square grids.

Image

The TR Player launches as normal. However, the frame rate is extremely choppy.

Image
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Error of type -39 occurred

Post by adespoton »

This is expected, as there's no hardware acceleration being emulated. So anywhere that the software falls back to software 3D support, it'll work slow and choppy, and anywhere that it assumes hardware support will just fail.
klieb77
Space Cadet
Posts: 1
Joined: Tue Sep 16, 2014 8:13 pm

Re: Error of type -39 occurred

Post by klieb77 »

So, I'm getting the -39 error trying to install Pagemaker 6.5 from the Macintosh Garden in order to access an old document. The icon for the installer is the generic icon. My host system is Mojave, with all my user files (Documents, Desktop, etc) in a ZFS filesystem (openzfsonosx.org). I'm guessing that whatever it is that causes APFS to lose resource forks probably applies to ZFS as well. Should I create a small HFS partition to host my Unix shared folder to possibly reach success, do you think? Thank you for this wonderful resource.

Kurt
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Error of type -39 occurred

Post by Ronald P. Regensburg »

- Resource forks are not lost on an APFS file system.
- In SheepShaver builds posted here since 27 February 2021, resource forks are not lost in the "Unix" shared folder on an APFS file system.
- You run Mojave, which can use both the HFS+ and APFS file system.
- As far as I am aware, resource forks will not survive on a ZFS file system

Yes, you should use at least your Unix shared folder on a HFS+ or APFS volume.
Post Reply