Page 1 of 1

Mac: Shadowgrounds and Survivor crashes at startup

Posted: Mon Apr 25, 2011 12:01 pm
by hal
Shadowgrounds and Survivor crashes at startup on my Mac. The same way like Trine, not even the icon appears in the dock, I just see a generic Finder error message. I use a 15' MacBook Pro 2008 (MacBookPro4,1) with mac os x 10.6.7 on a HFS+ (case-sensitive, journaled) volume.

I found a crashlog inside the folder "~Library/Logs/DiagnosticReports":
Process: launcher [6966]
Path: /Applications/games/
Identifier: com.Frozenbyte.Survivor
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [305]

Date/Time: 2011-04-25 10:32:04.497 +0200
OS Version: Mac OS X 10.6.7 (10J869)
Report Version: 6

Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0

Dyld Error Message:
Library not loaded: @executable_path/../Framework/SDL.framework/Versions/A/SDL
Referenced from: /Applications/games/
Reason: image not found

Binary Images:
0x8fe00000 - 0x8fe4162b dyld 132.1 (???) <A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448> /usr/lib/dyld

So I renamed SDL.Framework to SDL.framework. Both games startet after that, but the screen resolution settings from the lauchener, doesn't seems too apply. I always got blurry graphic and black borders on the left and right side.

Re: Mac: Shadowgrounds and Survivor crashes at startup

Posted: Tue Apr 26, 2011 1:18 pm
by alt_tuomas
This is strange. Are the graphics still bad if you manually edit the settings in /<username>/Library/Survivor/config/options.txt?

Re: Mac: Shadowgrounds and Survivor crashes at startup

Posted: Tue Apr 26, 2011 9:51 pm
by hal
Then it works, thanks for the hint.

The folder <username>/Library/Survivor contains following folders and files:

config and profiles are twice present... Please provide an updated version, with folders written in correct case.

Re: Mac: Shadowgrounds and Survivor crashes at startup

Posted: Wed Apr 27, 2011 11:52 am
by alt_tuomas
Oops, this should only be a problem with Survivor on a case-sensitive filesystem. We'll fix this for any updated versions.

Re: Mac: Shadowgrounds and Survivor crashes at startup

Posted: Thu Apr 28, 2011 4:18 pm
by sramsesiv
Just in case anyone else finds this thread before the updates are released:

I found that a work around was to use Disk Utility to create a read/write dmg file with a non-case-sensitive file system, copy, and into it. This addresses the problem of the frameworks (SDL.Framework, etc.) not being correctly case-sensitive and presumably any other case-sensitivity problems in the apps themselves.

In order to fix the graphics reliability problems, I also created folders I called 'Shadowgrounds', 'Survivor' and 'Trine' on the same dmg disk and then used Terminal to create a symbolic link to the mounted volume from within my user/Library/ to those folders. That way when the launcher accesses the config folders with one name and the app with a different name (config and Config), the filesystem on the mounted dmg takes care of it. You have to use Terminal to create the symbolic link because the Finder doesn't quite do the right thing.

Assuming you have already created and mounted a suitably sized (mine is 3GB) dmg called 'Frozenbyte' and made a folder called 'Library/Shadowgrounds' on it:

Code: Select all

cd ~/Library
rm -r Shadowgrounds
ln -s /Volumes/Frozenbyte/Library/Shadowgrounds Shadowgrounds

If you want to keep some of the files in an already created Shadowgrounds/Profiles folder, I will leave it to you to figure out how to do that. Remember you need to combine the [Pp]rofile, [Cc]onfig, etc. directories before you move them onto the dmg volume.

Hope it helps someone.

At first I thought my graphics card wasn't working properly, but now I see the cool distortion effects (flames and water) and all of the high detail textures. I am a little concerned that accessing the dmg may be slowing down the loading of files (e.g. videos) but hopefully an update will properly address the problems.