Mac OS X

From Armagetron
Revision as of 06:16, 14 February 2021 by Z-man (talk | contribs) (Mark as obsolete)

This page will help you get up and running to hack Armagetron on Mac OS X.

Note: This is the old way. The new way is over at macOS.

Prerequisites

Xcode

You'll need Apple's Xcode ≥ 2.4.

Libraries and dependancies

All the external libraries you'll need are on the SourceForge.net armagetronad project page.

Extract the archive and copy the ArmagetronAdvanced to

/Library/Frameworks/ArmagetronAdvanced

as stated in the README.txt file.

MacPorts

MacPorts comes in handy for installing software, like Bazaar. It is optional, but it reduces the maintance of keeping your installed software up-to-date.

Getting the Source

The armagetronad source code is available from two sources: subversion and bazaar. Bazaar offers more features for developers wanting to work on and improve the game.

Subversion

If you are running Mac OS X 10.5, you already have subversion. If you are running an older version of Mac OS X, install svn with macports, using the command sudo port install subversion.

To get the unstable trunk branch:

svn co https://armagetronad.svn.sourceforge.net/svnroot/armagetronad/armagetronad/trunk/armagetronad

To get the stable 0.2.8 branch:

svn co https://armagetronad.svn.sourceforge.net/svnroot/armagetronad/armagetronad/branches/0.2.8/armagetronad

Check out Working with SVN for more information.

Bazaar

Bazaar can be installed by using the command sudo port install bzr. If you did not install Macports, you can download an install dmg from the Bazaar website.

To get the unstable trunk branch:

bzr branch lp:armagetronad

To get the stable 0.2.8 branch:

bzr branch lp:armagetronad/0.2.8

Check out Bazaar for more information.

Building

Open the MacOS/Armagetron Advanced.xcodeproj and build.