From 7dde4c03a734f6e978d01ec08ef42e939fea1672 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 3 Dec 2019 03:49:47 +0300 Subject: [PATCH] scripts: enable mobile_hacks HLSDK branch for MotoMAGX --- scripts/build_motomagx_engine.sh | 2 +- scripts/travis_motomagx_deps.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build_motomagx_engine.sh b/scripts/build_motomagx_engine.sh index e373eb9b..40ea5b1c 100755 --- a/scripts/build_motomagx_engine.sh +++ b/scripts/build_motomagx_engine.sh @@ -9,7 +9,7 @@ mkdir -p Xash/valve/cl_dlls mkdir -p Xash/valve/dlls cd hlsdk -./waf configure -T fast --enable-magx build install --destdir=../Xash +./waf configure -T fast --enable-magx --enable-simple-mod-hacks build install --destdir=../Xash cd ../ ./waf configure -T fast --enable-magx --win-style-install --prefix='' build install --destdir=Xash/ diff --git a/scripts/travis_motomagx_deps.sh b/scripts/travis_motomagx_deps.sh index 60a20af4..0335b1db 100644 --- a/scripts/travis_motomagx_deps.sh +++ b/scripts/travis_motomagx_deps.sh @@ -3,7 +3,7 @@ cd /opt/toolchains/ sudo git clone https://github.com/a1batross/motomagx_toolchain motomagx cd $TRAVIS_BUILD_DIR -git clone https://github.com/FWGS/hlsdk-xash3d hlsdk -git clone https://github.com/mittorn/ref_soft ref_soft +git clone https://github.com/FWGS/hlsdk-xash3d hlsdk -b mobile_hacks --depth=1 +git clone https://github.com/mittorn/ref_soft ref_soft --depth=1 sed -i "s|#rsw||" wscript