Skip to content

Commit 2d0a037

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 351b17c commit 2d0a037

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

@@ -166,7 +166,7 @@ glibc="2.15"
166166
# Edit with care
167167

168168
## Game Server Directories
169-
systemdir="${serverfiles}/tf2c"
169+
systemdir="${serverfiles}/tf2classified"
170170
supportdir="${serverfiles}/tf2"
171171
executabledir="${serverfiles}"
172172
executable="./srcds.sh"

0 commit comments

Comments
 (0)