Analysis, tutorials and tips for your Nokia and Samsung Phones

How to Get Quake Running on Your S60 Smartphone

Published by Ewan Spence at 14:12 BST, April 11th 2008

Introduction

Many moons ago, I remember sitting in a darkened room at Edinburgh University, watching the slow progress as a 12MB data file speeded down the internet (sssh, it was the nineties). This was the shareware demo of Quake – the latest first person shooter and the first in ‘true’ 3D. It needed the University’s internet pipe, in the dead of night, to get it down in a sensible amount of time. The high end developer computers were needed to push out even half the graphics. And once it was there, we probably stayed up 24 hours straight in competitive death-matches.

So there’s part of me that looks at Quake running on my phone and that simply goes “wow” with the advances in technology that lets this happen. Of course it’s not a single install file to get Quake or Quake 2 running on a device (yet), but in honour of the command line hacking of my younger years, let’s get this beast up and running on an N95 8GB.

You can install Quake on a number of S60 phones, specifically any that are using Feature Pack 1 and have an ARMv6 processor – so any of the later Nseries phones (such as the N95-1 onwards) should have the oomph and spec to run Quake.

Map and Level Data

The first thing to get hold of is going to be a copy of a Quake data file. This holds all the map and graphical detail, while leaving the controls, interface and game engine as a second file. This second file is the Symbian OS specific bit which we’ll come onto in a moment. But first up, we need that data file, commonly called the PAK file.

Quake on PC Directory View

Because of the size of Quake, your best bet is to install it to the memory card.

If you’ve got a full version of Quake or Quake 2 lying around, then this should be super easy. Otherwise you need to get a hold of the shareware version of either title (try starting at ID Software, the original publishers of Quake…)

Quake File Location

Quake2

I’ll be using Quake 2 in this demo, so I grabbed the shareware demo and installed it on my PC. It was a little quicker this time around than the original(!) Installing in the root of my PC, the PAK file was found at C:/Q2Demo/baseq2/pak0.pak; and was then ready to be copied over to my N95's memory card, which was connected via PC Suite in the normal way.

At the top level of the directory tree on card, create a directory called ‘quake2’ without the quotes. In here, another folder should be created, called ‘baseq2’. We’re going to put the single PAK data file in here. 

Quake

If you want to play the original, then  Just copy over the directory called ID1 from the PC installation into the ‘quake1’ directory and you’re sorted for this bit.

Just to be clear, for Quake, copy the data PAK file to

Memory Card:/quake1/ID1/

…for Quake 2 copy the data PAK file to

Memory Card:/quake2/baseq2/

 

Optional Music

Fancy listening to some rock while you’re playing? Or Dr Hook? Or anything you’ve got to hand? Quake on Symbian lets you play your own .mp3 files (in the same way the original would let you play a CD on your PC). There’s no integration (yet?) with the music player on the N95, but if you have some MP3’s you just have to listen to while playing, create a new directory called ‘cdaudio’ in the ‘quake1’ folder on your smartphone and drop the MP3’s in there.

You must put in only ten mp3 files, and they must be named 1.mp3, 2.mp3, etc. all the way to 10.mp3

Symbian PIPS Required

Right then, time to get the actual code into your handset. This is pretty straightforward, you just have to choose the right SISx file. The only hoop to jump through is that you need to install something called ‘Symbian PIPS’ first. This isn’t some scary apple thing, but a library of routines and commands for C (which Symbian Quake is programmed in). You can download it from the same page as all the Quake variants.

Here’s the direct link on Olli’s page… http://koti.mbnet.fi/hinkka/pips_s60_1_2_SS.sis

Installing The Quake Engine

Quake File Location

You’ve got a few choices to make to download the ‘engine’ that reads the data files, but the majority of people are going to want the basic Quake or Quake 2 version, the direct links to these SISx files are

Quake... http://koti.mbnet.fi/hinkka/quake_v104_armv6_fpu.sisx

Quake 2... http://koti.mbnet.fi/hinkka/quake2_v101_armv6_fpu.sisx

There is a build of Quake for S60 phones missing the FPU (but you will notice much slower gameplay using this) as well as versions of Quake World, Quake with hardware acceleration (recommended for the N95, N95 8GB and E90), and the source code to all the versions. Have a browse to find the right version for you.

http://koti.mbnet.fi/hinkka/Download.html

In any case, once you’ve got the SIS, install it on your handset (I prefer to put this on the internal memory of my N95 8GB, actually, purely because the access speed in some cases can be slightly faster) and you’ll be ready to launch Quake,

Assuming you’ve got everything in the right place, you should get a black screen for a short while, and then you’ll have Quake running on your smarphone. Sweet!

Keyboard Controls

The default keyboard controls are as follows (from Olli Hinkka’s site…)

Left soft key = return / jump

  • Right soft key = esc
  • Joystick = forward, back, left, right, fire
  • * = Hold down and use joystick to look around (without moving)
  • # = Hold down to use left and right on the joystick to sidestep
  • c = change weapon
  • green answer key = center view
  • volume up/down = look around/sidestep

As to what to do, beyond shoot everything that moves, well, you’re going to need to look further afield than this article! Wikipedia is probably a good place to start!

But How Does It Play?

Yes the big question, just because something works technically doesn't mean that it's any good in the real world. Well the good news is that it plays as well as it looks. And it looks good.

Quake on N95

But it's not perfect. Quake on the PC really needs a mouse, and the conversions to games consoles such as the PS2 meant that there were dual analogue joysticks - the simple digital cursor on the smartphone does struggle sometimes with the accuracy required to play Quake, and that means the later levels are a bit of a challenge.

