Mac OSX Crash --> HWENGINE

15 replies [Last post]
Mittenz
User offline. Last seen 12 years 17 weeks ago. Offline
Joined: 2010-04-04
Posts: 2

Hello everyone,

I have Mac OSX 10.5.8 (Leopard)

When I run the older version, everything works perfectly. However, as soon as I install the new version and launch it, I get the following error:

"Unable to run engine: 1 (/Volumes/Hedgewars 0.9.13/Hedgewars.app/Contents/MacOS/hwengine)"

I know that Fabianjul wrote something on this topic, but I am un-able to use his fix because I do not have an /opt/ folder containing the x11 file that I need to copy to /usr/x11. Here is his quoted solution:

"fabianjul

When I start the game, it says "Engine could not be started: 1". The menu appears, but I can't start a game. (I have the Mac OS version, running on 10.6)

EDIT:

OK, I fixed it:

1. get the latest XQuartz from here:
http://xquartz.macosforge.org/trac/wiki/X112.5.0

2. install it

3. open Finder, press CMD-SHIFT-G and enter /usr/

4. copy the files from /opt/X11 to /usr/X11 (overwrite)

5. log out and in again"

TL DR: Game does not start up due to errors with HWengine on Mac OSX 10.5.8 (Leopard). PLEASE HELP ME! This game is so incredible and I am very frustrated that I can not play the new release!

Best Regards,
Mittenz

Catl
User offline. Last seen 14 years 3 weeks ago. Offline
Joined: 2010-04-04
Posts: 2

Hi Mittenz and everyone !

I just discovered this game a few weeks ago, while searching for a replacement to Worms for my Mac... I was really excited to play the game after a few years of having converted myself to Apple... And now, with the new version, I was dancing and jumping to the ceiling of happiness...

But, it didn't work!!

I'm not a native english speaker (sorry for the errors!), so I'm not sure of understanding it all, but I think that I have the same problem as Mittenz. And I did not try the fix from Fabianjul, because I haven't any skills in computer programming and stuff like that...

I copy here the crash report that I got, hoping that it can be usefull to someone that does understand:

Process: hwengine [517]
Path: /Applications/Hedgewars.app/Contents/MacOS/hwengine
Identifier: hwengine
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: hedgewars [513]

Interval Since Last Report: 11225 sec
Crashes Since Last Report: 4
Per-App Interval Since Last Report: 0 sec
Per-App Crashes Since Last Report: 4

Date/Time: 2010-04-04 17:01:32.417 -0500
OS Version: Mac OS X 10.5.8 (9L30)
Report Version: 6
Anonymous UUID: 3E467D57-4BCF-46CF-93C5-EC7B194E2AD0

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0

Dyld Error Message:
Library not loaded: @executable_path/../Frameworks/SDL.framework/Versions/A/SDL
Referenced from: /Applications/Hedgewars.app/Contents/MacOS/hwengine
Reason: no suitable image found. Did find:
/Applications/Hedgewars.app/Contents/MacOS/../Frameworks/SDL.framework/Versions/A/SDL: unknown required load command 0x80000022
/Applications/Hedgewars.app/Contents/MacOS/../Frameworks/SDL.framework/Versions/A/SDL: unknown required load command 0x80000022

System configuration: iMac8,1, BootROM IM81.00C1.B00, 2 processors, Intel Core 2 Duo, 2.66 GHz, 2 GB

Thank you so much for that amazing game! I hope that someone will be able to fix it soon for us, mac users! In the meanwhile, I'll be playing version 0.9.12...

Regards,
Catl

Koda
Koda's picture
User offline. Last seen 10 weeks 6 days ago. Offline
Joined: 2008-11-10
Posts: 215

we have put up some torrents with a correct version,
try to download them or wait for a mirror to show up

if you're on 10.4 or 10.5 be sure to install X11 as well

*UPDATE*
you can use this (slow) link while the mirrors are set up

Mittenz
User offline. Last seen 12 years 17 weeks ago. Offline
Joined: 2010-04-04
Posts: 2

Thank you!

I will be anxiously awaiting the mirror, considering that Rogers ISP throttles Torrents... Please hurry lol!

Best Regards,

Mittenz

Catl
User offline. Last seen 14 years 3 weeks ago. Offline
Joined: 2010-04-04
Posts: 2

Thank you so much Koda!!!

The new torrent worked just fine!

Thanks again!!!

Regards,
Catl

sfalken
User offline. Last seen 14 years 2 weeks ago. Offline
Joined: 2010-04-06
Posts: 6

Hm, I had Snow Leopard 10.6.2, now 10.6.3, and on both the engine can't be started.
I tried to download via self-update and with the torrent-download. Also I tried the fix with XQuartz.
Someone any idea?

sfalken
User offline. Last seen 14 years 2 weeks ago. Offline
Joined: 2010-04-06
Posts: 6

I just tried to open the engine executable inside of the Hedgewars.app-package and got the following error:

