Cateia Games
August 23, 2014, 02:21:10 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: FOR MORE INFORMATION ABOUT OUR GAMES, VISIT: www.cateia.com
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Cannot launch demo of King's Legacy (10.6.4/MBP 2.4GHzx2)  (Read 4405 times)
mcroft
Pedestrian
*
Posts: 2


View Profile
« on: June 20, 2010, 03:56:06 PM »

I'm trying to run the demo that I downloaded this morning from Mac Games Arcade, and it fails with an error dialog as soon as I launch it.  The error gives me the options to Open Console or Terminate.  This is 100% repeatable for me.  The error is:
Quote
An unexpected error has occurred during execution of the main script.

ImportError: dlopen(/Users/mcroft/Documents/MacGamesArcade/Demos/Kings_Legacy/King's Legacy/King's Legacy.app/Contents/Resources/.Game/King's Legacy.app/Contents/Resources/lib/python2.5/lib-dynload/ogremac_ppc/renderer/OGRE/_ogre_.so, 2): no suitable image found.  Did find:
   /Users/mcroft/Documents/MacGamesArcade/Demos/Kings_Legacy/King's Legacy/King's Legacy.app/Contents/Resources/.Game/King's Legacy.app/Contents/Resources/lib/python2.5/lib-dynload/ogremac_ppc/renderer/OGRE/_ogre_.so: mach-o, but wrong architecture

On opening the console log, I see the following (possibly) relevant entries.

Code:
6/20/10 9:30:38 AM Mac Games Arcade[98678] DEMO : PLAY FUNCTION CALLED FOR  GAME : King's Legacy
6/20/10 9:30:41 AM [0x0-0x2e62e6].com.Cateia.KingsLegacy[99752] Traceback (most recent call last):
6/20/10 9:30:41 AM [0x0-0x2e62e6].com.Cateia.KingsLegacy[99752]   File "/Users/mcroft/Documents/MacGamesArcade/Demos/Kings_Legacy/King's Legacy/King's Legacy.app/Contents/Resources/.Game/King's Legacy.app/Contents/Resources/__boot__.py", line 31, in <module>
6/20/10 9:30:41 AM [0x0-0x2e62e6].com.Cateia.KingsLegacy[99752]     _run('main.py')
6/20/10 9:30:41 AM [0x0-0x2e62e6].com.Cateia.KingsLegacy[99752]   File "/Users/mcroft/Documents/MacGamesArcade/Demos/Kings_Legacy/King's Legacy/King's Legacy.app/Contents/Resources/.Game/King's Legacy.app/Contents/Resources/__boot__.py", line 28, in _run
6/20/10 9:30:41 AM [0x0-0x2e62e6].com.Cateia.KingsLegacy[99752]     execfile(path, globals(), globals())
6/20/10 9:30:41 AM [0x0-0x2e62e6].com.Cateia.KingsLegacy[99752]   File "/Users/mcroft/Documents/MacGamesArcade/Demos/Kings_Legacy/King's Legacy/King's Legacy.app/Contents/Resources/.Game/King's Legacy.app/Contents/Resources/main.py", line 1, in <module>
6/20/10 9:30:41 AM [0x0-0x2e62e6].com.Cateia.KingsLegacy[99752]     from System.Imports import *
6/20/10 9:30:41 AM [0x0-0x2e62e6].com.Cateia.KingsLegacy[99752]   File "System/Imports.pyc", line 23, in <module>
6/20/10 9:30:41 AM [0x0-0x2e62e6].com.Cateia.KingsLegacy[99752]   File "ogremac_ppc/renderer/OGRE/__init__.pyc", line 10, in <module>
6/20/10 9:30:41 AM [0x0-0x2e62e6].com.Cateia.KingsLegacy[99752]   File "ogremac_ppc/renderer/OGRE/_ogre_.pyc", line 18, in <module>
6/20/10 9:30:41 AM [0x0-0x2e62e6].com.Cateia.KingsLegacy[99752]   File "ogremac_ppc/renderer/OGRE/_ogre_.pyc", line 11, in __load
6/20/10 9:30:41 AM [0x0-0x2e62e6].com.Cateia.KingsLegacy[99752] ImportError: dlopen(/Users/mcroft/Documents/MacGamesArcade/Demos/Kings_Legacy/King's Legacy/King's Legacy.app/Contents/Resources/.Game/King's Legacy.app/Contents/Resources/lib/python2.5/lib-dynload/ogremac_ppc/renderer/OGRE/_ogre_.so, 2): no suitable image found.  Did find:
6/20/10 9:30:41 AM [0x0-0x2e62e6].com.Cateia.KingsLegacy[99752] /Users/mcroft/Documents/MacGamesArcade/Demos/Kings_Legacy/King's Legacy/King's Legacy.app/Contents/Resources/.Game/King's Legacy.app/Contents/Resources/lib/python2.5/lib-dynload/ogremac_ppc/renderer/OGRE/_ogre_.so: mach-o, but wrong architecture
6/20/10 9:30:41 AM King's Legacy[99752] King's Legacy Error
6/20/10 9:30:41 AM King's Legacy[99752] King's Legacy Error
An unexpected error has occurred during execution of the main script

ImportError: dlopen(/Users/mcroft/Documents/MacGamesArcade/Demos/Kings_Legacy/King's Legacy/King's Legacy.app/Contents/Resources/.Game/King's Legacy.app/Contents/Resources/lib/python2.5/lib-dynload/ogremac_ppc/renderer/OGRE/_ogre_.so, 2): no suitable image found.  Did find:
/Users/mcroft/Documents/MacGamesArcade/Demos/Kings_Legacy/King's Legacy/King's Legacy.app/Contents/Resources/.Game/King's Legacy.app/Contents/Resources/lib/python2.5/lib-dynload/ogremac_ppc/renderer/OGRE/_ogre_.so: mach-o, but wrong architecture
6/20/10 9:30:44 AM com.apple.launchd.peruser.501[83] ([0x0-0x2e62e6].com.Cateia.KingsLegacy[99752]) Exited with exit code: 255
Logged
mcroft
Pedestrian
*
Posts: 2


View Profile
« Reply #1 on: June 20, 2010, 05:00:41 PM »

So, I partially "fixed" it.

I navigated to /Users/mcroft/Documents/MacGamesArcade/Demos/Kings_Legacy/King's Legacy/King's Legacy.app/Contents/Resources/.Game/King's Legacy.app/Contents/Resources/lib/python2.5/lib-dynload/

and moved ogremac_ppc to ogremac_ppc.bak and created a symlink from ogremac to ogremac_ppc and it launched.

It displayed graphics and played voice and music, but it didn't have most text (intro text and pictures of text, but it didn't look like it was rendering fonts or something).

I'm attaching a screenshot showing places I think there should be text but there isn't and also the console log.  While I'm hoping the log will help you, it might be nice in the future to limit this level of logging to debug builds.  It's a lot...

« Last Edit: June 20, 2010, 05:04:11 PM by mcroft » Logged
Krešimir Špes
Lead Programmer
Administrator
The Father
*
Posts: 352



View Profile WWW
« Reply #2 on: June 20, 2010, 06:15:54 PM »

thanks for this thorough report! We'll see what we can do
Logged

Krešimir Špes
Lead Programmer
Magnus
Poet
**
Posts: 15



View Profile WWW
« Reply #3 on: September 03, 2010, 11:34:51 AM »

The font came up previously in my post here.
Logged

Ivan Vučica
Programmer
Administrator
Manager
*
Gender: Male
Posts: 90

Gravatar


View Profile WWW
« Reply #4 on: September 03, 2010, 11:29:18 PM »

King's Legacy shares no code with Kings of the Dark Age.

On topic, we've pinpointed the problem to Apple recently starting to ship computers with 64-bit kernel turned on by default, as opposed to some previous models with 64-bit Snow Leopard that actually ran 64-bit applications with 32-bit kernel.

In other words, you should try holding keys 3 and 2 while turning on the computer (while pressing the power button). This should force the 32-bit kernel to start.

Any future releases, and any future patches for our games will have this fixed (that is, it won't matter if you run a 32-bit or a 64-bit kernel)
Logged

Ivan Vučica
get leet eat wheat
Pages: [1]
  Print  
 
Jump to:  


Cateia Games
Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!