SheepShaver on Intel Mac Sonoma 14.3 opens then closes

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

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

Re: SheepShaver on Intel Mac Sonoma 14.3 opens then closes

Post by Ronald P. Regensburg »

The "SheepShaver-noJIT" build worked with Ventura, but it did not work for "PBobbenB" with Sonoma.

@ PBobbenB
In the past two years different SheepShaver builds wrote a new prefs file to different locations. To make sure you edited the right prefs file that all builds will use, did you follow the instructions on the regular download post to update the scripts and run the "Correct prefs location" script?
PBobbenB
Space Cadet
Posts: 3
Joined: Thu Feb 29, 2024 10:57 am

Re: SheepShaver on Intel Mac Sonoma 14.3 opens then closes

Post by PBobbenB »

Somehow the prefs file was already in the right place, which is ~/.sheepshaver_prefs
(Not sure how it could work (but it did) since I have been using versions 20230610 and 20231229 before
the new/restored prefs path was applied to version 20240228 a few days ago)
as can be seen on the command line:

Code: Select all

SheepShaver V2.5 by Christian Bauer and Mar"c" Hellwig
2024-03-02 23:30:01.743 SheepShaver[34495:1305640] WARNING:
Secure coding is not enabled for restorable state! Enable secure coding by implementing
NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
Using prefs file at /Users/myuser/.sheepshaver_prefs
ERROR: Cannot map RAM: Cannot allocate memory.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7829
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: SheepShaver on Intel Mac Sonoma 14.3 opens then closes

Post by Ronald P. Regensburg »

OK. If the file ~/.sheepshaver_prefs was the file that you edited with "jit false" before you tried the no-JIT build, then apparently that build does not work for you with OCLP and Sanoma.

The prefs file location issue is a little complicated:
It used to be ~/.sheepshaver_prefs
Builds between October 2022 and January 2024 would still read and use that file if present, but if the file would not be present (like with a new setup) they would create and use the file ~/.config/SheepShaver/prefs

That caused a lot of confusion, some setups used the one prefs file while other setups with the same builds used the other file. Some users even had both files after trying different builds and deleting prefs files in between. If both files were present, ~/.sheepshaver_prefs was used.

The latest 20240228 build creates and uses again ~/.sheepshaver_prefs only. But if the script is not used to correct the location, the file ~/.config/SheepShaver/prefs may still be present.
Post Reply