Procházet zdrojové kódy

glibc fix tf2 requirements

Daniel Gibbs před 9 roky
rodič
revize
115b762d42
2 změnil soubory, kde provedl 6 přidání a 3 odebrání
  1. 1 1
      lgsm/functions/fix_glibc.sh
  2. 5 2
      lgsm/functions/info_glibc.sh

+ 1 - 1
lgsm/functions/fix_glibc.sh

@@ -20,7 +20,7 @@ do
 done
 
 # libm.so.6
-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" )
+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" "Team Fortress 2" )
 for libm_server in "${libm_servers_array[@]}"
 do
 	if [ "${gamename}" == "${libm_server}" ]; then

+ 5 - 2
lgsm/functions/info_glibc.sh

@@ -113,8 +113,8 @@ elif [ "${engine}" == "seriousengine35" ]; then
 elif [ "${engine}" == "source" ]; then
 	glibcrequired="2.15"
 	glibcfix="no"
-elif [ "${engine}" == "goldsource" ]	; then
-	glibcrequired="2.14"
+elif [ "${engine}" == "goldsource" ]; then
+	glibcrequired="2.3.4"
 	glibcfix="no"
 elif [ "${engine}" == "spark" ]; then
 	glibcrequired="2.15"
@@ -143,6 +143,9 @@ elif [ "${engine}" == "unreal4" ]; then
 elif [ "${engine}" == "unity3d" ]; then
 	glibcrequired="2.15"
 	glibcfix="no"
+elif [ "${engine}" == "Team Fortress 2" ]; then
+	glibcrequired="2.15"
+	glibcfix="yes"
 elif [ "${gamename}" == "TeamSpeak 3" ]; then
 	glibcrequired="NOT REQUIRED"
 	glibcfix="no"