Browse Source

Updated the Natural Selection 2 default config to support the new 64bit server binaries. 32bit support has been dropped.

Also updated the dependency and glibc checks to support the 64bit version of spark properly.
Note that ns2:combat continues to use a old 32bit fork of spark.
pull/1735/head
Sebastian Schuck 7 years ago
parent
commit
3abb4d4549
  1. 4
      lgsm/config-default/config-lgsm/ns2server/_default.cfg
  2. 18
      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"

18
lgsm/functions/check_deps.sh

@ -167,11 +167,14 @@ 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
elif [ "${gamename}" == "7 Days To Die" ]; then
array_deps_required+=( telnet expect )
# No More Room in Hell, Counter-Strike: Source and Garry's Mod
elif [ "${gamename}" == "No More Room in Hell" ]||[ "${gamename}" == "Counter-Strike: Source" ]||[ "${gamename}" == "Garry's Mod" ]; then
@ -255,11 +258,14 @@ 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 libtbb2 )
# 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
elif [ "${gamename}" == "7 Days To Die" ]; then
array_deps_required+=( telnet expect )
# No More Room in Hell, Counter-Strike: Source and Garry's Mod
elif [ "${gamename}" == "No More Room in Hell" ]||[ "${gamename}" == "Counter-Strike: Source" ]||[ "${gamename}" == "Garry's Mod" ]; then

5
lgsm/functions/info_glibc.sh

@ -131,7 +131,10 @@ 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="yes"
elif [ "${gamename}" == "NS2: Combat" ]; then
glibcrequired="2.15"
glibcfix="yes"
elif [ "${engine}" == "starbound" ]; then

Loading…
Cancel
Save