[LinuxPlaying] X³ : Reunion ( Native )
Playing games on Linux :
X³ : Reunion
X³ is a single player space combat, exploration and trading game.
The controls and menu are quite hard to understand during your first hours (Now I understand why there is a rather big manual within the box) but you'll get used to ( eventually ^^ ).
I ran into sound issue with this game using pulseaudio; so if like me you got no sounds, here's 2 different ways to get sound.
** How to fix sounds **
-= Easy way =-
By using OSS (so, you'll need oss modules loaded, and disable pulseaudio)
- Load oss modules
sudo modprobe snd-pcm-oss
sudo modprobe snd-mixer-oss
sudo modprobe snd-seq-oss
- Launch the game ( pasuspender disable pulseaudio during the whole game session, so no other application can use your soundcard )
cd 'path to game' ( usually, something like /usr/local/games/x3 )
pasuspender ./x3-launcher
-= Hard way ( perhaps a little ugly too ) =-
I managed to use my system library rather than the one shipped with the game.
Long story short : I rename the original game's lib folder, and recreate a new one; and manually linked my lib32 system lib and copy some of the original game library:
-BACKUP the lib folder :
cp lib BACKUPlib
-Create the lib/lib1 folder :
mkdir lib
mkdir lib/lib1
-Linked my sytem library in the game folder :
(you'll need 32bit library libcrypto ssl, glib and gtk)
ln -s /usr/lib32/libcrypto.so lib/lib1/libcrypto.so.0.9.8
ln -s /usr/lib32/libssl.so lib/lib1/libssl.so.0.9.8
ln -s /usr/lib32/libglib-1.2.so.0 lib/lib1/libglib-1.2.so.0
ln -s /usr/lib32/libgmodule lib/lib1/libgmodule-1.2.so.0
ln -s /usr/lib32/libgtk.so lib/lib1/libgtk-1.2.so.0
-Finally, I copied back some of the original library shiped with the game
cp BACKUPlib/lib1/libavformat.so lib/lib1/
cp BACKUPlib/lib1/libavcodec.so lib/lib1/
cp BACKUPlib/lib1/libavutil.so lib/lib1/
cp BACKUPlib/lib1/libjpeg.so.62 lib/lib1/
cp BACKUPlib/lib1/libgdk-1.2.so.0 lib/lib1/
And now, I got X³ to use pulseaudio properly.