leafi / fix-spacechem-os-x

Script/instructions to fix SpaceChem for OS X 10.11
MIT License
40 stars 4 forks source link

still not running #5

Closed LeoDT closed 8 years ago

LeoDT commented 8 years ago

the exception.txt file:

Exception:
#=qG_Cl0xPUIXAr7Gxbj9xr1UFh0GNaWUpitkXmSs4mohU=: GlyphSheet: No clean breaks found between glyph rows.
  at #=qLVNq3PVNh2PfpPGTi0HeUw==.#=q8zlhvQt5aBUR6IR0eIS_nQ== () <0x41bcf88 + 0x00273> in <filename unknown>:0
  at #=q2MHgewmxt9cdxLxBGG$zCsSY1nU1MtXK7J7sI8ZiWkY=.#=qtJinfaPEqp6B13oJP0fYuQ== (#=qLVNq3PVNh2PfpPGTi0HeUw== #=q914uQhbuf6NAKv2o58RDJQ==) <0x41bc128 + 0x0008f> in <filename unknown>:0

Thread: , State: Running, Alive: True, Background: False
  at #=qYCigg8hLK$7E5EiWde8WJg==+#=q5XL4rRNSsLDu1uYr6ozmWiKNS$meZV1AZZikvTEP_PM=.#=q$1lj7LzPsgPU14Z3i$WhB_E5yBeowzHfDVfYPvvpwEs= (System.Threading.Thread #=qFgBOpMisigH6TDO25lRJcA==) [0x00000] in <filename unknown>:0
  at #=qYCigg8hLK$7E5EiWde8WJg==.#=qguQNvTEYvLaTIJaJx0lmEA== (System.Exception #=qLFoUTKR8Y3OaLg7ljBcblQ==, System.String #=qGLoTrVPSA4Cyj5m1oV8llg==, System.Object[] #=qrV2jy6hl8b_C29KqMesjDw==) [0x00000] in <filename unknown>:0
  at #=qYCigg8hLK$7E5EiWde8WJg==.#=qr$ULSWLnd_6uZTLZW$F9dg== (System.Exception #=qg$NDjlvFfuJddthg8tkGuQ==) [0x00000] in <filename unknown>:0
  at #=q2MHgewmxt9cdxLxBGG$zCsSY1nU1MtXK7J7sI8ZiWkY=.#=q$ySgeZBME1e8LHvYdFbfLg== (System.Exception #=qDxDKLI_uaGBoMRLus6Yhsg==) [0x00000] in <filename unknown>:0
  at #=q2MHgewmxt9cdxLxBGG$zCsSY1nU1MtXK7J7sI8ZiWkY=.#=qtJinfaPEqp6B13oJP0fYuQ== (#=qLVNq3PVNh2PfpPGTi0HeUw== #=q914uQhbuf6NAKv2o58RDJQ==) [0x00000] in <filename unknown>:0
  at #=qrEwbiPMszIEB9Azc_qhPwVFBd_U1GAjarN4Be6khTX0=.#=q6SCD5KBoFBNiZtK8BfDrdQ== (System.String[] #=q7uUkEPDZNgVk4qYJrF82EQ==) [0x00000] in <filename unknown>:0
  at System.AppDomain.ExecuteAssembly (System.AppDomain , System.Reflection.Assembly , System.String[] ) [0x00000] in <filename unknown>:0
  at System.AppDomain.ExecuteAssemblyInternal (System.Reflection.Assembly a, System.String[] args) [0x00000] in <filename unknown>:0
  at System.AppDomain.ExecuteAssembly (System.String assemblyFile, System.Security.Policy.Evidence assemblySecurity, System.String[] args) [0x00000] in <filename unknown>:0
  at #=qrEwbiPMszIEB9Azc_qhPwVFBd_U1GAjarN4Be6khTX0=.#=q6SCD5KBoFBNiZtK8BfDrdQ== (System.String[] #=q7uUkEPDZNgVk4qYJrF82EQ==) [0x00000] in <filename unknown>:0

