Win32 Setup

Win32 - Pre-install Preparation

It is recommended you use a clean install of Tribes 2. If you have any scripts and you plan on running a dedicated server, un-install them or un-install Tribes 2 and re-install it and add the latest patches. Using the default installation options for Tribes 2 is always best when your dealing with mods because most mods look for Tribes 2 in the default directory "C:\Dynamix\Tribes2\GameData\".

Win32 - Installing patches -
It is highly recommended that you do NOT use the auto-update feature of Tribes 2 to install update patches. Instead go to a website such as Planet Tribes Essential Files and download the latest patch. Before you install it from your hard drive manually, make sure you clean your Tribes 2 server of ALL .dso files (see "Removing .dso files"). Once that is done, install the patch.

Win32 - Removing .dso files -
Best way to delete .dso files is to press your Windows "Start" button, go to "Find" then click on "Files or Folders...". In the box labeled "Named", type in "*.dso" (without quotes). Then in the drop down box labeled "Look in:", find the drive Tribes2 in installed on, then click the "Browse" button and find your C:\Dynamix\Tribes2 folder and select it. Make sure the check box labeled "Include subfolders" has a check mark in it. Now hit the "Find Now" button, it will list all of the .dso files in your Tribes 2 installation. Once the search is completed, click on the menu "File" and then click on "save search". This will save a shortcut of this search on to your desktop for future use. Now you should select all the files that came up in the search and delete them.

Win32 - Installation

If you are running a previous version of Mechina, you must first uninstall it. You do this by using the supplied uninstall program. After you are finished running the uninstall program, you should go to your "\GameData\mechina\prefs\" folder and back up your ClientPrefs.cs and controls cs files. Then, delete the "\GameData\mechina\" folder and also any shortcuts created by the previous install. You are now ready to install the latest version.

Simply download the Mechina installer and execute it, it will create a shortcut on your desktop and a folder to your start menu. When Mechina is executed using the supplied shortcut it automatically deletes base dso files to reduce the possibility of conflicts.

Server Configuration

a) Edit the "mechina.bat" file in the "...\Tribes2\GameData" directory and change the default port for ispawn of 28000 if desired.

b) Double click the shortcut that was created during the installation process. Select the launch mode from the menu. Let Tribes 2 load completely and then quit. We need to bring the Tribes 2 up and down so Mechina can write some server and client configuration files.

c) Configure Mechina client and server options by going to your "...\Tribes2\GameData\mechina\prefs\" directory and opening up the "ServerPrefs.cs" and "ClientPrefs.cs" files with a text editor. Mechina specific varibles are explained in the tables on this page.

For more detail on how to run a dedicated server please visit: Tribes 2 Dedicated Server Community

Windows XP

If you find that none of the included batch files is working properly under XP download one of the following and replace yours with it. It goes in your "GameData" folder.


Linux Setup

Linux - Installation

It is recommended you use a clean install of Tribes 2 and delete all *.dso files.

If you are running a previous version of Mechina, you must first uninstall it. You do this by deleting the "~/.loki/tribes2/mechina/" folder. You should first go to your "~/.loki/tribes2/mechina/prefs/" folder and back up your ClientPrefs.cs and controls cs files. You are now ready to install the latest version.

To install the Mechina mod on a Linux server simply extract the mechina*.tar.gz into "~/.loki/tribes2/" so that afterwards your path looks like: "~/.loki/tribes2/mechina/". Make sure to let it overwrite exisiting files.

We cannot stress the fact enough that the "/mechina/" folder and subfolders MUST ALL BE IN LOWERCASE LETTERS OR THE MOD WILL NOT RUN. So make sure all folder names are lowercase and change if they are not.

To run the standalone dedicated Mechina server, pass it the "-dedicated" and "-mod mechina" command line options, followed by the name of the first map, and the type of game to run.

To start Mechina, you would do the following:
Log in as the user you created to run Tribes 2
cd /path/to/installed/game
./tribes2d -online -mod mechina

You can customize the advanced server settings by editing the file ~/.loki/tribes2/mechina/prefs/ServerPrefs.cs

You can specify the number of bots to run on the command line by using the -bot N command line option. For example, to use the default map and game type with 10 bots, you would do the following:
cd /path/to/installed/game
./tribes2d -dedicated -mod mechina -bot 10

