I’ve just finished playing Beneath a Steel Sky and started looking for another point-and-click sci-fi RPG and found Gemini Rue. It turned out that it uses the engine from Adventure Game Studio, which has a native port for Linux. Running the game using the native engine came out pretty straightforward. Here are the steps I had to follow.
Compiling the AGS engine
Simply following the readme from the AGS GitHub, first we install the dependencies:
sudo apt-get install git debhelper build-essential pkg-config libaldmb1-dev libfreetype6-dev libtheora-dev libvorbis-dev libogg-dev
Then we clone the repo and build the engine:
git clone git://github.com/adventuregamestudio/ags.git cd ags make --directory=Engine
Fixing the sound
The first time I tried to run the game, I got the following error, and correspondingly, there wasn’t any sound in the game.
Checking sound inits.
AGS: Initialize sound drivers
ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC0D0 failed: No such file or directory
I found the solution in a forum post: loading the midi kernel module and making a symlink to the device node.
sudo modprobe snd_virmidi cd /dev/snd sudo ln -s midiC1D1 midiC0D0
Running the game
If you had the Windows setup binary like me, you have to extract the files from the setup exe. I used innoextract for that:
sudo apt-get install innoextract innoextract setup_gemini_rue_184.108.40.206.exe
The “Gemini Rue.exe” can be found in the newly created “app” directory. Now, from the Engine directory of AGS we just call
./ags --windowed /path-to-Gemini/app/Gemini\ Rue.exe
Enjoy the game!