|
|
@@ -1,30 +1,62 @@
|
|
|
<game_config>
|
|
|
- <game_key>tmf_linux32</game_key>
|
|
|
+ <game_key>trackmanianf_linux32</game_key>
|
|
|
<game_name>TrackMania Nations Forever</game_name>
|
|
|
<server_exec_name>TrackmaniaServer</server_exec_name>
|
|
|
- <cli_template>/internet /bindip%IP%%PORT% %MAP%.txt /nodaemon /dedicated_cfg=dedicated_cfg.txt</cli_template>
|
|
|
+ <cli_template>/nodaemon %MS% /dedicated_cfg=dedicated_cfg.txt %HOSTNAME%</cli_template>
|
|
|
<cli_params>
|
|
|
- <cli_param id="MAP" cli_string="/game_settings=MatchSettings/Nations/" />
|
|
|
- <cli_param id="IP" cli_string="=" />
|
|
|
- <cli_param id="PORT" cli_string=":" />
|
|
|
+ <cli_param id="HOSTNAME" cli_string="/servername=" options="q" />
|
|
|
</cli_params>
|
|
|
- <maps_location>GameData/Tracks/MatchSettings/Nations/</maps_location>
|
|
|
- <max_user_amount>32</max_user_amount>
|
|
|
+ <max_user_amount>255</max_user_amount>
|
|
|
<mods>
|
|
|
<mod key="tmnf">
|
|
|
- <name>none</name>
|
|
|
+ <name>None</name>
|
|
|
</mod>
|
|
|
</mods>
|
|
|
+ <replace_texts>
|
|
|
+ <text key="max_players">
|
|
|
+ <default>max_players</default>
|
|
|
+ <filepath>GameData/Config/dedicated_cfg.txt</filepath>
|
|
|
+ <options>tags</options>
|
|
|
+ </text>
|
|
|
+ <text key="port">
|
|
|
+ <default>server_port</default>
|
|
|
+ <filepath>GameData/Config/dedicated_cfg.txt</filepath>
|
|
|
+ <options>tags</options>
|
|
|
+ </text>
|
|
|
+ <text key="ip">
|
|
|
+ <default>bind_ip_address</default>
|
|
|
+ <filepath>GameData/Config/dedicated_cfg.txt</filepath>
|
|
|
+ <options>tags</options>
|
|
|
+ </text>
|
|
|
+ </replace_texts>
|
|
|
<server_params>
|
|
|
- <param key="/login=" type="text">
|
|
|
- <option>ns</option>
|
|
|
- <caption>/login=</caption>
|
|
|
- <desc>Your TMF login username</desc>
|
|
|
- </param>
|
|
|
- <param key="/password=" type="text">
|
|
|
- <option>ns</option>
|
|
|
- <caption>/password=</caption>
|
|
|
- <desc>Your TMF login password</desc>
|
|
|
- </param>
|
|
|
+ <param key="/game_settings=MatchSettings/Nations/" type="text" id="MS">
|
|
|
+ <default>NationsWhite.txt</default>
|
|
|
+ <options>ns</options>
|
|
|
+ <desc>Set the match settings file (available files are NationsWhite.txt, NationsGreen.txt, NationsBlue.txt and NationsRed.txt).</desc>
|
|
|
+ </param>
|
|
|
</server_params>
|
|
|
-</game_config>
|
|
|
+ <custom_fields>
|
|
|
+ <field key="server_p2p_port" type="text">
|
|
|
+ <default>server_p2p_port</default>
|
|
|
+ <default_value>3450</default_value>
|
|
|
+ <filepath>GameData/Config/dedicated_cfg.txt</filepath>
|
|
|
+ <options>tags</options>
|
|
|
+ <desc>Port number used by the server to listen the peer-to-peer connections.</desc>
|
|
|
+ </field>
|
|
|
+ <field key="xmlrpc_allowremote" type="text">
|
|
|
+ <default>xmlrpc_allowremote</default>
|
|
|
+ <default_value>False</default_value>
|
|
|
+ <filepath>GameData/Config/dedicated_cfg.txt</filepath>
|
|
|
+ <options>tags</options>
|
|
|
+ <desc>Enables/Disables remote connections. You can either set it to True or False or specify an IP (or a symbolic name): in that case only connections from that IP and localhost will be accepted.</desc>
|
|
|
+ </field>
|
|
|
+ <field key="xmlrpc_port" type="text">
|
|
|
+ <default>xmlrpc_port</default>
|
|
|
+ <default_value>5000</default_value>
|
|
|
+ <filepath>GameData/Config/dedicated_cfg.txt</filepath>
|
|
|
+ <options>tags</options>
|
|
|
+ <desc>Port number used by the server to listen xmlrpc calls.</desc>
|
|
|
+ </field>
|
|
|
+ </custom_fields>
|
|
|
+</game_config>
|