Mac OS X build of OpenTTD 1.0.1

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Melebius
Engineer
Engineer
Posts: 1
Joined: 19 Jun 2010 05:53

Re: Mac OS X build of OpenTTD 1.0.1

Post by Melebius »

KingRobot wrote:*Update: Now available for 10.4 as well; see the next post down*

For those wanting to use OpenTTD natively on Mac OS X, there is a Universal Binary build downloadable here:
http://openttd.eisbox.net/files/openttd ... osx-ub.zip

This version is quite current and has been built with the latest Mac OS X native developer's tools. It should run on Intel and PPC macs running 10.5 or later. The majority of the bugs should not affect gameplay, but that being said, use at your own risk. The usual caveats about OpenTTD being unsupported on Mac OS X apply.

If you get a crash when switching between windowed and full-screen mode, please post details of your experience at the bug tracker here: http://bugs.openttd.org/task/3651
Hi, thanks for compiling the new version of OpenTTD for Mac. I’ve just tried it and I’ve got no problems. However, I wonder, why this file is still not available on the OpenTTD site while it’s been ready for more than a month?
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Mac OS X build of OpenTTD 1.0.1

Post by planetmaker »

Melebius wrote:why this file is still not available on the OpenTTD site while it’s been ready for more than a month?
Simple: it's not an officially released one.

The problem is not the ability to compile OpenTTD (the compile farm of OpenTTD can) but the ability to support and test on OSX. Thus no official binaries.
Rocco85
Engineer
Engineer
Posts: 7
Joined: 20 May 2007 11:43
Contact:

Re: Mac OS X build of OpenTTD 1.0.1

Post by Rocco85 »

Great that you continue developing this game for MacOS. But unfortunately it doesn't work on my Mac, running 10.4. I double-klick it but nothing happens...? What can be the reason?

/edit:
Intel-Mac "Late 2007"
Last edited by Rocco85 on 12 Jul 2010 14:37, edited 1 time in total.
DeletedUser6
Transport Coordinator
Transport Coordinator
Posts: 294
Joined: 23 Jul 2007 15:13
Location: Somewhere in this page

Re: Mac OS X build of OpenTTD 1.0.1

Post by DeletedUser6 »

Get same problem as guy above. Running 10.4 on PPC.
Yay! I'm back! Did you miss me?


...


I thought not.
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: Mac OS X build of OpenTTD 1.0.1

Post by Rubidium »

Most likely because the creator of the build did not make an universal build that supports your PowerPC processor.
Rocco85
Engineer
Engineer
Posts: 7
Joined: 20 May 2007 11:43
Contact:

Re: Mac OS X build of OpenTTD 1.0.1

Post by Rocco85 »

Maybe... but i have an Intel.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Mac OS X build of OpenTTD 1.0.1

Post by planetmaker »

then his build doesn't support 10.4 either as it seems and he used the wrong SDK for universal builds anyway.
DeletedUser6
Transport Coordinator
Transport Coordinator
Posts: 294
Joined: 23 Jul 2007 15:13
Location: Somewhere in this page

Re: Mac OS X build of OpenTTD 1.0.1

Post by DeletedUser6 »

Yes, but he said/wrote
...Universal Binary...Intel and PPC...10.4...
Hmmm.....
Yay! I'm back! Did you miss me?


...


I thought not.
User avatar
Wintersoldier
Traffic Manager
Traffic Manager
Posts: 197
Joined: 20 Feb 2010 03:08
Location: The world

Re: Mac OS X build of OpenTTD 1.0.1

Post by Wintersoldier »

Then that just means that he thought he successfully compiled a universal binary.
KingRobot
Engineer
Engineer
Posts: 22
Joined: 23 Sep 2009 06:25

Re: Mac OS X build of OpenTTD 1.0.1

Post by KingRobot »

If either of the two folks above who were unable to run OpenTTD on 10.4 are willing, I've had it tested sucessfully on 10.4, so I'm wondering if they can provide more information...

Please make sure you downloaded the later version built for 10.4 and not the earlier one built for 10.5... better yet, there is now a build of 1.0.3:
http://openttd.eisbox.net/files/openttd-1.0.3-OSX.dmg

Please open Terminal.app, run the following commands, and tell me what the output is.

Code: Select all

# cd /Applications/OpenTTD.app/Contents/MacOS/
# ./openttd 
Thanks in advance.
Rocco85
Engineer
Engineer
Posts: 7
Joined: 20 May 2007 11:43
Contact:

