help text, README

This commit is contained in:
Marcus 2024-01-15 02:25:58 +01:00
parent f99a229d54
commit b87c13197f
2 changed files with 25 additions and 8 deletions

View File

@ -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):

View File

@ -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