So I wanted to give Smokin Guns a try. It was just released as a stand alone game, after starting life as a Quake3 mod called Western Quake. Smokin Guns is set in the Wild West and offers unique gametypes such as Bank Robbery.
Installation was supposed to be fairly straightforward:
1) Download for FREE from http://www.smokin-guns.net/ Get the .zip archive not the .exe. The .zip contains both the ms windows .exe and the linux binary. (340MB)
2) Unzip it. You can double click the .zip and drag the "Smokin' Guns" directory to your home directory.
3) Rename the directory you just unzipped from "Smokin' Guns" to "SmokinGuns" as the engine will always look for that directory as installed game path.
4) Set execute permission for "smokinguns.x86". You can right click on the file in Nautilus, select Properties, go to Permissions tab, check box for "Allow executing file as program". Alternatively "chmod +x smokinguns.x86" on the command line does the same thing.
It was supposed be as simple as that to be able to run ~/SmokinGuns/smokinguns.x86
And it probably is that simple for some people with a 32-bit distro. However, on this box I have Ubuntu 8.04 64-bit, and a couple more steps were needed...
Code:
j@blackcreek:~/SmokinGuns$ ./smokinguns.x86
./smokinguns.x86: error while loading shared libraries: libXxf86dga.so.1: cannot open shared object file: No such file or directory
Hmmm... it looks like I have libXxf86dga.so.1 right?
Code:
j@blackcreek:~/SmokinGuns$ locate libXxf
/usr/lib/libXxf86dga.so.1
/usr/lib/libXxf86dga.so.1.0.0
/usr/lib/libXxf86misc.so.1
/usr/lib/libXxf86misc.so.1.1.0
/usr/lib/libXxf86vm.so.1
/usr/lib/libXxf86vm.so.1.0.0
/usr/lib32/libXxf86vm.so.1
/usr/lib32/libXxf86vm.so.1.0.0
Oh, there's not a 32-bit libXxf86dga.so.1 in /usr/lib32/
At this point I was afraid I might end up in a 32-bit dependancy hell. Ah, a good time to try out Cappy's getlibs script!
http://ubuntuforums.org/showthread.php?t=474790
Code:
j@blackcreek:~/SmokinGuns$ getlibs smokinguns.x86
libXxf86dga.so.1: libxxf86dga1
The following i386 packages will be installed:
libxxf86dga1
Continue [Y/n]? y
Downloading ...
Installing libraries ...
[sudo] password
Ok so there was only the one dependancy... Lets try to run the game again!
Code:
j@blackcreek:~/SmokinGuns$ ./smokinguns.x86
<<<< snip >>>>
...loading opengl32: QGL_Init: Can't load opengl32 from /etc/ld.so.conf: opengl32: cannot open shared object file: No such file or directory
failed
...loading libGL.so: QGL_Init: Can't load libGL.so from /etc/ld.so.conf: libGL.so: cannot open shared object file: No such file or directory
failed
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
Apparantly everything is there except for a needed symlink. Smokin Guns is looking for libGL.so not libGL.so.1 I created a symlink for the 64-bit one in /usr/lib too, but just the first line would probably suffice.
Code:
$ sudo ln -s /usr/lib32/libGL.so.1 /usr/lib32/libGL.so
$ sudo ln -s /usr/lib/libGL.so.1 /usr/lib/libGL.so
Finally it works!
Code:
j@blackcreek:~/SmokinGuns$ ./smokinguns.x86
Too bad there's only bots at 3:00am... I'm hoping there's human players during normal hours. (hopefully more players than World of Padman, which is a *really* cool game, but every time I've tried WOP there are never any human players. And I've tried WOP periodically for like 4 years now *sigh*)
Bookmarks