|
| 1 | +.\" Hey, EMACS: -*- nroff -*- |
| 2 | +.\" (C) Copyright 2023 Lee Garrett <debian@rocketjump.eu>, |
| 3 | +.\" |
| 4 | +.\" First parameter, NAME, should be all caps |
| 5 | +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection |
| 6 | +.\" other parameters are allowed: see man(7), man(1) |
| 7 | +.TH MVDSV 8 "January 24 2023" |
| 8 | +.\" Please adjust this date whenever revising the manpage. |
| 9 | +.\" |
| 10 | +.\" Some roff macros, for reference: |
| 11 | +.\" .nh disable hyphenation |
| 12 | +.\" .hy enable hyphenation |
| 13 | +.\" .ad l left justify |
| 14 | +.\" .ad b justify to both left and right margins |
| 15 | +.\" .nf disable filling |
| 16 | +.\" .fi enable filling |
| 17 | +.\" .br insert line break |
| 18 | +.\" .sp <n> insert n+1 empty lines |
| 19 | +.\" for manpage-specific macros, see man(7) |
| 20 | +.SH NAME |
| 21 | +mvdsv \- QuakeWorld-compatible dedicated server |
| 22 | +.SH SYNOPSIS |
| 23 | +.B mvdsv |
| 24 | +-basedir \fIDIRECTORY\fP |
| 25 | +-game \fIDIRECTORY\fP |
| 26 | +[-t chroot dir] |
| 27 | +[-u user] |
| 28 | +[-g group] |
| 29 | +[-d] |
| 30 | +[-cheats] |
| 31 | +[-enablelocalcommand] |
| 32 | +[-democache \fISIZE_IN_KB\fP] |
| 33 | +[-progtype \fIPROGTYPENUMBER\fP] |
| 34 | +[-minmemory] |
| 35 | +[-heapsize \fISIZE_IN_KB\fP] |
| 36 | +[-mem \fISIZE_IN_MB\fP] |
| 37 | +[-ip \fIIPV4_ADDRESS\fP] |
| 38 | +[-port \fIUDP_PORT\fP] |
| 39 | +.SH DESCRIPTION |
| 40 | +This manual page documents briefly the |
| 41 | +.B mvdsv |
| 42 | +command. |
| 43 | +.PP |
| 44 | +.\" TeX users may be more comfortable with the \fB<whatever>\fP and |
| 45 | +.\" \fI<whatever>\fP escape sequences to invode bold face and italics, |
| 46 | +.\" respectively. |
| 47 | +\fBmvdsv\fP (multi-view demo server) is a QuakeWorld-compatible dedicated |
| 48 | +server. |
| 49 | + |
| 50 | +On Debian, it currently requires a package "quake-registered" that can be generated |
| 51 | +from copy of Quake I via game-data-packager(6). |
| 52 | +.SH OPTIONS |
| 53 | +mvdsv does not follow the usual GNU command line syntax, with long |
| 54 | +options starting with two dashes. Most notably, it does not have a --help |
| 55 | +command. |
| 56 | +.TP |
| 57 | +[unix specific parameters] |
| 58 | +.TP |
| 59 | +.B -t \fIDIRECTORY\fP |
| 60 | +chroot to \fIDIRECTORY\fP |
| 61 | +.TP |
| 62 | +.B -u \fIUSER\fP |
| 63 | +setuid to \fIUSER\fP |
| 64 | +.TP |
| 65 | +.B -g \fIGROUP\fP |
| 66 | +setguid to \fIGROUP\fP |
| 67 | +.TP |
| 68 | +.B -d |
| 69 | +daemonize to background (not recommended when run from systemd unit) |
| 70 | +.TP |
| 71 | +[common parameters] |
| 72 | +.TP |
| 73 | +.B -basedir \fIBASEDIR\fP |
| 74 | +The "base directory" is the path to the filesystem directory holding the quake |
| 75 | +game directories (id1/pak0.pak, id1/pak1.pak). The base directory is only used |
| 76 | +during filesystem initialization. Defaults to current directory when not set. |
| 77 | +Example: |
| 78 | +mvdsv -basedir /usr/share/games/quake |
| 79 | +.TP |
| 80 | +.B -game \fIGAMEDIR\fP |
| 81 | +The "game directory" is the first tree on the search path and directory that all |
| 82 | +generated files (savegames, screenshots, demos, config files) will be saved to. |
| 83 | +This directory is relative to the base directory. |
| 84 | +.TP |
| 85 | +.B +gamedir \fIGAMEDIR\fP |
| 86 | +Identical to "-game". However, when both are set, "-game" takes precedence. |
| 87 | +.TP |
| 88 | +.B -ip \fIIPV4_ADDRESS\fP |
| 89 | +Bind to the network interface with this IPv4 address, instead of all interfaces. |
| 90 | +Currently only IPv4 addresses are supported. IPv6 addresses will silently fail. |
| 91 | +.TP |
| 92 | +.B -port \fIUDP_PORT\fP |
| 93 | +Listen on UDP port number \fIPORT\fP for QuakeWorld clients to connect. Defaults |
| 94 | +to 27500. |
| 95 | +.TP |
| 96 | +.B -cheats |
| 97 | +Enable cheats on this server. Equivalent to setting "sv_cheats 1" in the config. |
| 98 | +This makes a set of cheat commands available on the QuakeWorld client: |
| 99 | +.br |
| 100 | +`god` will make the player invulnerable. |
| 101 | +.br |
| 102 | +`noclip` allows the player to clip through walls. |
| 103 | +.br |
| 104 | +`fly` allows the player to fly, but not clip through walls. |
| 105 | +.br |
| 106 | +`give <alphanum> [amount]` will give the player items. |
| 107 | +.br |
| 108 | +2 = shotgun |
| 109 | +.br |
| 110 | +3 = super shotgun |
| 111 | +.br |
| 112 | +4 = nailgun |
| 113 | +.br |
| 114 | +5 = super nailgun |
| 115 | +.br |
| 116 | +6 = grenade launcher |
| 117 | +.br |
| 118 | +7 = rocket launcher |
| 119 | +.br |
| 120 | +8 = lightning gun |
| 121 | +.br |
| 122 | +s = shotgun ammo |
| 123 | +.br |
| 124 | +n = nailgun ammo |
| 125 | +.br |
| 126 | +r = rocket ammo |
| 127 | +.br |
| 128 | +h = health |
| 129 | +.br |
| 130 | +c = cells ammo |
| 131 | +.TP |
| 132 | +.B -enablelocalcommand |
| 133 | +Allow executing arbitrary shell code from within the server with "localcommand |
| 134 | +\fICMD\fP". VERY DANGEROUS. Only enable this if you know what you are doing. |
| 135 | +.TP |
| 136 | +.B -democache \fISIZE_IN_KB\fP |
| 137 | +Set the demo cache size in KB. Will default to 16 MiB if set below that value. |
| 138 | +.TP |
| 139 | +.B -progtype \fPPROGTYPENUMBER\fP |
| 140 | +Define the type of the qwprogs. This setting is usually not needed, as it is |
| 141 | +autodetected. |
| 142 | +.RS 11 |
| 143 | +.br |
| 144 | +0 = pr1 (qwprogs.dat etc) |
| 145 | +.br |
| 146 | +1 = native (.so/.dll) |
| 147 | +.br |
| 148 | +2 = q3vm (.qvm) |
| 149 | +.br |
| 150 | +3 = q3vm (.qvm) with JIT |
| 151 | +.RE |
| 152 | +.TP |
| 153 | +.B -minmemory |
| 154 | +Set memory to 0x550000 bytes (deprecated, use -mem). |
| 155 | +.TP |
| 156 | +.B -heapsize \fISIZE_IN_KB\fP |
| 157 | +Allocate fixed amount of memory in KiB (deprecated, use -mem). |
| 158 | +.TP |
| 159 | +.B -mem \fISIZE_IN_MB\fP |
| 160 | +Allocate fixed amount of memory in Mi. Overrides -heapsize and -minmemory. |
| 161 | +Defaults to 32 MiB. |
| 162 | +.TP |
| 163 | +.B +exec \fIMYSERVER.CFG\fP |
| 164 | +execute all server commands configured in the file \fIMYSERVER.CFG\fP. |
| 165 | + |
| 166 | +.SH AUTHOR |
| 167 | +This manual page was written by Lee Garrett <debian@rocketjump.eu>, |
| 168 | +for the Debian GNU/Linux system (but may be used by others). |
| 169 | + |
| 170 | +.SH SEE ALSO |
| 171 | +.BR mvdsv.cfg (1), |
| 172 | +.br |
| 173 | +https://github.com/QW-Group/mvdsv |
0 commit comments