I first read about Smokin' Guns (http://smokin-guns.net) on one of several reviews of the state of Linux gaming.
First, download the binary zip. I found it easiest to go to the quake.fr mirror (http://www.quake3.fr/index.php?f_id_contenu=1150&f_id_type=) for the download as it is one of the few mirrors that does not require registration (die, FilePlanet!). Once you unpack the download, you will find that the Windows and Linux binaries are packaged together. You will need to run:
chmod +x smokinguns.x86
To make it executable. Once I did this, I got errors about OpenGL and OpenAL not being found, despite both being installed. The bottom post of the linked page gave the first part of the solution. You have to sym link the libraries to the ones that Smokin' Guns expects. The commands from the post below are:
sudo apt-get install libopenal1
sudo ln -s /usr/lib/libGL.so.1 /usr/lib/libGL.so
sudo ln -s /usr/lib/libopenal.so.1 /usr/lib/libopenal.so.0
Once I did all this, the game would start, but no sound would come. Here were the relevant errors:
------ Initializing Sound ------
ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused
ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused
AL lib: alsa.c:344: Could not open playback device 'default': Connection refused
Failed to open OpenAL device.
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less performance code)
/dev/dsp: Input/output error
Could not mmap /dev/dsp
Sound initialization failed.
A little bit of trial and error showed that the pulseaudio server needed to be installed. Ubuntu 9.04 ships with the client, but not the server (why, given that a number of apps apparently need it?). So, running
sudo apt-get install pulseaudio
solved the problem. Interestingly, this incidentally fixed another problem I was having. Playing Flash video (or games) in Firefox would lock up sound system wide until Firefox was killed. Once the pulseaudio server was installed, the problem went away.
I am going to give the game a shot (no pun intended) and see what I think of it. I just noticed that the game wasn't quite click 'n go for Linux users and wanted to make a note of my experiences.
Sources