Quake 3 on your Raspberry Pi
Quake3 is a first person multiplayer shooter. This game is today quite old, but it is already played (at LAN parties) and it is often used for benchmark tests for graphic cards as reference.
Installation
First, we need to install all programs that are needed for building quake 3:
sudo apt-get install git gcc build-essential libsdl1.2-dev
You can get the free available source code with the following commands. We also unzip the package and move into the directory:
wget http://github.com/raspberrypi/quake3/archive/master.zip unzip master.zip cd quake3-master
Now we need to change the build.sh file. so we open it with an editor:
vi build.sh
There we need to change line 8, 16 and 19 with the following lines:
ARM_LIBS=/opt/vc/lib INCLUDES="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads" #CROSS_COMPILE=bcm2708-
Now its time to recompile Quake 3 for your Raspberry. This will lasts some minutes (it tool nearly an hour). You can start with:
./build.sh
The last thing is to install the game assets. You have to download and unpack them:
wget http://dl.dropbox.com/u/1816557/Q3%20Demo%20Paks.zip unzip Q3 Demo Paks.zip
All PAK files need to be copied into your /build/release-linux-arm/baseq3 directory. From this directory, you can then start Quake 3!
cd /home/pi/quake3-master/build/release-linux-arm sudo ./ioquake3.arm
Thanks for this but how do I do the thing about copying the PAK files to that directory? I’m ashamed to say I have absolutely no idea how to set about it. None of the other instructions on the web for running Quake in the Pi seem to shed any light, either. I’m flummoxed.
Hi,
this should be very easy. Just ‚cd‘ into your /build/release-linux-arm directory as told in my article. Then download and extract the package:
wget http://dl.dropbox.com/u/1816557/Q3%20Demo%20Paks.zip
unzip Q3 Demo Paks.zip
now there should be a basq3 directory. There are many *.pk3 Files!
That’s all. Hope this helps.