This site is pretty much dead now. I'm keeping it up for reference in case people need it, but if you want to run these libraries and games on your Mac, I suggest you check out Fink or DarwinPorts.

If you'd like to do something with this site, drop me a line -- timdoug at google's email service. Thanks!

The OS X Game Patch Repository

...along with instrustions and game library patches
project page

Welcome. The goal of this project is to get as many open source games/game libraries working on Mac OS X. As patches come out and as I get around to making them not influence other platforms, hopefully they'll be merged upstream so extra patches need not be applied.

The Libraries

First, you need the libraries. You could use Fink to download and install the following, but I like to compile them myself. If you don't feel like entering all these commands by hand, copy and paste the parts of it or the whole thing into a terminal, enter root password the first time it wants it, then come back in a couple minutes and start compiling some games.
NB: The sudo install stuff does need your root/admin password, in order to install the libs system wide.
NB: You *must* install these in order because some of the libs depend on others.
curl -o SDL-1.2.7.tar.gz
tar xvzf SDL-1.2.7.tar.gz
cd SDL-1.2.7
sudo make install

curl -o SDL_mixer-1.2.5.tar.gz
tar xvzf SDL_mixer-1.2.5.tar.gz
cd SDL_mixer-1.2.5.tar.gz
sudo make install

curl -o freetype-2.1.9.tar.bz2
bzcat freetype-2.1.9.tar.bz2 | tar xv
cd freetype-2.1.9
sudo make install

curl -o SDL_ttf-2.0.6.tar.gz
tar xvzf SDL_ttf-2.0.6.tar.gz
cd SDL_ttf-2.0.6
curl -o SDL_ttf-2.0.6-OSX-compile-fix-01.patch
patch <SDL_ttf-2.0.6-OSX-compile-fixes-01.patch
sudo make install

curl -o jpegsrc.v6b.tar.gz
tar xvzf jpegsrc.v6b.tar.gz
cd jpeg-6b
sudo make install-lib

curl -o libpng-1.2.5.tar.gz
tar xvzf libpng-1.2.5.tar.gz
cd libpng-1.2.5
cp scripts/makefile.macosx ./Makefile
curl -o libpng-1.2.5-OSX-makefile-fix-02.patch 
patch <libpng-1.2.5-OSX-makefile-fix-02.patch
sudo make install
sudo ranlib /usr/local/lib/libpng.a

curl -o SDL_image-1.2.3.tar.gz
tar xvzf SDL_image-1.2.3.tar.gz
cd SDL_image-1.2.3
sudo make install

curl -o SDL_gfx-2.0.11.tar.gz
tar xvzf SDL_gfx-2.0.11.tar.gz
cd SDL_gfx-2.0.11
./configure --disable-mmx
sudo make install

The Games

LLL (Linux Lunar Lander)
curl -o LLL-1.5.tar.gz
tar xvzf LLL-1.5.tar.gz
cd LLL-1.5
curl -o LLL-1.5-OSX-01.patch
patch <LLL-1.5-OSX-01.patch

curl -o xpired-1.22-linux_source.tar.gz
tar xvzf xpired-1.22-linux_source.tar.gz
cd src
curl -o xpired-1.22-OSX-04.patch
patch -p1 <xpired-1.22-OSX-04.patch

Super Mario Clone
curl -o smclone-0.55-linux.tar.gz
tar xvzf smclone-0.55-linux.tar.gz
cd smclone-0.55
curl -o smclone-0.55-OSX-01.patch
patch -p1 <smclone-0.55-OSX-01.patch
cp src/smclone .
./smclone Logo