OpenTTD not starting in Mac OS X

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
User avatar
heavyjoost
Engineer
Engineer
Posts: 26
Joined: 19 Dec 2002 14:00
Location: Canada
Contact:

OpenTTD not starting in Mac OS X

Post by heavyjoost »

I tried to start OpenTTD in Mac OS X but it doesn't work. I have the required files in the OpenTTD.app/Data directory, where the other grf files are also.
OpenTTD gives me this error:

Code: Select all

Error: No available language packsYour sample.cat file is corrupted or missing!e
And in the console which opens then it shows me this:

Code: Select all

Mac OS X Version 10.3.3 (Build 7G21)
2005-05-16 08:40:18 -0600
2005-05-16 08:40:18.894 loginwindow[283] LSOpenFromURLSpec return err = -10826

2005-05-16 08:41:29.402 Safari[332] Unknown GIF label (0x0a)

2005-05-16 08:44:21.108 Safari[332] Unknown GIF label (0x0a)
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Re: OpenTTD not starting in Mac OS X

Post by Bjarni »

heavyjoost wrote:I tried to start OpenTTD in Mac OS X but it doesn't work. I have the required files in the OpenTTD.app/Data directory, where the other grf files are also.
OpenTTD gives me this error:

Code: Select all

Error: No available language packsYour sample.cat file is corrupted or missing!e
you should make a folder called "data" in the same folder as OpenTTD.app, not inside OpenTTD.app. Unless you want to do some development, you should not look inside the app bundle
User avatar
heavyjoost
Engineer
Engineer
Posts: 26
Joined: 19 Dec 2002 14:00
Location: Canada
Contact:

Post by heavyjoost »

Still doesn't work. OpenTTD is located in ~/.programs/OpenTTD.app/ so the data directory I made is ~/.programs/data/ but this doesn't work. ~/.programs/OpenTTD.app/data/ doesn't work either but I guess that should not work.
I get this output:

Code: Select all

Error: No available language packsYour sample.cat file is corrupted or missing!e
Console window (so not terminal):

Code: Select all

Mac OS X Version 10.3.3 (Build 7G21)
2005-05-17 08:21:35 -0600
2005-05-17 08:21:35.931 loginwindow[284] LSOpenFromURLSpec return err = -10826

Attempt to release a printing object without first doing a retain!!!

Attempt to release a printing object without first doing a retain!!!

Attempt to release a printing object without first doing a retain!!!

Attempt to release a printing object without first doing a retain!!!

Attempt to release a printing object without first doing a retain!!!

Attempt to release a printing object without first doing a retain!!!

Attempt to release a printing object without first doing a retain!!!

Attempt to release a printing object without first doing a retain!!!

Attempt to release a printing object without first doing a retain!!!

Attempt to release a printing object without first doing a retain!!!

2005-05-17 10:37:37.873 Safari[391] Error restoring window from dock: -4960

Attempt to release a printing object without first doing a retain!!!

Attempt to release a printing object without first doing a retain!!!
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

I recommend that you update your OS to 10.3.9 to get all the fixes Apple released (including security fixes). You can do that with system update in the control panels

also it's a bad idea to call a folder ".programs". Starting a file/folder name with "." have a special meaning, which is "hide this from finder". You should not be able to see that unless you hacked your system

Code: Select all

Attempt to release a printing object without first doing a retain!!! 

2005-05-17 10:37:37.873 Safari[391] Error restoring window from dock: -4960
I don't know about this output, but it's not generated by OpenTTD. Hopefully I will find a way to get it to print whatever OTTD says and only OTTD in one window.


as for the problem: you should not have this problem when you put .app and data next to each other.

I have two things that you could try:

1: try 0.4.0 if you are using a different version

2: put the TTD grf files+sample.cat into OpenTTD.app/contents/data/
2 should not be needed, but if it fixes your weird problem....
User avatar
heavyjoost
Engineer
Engineer
Posts: 26
Joined: 19 Dec 2002 14:00
Location: Canada
Contact:

Post by heavyjoost »

I know .programs will be hidden in the directory but that is because it's at school ;). So updating the system is no option either. I tried all paths but none of them worked. I tried 0.3.6 and 0.4.0 but neither 0.3.6 nor 0.4.0 worked
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

heavyjoost wrote:I know .programs will be hidden in the directory but that is because it's at school ;). So updating the system is no option either. I tried all paths but none of them worked. I tried 0.3.6 and 0.4.0 but neither 0.3.6 nor 0.4.0 worked
ahh, now I think I know what is going wrong. You open the game from terminal since you can't see the game from finder

You most likely open with the command ./openttd. You should not do that as it will give you the wrong working dir and it can't find any of the external files

You should cd into the OTTD folder and then open OTTD with the command

Code: Select all

OpenTTD.app/contents/macos/openttd
Now you should get the correct working dir and the game should start. Note: OSX 10.3.x is not case sensitive, so openttd.app/... works too
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 21 guests