Quake 2 on Ubuntu 20.04
Buy, download, extract
Buy the game, download the installer to ~/Downloads/q2/
and extract the
files using InnoExtract:
cd ~/Downloads/q2/
innoextract setup_quake2_quad_damage_2.*.*.*.exe
rm -r tmp/ # gog installer files
mv app/ ~/games/q2/
Install and Configure Yamagi Quake 2
Install the quake2-engine
package without the game-data-packager
1.
sudo apt-get install --no-install-recommends \
libopenal1 quake2-engine
mv ~/Downloads/q2/app/ /usr/share/games/quake2/
ls /usr/share/games/quake2/
Create a launcher and Play
cat <<'EOF' > ~/.bin/q2
/usr/lib/quake2/quake2-engine -datadir ~/games/q2/ "$@"
EOF
chmod +x ~/.bin/q2
Configuration
cd ~/.yq2/baseq2/
git init .
git add .
git commit -m initial
cat <<'EOF' > ~/.yq2/baseq2/autoexec.cfg
exec bindings.cfg
EOF
cat <<'EOF' > bindings.cfg
bind e "use grenades"
EOF
See also
Notes
press Alt+Enter to toggle fullscreen
- 1
The
game-data-packager
introduces indirections and installs stuff at/usr/share/games/
. I want to keep it simple: Get binary (engine), point it to data dir, play!