Re: Mac OS X build of OpenTTD 1.0.1

Post by Rocco85 »

Thanks for your help! Here you go:

Code: Select all

dyld: Library not loaded: /usr/X11/lib/libpng12.0.dylib
  Referenced from: /Users/username/openttd/OpenTTD.app/Contents/MacOS/./openttd
  Reason: image not found
Trace/BPT trap
KingRobot
Engineer
Engineer
Posts: 22
Joined: 23 Sep 2009 06:25

Re: Mac OS X build of OpenTTD 1.0.1

Post by KingRobot »

Rocco85 wrote:Thanks for your help! Here you go:

Code: Select all

dyld: Library not loaded: /usr/X11/lib/libpng12.0.dylib
  Referenced from: /Users/username/openttd/OpenTTD.app/Contents/MacOS/./openttd
  Reason: image not found
Trace/BPT trap
Looks like you don't have X11 installed... but really, you shouldn't have to. I've created a new build that shouldn't require the X11 libraries (they are built in) Still has all the same goodies as before; lzo, universal binary, 10.4 support, etc.

http://openttd.eisbox.net/files/openttd-1.0.3-OSX.dmg
Rocco85
Engineer
Engineer
Posts: 7
Joined: 20 May 2007 11:43
Contact:

Re: Mac OS X build of OpenTTD 1.0.1

Post by Rocco85 »

Well, but X11 is installed on my Mac, and it works fine :)

Anyway, thank you for this version, it works perfektly :)

Thank you very much!
audigex
Tycoon
Tycoon
Posts: 2056
Joined: 09 Dec 2007 21:28
Contact:

Re: Mac OS X build of OpenTTD 1.0.1

Post by audigex »

Any chance you could give some more info on how exactly you made this build?

If you gave a guide to how you did it, others may be able to post more recent builds or builds with patch combinations for OSX users. I'd certainly be willing to have a go if I knew how to do it (unfortunately I've only owned my MacBook for all of 2 days, so I'm not particularly well versed with it yet - some basic C programming in XCode is as far as I've got)
Jon
mylo78
Engineer
Engineer
Posts: 2
Joined: 06 Nov 2010 08:55

Re: Mac OS X build of OpenTTD 1.0.1

Post by mylo78 »

Hi,

I've just downloaded the game on this thread (v1.03) and was just wondering if you could write about how to compile it? I'm a developer, but have never done anything other than Java on OSX and wouldn't mind a quick primer on Xcode with this game.

That would be awesome if you could,

Cheers
mylo
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: Mac OS X build of OpenTTD 1.0.1

Post by Eddi »

sonofmof
Engineer
Engineer
Posts: 4
Joined: 26 Oct 2009 22:07

Re: Mac OS X build of OpenTTD 1.0.1

Post by sonofmof »

Just wanted to add a comment about another site (I'm not self promoting) with builds for Intel machines on 10.5 and 10.6

I've been using the 64bit builds for 10.6 and had no problems on 3 different models of iMac (2007 white, 2009 silver and 2010 silver)

still not official but perfectly stable for me.

All credit to the guys compiling these un-official builds, your doing a great service to many many players.

THANKS !
Last edited by planetmaker on 14 Nov 2010 14:51, edited 1 time in total.
Reason: Link removed - packages don't comply with license
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Mac OS X build of OpenTTD 1.0.1

Post by planetmaker »

Please, when you distribute OpenTTD, comply with its license. That means that the COPYING / license information as well as the credits must be kept.

Use make bundle_zip or make bundle_dmg to create your bundles and your problem is solved and you're out of trouble.
mylo78
Engineer
Engineer
Posts: 2
Joined: 06 Nov 2010 08:55

Re: Mac OS X build of OpenTTD 1.0.1

Post by mylo78 »

planetmaker wrote:Please, when you distribute OpenTTD, comply with its license. That means that the COPYING / license information as well as the credits must be kept.

Use make bundle_zip or make bundle_dmg to create your bundles and your problem is solved and you're out of trouble.
Good call. The wiki page doesn't mention this at all, only make bundle - the wiki page should be amended to convey this info - probably with a note at the top to highlight it. Anywhere to create a ticket?

Cheers
Mylo
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Mac OS X build of OpenTTD 1.0.1

Post by Yexo »

It's a wiki, which means everyone can edit it. Please go right ahead and add this information yourself.
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: Baidu [Spider] and 3 guests