Quake 1 for Raspberry Pi
C Assembly Makefile HTML C++ Objective-C Other
Switch branches/tags
Nothing to show
Clone or download
welford big cleanup of makefile/buildfile, enable cross compile
More to do, but this is a good start.

./build.sh release_gl -cc will cross compile setting the systemroot and gcc prefix to the following default values:

CCPREFIX=/home/pi/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-
CCSYSROOT=/home/pi/raspberrypi/sysroot

Edit them in ./build.sh to match your machine.
Latest commit b1dea8f May 6, 2018

README.md

QURP : Quake Raspberry Pi Edition.

A barebones port of Quake 1 from id Software for Raspberry Pi. Made with the intention of keeping the look and feel of Quake 1 but with better performance on Raspberry Pi.

This port is based on the original source code, found here : https://github.com/id-Software/Quake . All the legal stuff can be found in the original readme files.

Raspberry Pi Edition

Downloading & Prerequisites

  1. Get git Sudo apt-get install git-core

  2. Make a directory somewhere for qurp The directory will clone with a qurp forlder at the root, so maybe be careful not to end up with something like /home/user/projects/qurp/qurp/

  3. Clone qurp git clone https://github.com/welford/qurp.git OR git clone git://github.com/welford/qurp.git For some reason using the 2nd option meant that I couldn't commit changed back to the respository, i'm not yet sure of the difference, but probably bext to use the first one for now

  4. @kramble added audio support via SDL, you'll need to use Sudo apt-get install libsdl1.2-dev

  5. input is handled via libudev, you'll also need to use sudo apt-get install libudev-dev

  6. You will need at least 128 MB allocated to the GPU. Run sudo raspi-config then in Advanced Options -> Memory Split set the desired value.

Compiling & Building

Navigate to [installed directory]/Winquake and run either

./build.sh debug_gl

or

./build.sh release_gl 

Which will build the game into [installed directory]/WinQuake/debugarm/bin or [installed directory]/WinQuake/releasearm/bin respectively

Running The Game

You will need to place a copy of the original games files under Winquake/id1. It doesn't yet work with the shareware version.

  • Be aware that linux's file system is case sensitive, if you see a PAK0.pak or PAK1.pak within the Winquake/id1 folder rename them to pak0.pak and pak1.pak respectivly

run the game with the commands:

./releasearm/bin/glquake

or

./debugarm/bin/glquake

depending on which version you have built

PC Edition

This also compiles/builds/runs on a windows PC using VS2015. Windows support is mostly for ease of development purposes.

Contributors

https://github.com/welford/qurp/graphs/contributors

Issues

  • Input Issues

it seems as though input recognition can be tempermental at times (i've noticed this exclusively on my overclocked pi though)

if you notice anything else please let me know on github