4
0
Эх сурвалжийг харах

glibc fix tf2 requirements

Daniel Gibbs 9 жил өмнө
parent
commit
115b762d42

+ 1 - 1
lgsm/functions/fix_glibc.sh

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

+ 5 - 2
lgsm/functions/info_glibc.sh

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