Browse Source

Merge pull request #1735 from GhoulofGSG9/feature/ns2_server_64_bit

Update to support the 64bit binaries of Natural Selection 2
pull/1787/head
Daniel Gibbs 7 years ago
committed by GitHub
parent
commit
b89b48e88f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      lgsm/config-default/config-lgsm/ns2server/_default.cfg
  2. 14
      lgsm/functions/check_deps.sh
  3. 5
      lgsm/functions/info_glibc.sh

4
lgsm/config-default/config-lgsm/ns2server/_default.cfg

@ -109,8 +109,8 @@ engine="spark"
## Server Specific Directories
systemdir="${serverfiles}"
executabledir="${serverfiles}"
executable="./server_linux32"
executabledir="${serverfiles}/x64"
executable="./server_linux"
servercfgdir="${rootdir}/server1"
servercfgfullpath="${servercfgdir}"
modstoragedir="${servercfgdir}/Workshop"

14
lgsm/functions/check_deps.sh

@ -167,8 +167,11 @@ if [ -n "$(command -v dpkg-query 2>/dev/null)" ]; then
# Game Specific requirements
# Spark
if [ "${engine}" == "spark" ]; then
# Natural Selection 2
if [ "${gamename}" == "Natural Selection 2" ]; then
array_deps_required+=( speex libtbb2 )
# NS2: Combat
elif [ "${gamename}" == "NS2: Combat" ]; then
array_deps_required+=( speex:i386 libtbb2 )
# 7 Days to Die
elif [ "${gamename}" == "7 Days To Die" ]; then
@ -261,8 +264,11 @@ elif [ -n "$(command -v yum 2>/dev/null)" ]; then
# Game Specific requirements
# Spark
if [ "${engine}" == "spark" ]; then
# Natural Selection 2
if [ "${gamename}" == "Natural Selection 2" ]; then
array_deps_required+=( speex tbb )
# NS2: Combat
elif [ "${gamename}" == "NS2: Combat" ]; then
array_deps_required+=( speex.i686 tbb.i686 )
# 7 Days to Die
elif [ "${gamename}" == "7 Days To Die" ]; then

5
lgsm/functions/info_glibc.sh

@ -134,8 +134,11 @@ elif [ "${engine}" == "source" ]; then
elif [ "${engine}" == "goldsource" ]; then
glibcrequired="2.3.4"
glibcfix="no"
elif [ "${engine}" == "spark" ]; then
elif [ "${gamename}" == "Natural Selection 2" ]; then
glibcrequired="2.17"
glibcfix="no"
elif [ "${gamename}" == "NS2: Combat" ]; then
glibcrequired="2.15"
glibcfix="yes"
elif [ "${engine}" == "starbound" ]; then
glibcrequired="2.17"

Loading…
Cancel
Save