summarylogtreecommitdiffstats
path: root/README.arch
blob: f83f03f3be35ebd5e3a7c61f1f1c14417235c9e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
In order to use nquakesv under Arch Linux, you need to create a ~/.nquakesv directory with various symlinks to the actual data files.
This can be automatically created by running /usr/bin/nquakesv-init. It is advised to copy the retail pak1.pak to /opt/quake/id1/ first; if not,
you will need to copy it to ~/.nquakesv/id1/ later.

Note that if you wish nquakesv to start on boot, you will need to use a sliced systemd unit:

systemctl enable nquakesv@<username>.service

However, this by default starts game mode ktx. If you wish to change the commandline arguments, you can create a modified version.
For example, as root,

cp /usr/lib/systemd/system/nquakesv\@.service /etc/systemd/system/nquakesv-ctf\@.service
sed -i -e 's/ktx/ctf/g' /etc/systemd/system/nquakesv-ctf\@.service
systemctl daemon-reload
systemctl enable nquakesv-ctf@<username>.service