Nam Nguyen writes:

> Tom Murphy writes:
>
>> Hi,
>>
>>   Diff below is for games/mvdsv (Quakeworld server) to update it to
>>   version 0.33.
>
> I tested this by itself and with a new port for games/ktx. It works
> well. You mentioned you had fixed some compiler warnings for upstream:
> https://github.com/deurk/mvdsv/commit/5ff1935dca0a839d13cb0de12864b26117b97d1b
>
> I will post a new port for games/ktx shortly. Here is an experimental
> diff that tweaks README instructions in case there is interest in
> ktx. It adds quotes, mentions -port, some grammar fixes and ktx-specific
> instructions.

Here is a better experimental README for use with ktx, once I realized
that the 'ktx' directory name is important. At first I tried renaming
ktx to qw, but this caused an error when typing 'ready' in ktx,
complaining about not being able to `mkdir ktx/demos.'

>
>>
>>   OK?
>>
>>   Thanks,
>>   Tom
>>

Index: Makefile
===================================================================
RCS file: /cvs/ports/games/mvdsv/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile    12 Jul 2019 20:46:21 -0000      1.2
+++ Makefile    4 Sep 2020 00:12:51 -0000
@@ -4,7 +4,7 @@ COMMENT =       QuakeWorld server
 
 GH_ACCOUNT =   deurk
 GH_PROJECT =   mvdsv
-GH_TAGNAME =   0.32
+GH_TAGNAME =   0.33
 
 CATEGORIES =   games
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/games/mvdsv/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo    8 Dec 2018 09:40:53 -0000       1.1.1.1
+++ distinfo    4 Sep 2020 00:12:51 -0000
@@ -1,4 +1,4 @@
-SHA256 (mvdsv-0.32.tar.gz) = vuQIFmmEvNZCLRXcpnf+3R1E2h0/exjhJE9Kji3R08g=
+SHA256 (mvdsv-0.33.tar.gz) = 3Jq9u+B2Wdbtx/8LyIA08eWSihZPe6mq+Shpkw4uQYQ=
 SHA256 (qwprogs-20120131.dat) = /1HLXnc2DXK5NIfYkZjc+UYpuS+LrhAPxupIpsEqeDA=
-SIZE (mvdsv-0.32.tar.gz) = 710497
+SIZE (mvdsv-0.33.tar.gz) = 576306
 SIZE (qwprogs-20120131.dat) = 197684
Index: pkg/README
===================================================================
RCS file: /cvs/ports/games/mvdsv/pkg/README,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 README
--- pkg/README  8 Dec 2018 09:40:53 -0000       1.1.1.1
+++ pkg/README  4 Sep 2020 00:12:51 -0000
@@ -4,19 +4,30 @@ $OpenBSD: README,v 1.1.1.1 2018/12/08 09
 | Running ${PKGSTEM} on OpenBSD
 +-----------------------------------------------------------------------
 
-To run the Quakeworld server you need the original Quake 1 data files
+To run the QuakeWorld server you need the original Quake 1 data files
 (must be purchased with the game):
 
 1) Create a 'quake' directory somewhere
-2) Create a 'qw' directory underneath the quake directory
-3) Copy the following examples files into 'qw' directory:
+2) Create a 'qw' directory underneath the 'quake' directory
+3) Copy the following example files into the 'qw' directory:
   - ${PREFIX}/share/examples/mvdsv/qwprogs.dat
   - ${PREFIX}/share/examples/mvdsv/server.cfg
-4) Place pak0.pak and pak1.pak (from the Quake 1 data files)
-   in the qw directory.
+
+  If running games/ktx, instead copy everything from 'ktx' into 'quake'
+  and use the 'ktx' directory instead of 'qw' for the rest of these
+  instructions:
+  - cp -R ${PREFIX}/share/examples/ktx/* ~/quake
+4) Place 'pak0.pak' and 'pak1.pak' (from the Quake 1 data files)
+   in the 'qw' directory.
    If files are uppercase, they must be renamed to lowercase.
-5) Edit the server.cfg in the qw directory to suit your needs
-6) cd up to the parent directory ('quake')
-7) Run the server with: mvdsv -game qw +exec server.cfg
+5) Edit 'server.cfg' in the 'qw' directory to suit your needs. ktx has
+   its own 'sever.cfg' in the 'ktx' directory that runs other config
+   files that can be edited.
+6) Create a 'maps' directory underneath 'ktx' to add maps to the
+   rotation.
+7) cd up to the parent directory ('quake')
+8) Run the server with: mvdsv -port 28001 -game qw +exec server.cfg
+   For ktx use '-game ktx' instead. Refer to ktx's scripts for more
+   examples (e.g., 'port1' and 'servers').
 
 (Note: qwprogs.dat is freely downloadable and under GPLv2 license)

Reply via email to