[1.0] Mac OS X 10.8.2 - Crash on launch

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Alfuken
Posts: 3
Joined: Mon Dec 31, 2012 11:26 am

[1.0] Mac OS X 10.8.2 - Crash on launch

#1 Post by Alfuken »

I'm on Mac OS X 10.8.2, just downloaded the game, and when starting, game crashes with following debug message:

Code: Select all

Dyld Error Message:
  Library not loaded: @rpath/webp.framework/Versions/A/webp
  Referenced from: /Applications/Games/T-Engine.app/Contents/Frameworks/SDL2_image.framework/Versions/A/SDL2_image
  Reason: no suitable image found.  Did find:
	/Applications/Games/T-Engine.app/Contents/Frameworks/SDL2_image.framework/Versions/A/Frameworks/webp.framework/Versions/A/webp: file too short
Full debug message is http://pastie.org/private/vendkvx8836xpppp48esa.

I've tried to install sdl & sdl_image via brew, but that didn't help.

yuji
Posts: 2
Joined: Mon Dec 31, 2012 4:43 pm

Re: [1.0] Mac OS X 10.8.2 - Crash on launch

#2 Post by yuji »

I experienced this too, and a similar issue seems to have occurred with b42.

As was the case then, this seems to be some kind of Finder issue, and you can work around it by running the game without copying it with the Finder. So basically two options:
  • running the game directly from the DMG instead of copying it first
  • copying the game with Terminal instead of Finder

Blaster
Posts: 2
Joined: Mon Dec 31, 2012 5:41 pm

Re: [1.0] Mac OS X 10.8.2 - Crash on launch

#3 Post by Blaster »

I downloaded both SDL2_image and SDL_ttf and repaired the "short" files inside the package.

Now I get the blank window and a hang without much console output. After quitting (via menu) I see the following in the console:

Code: Select all

12/31/12 9:35:38.873 AM [0x0-0xae5ae5].T-Engine: Lua Error: /socket/http.lua:28: attempt to index local 'socket' (a boolean value)
12/31/12 9:35:38.873 AM [0x0-0xae5ae5].T-Engine: 	At [C]:-1 __index
12/31/12 9:35:38.873 AM [0x0-0xae5ae5].T-Engine: 	At /socket/http.lua:28 
12/31/12 9:35:38.873 AM [0x0-0xae5ae5].T-Engine: 	At [C]:-1 require
12/31/12 9:35:38.873 AM [0x0-0xae5ae5].T-Engine: 	At /engine/PlayerProfile.lua:21 
12/31/12 9:35:38.873 AM [0x0-0xae5ae5].T-Engine: 	At [C]:-1 require
12/31/12 9:35:38.873 AM [0x0-0xae5ae5].T-Engine: 	At /engine/init.lua:35 
12/31/12 9:35:38.873 AM [0x0-0xae5ae5].T-Engine: 	At [C]:-1 dofile
12/31/12 9:35:38.873 AM [0x0-0xae5ae5].T-Engine: 	At /loader/init.lua:190 
Not sure that's relevant to the hang however. I'm running 10.7.5.

Just curious, but would making a pure xwindows version for mac (no Cocoa) be any easier?

boboli2
Posts: 1
Joined: Mon Dec 31, 2012 6:29 pm

Re: [1.0] Mac OS X 10.8.2 - Crash on launch

#4 Post by boboli2 »

Simple solution:
1.open the .dmg
2.open the terminal at Tales of Maj'Eyal
3.type "cp -R T-Engine.app /Applications" //without quote""
4.play

DONE

Blaster
Posts: 2
Joined: Mon Dec 31, 2012 5:41 pm

Re: [1.0] Mac OS X 10.8.2 - Crash on launch

#5 Post by Blaster »

The finder copying issue is weird.

Anyway, I couldn't get the cp method to work for me but the following tar trick worked:

(cd /Volumes/Tales\ of\ Maj\'Eyal/; tar cf - T-Engine.app ) | (cd /Users/Shared/Games; tar xf -)

It's running now!

Alfuken
Posts: 3
Joined: Mon Dec 31, 2012 11:26 am

Re: [1.0] Mac OS X 10.8.2 - Crash on launch

#6 Post by Alfuken »

Blaster wrote:The finder copying issue is weird.

Anyway, I couldn't get the cp method to work for me but the following tar trick worked:

(cd /Volumes/Tales\ of\ Maj\'Eyal/; tar cf - T-Engine.app ) | (cd /Users/Shared/Games; tar xf -)

It's running now!
Awesome, it's working now for me too.
Tho it still would be nice to have it working by the default way.

Post Reply