xash3d-installscript/README.md

72 lines
2.3 KiB
Markdown
Raw Normal View History

2022-08-21 15:01:01 +02:00
# xash3ds-installscript
2022-09-11 14:43:05 +02:00
Origin of this is https://git.la10cy.net/DeltaLima/xash3d-installscript
2022-08-22 00:41:59 +02:00
2024-01-15 02:17:38 +01:00
This script install an ready to run Half-Life Xash3D Game client or dedicated server under Debian 11/12 and Ubuntu 20.04 (those i tested so far) by downloading game data from steam directly with the free steamcmd tool from valve.
2022-08-24 16:17:56 +02:00
Just run the script and play :)
2022-08-21 15:01:24 +02:00
2022-08-23 12:39:05 +02:00
```
2022-09-11 14:42:37 +02:00
Usage: ./install-xash3d.sh [server|client] [install|update] [0.19|0.20]
2022-08-23 12:39:05 +02:00
2024-01-15 02:25:58 +01:00
Description: Script to install an Xash3D engine full game client or dedicated server with game data from steamcmd
2022-08-23 12:39:05 +02:00
Server tested on Debian 11 ; Client tested on Ubuntu 20.04
2024-01-15 02:25:58 +01:00
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:
2024-01-15 02:33:46 +01:00
1) Install client version 0.20 located in ~/Games/Xash3D where the build directory is as well
2024-01-15 02:25:58 +01:00
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
2022-08-23 12:39:05 +02:00
Resources we are using:
https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
https://github.com/DevilBoy-eXe/hlds/releases/download/8684/hlds_build_8684.zip
2022-09-11 14:36:04 +02:00
0.20: https://github.com/FWGS/xash3d-fwgs
0.19: https://gitlab.com/tyabus/xash3d
2022-08-23 12:39:05 +02:00
```
2022-09-11 14:45:46 +02:00
To install the server run following command in the directory where you checked this git into
2022-08-22 00:22:26 +02:00
```
2024-01-15 02:36:31 +01:00
./install-xash3ds.sh server install [Version]
2022-08-22 00:22:26 +02:00
```
2024-01-15 02:37:14 +01:00
To install the FULL PLAYABLE client with all game data (steamcmd thx <3) run
2022-08-22 00:22:26 +02:00
```
2024-01-15 02:39:46 +01:00
./install-xash3d.sh client install 0.20
2022-08-22 00:22:26 +02:00
```
2024-01-15 02:37:14 +01:00
(Version 0.19 is actually broken as client, please use `0.20`)
2022-08-22 00:22:26 +02:00
Your server or gamefiles (you can run server first and then rerun afterwards with client to get the full package) are in
```
2024-01-15 02:39:46 +01:00
/path/to/repo/xash3d-installscript/xash3d
2022-08-22 00:22:26 +02:00
```
from there you can run the server
```
./start.sh
```
or the game to have a frag
```
2024-01-15 02:25:58 +01:00
./start-xash3d.sh
2022-08-22 00:22:26 +02:00
```
2022-08-26 17:32:01 +02:00
You can easly update both, client and server (example client):
```
2024-01-15 02:39:46 +01:00
./install-xash3d.sh client update 0.20
2022-08-26 17:32:01 +02:00
```
2022-08-23 02:53:28 +02:00
Have a look on my servers at https://HL.LA10CY.NET :) Happy fragging!
2022-08-23 02:53:13 +02:00
2022-09-11 14:45:46 +02:00
This script is based on the work of https://github.com/FWGS/xashds-docker/ and https://github.com/FWGS/xash3d-fwgs and https://gitlab.com/tyabus/xash3d