Playing Quake Using Twilight
CONVENTIONS USED

I had Quake working a few years ago, but I couldn't get that executable to work on Linux in recent months. It took me a long time to stop being lazy and find out how to get it to actually work in Linux again. And here is how I did it.

Please note, the RPM I have here is made for Mandrake 9.0.

First of all, you need the Quake PAK files from the DOS/Windows version of Quake. You may need to install it in Windows or DOS to get these files. Alternately, you can get them off the CD from within Linux. Depending on which CD you have, you can try these instructions:

  • Mount the cd. I'll assume you mounted it into /mnt/cdrom.
  • Now, do this: ls /mnt/cdrom/ If you see the files q101_int.1 and q101_int.2, or something along those lines, then you should be good to go. Note that the 101 may be a different number, like 106 or something, depending on the CD version. If your CD has nothing like this, then you might be out of luck. Just install from in Windows or DOS to get the files.
  • Open a console, and then go into your tmp folder: cd ~/tmp
  • Make a new directory in here: mkdir quake1data
  • Now go into the directory: cd quake1data
  • Now, type in this: cat /mnt/cdrom/q101_int.{1,2} > quakedata.exe
  • This just puts the two files together into one file called quakedata.exe.
  • Next, you need to have lha installed. If you don't have it installed, do this: su -c "urpmi lha". Note that Mandrake 9.0 doesn't include LHA, but you can get it from MDKEXTRAS here: lha-1.14i-7mdk.i586.rpm
  • Now, type in lha x quakedata.exe
  • Now you should have the PAK files extracted into the id1 subdirectory: ls ~/tmp/quake1data/id1/
  • You're good to go!

    Now open up a console. Type su and hit Enter. Put in your root password.

    Now type in mkdir -p /usr/local/games/twilight/id1 followed by Enter.

    Now you must put the two PAK files in there. Assuming you had them in the ~/tmp/quake1data/id1/ directory, you would do this command: cp ~/tmp/quake1data/id1/*.pak /usr/local/games/twilight/id1/ followed by Enter.

    Now, you must ensure that the permissions are proper. Do so now by typing chmod 644 /usr/local/games/twilight/id1/* and hitting Enter.

    Close this console now.

    Download my RPM of Twilight's most recent CVS here: twilight-20021124-3.i586.rpm.

    Now you must install this RPM. Open a console from the directory where the RPM is located. Do so by pressing CTRL+T while in Konqueror.

    Change to be root: su followed by Enter.

    Now type in rpm -Uvh twilight-20021124-3.i586.rpm and press Enter.

    This will install Twilight, which is the Quake engine.

    Once this is done, you can play Quake by running twilight-nq from a console or from the run prompt (ALT+F2 in KDE and Gnome). I have included a nice icon in the RPM, which you can find in the Mandrake menu under Games.

    You can also play online using the Twilight Quake engine's twilight-qw or you can run a server using the twilight-qwsv program, although I haven't done this yet.


  • © D. Olson 2001-2003 -- Originally found on The Mandrake eXPerience