Quake 3 For Android
An anonymous reader writes "Over the last two months I ported Quake 3 to Android as a hobby project. It only took a few days to get the game working. More time was spent on tweaking the game experience. Right now the game runs at 25fps on a Motorola Milestone/Droid. 'Normally when you compile C/C++ code using the Android NDK, the compiler targets a generic ARMv5 CPU which uses software floating-point. Without any optimizations and audio Quake 3 runs at 22fps. Since Quake 3 uses a lot of floating-point calculations, I tried a better C-compiler (GCC 4.4.0 from Android GIT) which supports modern CPUs and Neon SIMD instructions. Quake 3 optimized for Cortex-A8 with Neon is about 15% faster without audio and 35% with audio compared to the generic ARMv5 build. Most likely the performance improvement compared to the ARMv5 build is not that big because the system libraries of the Milestone have been compiled with FPU support, so sin/cos/log/.. take advantage of the FPU.''
Team fortress by any chance? Steal the code, kill people, I can help with whatever task is needed.
I thought by the time we would have Quake 3 on a phone I'd be flying to work in my hover car. Imagine taking a trip back in time a few years and telling your younger self that Quake 3 would be [almost] playable on a cell phone - hopefully you wouldn't reply with a "whats a cell phone?"
Q3 is still one of my favorite games. The first thought that came to my mind when I read this was
"Do we have to hear about every case of someone porting something like this(doom,quake, etc)to a new device"
But considering all the effort that you put into doing this, I must say that I admire your dedication and attention to detail.
Great job.
Now how about porting to a phone people actually buy (read: iPhone)?
Dunno why TFA didn't include it, but there is video.
I've been unable to get any demos to work which were recorded on the 1.32c exe, obviously because this is based off ioq3. If anyone cares to record or get vanilla demos for showcase purposes I'm all ears. OSP/mods appears to run, but being able to play match demos to show off gameplay would be the BOMB. Also, id software should REALLY take notice here and release a spectator-only client for QuakeLive which runs on Adroid ;-)
"To err is human, to mod Funny divine."
This is actually great news. I have been developing a game based on ioquake3 for a couple of years now. Each time someone ports the Q3 engine to a new platform, it opens up a whole new platform that I can target. Good job.
This does bring up another question. What are the features of the target ARM CPU and what clockspeed does it run at? I have a Dingoo A320 (MIPS32 based CPU with a native clockspeed of 400MHz) that seems to barely run Quake 1. If Q3 can run on an ARM powered phone, it should be able to run at similar speed on the Dingoo.
I'm not impressed. Epic had Unreal Engine 3 running on the iPhone back in december last year: http://www.anandtech.com/gadgets/showdoc.aspx?i=3695 Granted, it's a modified version and I don't think there's a working game available yet that uses it, but the engine is several generations newer than the Quake 3 one... Still, nice job. It's weird to see 'big' games appearing on tiny devices. Didn't think the mobile technology would be this advanced so soon, tbh.
Really! This is one of the main reasons I love open source, things like this and others would be imposible/difficult with the iPhone OS.
Dear
sucka my stroka my COCK!
> Quake 3 optimized for Cortex-A8 with Neon is about 15% faster without audio
I wonder how much faster it will be without video
The problem is that FPS like Q3 needs a proper mouse. Otherwise its no fun.
here is the conspicuously missing video: http://www.youtube.com/watch?v=q9Xaz7ECI4M
teque5.com
The N900 has also recently received a port of IOQuake3: Have a look at their site for more details.
If you're looking for a very nice (open) phone, I'd go with the N900. No, I'm not from Nokia, just a -very- satisfied customer.
When you shoot a mime, do you use a silencer?
In the story it doesn't say that it runs the best on the Phone it's developed: The Milestone/Droid.
Also it doesn't say that it does not run on android 1.5 and that it again runs the best on android 2.0 and upwards.
I'm not familiar with ARM architecture, but this bit still sounds suspicious to me:
Most likely the performance improvement compared to the ARMv5 build is not that big because the system libraries of the Milestone have been compiled with FPU support, so sin/cos/log/.. take advantage of the FPU.''"
On x86 at least, no C compiler worth its salt would even generate a call to a library function for something like sin or cos - why bother with all the overhead of a call, if ultimately it's a single instruction in the FPU?
Now, one trick there is that it actually depends on compiler settings - whether you specify "precise" floating-point mode (which is fully standard conformant), or "fast" mode. Only the latter seem to produce an inlined implementation of sin & cos. Are you sure you're compiling with -ffast-math?
things I still elected, we took dim. IfQ *BSD is
How about integers instead of floating point? Without knowing anything about the code, how would integers perform here? Couldn't a static table with, eg 3600 precalculated angles simulate what you want? .
did they fix that?
--
Stay tuned for some shock and awe coming right up after this messages!
for a change
Wow I can't believe there is so much trouble over the controls, just use the accelerometer to control panning then you can play with just one hand on the dpad for movement and shooting. That would be amazing.
Parent link is a Rickroll.
Or a magnet-powered natural gesture interface.
To heck with Quake. How about all those old 16 bit strategy games that are like made for cellphones? CIV series? MOO? StarCraft? MoM? Where are they?
The first thought that came to my mind when I read this was
"Do we have to hear about every case of someone porting something like this(doom,quake, etc)to a new device"
Proving that a device is "Quake 3 complete" allows the major labels to gauge what kind of game can be sold to owners of this device. For example, a device that can run Quake 3 can in theory run other games that use id Tech 3. It can also run games ported from console platforms comparable to platforms on which Quake 3 was released, such as Dreamcast games and early PS2 games.
If you're looking for a very nice (open) phone, I'd go with the N900.
The advantage of the port to Motorola Droid is that Verizon Wireless carries Motorola Droid. In the United States, the big three wireless carriers don't give a discount for bringing your own phone, so most people who want coverage choose a carrier first and then choose one of the phones that the carrier subsidizes. And as I understand it, Nokia has had trouble getting its Symbian-based and Maemo-based phones into Verizon, Sprint, and AT&T. So which U.S. wireless carrier do you recommend for use with the N900?
I just purchased a droid and I am looking into all of the things I can do -- the free apps, playing with the SDK, running a web & ftp server on the phone, etc. This project is by far one of the best projects I've seen and I can't wait until you have it available so I can put it on my phone. I'm a huge idSoftware and Quake 3 fan. Great work!
"Instant gratification takes too long." - Carrie Fisher
eto be about doing
The next logical step, of course, is RA3 =D
Got it working, using vertex lighting and newer pk3's.
Except of course, it's pretty unplayable, as the software/touchpad keys don't suit themselves for this kind of usage..
I’m sorry, but not only does the N900 run Quake 3 (and very smoothly). No, it also runs Windows 95 and MacOS X!
But I haven’t seen news for this on /.
Funny that this could never ever happen with iPhone (locked down), so we’re at least safe from that. ;)
Any sufficiently advanced intelligence is indistinguishable from stupidity.