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-dev2:
Obtain the source code with this little command:
Code: Select all
git clone https://github.com/raspberrypi/quake3.gitCode: Select all
cd quake3Now 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.shCode: Select all
ARM_LIBS=/opt/vc/libCode: 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.zipThe 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.armPlease 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!
I remember the first computer I "owned", got for my 14th birthday and it was a K6-2 350mhz with 128mb of RAM and an 8 gb Quantum Bigfoot hard drive. Oh, did I mention it weighed about 20 lbs? and had an ATI Rage LT 4mb built in...15 fps if I was lucky, could manage 25-30 if I didn't mind looking at a bunch of flat grey polygons.