https://www.youtube.com/user/TheRaspberryPiGuy
So you have seen my video on how to do this (NEW VIDEO: http://www.youtube.com/watch?v=nSqFdguPEzI) But what are the actual pieces of code and downloads? Well here you go:
1:
Log in to your Pi (On Raspbian!) and then type into the Terminal:
Code: Select all
sudo apt-get install git gcc build-essential libsdl1.2-dev
2:
Obtain the source code with this little command:
Code: Select all
git clone https://github.com/raspberrypi/quake3.git
Code: Select all
cd quake3
Now the complex bit! We now have to edit the script that does the compilation. To access this script from the terminal use this command:
Code: Select all
nano build.sh
Code: Select all
ARM_LIBS=/opt/vc/lib
Code: Select all
INCLUDES="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads"
Code: Select all
#CROSS_COMPILE=bcm2708-
Save the file by pressing Ctrl-X followed by Y and finally return. Now you can begin the compilation process by typing ./build.sh; the process takes approximately 30 minutes
5:
Once that has finished you need to download the pak files... This lets the game function!
Now type:
Code: Select all
wget http://dl.dropbox.com/u/1816557/Q3%20Demo%20Paks.zip
The directory tree should look like this (using the default Pi user):
home
pi
quake3
build
release-linux-arm
baseq3
AND THEN IN THE 'baseq3' there should be your PAK files.

5:
Running the game... In order for you to run the game you have to be in the right directory.... To get there type this command:
Code: Select all
cd /quake3/build/release-linux-arm/
Code: Select all
sudo ./ioquake3.arm
Please let me know if anything is amiss in this tutorial (download links don't work etc.) Please watch my other videos and don't forget to tell your friends and subscribe!
Thanks
The Raspberry Pi Guy
P.S: If any of you are successful, PLEASE tell me!
