This game uses hardware accleration and work well from both console and xorg
to run the game do:
Pax Britannica is a one-button real-time strategy game by No Fun Games
Code: Select all
sudo modprobe snd_pcm_oss wget http://labb.zafena.se/jogamp/vc4/libgdx-demo-pax-britannica-1.6.3-armhf.jar java -jar libgdx-demo-pax-britannica-1.6.3-armhf.jar
The Raspberry Pi port here is using Stefan Wagner's libgdx java port of the original game that is now found in the demo examples of the RPi libgdx game development framework
Troubleshooting on Raspberry Pi:
If you see "* failed to add service - already in use?" this originate from the bcm Raspberry Pi OpenGL ES driver failed to allocate memory.
fix it by runing
inside raspi-config select advanced -> memorysplit and change it to 64Mb or more.
If OpenAL fail to initialize
"AL lib: (EE) ALCplaybackOSS_open: Could not open /dev/dsp: No such file or directory"
this originate from that the libopenal sound library, bundled with JOAL, failed to find your raspberry pi soundcard
then you have two options:
A) load the linux kernel driver
sudo modprobe snd_pcm_oss
B) disable the OpenAL soft oss driver:
and make sure that the drivers list contains -oss (it disables the OSS backend that tries to use the non existant dsp file)