/Applications/Hedgewars.app/Contents/MacOS/hwengine ; exit;
dyld: Library not loaded: /usr/X11R6/lib/libfreetype.6.dylib Referenced from: /Applications/Hedgewars.app/Contents/MacOS/../Frameworks/SDL_ttf.framework/Versions/A/SDL_ttf
Reason: image not found
Trace/BPT trap
logout

Koda
Koda's picture
User offline. Last seen 10 weeks 6 days ago. Offline
Joined: 2008-11-10
Posts: 215

sfalken allegedly wrote:

I just tried to open the engine executable inside of the Hedgewars.app-package and got the following error:

/Applications/Hedgewars.app/Contents/MacOS/hwengine ; exit;
dyld: Library not loaded: /usr/X11R6/lib/libfreetype.6.dylib Referenced from: /Applications/Hedgewars.app/Contents/MacOS/../Frameworks/SDL_ttf.framework/Versions/A/SDL_ttf
Reason: image not found
Trace/BPT trap
logout


you do need to have X11 installed
i suggest the one from xquartz.macosforge.com

sfalken
User offline. Last seen 14 years 2 weeks ago. Offline
Joined: 2010-04-06
Posts: 6

Quote:
you do need to have X11 installed

I thought X11 is installed since Leopard by default? There are some dirs /usr/X11 and /usr/X11R6

Quote:
i suggest the one from xquartz.macosforge.com

I did, I did. After updating to 10.6.3 and a quick test whether it still does not work I installed XQuartz 2.5, logged out and in, but even after restarting the same error happens.

Koda
Koda's picture
User offline. Last seen 10 weeks 6 days ago. Offline
Joined: 2008-11-10
Posts: 215

sfalken allegedly wrote:

Quote:
you do need to have X11 installed

I thought X11 is installed since Leopard by default? There are some dirs /usr/X11 and /usr/X11R6

Quote:
i suggest the one from xquartz.macosforge.com

I did, I did. After updating to 10.6.3 and a quick test whether it still does not work I installed XQuartz 2.5, logged out and in, but even after restarting the same error happens.

wait, are you using 10.6 or 10.5?
if you are using 10.6 you should use Hedgewars-0.9.13_64bit.dmg, for everything else Hedgewars-0.9.13_Universal.dmg

if you have problems again, can you come to irc #hedgewars on freenode so i can understand better what's wrong?

sfalken
User offline. Last seen 14 years 2 weeks ago. Offline
Joined: 2010-04-06
Posts: 6

Yeah, I'm using Snow Leopard and updated yesterday from 10.6.2 to 10.6.3.
Thanks, but I can't run the 64bit-version, cause my MacBook Pro (the first revision from 2006 with 2.16Ghz Core Duo) does not support 64bit. There is this doesn't-run-symbol (a circle with a strike through) layed over the Hedgewars-Icon.
Here's again a chronical list of what I've did:
* updated via self-update (from 0.9.12 to .13) -> error first time occured
* updated OS X -> same error
* installed XQuartz 2.5 -> nothing
* installed Hedgewars 0.9.13, the one from the torrent -> nothing
* deleted all prefs and caches and tried again with both the torrent one and the self-updated one -> nothing

When opening the hwengine executable by dubbleclick the error that I've posted in #6 is printed.
And in my /usr/X11R6/lib/ there's no such file libfreetype.6.dylib, only libfreetype.a

sfalken
User offline. Last seen 14 years 2 weeks ago. Offline
Joined: 2010-04-06
Posts: 6

Hi Koda,
just want to say Thank You, cause reinstalling X11 solved the problem. Now it even runs in fullscreen correctly Smile

ctc
User offline. Last seen 13 years 47 weeks ago. Offline
Joined: 2010-06-05
Posts: 2

Hello! I've just downloaded the universal package and am having trouble running it as well. I get the error "Unable to run engine: 1 (/Applications/Hedgewars.app/Contents/MacOS/hwengine)". I am running OS X 10.4.11, so cannot install X11 from xquartz.macosforge.com, and when I try to install X11 by downloading it from the Apple site, it tells me it doesn't need it Sad Smiley

Smaxx
Smaxx's picture
User offline. Last seen 12 years 50 weeks ago. Offline
Joined: 2009-04-29
Posts: 391

Post your debug0.log found within your Hedgewars config folder (never abel to remember the right folder, should be "hedgewars" or ".hedgewars" somewhere in your home folder or so).

Koda
Koda's picture
User offline. Last seen 10 weeks 6 days ago. Offline
Joined: 2008-11-10
Posts: 215

you should install x11 from the mac os x install dvd or you can get it from here http://roundhere.net/journal/install-x11-on-mac-os-x-10-4-tiger-without-dvd/ if you lost the dvd
try it and let us know Smile

ctc
User offline. Last seen 13 years 47 weeks ago. Offline
Joined: 2010-06-05
Posts: 2

Koda allegedly wrote:

you should install x11 from the mac os x install dvd or you can get it from here http://roundhere.net/journal/install-x11-on-mac-os-x-10-4-tiger-without-dvd/ if you lost the dvd
try it and let us know Smile

Done. And it looks like it worked, thanks Koda Smile

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]