Quake on the Gameshell? Hell yea!
Turns out, it works great, and is entirely play-able! This is a screenshot taken directly on my Console:
Steps:
The following assumes you own the original game, on CD, as we’ll be using the pak files from it
First thing’s first; make sure you’ve got ssh access to your console, and get logged in.
- Install the game engine:
sudo apt-get update && sudo apt-get -y install quakespasm
- Create the game data directories:
cd ~/ && mkdir -p /home/cpi/games/QUAKE/Quake1/id1
- Copy the pak0.pak and pak1.pak files, from your CD, to the directory you just created above (this is for consistency, to keep all your game files in the same location). It should look like this:
cpi@clockworkpi:~/games/QUAKE/Quake1/id1$ ls -hl
total 51M
-rwxr--r-- 1 cpi cpi 18M Oct 1 1996 pak0.pak
-rwxr--r-- 1 cpi cpi 33M Jul 12 1996 pak1.pak
- Create the script used to execute the game:
echo "/usr/games/quakespasm -width 320 -height 240 -basedir /home/cpi/.quakespasm/" > /home/cpi/apps/launcher/Menu/GameShell/Quake.sh && chmod 755 /home/cpi/apps/launcher/Menu/GameShell/Quake.sh
- Create Quakespasm’s working directory:
mkdir -p ~/.quakespasm/
- Link the id1 directory (containing the pak files, from above) to the quakespasm directory we just created. (I know this seems silly, but quakespasm is very particular about where the pak files are stored)
cd ~/.quakespasm/ && ln -s /home/cpi/games/QUAKE/Quake1/id1 .
When done correctly, it should look like this:
cpi@clockworkpi:~/.quakespasm$ ls -hl
total 0
lrwxrwxrwx 1 cpi cpi 32 Aug 3 13:15 id1 -> /home/cpi/games/QUAKE/Quake1/id1
cpi@clockworkpi:~/.quakespasm$ ls -hl id1/
total 51M
-rwxr--r-- 1 cpi cpi 18M Oct 1 1996 pak0.pak
-rwxr--r-- 1 cpi cpi 33M Jul 12 1996 pak1.pak
- Reboot!
- Launch the Quake icon from the Launcher.
- Configure inputs for the game, this can be done with the D-Pad, and the start [enter] button. Once the game menu opens, choose Options -> Controls. Work your way through all the controls, using the D-Pad to navigate, and start as [enter]. You should be able to map Jump, Attack, Toggle Weapons & Movement, from this menu. Also, by default Menu maps to [esc], so use that to get back, out of a menu.
- Start a new game, and kick some a**!
Notes:
- Sound is a little choppy, but completely play-able.
- While the game is running, it will use massive amounts of CPU, so keep an eye on the heat level of your console, and expect your battery life to be impacted. While playing, I recorded +300% CPU usage (using multiple cores). This may be fixed with GL/SDL drivers in the future.
- I’ve only tested Quake & Quake II pak files, other releases, or mods may work as well.
If anyone gets stuck, runs into issues, or whatever… Please review the above instructions and make sure everything is in the right location, and matches above. For instance, if id1 or pak0.pak are not lower-case, the game won’t run, foobar, I know!
Then post your questions here, and I’ll do my best to answer them!
…
Profit!