Thread: .locals, State: WaitSleepJoin, Alive: True, Background: False

macOS 10.11.5, fresh installed spacechem

eugene-lim commented 8 years ago

Same problem here. This also happens when I try to execute SpaceChem.bin.osx

$ ./SpaceChem.bin.osx
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
Setting breakpad minidump AppID = 92800
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198100873899 [API loaded no]
The game experienced an error. A report has been saved:
"/Users/eugene/.local/share/Zachtronics Industries/SpaceChem/crashes/005.zicrash"
KQ: Error reading KQ:Bad file descriptor 
jalbright commented 8 years ago

Same issue here. Just got SpaceChem on steam, here is the exception file.

Exception:
#=qG_Cl0xPUIXAr7Gxbj9xr1UFh0GNaWUpitkXmSs4mohU=: GlyphSheet: No clean breaks found between glyph rows.
  at #=qLVNq3PVNh2PfpPGTi0HeUw==.#=q8zlhvQt5aBUR6IR0eIS_nQ== () <0x40daf88 + 0x00273> in <filename unknown>:0 
  at #=q2MHgewmxt9cdxLxBGG$zCsSY1nU1MtXK7J7sI8ZiWkY=.#=qtJinfaPEqp6B13oJP0fYuQ== (#=qLVNq3PVNh2PfpPGTi0HeUw== #=q914uQhbuf6NAKv2o58RDJQ==) <0x40da128 + 0x0008f> in <filename unknown>:0 

Thread: , State: Running, Alive: True, Background: False
  at #=qYCigg8hLK$7E5EiWde8WJg==+#=q5XL4rRNSsLDu1uYr6ozmWiKNS$meZV1AZZikvTEP_PM=.#=q$1lj7LzPsgPU14Z3i$WhB_E5yBeowzHfDVfYPvvpwEs= (System.Threading.Thread #=qFgBOpMisigH6TDO25lRJcA==) [0x00000] in <filename unknown>:0 
  at #=qYCigg8hLK$7E5EiWde8WJg==.#=qguQNvTEYvLaTIJaJx0lmEA== (System.Exception #=qLFoUTKR8Y3OaLg7ljBcblQ==, System.String #=qGLoTrVPSA4Cyj5m1oV8llg==, System.Object[] #=qrV2jy6hl8b_C29KqMesjDw==) [0x00000] in <filename unknown>:0 
  at #=qYCigg8hLK$7E5EiWde8WJg==.#=qr$ULSWLnd_6uZTLZW$F9dg== (System.Exception #=qg$NDjlvFfuJddthg8tkGuQ==) [0x00000] in <filename unknown>:0 
  at #=q2MHgewmxt9cdxLxBGG$zCsSY1nU1MtXK7J7sI8ZiWkY=.#=q$ySgeZBME1e8LHvYdFbfLg== (System.Exception #=qDxDKLI_uaGBoMRLus6Yhsg==) [0x00000] in <filename unknown>:0 
  at #=q2MHgewmxt9cdxLxBGG$zCsSY1nU1MtXK7J7sI8ZiWkY=.#=qtJinfaPEqp6B13oJP0fYuQ== (#=qLVNq3PVNh2PfpPGTi0HeUw== #=q914uQhbuf6NAKv2o58RDJQ==) [0x00000] in <filename unknown>:0 
  at #=qrEwbiPMszIEB9Azc_qhPwVFBd_U1GAjarN4Be6khTX0=.#=q6SCD5KBoFBNiZtK8BfDrdQ== (System.String[] #=q7uUkEPDZNgVk4qYJrF82EQ==) [0x00000] in <filename unknown>:0 
  at System.AppDomain.ExecuteAssembly (System.AppDomain , System.Reflection.Assembly , System.String[] ) [0x00000] in <filename unknown>:0
  at System.AppDomain.ExecuteAssemblyInternal (System.Reflection.Assembly a, System.String[] args) [0x00000] in <filename unknown>:0
  at System.AppDomain.ExecuteAssembly (System.String assemblyFile, System.Security.Policy.Evidence assemblySecurity, System.String[] args) [0x00000] in <filename unknown>:0
  at #=qrEwbiPMszIEB9Azc_qhPwVFBd_U1GAjarN4Be6khTX0=.#=q6SCD5KBoFBNiZtK8BfDrdQ== (System.String[] #=q7uUkEPDZNgVk4qYJrF82EQ==) [0x00000] in <filename unknown>:0 