If for some reason the server is crashing frequently, you can use the script "tribes2d-restart.sh" to automatically restart the dedicated server. This script will also look for updates on the internet when it starts, to keep your server up to date.
cd /path/to/installed/game
./tribes2d -restart.sh -dedicated -mod mechina


Tricon 2

Mechina is not compatible with Tricon 2 in any way shape or form, we will not support servers that choose to run Tricon 2. If you wish to use a 3rd party Telnet application to connect to your server, we recommend TotalCONtrol.


Using Admin HUD

The new admin hud allows admins and super admins to issue commands from a hud instead of using the console. To use the admin hud, you must first bind a key to it in the SETTINGS -> CONTROLS area. You can issue the following admin commands by bringing up the admin hud while you have admin or super admin privileges:

 

 

MECHINA SPECIFIC SERVER PREFERENCE SETTINGS

$Host:: varibles are located in "/prefs/ServerPrefs.cs".

$pref:: varibles are located in "/prefs/ClientPrefs.cs".


$Host::useHighPerformanceCounter Fix for Win2k server timing issue, accepts a value of 1 or 0.
$pref::Net::DisplayOnMaster Register this server with Sierra masters, accepts a value of "Always" or "Never".
$pref::Net::RegionMask What geographical region the server is in.
$pref::Net::PacketRateToClient How fast data packets are sent to clients.
$pref::Net::PacketSize How large the data packets sent to clients are.
$Host::EnableBadWordFilter Enable/disable bad word filtering of client messages. Accepts a value of 1 or 0.
$Host::Telnet Enable/disable Telnet access to server. Accepts a value of 1 or 0.
$Host::TelnetPort Telnet port, must be open on host.
$Host::TelnetPassword Full access telnet password, can send commands to server.
$Host::TelnetListenPass Read only telnet password, cannot send commands to server.
$Host::AutoRestartServer Automatically restart server, enable/disable. Accepts a value of 1 or 0.
$Host::RestartTime Time in hours to send quit to server, part of auto server restart.
$Host::EchoChat Print global player chat to server console. Accepts a value of 1 or 0.
$Host::RandomizeTeams Random team selection of players. Accepts a value of 1 or 0.
$Host::Mechina::UseRandomMaps Load missions at random. Accepts a value of 1 or 0.
$Host::FairTeams Dissallow players from making teams uneven. Accepts a value of 1 or 0.
$Host::LogEchoEnabled Print special messages to server console and logs admin actions to "prefs/AdminLog.log". Accepts a value of 1 or 0.
$Host::ConnectLog Logs the name, GUID and IP of everyone who connects, to "prefs/connect.log". Accepts a value of 1 or 0.
$Host::MarkDnAObjectives Waypoint Defend and Assault mission objectives. Accepts a value of 1 or 0.
$Host::AttritionLevel How many deaths until lockout in Team Attrition. Accepts a value from 3 to 999.
$Host::GameWeightClass What the default weight class of HERCs is for KOTH and TA games. Accepts values "Light", "Heavy" or "Mixed". 999.
$Host::Mechina::UseRandomGameTypes Load gametypes at random. Accepts a value of 1 or 0.
$Host::Mechina::CycleGameTypes Cycle between gametypes. Accepts a value of 1 or 0.

 

SERVER PORT SETTINGS

Tribes 2 Patch Server Primary Connection (1)
Port Number Protocol Type Direction Info:
15101 TCP Outbound Patch Server Port.
Tribes 2 Authentication Server Primary Connection (2)
Port Number Protocol Type Direction Info:
15104 TCP Outbound Sierra Master Server.
Tribes 2 Master ServerList Server Primary Connection (3)
Port Number Protocol Type Direction Info:
15204 TCP Outbound Authentication Server.

Secondary Connections (3) Port Number Protocol Type Direction Info
15206 TCP Outbound Authentication Server:
15800 TCP Outbound Account Services.

Tribes 2 Game/IRC Servers Primary Connection (4)
Port Number Protocol Type Direction Info:
28000 UDP Send Receive Tribes2 Master Serv./Game Port.

Secondary Connections (4)
Port Number Protocol Type Direction Info:
27999 UDP Send Receive Tribes2 Master Server.
28001-29000 UDP Send Receive GameServer Ports.