Trainz/Using wide screen monitors

From Wikibooks, open books for an open world
Jump to: navigation, search
logo
Fundamentals for Trainz Trainees

Setting up Trainz properly for yourself
Trainz | Introductory Trainz  | Trainz AM&C | Creation  | Appendixes  |  References  • Containers • Kinds • Tags • Index
 Glossary
 HKeys-CM
 HKeys-DVR
 HKeys-SUR
 HKeys-WIN
 Mouse use
 Notations
Windows default installation paths common in Trainz include either \Auran\ (old style) or \N3V\ so please adjust the meaning and your understanding accordingly.

This page aims to explain certain optimization changes which can be applied for an optimal video display using the Trainz initialization file, Trainzoptions.txt' or in the Trainz Classics releases Trainzclassicoptions.txt which will be found in the simulators local root directory under ...\Auran such as for example ...\Auran\TRS2006. One nice and important thing which is consistent across all Trainz versions, all of which have separate configuration files for all assets, is the standard of using a .txt file as a configuration default type, allowing easy user adjustments.

Applicability[edit]

Trainz — TRS2006

This note in general is applicable to TRS2004 / TRS2006 / TC / TC2 / TC3 / TRS2007 / TRS2008 and TRS2009. (TRS2007 and TRS2008 were releases specific solely in Continental Europe). The main aim of this page is to set up the video to take advantage of the highest resolution video mode that is native to your monitor.

These settings override the conservative 'one-size-fits-all' initializations the installer will generate when it runs the hardware tests at the end of the installation initialization. This test does not have a means of telling the what modes the monitor is able to support, hence start up figures error on the side of figures which should work on all systems.

Tip: NOTE: The following method has been found not always to work.
Post-TS2009 releases

Newer Trainz releases are able to access a database, detect the type and capabilities of your monitor through Microsoft Windows, and automatically optimize the configuration files for normal maximums for your system. These values are no longer solely controlled in settings of the TrainzOptions text files, but now through Launcher > Options > Display.

Native or True Mode[edit]

Two common native video ratio system defaults have emerged as standards in recent years, 16w:10h (4 and 16w:9h (4 W : 3 H) such as for example: 1440x900 heights ratios to widths (e.g. a common 16:10 native mode is 1440x900, so 1440/900 = 1.6 = 16/10). Wider and narrower aspect ratio monitor initializations are supported, the width for example, provided you have the video cards to handle it, can be extended to window across 2—3 multiple monitors, in which case the figures below would retain their height, but sum to the total width in pixel count of the 2-3 monitors put together. This would give a gamer style wrap around (left+center+middle) cockpit effect.

Adjustment description[edit]

Placing the two following lines into the config file will configure for a widescreen 16:10 ratio monitor 1440x900. The key is to search on line for announcements of the release or technical specs for your monitor model, and thereby learn what it's maximum native mode resolution (also called True Resolution) is claimed to be. Newer monitor technology in the 16:10 class might support dynamically adjusting for a wider higher resolution screen above the native mode at the expense of performance of the overall video system. The more pixels the Graphics card and microprocessor have to calculate will slow actual graphics whole screen performance.

Native monitor mode should be entered in a dash pre-fixed width and height tag line with the appropriate equality as shown below:
-width=1440
-height=900

Field of View adjustments[edit]

Adjusting the trainzoptions file to reflect the resolution of a wide-screen monitor is only half of the job! To show the view correctly you need to modify the field-of-view (FOV) to accommodate the increased horizontal size. This will enhance playability as well. The values you need to use are:

-cabinfov=74.7975
-driverfov=63.9863

These values are good for any 16:10 aspect wide-screen monitor. Monitors which are 16:9 aspect will need the following different values:

-cabinfov=80.6960
-driverfov=69.5316

Adding these lines to your trainzoptions file will display everything correctly apart from the main menu screens which will appear to be stretched horizontally. You will be able to tell the setup is correct easily in Surveyor as follows:

  1. Enter surveyor and load a small route.
  2. Open the Mini-Map using the keystroke sequence [CTRL][M]
  3. Use the cursor pads left and right arrows to rotate your viewpoint and observe the circular centering ring of the minimap. It should remain and appear as a near perfect circle, in the map center, not elliptical or squat looking like a tangerine.
  4. The above test does not validate the FOV figures.

The Process, step by step[edit]

First, open the Trainz directory. The next thing to do is to make a backup. You can do this first by Left Click on file (select it), [CTRL][C} (copy), Left Click on the folder background to deselect the file, [CTRL][V} (paste) back into the same folder which will create new file named Copy of filename.txt. Edit the original text file using Windows Notepad by double left clicking to open it. If your system has not defined notepad as the default text editor it will offer a list of optional programs including Notepad. Check off the click box to Always Use this program to open files of this type and open the file. If you use Trainz 2004 then you can simply use the editor in TrainzObjects to add the necessary info. In notepad cursor or mouse click to the below the bottom line and add or fix up the lines as need. Save and Close the editor. Launch Trainz. You should be good to go.Template:Bad Call Param to FUN-bot