Friday, August 7, 2009

Quake 2 game on the OLPC XO-1 laptop!

UPDATE:
You can download a binary archive here: http://abcube.googlecode.com/files/quake2-demo.tar.bz2
just uncompress with :
tar xjf quake2-demo.tar.bz2
cd quake2
./run.sh

I'm doing some testing with Quake 2 and it run fine on the XO-1!
So who said that the laptop can't run 3D games :-)

There is many quake2 source ports, the one I am using is from icculus
http://icculus.org/quake2/

Installation:
As with all other ID Software games (Doom, Quake1, Quake2, Quake3...) only
the source code is released under the GPL licence and not the game content.
So to play you need to download to have the full game or download a demo from:
ftp://ftp.fu-berlin.de/pc/msdos/games/idgames/idstuff/quake2/q2-314-demo-x86.exe
Create a new directory "quake2/" and extract the file. Even if the file extension is ".exe" it's just a normal zip file.
unzip q2-314-demo-x86.exe
get the latest source from svn :
svn co svn://svn.icculus.org/quake2/trunk/ sdlquake2
Open the Makefile and make sure that :
BUILD_SDLQUAKE2=YES # sdlquake2 executable (uses SDL for cdrom and sound)
BUILD_X11=YES # X11 software driver. Works somewhat ok.
BUILD_X11=YES # X11 software driver. Works somewhat ok.
and just run make
a new directory will be created named releasei386 and copy your extracted demo files into your releasei386 and run ./sdlquake2 from there.

ENJOY !

No comments:

Fork me on GitHub