Thread: .locals, State: Running, Alive: True, Background: False
omere2 commented 8 years ago

WARNING: The runtime version supported by this application is unavailable. Using default runtime: v4.0.30319 Setting breakpad minidump AppID = 92800 Steam_SetMinidumpSteamID: Caching Steam ID: 76561198009385322 [API loaded no] 2016-06-30 23:14:22.603 SpaceChem.bin.osx[10336:993555] 23:14:22.602 WARNING: 140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h. The game experienced an error. A report has been saved: "/Users/omerenbar/.local/share/Zachtronics Industries/SpaceChem/crashes/004.zicrash" KQ: Error reading KQ:Bad file descriptor

danielmunoz commented 8 years ago

Not working here either. OS X 10.11.5, fresh installed SpaceChem from Steam.

spacechem-terminal.txt exception.txt 004.zip

leafi commented 8 years ago

Whoops... sorry for missing this bug!

Those exceptions (@LeoDT, @danielmunoz, @jalbright) mentioning 'GlyphSheet: No clean breaks found between glyph rows' is what the SDL downgrade is meant to fix. In the newest magical .app bundle, I'm shipping old SDL to replace the ones built in to SpaceChem's .app file.

@omere2: Please upload the mentioned 004.zicrash file from the error message, or manually rename it to have a .zip extension and paste the exception.txt file contents here please.

leafi commented 8 years ago

...Wow. Seems the Macbook I prepared this on actually still had my old SDL hacks around, and I managed to pack the wrong version of SDL into the .app bundle. Impressive!

