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 http://www.libsdl.org/release/SDL-1.2.7.tar.gz -o SDL-1.2.7.tar.gz
tar xvzf SDL-1.2.7.tar.gz
cd SDL-1.2.7
./configure
make
sudo make install

curl http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.5.tar.gz -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
./configure
make
sudo make install

curl http://voxel.dl.sourceforge.net/sourceforge/freetype/freetype-2.1.9.tar.bz2 -o freetype-2.1.9.tar.bz2
bzcat freetype-2.1.9.tar.bz2 | tar xv
cd freetype-2.1.9
./configure
make
sudo make install

curl http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.6.tar.gz -o SDL_ttf-2.0.6.tar.gz
tar xvzf SDL_ttf-2.0.6.tar.gz
cd SDL_ttf-2.0.6
./configure
curl http://osdn.dl.sourceforge.net/sourceforge/osxgamepatches/SDL_ttf-2.0.6-OSX-compile-fix-01.patch -o SDL_ttf-2.0.6-OSX-compile-fix-01.patch
patch <SDL_ttf-2.0.6-OSX-compile-fixes-01.patch
make
sudo make install

curl http://www.ijg.org/files/jpegsrc.v6b.tar.gz -o jpegsrc.v6b.tar.gz
tar xvzf jpegsrc.v6b.tar.gz
cd jpeg-6b
./configure
sudo make install-lib

curl http://voxel.dl.sourceforge.net/sourceforge/png-mng/libpng-1.2.5.tar.gz -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 http://osdn.dl.sourceforge.net/sourceforge/osxgamepatches/libpng-1.2.5-OSX-makefile-fix-02.patch -o libpng-1.2.5-OSX-makefile-fix-02.patch 
patch <libpng-1.2.5-OSX-makefile-fix-02.patch
make
sudo make install
sudo ranlib /usr/local/lib/libpng.a

curl http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.3.tar.gz -o SDL_image-1.2.3.tar.gz
tar xvzf SDL_image-1.2.3.tar.gz
cd SDL_image-1.2.3
./configure
make
sudo make install

curl http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/SDL_gfx-2.0.11.tar.gz -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
make
sudo make install

The Games

LLL (Linux Lunar Lander)
curl http://users.pandora.be/thomas.raes/LSS/LLL-1.5.tar.gz -o LLL-1.5.tar.gz
tar xvzf LLL-1.5.tar.gz
cd LLL-1.5
curl http://osdn.dl.sourceforge.net/sourceforge/osxgamepatches/LLL-1.5-OSX-01.patch -o LLL-1.5-OSX-01.patch
patch <LLL-1.5-OSX-01.patch
make
./LLL

X-pired
curl http://voxel.dl.sourceforge.net/sourceforge/xpired/xpired-1.22-linux_source.tar.gz -o xpired-1.22-linux_source.tar.gz
tar xvzf xpired-1.22-linux_source.tar.gz
cd src
curl http://osdn.dl.sourceforge.net/sourceforge/osxgamepatches/xpired-1.22-OSX-04.patch -o xpired-1.22-OSX-04.patch
patch -p1 <xpired-1.22-OSX-04.patch
make
./xpired

Super Mario Clone
curl http://voxel.dl.sourceforge.net/sourceforge/smclone/smclone-0.55-linux.tar.gz -o smclone-0.55-linux.tar.gz
tar xvzf smclone-0.55-linux.tar.gz
cd smclone-0.55
./configure
curl http://osdn.dl.sourceforge.net/sourceforge/osxgamepatches/smclone-0.55-OSX-01.patch -o smclone-0.55-OSX-01.patch
patch -p1 <smclone-0.55-OSX-01.patch
make
cp src/smclone .
./smclone


SourceForge.net Logo