|
@@ -1127,109 +1127,109 @@ fn_info_config_stationeers(){
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
# ARK: Survival Evolved
|
|
# ARK: Survival Evolved
|
|
|
-if [ "${gamename}" == "ARK: Survivial Evolved" ]; then
|
|
|
|
|
|
|
+if [ "${shortname}" == "ark" ]; then
|
|
|
fn_info_config_ark
|
|
fn_info_config_ark
|
|
|
# Ballistic Overkill
|
|
# Ballistic Overkill
|
|
|
-elif [ "${gamename}" == "Ballistic Overkill" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "bo" ]; then
|
|
|
fn_info_config_ballistic_overkill
|
|
fn_info_config_ballistic_overkill
|
|
|
# Battalion 1944
|
|
# Battalion 1944
|
|
|
-elif [ "${gamename}" == "Battalion 1944" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "bt1944" ]; then
|
|
|
fn_info_config_battalion1944
|
|
fn_info_config_battalion1944
|
|
|
# Battlefield: 1942
|
|
# Battlefield: 1942
|
|
|
-elif [ "${gamename}" == "Battlefield: 1942" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "bf1942" ]; then
|
|
|
fn_info_config_bf1942
|
|
fn_info_config_bf1942
|
|
|
# Call of Duty
|
|
# Call of Duty
|
|
|
-elif [ "${gamename}" == "Call of Duty" ]||[ "${gamename}" == "Call of Duty: United Offensive" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "cod" ]||[ "${shortname}" == "coduo" ]; then
|
|
|
fn_info_config_cod
|
|
fn_info_config_cod
|
|
|
# Call of Duty 2
|
|
# Call of Duty 2
|
|
|
-elif [ "${gamename}" == "Call of Duty 2" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "cod2" ]; then
|
|
|
fn_info_config_cod2
|
|
fn_info_config_cod2
|
|
|
# Call of Duty 4
|
|
# Call of Duty 4
|
|
|
-elif [ "${gamename}" == "Call of Duty 4" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "cod4" ]; then
|
|
|
fn_info_config_cod4
|
|
fn_info_config_cod4
|
|
|
# Call of Duty: World at War
|
|
# Call of Duty: World at War
|
|
|
-elif [ "${gamename}" == "Call of Duty: World at War" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "codwaw" ]; then
|
|
|
fn_info_config_codwaw
|
|
fn_info_config_codwaw
|
|
|
# Dont Starve Together
|
|
# Dont Starve Together
|
|
|
-elif [ "${engine}" == "dontstarve" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "dst" ]; then
|
|
|
fn_info_config_dontstarve
|
|
fn_info_config_dontstarve
|
|
|
# Eco
|
|
# Eco
|
|
|
elif [ "${shortname}" == "eco" ]; then
|
|
elif [ "${shortname}" == "eco" ]; then
|
|
|
fn_info_config_eco
|
|
fn_info_config_eco
|
|
|
# Factorio
|
|
# Factorio
|
|
|
-elif [ "${gamename}" == "Factorio" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "fctr" ]; then
|
|
|
fn_info_config_factorio
|
|
fn_info_config_factorio
|
|
|
# Insurgency: Sandstorm
|
|
# Insurgency: Sandstorm
|
|
|
elif [ "${shortname}" == "inss" ]; then
|
|
elif [ "${shortname}" == "inss" ]; then
|
|
|
fn_info_config_inss
|
|
fn_info_config_inss
|
|
|
# Just Cause 2
|
|
# Just Cause 2
|
|
|
-elif [ "${gamename}" == "Just Cause 2" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "jc2" ]; then
|
|
|
fn_info_config_justcause2
|
|
fn_info_config_justcause2
|
|
|
# Just Cause 3
|
|
# Just Cause 3
|
|
|
-elif [ "${gamename}" == "Just Cause 3" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "jc3" ]; then
|
|
|
fn_info_config_justcause3
|
|
fn_info_config_justcause3
|
|
|
# Killing Floor 2
|
|
# Killing Floor 2
|
|
|
elif [ "${shortname}" == "kf2" ]; then
|
|
elif [ "${shortname}" == "kf2" ]; then
|
|
|
fn_info_config_kf2
|
|
fn_info_config_kf2
|
|
|
# QuakeWorld
|
|
# QuakeWorld
|
|
|
-elif [ "${gamename}" == "QuakeWorld" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "qw" ]; then
|
|
|
fn_info_config_quakeworld
|
|
fn_info_config_quakeworld
|
|
|
# Quake 2
|
|
# Quake 2
|
|
|
-elif [ "${gamename}" == "Quake 2" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "q2" ]; then
|
|
|
fn_info_config_quake2
|
|
fn_info_config_quake2
|
|
|
# Quake 3
|
|
# Quake 3
|
|
|
-elif [ "${gamename}" == "Quake 3: Arena" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "q3" ]; then
|
|
|
fn_info_config_quake3
|
|
fn_info_config_quake3
|
|
|
# Quake Live
|
|
# Quake Live
|
|
|
-elif [ "${gamename}" == "Quake Live" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "ql" ]; then
|
|
|
fn_info_config_quakelive
|
|
fn_info_config_quakelive
|
|
|
# Minecraft
|
|
# Minecraft
|
|
|
-elif [ "${engine}" == "lwjgl2" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "mc" ]; then
|
|
|
fn_info_config_minecraft
|
|
fn_info_config_minecraft
|
|
|
# Post Scriptum: The Bloody Seventh
|
|
# Post Scriptum: The Bloody Seventh
|
|
|
elif [ "${shortname}" == "pstbs" ]; then
|
|
elif [ "${shortname}" == "pstbs" ]; then
|
|
|
fn_info_config_pstbs
|
|
fn_info_config_pstbs
|
|
|
# Project Cars
|
|
# Project Cars
|
|
|
-elif [ "${gamename}" == "Project Cars" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "pc" ]; then
|
|
|
fn_info_config_projectcars
|
|
fn_info_config_projectcars
|
|
|
# Project Zomboid
|
|
# Project Zomboid
|
|
|
-elif [ "${engine}" == "projectzomboid" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "pz" ]; then
|
|
|
fn_info_config_projectzomboid
|
|
fn_info_config_projectzomboid
|
|
|
# ARMA 3
|
|
# ARMA 3
|
|
|
-elif [ "${engine}" == "realvirtuality" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "arma3" ]; then
|
|
|
fn_info_config_realvirtuality
|
|
fn_info_config_realvirtuality
|
|
|
# Rising World
|
|
# Rising World
|
|
|
elif [ "${shortname}" == "rw" ]; then
|
|
elif [ "${shortname}" == "rw" ]; then
|
|
|
fn_info_config_risingworld
|
|
fn_info_config_risingworld
|
|
|
# Serious Sam
|
|
# Serious Sam
|
|
|
-elif [ "${engine}" == "seriousengine35" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "ss3" ]; then
|
|
|
fn_info_config_seriousengine35
|
|
fn_info_config_seriousengine35
|
|
|
# Source Engine Games
|
|
# Source Engine Games
|
|
|
elif [ "${engine}" == "source" ]||[ "${engine}" == "goldsource" ]; then
|
|
elif [ "${engine}" == "source" ]||[ "${engine}" == "goldsource" ]; then
|
|
|
fn_info_config_source
|
|
fn_info_config_source
|
|
|
# Starbound
|
|
# Starbound
|
|
|
-elif [ "${engine}" == "starbound" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "sb" ]; then
|
|
|
fn_info_config_starbound
|
|
fn_info_config_starbound
|
|
|
# TeamSpeak 3
|
|
# TeamSpeak 3
|
|
|
-elif [ "${gamename}" == "TeamSpeak 3" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "ts3" ]; then
|
|
|
fn_info_config_teamspeak3
|
|
fn_info_config_teamspeak3
|
|
|
# Mumble
|
|
# Mumble
|
|
|
-elif [ "${gamename}" == "Mumble" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "mumble" ]; then
|
|
|
fn_info_config_mumble
|
|
fn_info_config_mumble
|
|
|
# San Andreas Multiplayer
|
|
# San Andreas Multiplayer
|
|
|
-elif [ "${gamename}" == "San Andreas Multiplayer" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "samp" ]; then
|
|
|
fn_info_config_samp
|
|
fn_info_config_samp
|
|
|
# StickyBots
|
|
# StickyBots
|
|
|
elif [ "${shortname}" == "pstbs" ]; then
|
|
elif [ "${shortname}" == "pstbs" ]; then
|
|
|
fn_info_config_sbots
|
|
fn_info_config_sbots
|
|
|
# Teeworlds
|
|
# Teeworlds
|
|
|
-elif [ "${engine}" == "teeworlds" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "tw" ]; then
|
|
|
fn_info_config_teeworlds
|
|
fn_info_config_teeworlds
|
|
|
# Terraria
|
|
# Terraria
|
|
|
-elif [ "${engine}" == "terraria" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "terraria" ]; then
|
|
|
fn_info_config_terraria
|
|
fn_info_config_terraria
|
|
|
# Tower Unite
|
|
# Tower Unite
|
|
|
-elif [ "${gamename}" == "Tower Unite" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "tu" ]; then
|
|
|
fn_info_config_towerunite
|
|
fn_info_config_towerunite
|
|
|
# Unreal/Unreal 2 engine
|
|
# Unreal/Unreal 2 engine
|
|
|
elif [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then
|
|
elif [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then
|
|
@@ -1238,19 +1238,19 @@ elif [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then
|
|
|
elif [ "${engine}" == "unreal3" ]; then
|
|
elif [ "${engine}" == "unreal3" ]; then
|
|
|
fn_info_config_unreal3
|
|
fn_info_config_unreal3
|
|
|
# 7 Day To Die (unity3d)
|
|
# 7 Day To Die (unity3d)
|
|
|
-elif [ "${gamename}" == "7 Days To Die" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "sdtd" ]; then
|
|
|
fn_info_config_sdtd
|
|
fn_info_config_sdtd
|
|
|
-elif [ "${gamename}" == "Wolfenstein: Enemy Territory" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "wet" ]; then
|
|
|
fn_info_config_wolfensteinenemyterritory
|
|
fn_info_config_wolfensteinenemyterritory
|
|
|
-elif [ "${gamename}" == "ET: Legacy" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "etl" ]; then
|
|
|
fn_info_config_etlegacy
|
|
fn_info_config_etlegacy
|
|
|
-elif [ "${gamename}" == "Wurm Unlimited" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "wurm" ]; then
|
|
|
fn_info_config_wurmunlimited
|
|
fn_info_config_wurmunlimited
|
|
|
-elif [ "${gamename}" == "Multi Theft Auto" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "mta" ]; then
|
|
|
fn_info_config_mta
|
|
fn_info_config_mta
|
|
|
-elif [ "${gamename}" == "Squad" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "squad" ]; then
|
|
|
fn_info_config_squad
|
|
fn_info_config_squad
|
|
|
# Stationeers
|
|
# Stationeers
|
|
|
-elif [ "${gamename}" == "Stationeers" ]; then
|
|
|
|
|
|
|
+elif [ "${shortname}" == "st" ]; then
|
|
|
fn_info_config_stationeers
|
|
fn_info_config_stationeers
|
|
|
fi
|
|
fi
|