|
|
@@ -0,0 +1,81 @@
|
|
|
+<game_config>
|
|
|
+ <game_key>squad_linux64</game_key>
|
|
|
+ <protocol>lgsl</protocol>
|
|
|
+ <lgsl_query_name>squad</lgsl_query_name>
|
|
|
+ <installer>steamcmd</installer>
|
|
|
+ <game_name>Squad</game_name>
|
|
|
+ <server_exec_name>SquadServer.sh</server_exec_name>
|
|
|
+ <cli_template>%IP% %PORT% %QUERY_PORT% %PLAYERS% %TICKRATE% %MAP% -log</cli_template>
|
|
|
+ <cli_params>
|
|
|
+ <cli_param id="IP" cli_string="MultiHome=" />
|
|
|
+ <cli_param id="PORT" cli_string="Port=" />
|
|
|
+ <cli_param id="PLAYERS" cli_string="FIXEDMAXPLAYERS=" />
|
|
|
+ </cli_params>
|
|
|
+ <reserve_ports>
|
|
|
+ <port type="add" id="QUERY_PORT" cli_string="QueryPort=">19378</port>
|
|
|
+ </reserve_ports>
|
|
|
+ <console_log>Squad/Saved/Logs/Squad.log</console_log>
|
|
|
+ <max_user_amount>80</max_user_amount>
|
|
|
+ <mods>
|
|
|
+ <mod key="squad">
|
|
|
+ <name>None</name>
|
|
|
+ <installer_name>403240</installer_name>
|
|
|
+ <installer_login>anonymous</installer_login>
|
|
|
+ </mod>
|
|
|
+ </mods>
|
|
|
+ <replace_texts>
|
|
|
+ <text key="home_name">
|
|
|
+ <default>ServerName=.*</default>
|
|
|
+ <var>ServerName=</var>
|
|
|
+ <filepath>Squad/ServerConfig/Server.cfg</filepath>
|
|
|
+ <options></options>
|
|
|
+ </text>
|
|
|
+ <text key="max_players">
|
|
|
+ <default>MaxPlayers=.*</default>
|
|
|
+ <var>MaxPlayers=</var>
|
|
|
+ <filepath>Squad/ServerConfig/Server.cfg</filepath>
|
|
|
+ <options></options>
|
|
|
+ </text>
|
|
|
+ <text key="ip">
|
|
|
+ <default>Ip=.*</default>
|
|
|
+ <var>Ip=</var>
|
|
|
+ <filepath>Squad/ServerConfig/Rcon.cfg</filepath>
|
|
|
+ <options></options>
|
|
|
+ </text>
|
|
|
+ <text key="control_password">
|
|
|
+ <default>Password=.*</default>
|
|
|
+ <var>Password=</var>
|
|
|
+ <filepath>Squad/ServerConfig/Rcon.cfg</filepath>
|
|
|
+ <options></options>
|
|
|
+ </text>
|
|
|
+ </replace_texts>
|
|
|
+ <server_params>
|
|
|
+ <param key="FIXEDMAXTICKRATE=" type="text" id="TICKRATE">
|
|
|
+ <default>50</default>
|
|
|
+ <caption></caption>
|
|
|
+ <desc>MAX server tickrate.</desc>
|
|
|
+ <options>ns</options>
|
|
|
+ </param>
|
|
|
+ <param key="RANDOM=" type="select" id="MAP">
|
|
|
+ <option value="ALWAYS">Always</option>
|
|
|
+ <option value="FIRST">First</option>
|
|
|
+ <option value="NONE">None</option>
|
|
|
+ <caption></caption>
|
|
|
+ <desc>Randomize map rotation.</desc>
|
|
|
+ <options>ns</options>
|
|
|
+ </param>
|
|
|
+ </server_params>
|
|
|
+ <custom_fields>
|
|
|
+ <field key="RCON Port" type="text">
|
|
|
+ <default>Port=.*</default>
|
|
|
+ <default_value>21114</default_value>
|
|
|
+ <var>Port=</var>
|
|
|
+ <filepath>Squad/ServerConfig/Rcon.cfg</filepath>
|
|
|
+ <options></options>
|
|
|
+ <desc></desc>
|
|
|
+ </field>
|
|
|
+ </custom_fields>
|
|
|
+ <post_install>
|
|
|
+ sed -i '4s/IP/Ip/g' Squad/ServerConfig/Rcon.cfg
|
|
|
+ </post_install>
|
|
|
+</game_config>
|