With a little work, I suspect that the Quake engine could be optimised for a mobile platform; additions such as auto-aiming and less reliance on looking around to find things and to navigate would make a lot of difference. As it is, Quake S60 is a very faithful reproduction, but one that takes no account of the special environment a smartphone needs. That's not a criticism, just a fact. There's a certain amount of 'Because it can be done' behind a project like this, and watching everything on the screen while moving and playing is a testament to just how powerful our pocket computers are nowadays.

And if anyone asks what a smartphone can do, now you have the answer. This.

Quake on N95

Links and Further Reading

-- Ewan Spence, April 2008

 

 

Categories: How To
Platforms: S60 3rd Edition

Feature Discussion

csapdani
Works perfectly on my N95 8GB.
Unregistered
Works on my N95-3 :D
Unregistered
On closer inspection, everything works but the CD music. Do you HAVE to have 10 songs?
ohinkka
Yep, you need to have all 10 tracks there.
Unregistered
It does NOT work on NOKIA N81 8gb
did everything just as instructed and when you try to launch the game icon it just wont start, no black screen no nothing.

cheers
ayush3090
Quote:
Originally Posted by Unregistered View Post
It does NOT work on NOKIA N81 8gb
did everything just as instructed and when you try to launch the game icon it just wont start, no black screen no nothing.

cheers
coz dude your n81 doesnt have the armv6 architecture

itll work only in n93, n93i, n95-1, n95-3(US), n95-2(8GB), n95-4(8GB US), e90
Unregistered
One obvious improvement would be to use the built-in accelerometer as a mouse!
Jonek
Ewan,

Couldn't you make a similar article on Wolfenstien 3D? Because I didn't have any luck installing it on my E61.
ajck
Just in case anyone's thinking that you need an N95 or other NSeries phone to run this, Quake actually runs extremely well on a 6120 Classic, with full frame rate (at least 30fps by the looks of it) 3D textured graphics, and great sounds. Using a headset/phones gives stereo sound effects too. You want to download the no-FPU version though.

The ease with which the 6120 runs Quake is why there is no reason the full spectrum of NGage games can't be released for the phone too, so it's ridiculous that NGage is not currently on it.
Unregistered
Quake 1 and Quake 2 also run in E90. It's very impressive to see the hardware accelerated versions in the big inner screen.
-[GT]-
How about the N82?
Unregistered
Quake runs perfectly on my 5700xm.n81 owners should wait for the no fpu release of quake 2.n-gage?just a piece of overrated crap!dont forget to donate to olli hinkka.the guy deserves every penny!
Haggisheed
I guess due to not being SP1 none of these versions will run on an N73. If it does work on a 6120 Classic that makes it even weirder that the N73 is an N-Gage phone and the 6120 isn't. I bought my N73 especially with games playing in mind - maybe I should have gone for a 6120 instead! It all seems pretty strange to me....
Unregistered
Thats because 6120 is the much more newer Phone than the N73!
Unregistered
i followed ur instructions to the letter but it just will not work on my n95-1
Unregistered
Help! I cant install Q2 in winxp/!?!?
Unregistered
Works On E51!!!!!
Milan Tokar
on N82 it runs flawlessly. quake1 looks great in GL version and quake 2 as well (highest texture settings and antialiasing).

However there are a few issues with quake 2:
1) After changing the settings to GL rendering (and changing the texture quality) you have to restart the game on N82 otherwise it won't load next level (at the elevator part).
2) Screen is just too dark on N82 regardless of the settings both in/out game
3) Game lags often (And this is not becouse of RAM)
Unregistered
please help i have nokia n95 8gb i did evey thing exccept install the pips file i put it in my phone went down to file manger and installed it but it says preparing install then says file corrupted so i skipped that part in the end i have the quake 2 icon i click it and nothing happens nothing just stays there no black screen nothing PLLLLLEEEEEEEEEEEEEAAAAAAAAAASSSSSSSSSSSSSSSSEEEEE EEE!
HELP!!!!!!!!!!!!!!!!!!!!
BlackMamba88
From the comments i got to kno that quake dont run on N81 8GB bcoz it doesnt hv the req processor. Then i found 1 guy announcing very gladly that his supercool 6120 runs it perfectly and he was also cursing N-Gage which i couldnt figure out why(i love N-Gage btw). Following proud 6120 user's comment a poor N73 user questions y his N-Series mob cant play something that a non N-Series mob like 6120 can play. And he gets a reply from the 6120 user that its bcoz 6120 is newer than N73, which is true. Combining all these issues, can i ask what is really the case with N81 8GB knowing that its even newer than the N95?

I hvn't tried to install quake yet in my N81 8GB.
tpakeust
Cant get Q2 to work on my E71.

Or should i get the non FPU version??
Unregistered
It doesn't run on e90, nothing happens when i try to launch it from the menu.
Executor
Huy, I have been install the quake2_v101_armv6_fpu.sisx ..
and place Pak File to Memory Card:/quake2/baseq2/ ..
But when i click the GL Quake ..
there is nothin happen..

Can U Help Me??..
Please..
Executor
Huy, I have been install the quake2_v101_armv6_fpu.sisx ..
and place Pak File to Memory Card:/quake2/baseq2/ ..
But when i click the GL Quake ..
there is nothin happen..

Can U Help Me??..
Please..

My Phone is Nokia E51.. Is it FP1 and Arm6
N/A
The only models with 3D hardware graphics acceleration are: N82, N95, N95 8GB and E90.

For others, you need to use the nofpu (FPU, Floating Point Unit) version:

http://koti.mbnet.fi/hinkka/Download.html

27 Comments / Post New Comment

Copyright Notes || Contact Us || Privacy Policy