Linuxgames http://lg.blogsport.de Playing games under Linux Fri, 10 Apr 2009 13:42:02 +0000 http://wordpress.org/?v=1.5.1.2 en Playing Quake II under Linux — MultiPlayer http://lg.blogsport.de/2009/04/10/playing-quake-ii-under-linux-multiplayer/ http://lg.blogsport.de/2009/04/10/playing-quake-ii-under-linux-multiplayer/#comments Fri, 10 Apr 2009 13:37:39 +0000 Administrator Linux Games FPS Commercial http://lg.blogsport.de/2009/04/10/playing-quake-ii-under-linux-multiplayer/ Quake II Multiplayer (MP)
This article explains how to play Quake II MP under Linux. Nowadays, most Quake II server run r1q2 or similar/compatible servers that use an updated version of the Q2 protocol. This means that you need a modern Q2 client to join them. This article explains how to install such a client on Linux. The majority of the quake clients mentioned here do NOT support singleplayer Q2. See this article if you want to play SP Quake II Note that you‘ll need the file pak0.pak from your Quake II CDROM because the Q2 game media is NOT free, only the source code of Quake II is free.

Free Quake II engines
There are quite a few modern Q2 clients, but most of them only have experimental Linux support atm. I tried r1q2, EGL, aprq2 and quetoo in september 2008. Quetoo worked best, that’s why I‘ll use it for this article.

NOTE: This doesn‘t mean that the other Q2 clients are worse than quetoo or that they don‘t work, but I couldn‘t get them to work properly on Linux — may be my fault (I know that r1q2 and EGL both run like a charm on win32, so does the r1q2 server under Linux). I compiled the r1q2 client under Linux, but it segfaults (crashes). EGL wouldn‘t even compile. The aprq2 client compiled and I can play MP maps at remote servers with it, but it segfaults when I try to run a map locally. So here we go, quetoo is what we use.

Preparations
As mentioned above, quetoo (like the other clients mentioned above) is a Q2 engine only and you‘ll need the game media to use it. It’s easiest to have a Quake II directory containing all the game media ready and then just copy the quetoo executables there once they‘re compiled. On Debian Linux, doing the following is enough to prepare the Q2 directory (note that I assume you‘ve got pak0.pak from your Quake II CDROM as mentioned above):

# apt-get install quake2
# cp pak0.pak /usr/local/games/quake2/baseq2/

If you‘re using another Linux distribution, you may want to follow this article to prepare the Quake II directory.

Installing quetoo
The first step is to grab the quetoo source from the quetoo website. I grabbed version 0.6.1 in september 2008, the file should be named quetoo-0.6.1.tar.bz2 or similar. You‘ll then need to extract and compile it. :) Let’s get to work and extract the archive:


$ cd downloads/
$ tar xjf quetoo-0.6.1.tar.bz2
$ cd quetoo-0.6.1/

Ok, let’s now configure, compile and install quetoo. You‘ll have to tell it where the Q2 game media is — that’s the directory we prepared in the last step. On Debian Linux, this is /usr/local/games/quake2/. Locate the file pak0.pak if in doubt — it should be in the baseq2/ subdirectory of the directory you‘re looking for. I‘ll assume the Debian path from now on, adapt to your system if needed.

$ ./configure --datadir=/usr/local/games
$ make
$ su
# make install

