From b87c13197f8c5e66339d9a2685d9d70c6a06bb45 Mon Sep 17 00:00:00 2001 From: Marcus Date: Mon, 15 Jan 2024 02:25:58 +0100 Subject: [PATCH] help text, README --- README.md | 21 ++++++++++++++++++--- install-xash3d.sh | 12 +++++++----- 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f17f7cb..257a678 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,24 @@ Just run the script and play :) ``` Usage: ./install-xash3d.sh [server|client] [install|update] [0.19|0.20] -Description: Script to install an Xash3D-FWGS client or Xash3D dedicated server with game data from steamcmd +Description: Script to install an Xash3D engine full game client or dedicated server with game data from steamcmd Server tested on Debian 11 ; Client tested on Ubuntu 20.04 -Origin: https://git.la10cy.net/DeltaLima/xash3ds-installscript +Origin: https://git.la10cy.net/DeltaLima/xash3d-installscript + +You can override following variables default values: +XASH_INSTALL_DIR, XASH_DS_PORT and XASH_BUILD_DIR + +Example: + + +2) Install client version 0.20 located in ~/Games/Xash3D where the build directory is as well + + XASH_INSTALL_DIR=~/Games/Xash3D XASH_BUILD_DIR=$XASH_INSTALL_DIR/build ./install-xash3d.sh client install 0.20 + +2) Install server version '0.19' into '~/opt/xashds_oldengine' + + XASH_INSTALL_DIR=~/opt/xashds_old ./install-xash3d.sh server update 0.19 + Resources we are using: https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz @@ -41,7 +56,7 @@ from there you can run the server or the game to have a frag ``` -./xash3d +./start-xash3d.sh ``` You can easly update both, client and server (example client): diff --git a/install-xash3d.sh b/install-xash3d.sh index 9a9a333..ec34899 100755 --- a/install-xash3d.sh +++ b/install-xash3d.sh @@ -50,13 +50,15 @@ XASH_INSTALL_DIR, XASH_DS_PORT and XASH_BUILD_DIR Example: -1) Install server version '0.19' into '~/opt/xashds_oldengine' - XASH_INSTALL_DIR=~/opt/xashds_old $0 server install 0.19 - -2) Update client version 0.20 located in ~/Games/Xash3D where the build directory is as well +2) Install client version 0.20 located in ~/Games/Xash3D where the build directory is as well - XASH_INSTALL_DIR=~/Games/Xash3D XASH_BUILD_DIR=\$XASH_INSTALL_DIR/build $0 client update 0.20 + XASH_INSTALL_DIR=~/Games/Xash3D XASH_BUILD_DIR=\$XASH_INSTALL_DIR/build $0 client install 0.20 + +2) Install server version '0.19' into '~/opt/xashds_oldengine' + + XASH_INSTALL_DIR=~/opt/xashds_old $0 server update 0.19 + Resources we are using: $steamcmd_url