Quake

From Indie IT Wiki
Revision as of 12:15, 17 May 2020 by imported>Plittlefield (→‎Quake 4)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Quake I

Windows 7

DarkPlaces Engine

  1. Create a folder C:\Games\Quake.
  2. Copy the ID1 folder from the CD (or another computer) to it.
  3. Download the DarkPlaces Windows OpenGL build.
  4. Unzip that to the C:\Games\Quake folder.
  5. Double-click on darkplaces.exe in that folder to start the game.
  6. Press ESC to bring up the in game menu and adjust your Options for controls, sound, etc.

http://www.dosgamers.com/dos/dos-games/quake

FitzQuake Engine

http://www.celephais.net/fitzquake/

Ubuntu Linux

Put your Quake CD into the drive (and Ubuntu should have automatically mounted it), then...

sudo apt-get install quake lhasa innoextract
game-data-packager quake -m /media/QUAKE101/
sudo dpkg -i quake-registered_29_all.deb 

Enjoy! :-)

If you need to tweak it, the config file is in...

~/.quakespasm/id1/config.cfg

Thanks - http://www.quake.ie/blogs/rawshark/install-quake-ubuntu-using-native-packages.php

QUAKE ERROR: W_LoadWadFile: couldn't load gfx.wad

Rename all of your directories and files to lowercase.

Gentoo Linux

Change to root user.

# emerge glxquake-bin
# emerge quake1-data

The install will fail, complaining about not being able to unpack the .exe file.

# cd /usr/share/games/quake1/
# lha -l /var/tmp/portage/games-fps/quake1-data-2.40/work/q101_int.exe 
PERMISSION  UID  GID      SIZE  RATIO     STAMP           NAME
---------- ----------- ------- ------ ------------ --------------------
[generic]                17408  46.0% Jul 12  1996 genvxd.dll
[generic]                 9883  43.6% Jul 12  1996 mgenvxd.vxd
[generic]                   65  93.8% Jul 12  1996 q95.bat
[generic]               314880  48.6% Jul 12  1996 qlaunch.exe
[generic]                32256  51.6% Jul 12  1996 quakeudp.dll
[generic]               396288  52.5% Jul 12  1996 quake.exe
[generic]                25920  64.7% Jul 12  1996 cwsdpmi.exe
[generic]                18892  39.6% Jul 31  1996 readme.txt
[generic]                 4751  42.3% Jul 12  1996 help.txt
[generic]                 4031  41.3% Jul 12  1996 licinfo.txt
[generic]                44326  38.6% Jul 12  1996 manual.txt
[generic]                 3869  46.5% Jul 12  1996 order.txt
[generic]                76067  36.5% Jul 12  1996 techinfo.txt
[generic]                10862  41.1% Jul 12  1996 rlicnse.txt
[generic]                25462  36.3% Jul 12  1996 comexp.txt
[generic]                26511  39.2% Jul 12  1996 pdipx.com
[generic]              18276119  46.4% Jul 12  1996 id1/pak0.pak
[generic]              34257856  45.5% Jul 12  1996 id1/pak1.pak
---------- ----------- ------- ------ ------------ --------------------
Total        18 files 53545446  45.8% Jul  7 16:23
# lha -x /var/tmp/portage/games-fps/quake1-data-2.40/work/q101_int.exe 
genvxd.dll	- Melted   :  ooo
mgenvxd.vxd	- Melted   :  oo
q95.bat	- Melted   :  o
qlaunch.exe	- Melted   :  ooooooooooooooooooooooooooooooooooooooo
quakeudp.dll	- Melted   :  oooo
quake.exe	- Melted   :  ooooooooooooooooooooooooooooooooooooooooooooooooo
cwsdpmi.exe	- Melted   :  oooo
readme.txt	- Melted   :  ooo
help.txt	- Melted   :  o
licinfo.txt	- Melted   :  o
manual.txt	- Melted   :  oooooo
order.txt	- Melted   :  o
techinfo.txt	- Melted   :  oooooooooo
rlicnse.txt	- Melted   :  oo
comexp.txt	- Melted   :  oooo
pdipx.com	- Melted   :  oooo
id1/pak0.pak	- Melted   :  oooooooooooooooooooooooooooooooooooooooooooooo
id1/pak1.pak	- Melted   :  oooooooooooooooooooooooooooooooooooooooooooooo
# cp -a /usr/games/bin/glquake /usr/share/games/quake1/
# touch /usr/share/games/quake1/id1/autoexec.cfg
# echo "+mlook" > /usr/share/games/quake1/id1/autoexec.cfg
# chgrp -R games /usr/share/games/quake1/
# echo "glquake 0 0 direct" > /proc/asound/card0/pcm0p/oss
# echo "glquake 0 0 disable" > /proc/asound/card0/pcm0c/oss

Change to normal user.

# cd /usr/share/games/quake1
# ./glquake

Enjoy!

Dedicated Server

There are 2 methods... command line or in game gui.

Command Line