Note that the last step has to be done as root (as indicated by the ‚#‘ in front of the command).

Coping with Library terror
If the ‚make‘ command fails, you‘re missing development versions of libraries that quetoo requires (or even a compiler and automake). To install the latter on Debian Etch, type

# apt-get install build-essential automake

You‘ll still need to install the libraries. This can be a bit tricky if this is your first compilation, but do not worry. Here’s how to cope with compile errors:

You should read the README file that comes with the software you want to compile first. It should tell you which libraries you need to compile it. Just install those from the package repository of your Linux distribution. If the README doesn‘t tell you which libraries you need, you‘ll have to find it out the hard way. :| Check the output of the ./configure command first. If this doesn‘t help and the make command fails, scroll up in the console and find the first error. You can often see or at least guess why it fails. Here’s an example error message from make:

gcc -DHAVE_CONFIG_H -I. -I.. -pipe -Wall -Werror -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/include -I/include -g -O2 -MT quetoo-gl_sdl.o -MD -MP -MF .deps/quetoo-gl_sdl.Tpo -c -o quetoo-gl_sdl.o `test -f 'gl_sdl.c' || echo './'`gl_sdl.c
gl_sdl.c:22:17: error: SDL.h: No such file or directory

As you may have guessed, we‘re missing SDL here. So search your package repository for SDL libraries. Here’s an example where I did this for Debian Etch:

# apt-cache search libsdl | grep dev
libsdl-console-dev – development files for libsdl-console
libsdl-gfx1.2-dev – development files for SDL_gfx
libsdl-image1.2-dev – development files for SDL 1.2 image loading libray
libsdl-mixer1.2-dev – development files for SDL1.2 mixer library
libsdl-net1.2-dev – Development files for SDL network library
libsdl-ocaml-dev – OCaml bindings for SDL – development files
libsdl-pango-dev – text rendering with Pango in SDL applications (development)
libsdl-sge-dev – development files for libsdl-sge
libsdl-sound1.2-dev – Development files for SDL_sound
libsdl-stretch-dev – development files for SDL_stretch library
libsdl-ttf2.0-dev – development files for SDL ttf library (version 2.0)
libsdl1.2-dev – Simple DirectMedia Layer development files

So let’s install the libsdl1.2 and libsdl1.2-dev libraries (you most likely already have the former):

apt-get install libsdl1.2 libsdl1.2-dev

Note: You need the development versions to compile, so if you need libsdl, be sure to install both libsdl and libsdl-dev (you could remove the -dev package once the compilation is complete, but you shouldn‘t unless you‘re very low on disk space because you‘ll need it to recompile the application or to compile the next version).

If everything went well, the last lint of the make output should read something like this:

make[1]: Leaving directory `/home/spirit/downloads/quetoo-0.6.1'

Congrats, you‘ve just compiled quetoo. :)

Finally: Running the game
The hard part is done and the # make install command (see above, don‘t forget it if you had trouble compiling and read the last part!) has already copied the quetoo executable to the proper directory. Just type quetoo to play Quake 2 MP.

Troubleshooting
If you don‘t see the enemies in MP you‘re missing the game data that comes with the Quake II 3.20 point release (the player models to be more specific). Get the file from the id Software FTP or a mirror and unzip it. It should be named q2-3.20-x86-full-ctf.exe — it’s not a win32 executable but a self-extracting zip archive though. Copy the pak files and the players/ directory to your quake2/baseq2/ folder.

]]>
http://lg.blogsport.de/2009/04/10/playing-quake-ii-under-linux-multiplayer/feed/
Playing Quakeworld under Linux (nQuake) http://lg.blogsport.de/2009/04/10/playing-quakeworld-under-linux-nquake/ http://lg.blogsport.de/2009/04/10/playing-quakeworld-under-linux-nquake/#comments Fri, 10 Apr 2009 13:36:37 +0000 Administrator Linux Games FPS Commercial http://lg.blogsport.de/2009/04/10/playing-quakeworld-under-linux-nquake/ Quake and Quakeworld
Quakeworld is a release of Quake I that has improved netcode and other features to improve the multi-player experience, especially when playing over the internet. The source code of Quake was released by id Software and there are many free implementations of Quakeworld. One of them is nQuake. You need the original Quake media files from your Quake CD to use the Quakeworld engines.

Installing the game
You‘ll have to download the nQuake Linux installer from the nQuake website or a mirror. The file is called nquake13a_installer-linux.tar.gz atm. Unpack the archive and install the game, I installed it to ~/software/nquake/. Then copy the pak0.pak file from your Quake I CD to nquake/id1/.

Configuring and running nQuake
You‘re ready to play Quakeworld now. To start the game, do the following:

cd ~/software/nquake/
./ezquake-gl.glx

The config files are stored in the directory you installed nQuake to.

]]>
http://lg.blogsport.de/2009/04/10/playing-quakeworld-under-linux-nquake/feed/
Installing a dedicated Quake II server on your Linux server (r1q2) http://lg.blogsport.de/2009/04/10/installing-a-dedicated-quake-ii-server-on-your-linux-server-r1q2/ http://lg.blogsport.de/2009/04/10/installing-a-dedicated-quake-ii-server-on-your-linux-server-r1q2/#comments Fri, 10 Apr 2009 13:35:56 +0000 Administrator Linux Games FPS Commercial Server http://lg.blogsport.de/2009/04/10/installing-a-dedicated-quake-ii-server-on-your-linux-server-r1q2/ I‘ve described how to do that in detail before and am too lazy to reformat all that for wordpress atm. See the following website:

The Quake II linux dedicated server HOWTO

]]>
http://lg.blogsport.de/2009/04/10/installing-a-dedicated-quake-ii-server-on-your-linux-server-r1q2/feed/
Playing Quake II under Linux — SinglePlayer http://lg.blogsport.de/2009/04/10/playing-quake-ii-under-linux-singleplayer/ http://lg.blogsport.de/2009/04/10/playing-quake-ii-under-linux-singleplayer/#comments Fri, 10 Apr 2009 13:31:16 +0000 Administrator Linux Games FPS Commercial http://lg.blogsport.de/2009/04/10/playing-quake-ii-under-linux-singleplayer/ Quake II — Single versus Multi-player
Though Quake II is more than 10 years old by now it’s still great fun and I enjoy playing Quake II single player (SP) mode once in a while. The game is still sold and copyrighted by id Software, so you‘ll need a legal copy of it to play the original maps on Linux. What you need is the file pak0.pak from your Quake II CDROM, the rest is available (both legal and free) from the internet.

Note that there are some Quake II total conversion and stand-alone games based on the (free) source code of Quake II that don‘t require the original game media. You won‘t be able to play the original maps with those engines unless you have pak0.pak and they support SP, of course (most don‘t, they are intended for multi-player games only ). These engines come with their own maps and game media. An example is Quake2World. This article is about installing a version of Quake II that needs the original media files (pak0.pak as mentioned above) and allows you to play SP Quake II under Linux. See this article on playing multi-player Quake II under Linux if you‘re not interested in SP Quake II.

Installation
Grab the loci installer for Quake II from the LOCI website. The file should be named quake2_3.21-r0.16.1-english.run or similar. You can install it to your home directory, no need to run it as root. Let’s make it executable and run it:

$ cd downloads/
$ chmod a+x quake2_3.21-r0.16.1-english.run
$ ./quake2_3.21-r0.16.1-english.run

Follow the instructions of the graphical installer. When it’s done, copy pak0.pak from your Quake II CDROM to the quake2/baseq2/ directory the installer created.

You‘re done, type quake2 to play the game.

Note: You can also use Jake2 to play Q2 SP under Linux. It’s a Q2 implementation written in Java. I gave it a try and the installation was very easy, too. You‘ll also need pak0.pak, of course.

A few notes to players who want to play MP Quake II

  • Note that most Quake II servers are running the r1q2 server now. They use an updated version of the q2 protocol and thus you need a proper client to connect to them. Installing such a client is described in this article.
  • If you insist on playing MP Quake II using the old client and don‘t see the enemies in MP Quake II you‘re missing the game data that comes with the Quake II 3.20 point release. Get the file from the id Software FTP or a mirror and unzip it. It should be named q2-3.20-x86-full-ctf.exe — it’s not a win32 executable but a self-extracting zip archive though. Copy the pak files and the players/ directory to your quake2/baseq2/ folder.
]]>
http://lg.blogsport.de/2009/04/10/playing-quake-ii-under-linux-singleplayer/feed/
Playing Quake I under Linux (darkplaces) http://lg.blogsport.de/2009/04/08/playing-quake-i-under-linux-darkplaces/ http://lg.blogsport.de/2009/04/08/playing-quake-i-under-linux-darkplaces/#comments Wed, 08 Apr 2009 11:55:17 +0000 Administrator Linux Games FPS Free Games Commercial http://lg.blogsport.de/2009/04/08/playing-quake-i-under-linux-darkplaces/ Quake I and darkplaces
Quake is a classic. The game is more than 10 years old and runs even on very old hardware. This article describes how to install the darkplaces Quake I total conversion by Lord Havoc. You need the game media files for Quake I that can be found on your Quake CDROM to play the original maps and game. You can also play the darkplaces mod that comes with the engine.

Installing the game
Installing darkplaces (dp) is very easy. Just download the Linux binaries from the darkplaces website. The file is named darkplacesengine20080910.zip atm. Just unzip it, I like to move the folder to ~/software/darkplaces/. Then copy the pak0.pak file from your Quake CD to darkplaces/id1/ if you also want to be able to play the original Quake maps. You‘re ready to play the game now.

Playing and configuring the game
You can play the original Quake by simply starting darkplaces:

cd ~/software/darkplaces/
./darkplaces-linux-686-sdl

You can also play the darkplaces mod:

cd ~/software/darkplaces/
./darkplaces-linux-686-sdl -game dpmod

When you start dp for the first time, it will create the folder ~/.darkplaces/. You can edit the config files in there or use the in-game menu to configure dp.

]]>
http://lg.blogsport.de/2009/04/08/playing-quake-i-under-linux-darkplaces/feed/
Installing a dedicated Quake 3 Arena server on your Linux box http://lg.blogsport.de/2009/04/08/installing-a-dedicated-quake-3-arena-server-on-your-linux-box/ http://lg.blogsport.de/2009/04/08/installing-a-dedicated-quake-3-arena-server-on-your-linux-box/#comments Wed, 08 Apr 2009 11:54:21 +0000 Administrator Linux Games FPS Server http://lg.blogsport.de/2009/04/08/installing-a-dedicated-quake-3-arena-server-on-your-linux-box/ I‘ve described how to do that in detail before and am too lazy to reformat all that for wordpress atm. See the following website:

Quake III Arena linux dedicated server HOWTO

]]>
http://lg.blogsport.de/2009/04/08/installing-a-dedicated-quake-3-arena-server-on-your-linux-box/feed/
Playing the old LucasArts Adventures under Linux http://lg.blogsport.de/2009/04/08/playing-the-old-lucasarts-adventures-under-linux/ http://lg.blogsport.de/2009/04/08/playing-the-old-lucasarts-adventures-under-linux/#comments Wed, 08 Apr 2009 11:49:38 +0000 Administrator Linux Games Commercial Adventure http://lg.blogsport.de/2009/04/08/playing-the-old-lucasarts-adventures-under-linux/ What this is all about
This article explains how to install and play your old LucasArts adventures under Linux. The games I‘m talking about here are those adventures that are based on the SCUMM engine by LucasArts and include the following titles:

  • Indiana Jones I
  • Indiana Jones II
  • Maniac Mansion I
  • Maniac Mansion II: Day of the Tentacle
  • Sam and Max Hit the Road
  • Loom
  • Zak McKracken
  • Monkey Island I
  • Monkey Island II

We‘ll be using the scummvm interpreter to play these games. You will need the original games to play the titles mentioned above since they are still copyrighted. You can also play the following free titles with scummvm without any game media:

  • Flight of the Amazon Queen
  • Beneath a Steel Sky

Installing scummvm
You can install scummvm from the scummvm website but the recommended and easy way under Debian Etch is to simply use the version in the package repository. :)

# apt-get install scummvm

That’s it. You should now have a link to scummvm in your start menu. Type scummvm to start it if you don‘t.

Installing the games
Ok, now that we‘ve got the engine, what about some games? Under Debian Etch, let’s grab the free games that are in the repository first:

# apt-get install beneath-a-steel-sky flight-of-the-amazon-queen

Now copy any other games you own to your harddisk, I tend to copy them to ~/software/. You can also place .iso files there if you have the CDROM editions of Sam and Max or other games that were released on CDROM. Just create an ISO image of the CD (CD burning applications like k3b and simple tools like ddcan do that) and copy it there.

Now start up scummvm and add the game via the graphical menu (just navigate to the directory and click Add), then select it and click Start to play it.

Hint: Press F5 while playing to save (and load) your game in scummvm.

]]>
http://lg.blogsport.de/2009/04/08/playing-the-old-lucasarts-adventures-under-linux/feed/
Playing Quake 3 Arena under Linux http://lg.blogsport.de/2009/04/08/playing-quake-3-arena-under-linux/ http://lg.blogsport.de/2009/04/08/playing-quake-3-arena-under-linux/#comments Wed, 08 Apr 2009 11:45:00 +0000 Administrator Linux Games FPS Commercial http://lg.blogsport.de/2009/04/08/playing-quake-3-arena-under-linux/ Quake 3 Arena
Quake 3 Arena (Q3A) is a multiplayer FPS game based on the id tech 3 engine. You‘ve missed a lot if you don‘t know this one so read up on it at wikipedia and continue if you did. ;)

The source code of Q3A has been released by id software under the GPL license and there’s some free implementations and modifications of the Q3A engine. We‘ll focus on playing the original game (VQ3) here. While some Q3A total conversions like Alien Arena or OpenArena are completely free because they replaces all original Q3A game media (maps, sounds, textures, models, …), the original game media is still copyrighted. This means that you need your Q3A CD, so search it now.

Stuff you need
You‘ll need the file pak0.pk3 from your Q3A CDROM, I‘ll assume you‘ve found it by now. Let’s grab the Linux version of the official Q3A engine first. All you have to do is to install the latest point release and a small security patch. Atm the latest version is 1.32c. Get the Linux version from the id software FTP server or a mirror (Quake Unity has it), the file should be called linuxq3apoint-1.32b-3.x86.run or similar. Now download the 1.32c security patch. It’s not on the id FTP atm for some reason, but Quake Unity and other mirrors have it. The file should be called quake3-1.32c-linux.zip.

Installation
I prefer to run the installation as root and install to /usr/local/games/quake3 but you may also run it as your user and install Q3A to a subdirectory of your $HOME.

So let’s go to the directory you downloaded linuxq3apoint-1.32b-3.x86.run to, make it executable and install it as root.

$ cd downloads/
$ chmod a+x linuxq3apoint-1.32b-3.x86.run
$ xhost +
$ su
# ./linuxq3apoint-1.32b-3.x86.run

Follow the instructions given by the installer. Let’s now extract and apply the security patch.

$ cd downloads/
$ unzip quake3-1.32c-linux.zip
$ cd "Quake III Arena 1.32c/linux/"
$ su
# cp q3ded quake3-smp.x86 quake3.x86 /usr/local/games/quake3/

Ok, now copy pak0.pk3 to the proper location:

# cp pak0.pk3 /usr/local/games/quake3/baseq3/

That’s it, we‘re ready to go. To play Q3a, type

$ quake3

Advanced stuff: installing Quake 3 mods and custom maps
When you start up Q3A as your user for the first time, it will create the directory .q3a/ in your $HOME (note the dot at the beginning that makes this directory invisible). You can add custom maps or edit your config files in there. After downloading a custom map, copy the pk3 file there like this:

$ cp somemap.pk3 ~/.q3a/baseq3/

You can now select the map from the in-game skirmish/MP menu.

To install a mod like CPMA, extract the mod directory to your ~/.q3a/ directory (NOT into baseq3/, think of a mod as a replacement for baseq3/). You can now select the mod from the in-game mod menu or run it from the command line of your OS:

$ quake3 +set fs_game cpma

If you want to adapt Q3A to your needs, you should create an autoexec file and add console commands there using your favourite editor (mine is vim):

$ touch ~/.q3a/baseq3/autoexec.cfg
$ vim ~/.q3a/baseq3/autoexec.cfg

hf!

Update: You may also want to check out the great ioquake3 engine.

]]>
http://lg.blogsport.de/2009/04/08/playing-quake-3-arena-under-linux/feed/
Playing Doom under Linux: prboom http://lg.blogsport.de/2009/04/08/playing-doom-under-linux-prboom/ http://lg.blogsport.de/2009/04/08/playing-doom-under-linux-prboom/#comments Wed, 08 Apr 2009 11:44:16 +0000 Administrator Linux Games FPS Free Games Commercial http://lg.blogsport.de/2009/04/08/playing-doom-under-linux-prboom/ About Doom and Doom 2
I guess Doom is the reason why I wanted an x86 computer when I was in the 4th or 5th grade. It’s maybe the most famous FPS game out there, and I won‘t waste my time here telling you things about this game you already know. You‘re a space marine who has to save the world from evil daemons that are accidentely summoned by the UAC during teleportation experiments in the near future. There are multiple Doom engines available for linux, including zdoom, doomsday and prboom. This article describes prboom.

Prboom is released under the GPL and includes the game engine and free game media (maps, enemies, weapons, …). You can also use the engine to play the original version of Doom and Doom 2 if you still have the iwad files from your Doom/Doom2 CDROM or floppy discs(!).

Installation
There are prboom packages in the Debian linux repositories, so if you‘re using Debian, setting things up is fast and easy:

  1. Install the prboom package as root:
    apt-get install prboom
  2. If you have the original iwad files of Doom/Doom 2 or the special editions (doom.wad, doom2.wad, tnt.wad, plutonia.wad, …), copy them to /usr/share/games/doom/.
  3. Run prboom under your user account:
    prboom
    or
    prboom -iwad tnt.wad

You‘re done, kill some daemons!

]]>
http://lg.blogsport.de/2009/04/08/playing-doom-under-linux-prboom/feed/
Playing Star Trek Voyager: Elite Force under linux http://lg.blogsport.de/2009/04/08/playing-star-trek-voyager-elite-force-under-linux/ http://lg.blogsport.de/2009/04/08/playing-star-trek-voyager-elite-force-under-linux/#comments Wed, 08 Apr 2009 11:33:21 +0000 Administrator Linux Games FPS Commercial http://lg.blogsport.de/2009/04/08/playing-star-trek-voyager-elite-force-under-linux/ About Elite Force
Elite Force is a commercial first person shooter that was developed by raven software some years ago. It’s based on the Quake III Arena engine by id software.

The linux version of the STVEF engine was written by Thilo Schulz. It is based on the ioquake3 engine from icculus.org and allows you to play HOLOMATCH (the multiplayer part of STVEF, including bots). You cannot play the single player campaigns. The engine is released under the GPL license, but the game media is non-free and you‘ll need your STVEF CD to install the media files.

Installation
The installation is very easy and took me about 10 minutes on Debian Etch. Here’s what you have to do:

  1. Download the latest release from this site. The file should be named something like io_eliteforce-1.37.run.
  2. Insert and mount your STVEF CD.
  3. Make sure the file you downloaded is executable, then run it as root to install for all users:
    cd downloads/
    chmod +x io_eliteforce-1.37.run
    ./io_eliteforce-1.37.run
  4. Once the installation is done, you can run the game under your normal user account by typing:
    iostvoyHM
  5. STVEF stores its config files in ~/.stvef/baseEF/, this is also the place to put additional maps.
]]>
http://lg.blogsport.de/2009/04/08/playing-star-trek-voyager-elite-force-under-linux/feed/