(SDL_image needs to be downgraded to 1.2.10. I'll prepare a new .app tonight.)

leafi commented 8 years ago

Manual fix: Download https://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.10.dmg , open it, replace the SDL_image.framework inside ~/Library/Application\ Support/Steam/steamapps/common/spacechem/SpaceChem.app/Contents/Frameworks/ with the one from the .dmg.

omere2 commented 8 years ago

@leafi seems that I have the exact same error 'GlyphSheet: No clean breaks found between glyph rows' I will wait for your update.

omere2 commented 8 years ago

@leafi I tried your manual fix with the same results.

007.zip

Exception:

=qG_Cl0xPUIXAr7Gxbj9xr1UFh0GNaWUpitkXmSs4mohU=: GlyphSheet: No clean breaks found between glyph rows.

at #=qLVNq3PVNh2PfpPGTi0HeUw==.#=q8zlhvQt5aBUR6IR0eIS_nQ== () <0x41728b0 + 0x00273> in :0 at #=q2MHgewmxt9cdxLxBGG$zCsSY1nU1MtXK7J7sI8ZiWkY=.#=qtJinfaPEqp6B13oJP0fYuQ== (#=qLVNq3PVNh2PfpPGTi0HeUw== #=q914uQhbuf6NAKv2o58RDJQ==) <0x4171a50 + 0x0008f> in :0

Thread: , State: Running, Alive: True, Background: False at #=qYCigg8hLK$7E5EiWde8WJg==+#=q5XL4rRNSsLDu1uYr6ozmWiKNS$meZV1AZZikvTEP_PM=.#=q$1lj7LzPsgPU14Z3i$WhB_E5yBeowzHfDVfYPvvpwEs= (System.Threading.Thread #=qFgBOpMisigH6TDO25lRJcA==) [0x00000] in :0 at #=qYCigg8hLK$7E5EiWde8WJg==.#=qguQNvTEYvLaTIJaJx0lmEA== (System.Exception #=qLFoUTKR8Y3OaLg7ljBcblQ==, System.String #=qGLoTrVPSA4Cyj5m1oV8llg==, System.Object[] #=qrV2jy6hl8b_C29KqMesjDw==) [0x00000] in :0 at #=qYCigg8hLK$7E5EiWde8WJg==.#=qr$ULSWLnd_6uZTLZW$F9dg== (System.Exception #=qg$NDjlvFfuJddthg8tkGuQ==) [0x00000] in :0 at #=q2MHgewmxt9cdxLxBGG$zCsSY1nU1MtXK7J7sI8ZiWkY=.#=q$ySgeZBME1e8LHvYdFbfLg== (System.Exception #=qDxDKLI_uaGBoMRLus6Yhsg==) [0x00000] in :0 at #=q2MHgewmxt9cdxLxBGG$zCsSY1nU1MtXK7J7sI8ZiWkY=.#=qtJinfaPEqp6B13oJP0fYuQ== (#=qLVNq3PVNh2PfpPGTi0HeUw== #=q914uQhbuf6NAKv2o58RDJQ==) [0x00000] in :0 at #=qrEwbiPMszIEB9Azc_qhPwVFBd_U1GAjarN4Be6khTX0=.#=q6SCD5KBoFBNiZtK8BfDrdQ== (System.String[] #=q7uUkEPDZNgVk4qYJrF82EQ==) [0x00000] in :0 at System.AppDomain.ExecuteAssembly (System.AppDomain , System.Reflection.Assembly , System.String[] ) [0x00000] in :0 at System.AppDomain.ExecuteAssemblyInternal (System.Reflection.Assembly a, System.String[] args) [0x00000] in :0 at System.AppDomain.ExecuteAssembly (System.String assemblyFile, System.Security.Policy.Evidence assemblySecurity, System.String[] args) [0x00000] in :0 at #=qrEwbiPMszIEB9Azc_qhPwVFBd_U1GAjarN4Be6khTX0=.#=q6SCD5KBoFBNiZtK8BfDrdQ== (System.String[] #=q7uUkEPDZNgVk4qYJrF82EQ==) [0x00000] in :0

Thread: .locals, State: Running, Alive: True, Background: False

eugene-lim commented 8 years ago

@leafi Tried the manual fix, got a different exception.

Exception:
System.DllNotFoundException: ../Frameworks/SDL_image.framework/SDL_image
  at #=qLVNq3PVNh2PfpPGTi0HeUw==.#=q8zlhvQt5aBUR6IR0eIS_nQ== () <0x41b7f88 + 0x00273> in <filename unknown>:0 
  at #=q2MHgewmxt9cdxLxBGG$zCsSY1nU1MtXK7J7sI8ZiWkY=.#=qtJinfaPEqp6B13oJP0fYuQ== (#=qLVNq3PVNh2PfpPGTi0HeUw== #=q914uQhbuf6NAKv2o58RDJQ==) <0x41b7128 + 0x0008f> in <filename unknown>:0 

Thread: , State: Running, Alive: True, Background: False
  at #=qYCigg8hLK$7E5EiWde8WJg==+#=q5XL4rRNSsLDu1uYr6ozmWiKNS$meZV1AZZikvTEP_PM=.#=q$1lj7LzPsgPU14Z3i$WhB_E5yBeowzHfDVfYPvvpwEs= (System.Threading.Thread #=qFgBOpMisigH6TDO25lRJcA==) [0x00000] in <filename unknown>:0 
  at #=qYCigg8hLK$7E5EiWde8WJg==.#=qguQNvTEYvLaTIJaJx0lmEA== (System.Exception #=qLFoUTKR8Y3OaLg7ljBcblQ==, System.String #=qGLoTrVPSA4Cyj5m1oV8llg==, System.Object[] #=qrV2jy6hl8b_C29KqMesjDw==) [0x00000] in <filename unknown>:0 
  at #=qYCigg8hLK$7E5EiWde8WJg==.#=qr$ULSWLnd_6uZTLZW$F9dg== (System.Exception #=qg$NDjlvFfuJddthg8tkGuQ==) [0x00000] in <filename unknown>:0 
  at #=q2MHgewmxt9cdxLxBGG$zCsSY1nU1MtXK7J7sI8ZiWkY=.#=q$ySgeZBME1e8LHvYdFbfLg== (System.Exception #=qDxDKLI_uaGBoMRLus6Yhsg==) [0x00000] in <filename unknown>:0 
  at #=q2MHgewmxt9cdxLxBGG$zCsSY1nU1MtXK7J7sI8ZiWkY=.#=qtJinfaPEqp6B13oJP0fYuQ== (#=qLVNq3PVNh2PfpPGTi0HeUw== #=q914uQhbuf6NAKv2o58RDJQ==) [0x00000] in <filename unknown>:0 
  at #=qrEwbiPMszIEB9Azc_qhPwVFBd_U1GAjarN4Be6khTX0=.#=q6SCD5KBoFBNiZtK8BfDrdQ== (System.String[] #=q7uUkEPDZNgVk4qYJrF82EQ==) [0x00000] in <filename unknown>:0 
  at System.AppDomain.ExecuteAssembly (System.AppDomain , System.Reflection.Assembly , System.String[] ) [0x00000] in <filename unknown>:0 
  at System.AppDomain.ExecuteAssemblyInternal (System.Reflection.Assembly a, System.String[] args) [0x00000] in <filename unknown>:0 
  at System.AppDomain.ExecuteAssembly (System.String assemblyFile, System.Security.Policy.Evidence assemblySecurity, System.String[] args) [0x00000] in <filename unknown>:0 
  at #=qrEwbiPMszIEB9Azc_qhPwVFBd_U1GAjarN4Be6khTX0=.#=q6SCD5KBoFBNiZtK8BfDrdQ== (System.String[] #=q7uUkEPDZNgVk4qYJrF82EQ==) [0x00000] in <filename unknown>:0 

Thread: .locals, State: Running, Alive: True, Background: False
$ ./SpaceChem.bin.osx
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
Setting breakpad minidump AppID = 92800
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198100873899 [API loaded no]
2016-07-04 21:31:56.212 SpaceChem.bin.osx[37650:1571440] 21:31:56.212 WARNING:  140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.
The game experienced an error. A report has been saved:
"/Users/eugene/.local/share/Zachtronics Industries/SpaceChem/crashes/000.zicrash"
KQ: Error reading KQ:Bad file descriptor 

000.zicrash.zip

Thanks!

leafi commented 8 years ago

@eugene-lim ahh, yes, needs a symlink too...

cd (blah blah blah)/SpaceChem.app/Contents/Frameworks/SDL_image.framework
ln -s Versions/A/SDL_image SDL_image

Reckon it's the MonoKickstart build I'm shipping; it seems to be less good with paths as compared to full-fat desktop Mono.

EDIT: Weird. Build I downloaded already had the symlink. Sorry, will investigate later.. I guess seeing as I'd been using the wrong libraries the whole time during development, the paths in Tao.Sdl.dll.config could well be wrong. Something something note to self there's an environment variable that affects loading behaviour of frameworks for mono(kickstart) on OS X too..

omere2 commented 8 years ago

@leafi - my mistake. I followed the instructions wrong.

It works now. thanks.

eugene-lim commented 8 years ago

@leafi Got it to work too after updating the symlink. I think I messed it up while moving stuff around. Thanks!

michaelj-smith commented 8 years ago

@leafi Confirmed! Replacing the SDL_image.framework worked great. For me, my symlinks were already in place. This was after running your Fix It script yesterday, on OS X 10.11.5.

Thanks for keeping this great game alive!

jalbright commented 8 years ago

@leafi Working here as well. Thanks so much!

PhilHarnish commented 8 years ago

Fix worked for me too. Saved the day!

LeoDT commented 8 years ago

Worked. Thank you so much.

leafi commented 8 years ago

Hi all - I've finally found time to integrate the fix into the .app and made a new release. If you can find time to give it a quick run & ensure it works I'll be eternally grateful. <3

LeoDT commented 8 years ago

New patch worked. Thanks again.