Skip to content

Commit f153a7e

Browse files
committed
fix(tf2c): use -game tf2classified and systemdir tf2classified
The game's installed directory is tf2classified (not tf2c). Using -game tf2c created a secondary directory with hardcoded absolute paths in gameinfo.txt. Using tf2classified uses the proper install with |appid_440| tokens in gameinfo.txt.
1 parent d2c9d00 commit f153a7e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lgsm/config-default/config-lgsm/tf2cserver/_default.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ maxplayers="16"
2424
gslt=""
2525

2626
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
27-
startparameters="-game tf2c -tf_path ${supportdir} -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
27+
startparameters="-game tf2classified -tf_path ${supportdir} -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
2828

2929
#### LinuxGSM Settings ####
3030

@@ -177,7 +177,7 @@ glibc="2.15"
177177
# Edit with care
178178

179179
## Game Server Directories
180-
systemdir="${serverfiles}/tf2c"
180+
systemdir="${serverfiles}/tf2classified"
181181
supportdir="${serverfiles}/tf2"
182182
executabledir="${serverfiles}"
183183
executable="./srcds.sh"

0 commit comments

Comments
 (0)