Glenn Lagasse's Weblog

Retro Gaming - Solaris Style

Wednesday Jun 22, 2005

Being a long-time avid gamer I enjoy reminiscing and running old favorites on today's hardware and software when possible.

Dan pointed out to me at lunch today that an old favorite of ours called star control 2 was available as open source. He thought it would be quite cool to get it running on Solaris x86 (which I agreed with).

So, after downloading the source and the content files it was a simple matter of adding some libs from blastwave and compiling it up. Sure enough, it runs just beautifully (1980's style) on my Solaris x86 box.

This was done on an x86 box running the equivalent of Solaris Express 06/05. You'll need the following:

gcc (/usr/sfw/bin/gcc) gnu make (/usr/sfw/bin/gmake)

You'll also need to install the following packages from blastwave (or you could roll your own):

/opt/csw/bin/pkg-get -i libsdl libogg libvorbis sdlimage

Then set some environment variables:

export PATH=/opt/csw/bin:/usr/sfw/bin:$PATH
export CPPFLAGS="-I/opt/csw/include -I/usr/sfw/include"
export LDFLAGS="-L/opt/csw/lib -L/usr/sfw/lib -R/opt/csw/lib -R/usr/sfw/lib"

Then your on to compiling:

./build.sh uqm config
./build.sh uqm depend
./build.sh uqm install

Finally:

/usr/local/games/bin/uqm

[7] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg