diff --git a/game-servers/trackmania-forever.md b/game-servers/trackmania-forever.md new file mode 100644 index 0000000..36f3d17 --- /dev/null +++ b/game-servers/trackmania-forever.md @@ -0,0 +1,261 @@ +# Trackmania Nations Forever / Trackmania United Forever +![TMNF Logo](https://www.gamers.org/tmf/banner.jpg) + +## Ports + +- Game Port Default: 2350 UDP +- P2P Port for downloading Custom Maps / Files: 3450 TCP +- XMLRPC Port: 5000 TCP + +## Online Hosting Requirements + +Hosting an Internet accessable Online Server requires a login to the master server. It can't be your game login and every server needs an unique account. + +For LAN Hosting a server login isn't required! + +### Trackmania Nations Forever Server Account + +- Start your gameclient and create an account there + +### Trackmania United Forever Server Account + +- Login with your gaming credentials at http://official.trackmania.com/tmf-playerpage/ (either use http or setup your browser to support older https protocols) +- On "Dedicated servers" you have to type your Serial Code of the Game to allow access of dedicated server accounts. If your bought Trackmania United Forever on Steam it's easy to get your product code +- Create there a new login for the dedicated Server + +## Startparameters + +Startparameters override Settings in the configuration of `dedicated_cfg` + +| Startparameter | Function +|--|--| +| dedicated_cfg=xxx | Specifies the name of the dedicated configuration | +| game_settings=xxx | Specifies the name of game settings configuration | +| login=xxx | Username of Server Account | +| password=xxx | Password of Server Account | +| servername=xxx | Name of the Server | +| serverpassword=xxx | Connection Password for clients to connect if you want to make the server private | +| lan | Start server in LAN mode | +| forceip=xxx(:xx) | Forces the public ip address (and optionally port) to this value | +| bindip=xxx(:xx) | Binds server to ip address if multiple network interfaces are on the machine | +| join=xxx | Joins a server, to make a relay server. (xxx = the server ip adress with optional port, or the server login) | +| joinpassword=xxx | Password to use to join the remote server if the server is private | +| loadcache | Loads the "checksum.txt" instead of recomputing it, to speed up first launch time if P2P is enabled. *DO NOT USE* if you run several servers in the same directory | +| nologs | Disables the creation of "GameLog.txt" and "ConsoleLog.txt" in Logs/ directory | +| noautoquit | Keeps the server running "waiting for rpc commands", even if it is not live (with a map loaded and ready to receive players) | +| nodaemon | Doesn't detach the process | +| verbose_rpc_full | Display the whole contents of the xml-rpc requests the dedicated server receives. | +| verbose_rpc | Displays the xml-rpc requests the dedicated server receives, but only the name of the XmlRpc? command and some parameters | + +Example: `TrackmaniaServer /dedicated_cfg=dedicated_cfg.txt /game_settings=MatchSettings/custom_game_settings.txt /nodaemon /lan` + +Source of parameters: https://web.archive.org/web/20221003213817/https://www.tm-forum.com/viewtopic.php?p=154464#p154464 + +## Configuration + +Configuration happens on two `.txt` files which are formatted in XML, name can be anything you like. The dedicated configuration needs to be located in `GameData/Config/` and game settings in `GameData/Tracks/`. + +### Dedicated Server Configuration + +Example: + +``` + + + + + SuperAdmin + SuperAdmin + + + Admin + Admin + + + User + User + + + + + + + + + + + + + 32 + + + 32 + + + forced + + True + True + + 60000 + 0.5 + + True + False + + + + 512 + 8192 + + + 2350 + 3450 + 0 + + + + 5000 + False + + + + + + False + + + + +``` + + +### Game Settings + +Example: + +``` + + + + 1 + 10000 + 1 + 1 + 0 + 0 + 30 + 0 + 0 + 5 + 50 + 6 + 0 + 5 + 180000 + 0 + 3 + 300000 + 100 + 3 + 3 + 2 + + + + 0 + 300000 + 5 + + + + 1 + 1 + 0 + 0 + 1000 + 0 + 0 + + + 0 + + Campaigns\Nations\Blue\C01-Race.Challenge.Gbx + eDgWjoKe2dT3GfoTCGCmI_qMvfk + + + Campaigns\Nations\Blue\C02-Race.Challenge.Gbx + hlRjJEZGm0yr1sT91CtdIwmqsti + + + Campaigns\Nations\Blue\C03-Acrobatic.Challenge.Gbx + c4oQLgleEPkNtehypwdYXTkmVvi + + + Campaigns\Nations\Blue\C04-Race.Challenge.Gbx + yWy7ROt2lgk2zL44HKdBgUjuthi + + + Campaigns\Nations\Blue\C05-Endurance.Challenge.Gbx + UR7xWwTkMeFB2kqVLVVOGDBCKFb + + + Campaigns\Nations\Blue\C06-Speed.Challenge.Gbx + fwj7Gn1nSQ_8qx6MPUtzAfHngTj + + + Campaigns\Nations\Blue\C07-Race.Challenge.Gbx + PLVn84D8NoVGjidP1pLafZP8qA8 + + + Campaigns\Nations\Blue\C08-Obstacle.Challenge.Gbx + Hb_oIOr6Y4_I3aoMogsTPufz8hl + + + Campaigns\Nations\Blue\C09-Race.Challenge.Gbx + 9MOwoNkpYZhw8e99cxFI3hVZrvi + + + Campaigns\Nations\Blue\C10-Acrobatic.Challenge.Gbx + XYiTfAdultrTWVJpjl_Bdnf7x4l + + + Campaigns\Nations\Blue\C11-Race.Challenge.Gbx + npRjhClGPZMs_YK_T5yUrnWY0q9 + + + Campaigns\Nations\Blue\C12-Obstacle.Challenge.Gbx + znbgMZayw8uBByLWqc6kYsEfG6l + + + Campaigns\Nations\Blue\C13-Race.Challenge.Gbx + qxHe8iBNC2soNhkOoOvEKDkxZ58 + + + Campaigns\Nations\Blue\C14-Endurance.Challenge.Gbx + uuGCAivChymPBU6TAHp6qIKSoR4 + + + Campaigns\Nations\Blue\C15-Speed.Challenge.Gbx + n4QZfCzSzwMxsY2ILHFUEEipjtg + + +``` + +## Deeplink Support + +Deeplinking is supported to make your server easier accessable for players. + +`tmtp://#join=IPAddress:Port` + +## Testing Rechability of Internetserver + +Can be tested on http://dedimania.net/deditest + +## Source + +More Information about Serverhosting can be aquired on https://server.xaseco.org/ + +## Game Modes + +TBW