Explorar el Código

Added glibc fix for Black Mesa

Daniel Gibbs hace 9 años
padre
commit
a854433782
Se han modificado 2 ficheros con 7 adiciones y 4 borrados
  1. 3 3
      lgsm/functions/fix_glibc.sh
  2. 4 1
      lgsm/functions/info_glibc.sh

+ 3 - 3
lgsm/functions/fix_glibc.sh

@@ -16,7 +16,7 @@ do
 	fi
 done
 
-local libm_servers_array=( "Codename CURE" "Day of Infamy" "Double Action: Boogaloo" "Empires Mod" "Fistful of Frags" "Garry's Mod" "GoldenEye: Source" "Insurgency" "Natural Selection 2" "NS2: Combat" "No More Room in Hell" )
+local libm_servers_array=( "Black Mesa: Deathmatch" "Codename CURE" "Day of Infamy" "Double Action: Boogaloo" "Empires Mod" "Fistful of Frags" "Garry's Mod" "GoldenEye: Source" "Insurgency" "Natural Selection 2" "NS2: Combat" "No More Room in Hell" )
 for libm_server in "${libm_servers_array[@]}"
 do
 	if [ "${gamename}" == "${libm_server}" ]; then
@@ -24,7 +24,7 @@ do
 	fi
 done
 
-local libc_servers_array=( "Garry's Mod" "GoldenEye: Source" )
+local libc_servers_array=( "Black Mesa: Deathmatch" "Garry's Mod" "GoldenEye: Source" )
 for libc_server in "${libc_servers_array[@]}"
 do
 	if [ "${gamename}" == "${libc_server}" ]; then
@@ -32,7 +32,7 @@ do
 	fi
 done
 
-local libpthread_servers_array=( "Garry's Mod" )
+local libpthread_servers_array=( "Black Mesa: Deathmatch" "Garry's Mod" )
 for libpthread_server in "${libpthread_servers_array[@]}"
 do
 	if [ "${gamename}" == "${libpthread_server}" ]; then

+ 4 - 1
lgsm/functions/info_glibc.sh

@@ -6,7 +6,10 @@
 
 local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
 
-if [ "${gamename}" == "Blade Symphony" ]; then
+if [ "${gamename}" == "Black Mesa: Deathmatch" ]; then
+	glibcrequired="2.15"
+	glibcfix="yes"
+elif [ "${gamename}" == "Blade Symphony" ]; then
 	glibcrequired="2.15"
 	glibcfix="yes"
 elif [ "${gamename}" == "BrainBread 2" ]; then