$ /usr/games/quake -dedicated
Command line: /usr/lib/quake/quake-engine -basedir /usr/share/games/quake -dedicated
Quake 1.09 (c) id Software
GLQuake 1.00 (c) id Software
FitzQuake 0.85 (c) John Fitzgibbons
FitzQuake SDL port (c) SleepwalkR, Baker
QuakeSpasm 0.85.4 (c) Ozkan Sezer, Stevenaaus
Host_Init
Playing registered version.
UDP Initialized
Exe: 11:59:10 Oct 21 2011
64.0 megabyte heap
========= Quake Initialized =========
couldn't exec autoexec.cfg
player entered the game
Client player removed
changelevel dm1
quit

In Game GUI

To Join A Game

Multiplayer > Join A Game > Search For Servers > Join

To Start A Game

Multiplayer > Start Game > Map > Start

Here are some more dedicated server commands:-

http://kauler.com/games/quake1/

Quake Console Commands

http://www.gamers.org/dEngine/quake/QDP/qconcmds.html

DarkPlaces Quake Commands Options

This includes information on the sv_protocolname network protocol option to allow older engines to connect...

http://www.icculus.org/twilight/darkplaces/readme.html

Quake Wiki

http://quakewiki.org/wiki/Main_Page

Quake II

Install on Ubuntu Linux

Install the normal repo version of the software engine...

sudo apt-get install yamagi-quake2

Download, compile and install the latest version of the software engine...

sudo apt-get install build-essential git libsdl2-dev libopenal-dev
git clone https://github.com/yquake2/yquake2.git
cd yquake2
make
sudo cp -av release/* /usr/lib/yamagi-quake2/
sudo chown -R root:root /usr/lib/yamagi-quake2/

Copy the files from the Quake II CD to your hard drive...

sudo cp -av /mnt/cdrom/baseq2/* /usr/share/games/quake2/baseq2/

Start the game...

quake2

Configuration is in...

~/.yq2/baseq2/config.cfg

Help - https://github.com/yquake2/yquake2

Install on Gentoo Linux

How to get Quake II running in Gentoo Linux

Put the Quake II CD into your CD-ROM drive and mount it.

Switch to root.

echo "games-fps/quake2-icculus -ipv6 -joystick -sdl" >> /etc/portage/package.use
emerge quake2-data
emerge quake2-icculus
echo "quake2 0 0 direct" > /proc/asound/card0/pcm0p/oss

Switch to normal user.

quake2 

Hit the ESC key and change the Video Driver to OpenGL and then Apply.

Quake 3 Arena

How to Install and run Quake III Arena in Linux

Quake III Arena on Ubuntu Linux

Quake III Arena JavaScript QuakeJS

Quake3 Arena Dedicated Server on Ubuntu 16.04

Keys

Quake 4

sudo -i
mkdir -p /usr/share/games/quake4
cp -av /media/user/QUAKE4/Setup/Data/q4base /usr/share/games/quake4/
wget http://www.mirrorservice.org/sites/quakeunity.com/quake4/point_releases/quake4-linux-1.4.2.x86.run
chmod +x quake4-linux-1.4.2.x86.run
./quake4-linux-1.4.2.x86.run   (and choose '/usr/share/games/quake4/' when asked)
chown -R root:root /usr/share/games/quake4/
cd /usr/share/games/quake4/
ln -s libSDL-1.2.id.so.0 libSDL-1.2.so.0
mkdir moved
mv libgcc_s.so.1 libstdc++.so.6 moved/
echo "127.0.0.1 q4master.idsoftware.com" >>/etc/hosts
exit
padsp /usr/share/games/quake4/quake4-smp

Quit the game, then add the following to the end of your config file (~/.quake4/q4base/Quake4Config.cfg)...

seta image_downSize "0"
seta image_downSizeBump "0"
seta image_downSizeSpecular "0"
seta image_filter "GL_LINEAR_MIPMAP_LINEAR"
seta image_ignoreHighQuality "0"
seta image_roundDown "0"
seta image_useCompression "0"
seta image_useNormalCompression "0"
seta image_anisotropy "16"
seta image_lodbias "0"
seta r_renderer "best"
seta r_multiSamples "8"
seta sys_lang "english"
seta com_allowConsole "1"

Official iD Software README

iD Dev for Doom3 and Quake 4

Playing Quake 4 in Linux

The game may start with the Spanish language. To fix this, quit the game then edit your config file.

nano ~/.quake4/q4base/Quake4Config.cfg
seta sys_lang "english"

Sound tweak. You may not have to do this, but if you experience a delay with sound, edit the startup script and change the line to...

exec ./quake4smp.x86 "$@" +set s_alsa_pcm plughw:0 +set NumberOfSpeakers 2 "$@"

Thanks - https://help.ubuntu.com/community/Games/Native/Quake4

To bring the console down, type CTRL+ALT+` (the key next to 1 on the keyboard)

id Software Cheat Console Commands

http://www.idgamecheats.com