From 212b22d8a43bb6463e56f4b35997881f6b6ef6a7 Mon Sep 17 00:00:00 2001 From: DeltaLima Date: Sun, 21 Aug 2022 21:22:25 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9Einstall-xash3ds.sh=E2=80=9C=20=C3=A4nd?= =?UTF-8?q?ern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install-xash3ds.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install-xash3ds.sh b/install-xash3ds.sh index d2fc0e3..01af431 100644 --- a/install-xash3ds.sh +++ b/install-xash3ds.sh @@ -35,7 +35,7 @@ cd xash3d-fwgs ./waf configure -T release -d ./waf make ./waf install --destdir=bin/ -mv bin/* $XASH3D_BASEDIR/result/ + ## here we fetch half-life from steam server mkdir -p $XASH3D_BASEDIR/steam @@ -52,8 +52,10 @@ quit" > $XASH3D_BASEDIR/steam/hlds.install ## fetch steamcmd curl -sL "$steamcmd_url" | tar xzvf - +## run half-life download from steam server with steamcmd ./steamcmd.sh +runscript hlds.install - +## place Xash3D binaries in result and overwrite all +cp -R $XASH3D_BASEDIR/xash3d-fgws/bin/* $XASH3D_BASEDIR/result/ ## this is just another source you can use instead of steamcmd. ## curl -sLJO "$hlds_url" ## unzip "hlds_build_$hlds_build.zip" -d "hlds_build_$hlds_build"