HomeTutorials Increasing Route Editor Window Size

Increasing Route Editor Window Size

by Jim Steven, MCSE, 
Senior Microsoft Windows Application Developer


This message contains information about editing the Windows Registry.
It is recommended for advanced users only.
Always make a backup of the registry or at least the keys that you are modifying so you can restore them if needed.
Does your current Route Editor window look like this:


 

Would you prefer to see it look more like this:


 

The solution is in the Windows Registry.

The default editor window size (646 x 524) comes from two settings in the registry. Increasing these values will increase the "Editors and Tools" window with the menu on it.

A third setting determines if the Route Editor will leave the window size alone.

Important
When increasing the window size, don't forget those small windows that we use in the Route Editor.

After you enlarge the main window, it will overlap and hide the smaller windows. You can move the big window out of the way to reposition those small ones.

One more thing about performance - There IS a logical reason that the Route Editor window is sized small. Since the screen real estate is being increased, the video system has more to draw than before. You'll notice this with Carspawn objects or when you scroll your screen.

I recommend making small increases until you find the values that work best on your system.

In this example, I used Windows 98. The basic concept works with all Windows releases.

Close Train Simulator or the Route Editor if they're running.

Start REGEDIT.

Open the key:
\HKLM\Software\Microsoft\Microsoft Games\Train Simulator\1.0\HWRenderer


 

Locate these keys
Editor main window width
Editor main window height

Change the values to a preferred width / height. For a 1280x1024 Windows display, use 800x600 or 1024x768. That leaves room for the little dialog windows too.

Locate the key
Editor main window max

Change the value from 00 00 00 00 to 00 00 00 01
(The last entry will be a one)

This tells the Route Editor to maximize itself, but the Width and Height settings determine the overall size.

Example: Changing a 1280x1024 capable system so the Route Editor uses 1024x768 requires these three edits.


 

And, yes you DO see 01 00 00 00 here and not 00 00 00 01 as it was entered in the RegEdit dialog interface.

It relates to the Intel memory addressing architecture which stores things LOW BYTE then HIGH BYTE. When Windows grew up and started speaking two-byte WORD storage, Intel maintained the logic. They're stored LOW WORD then HIGH WORD.

So a decimal 1 in double-words ends up looking reversed. It's still a 1.

Here's what my current route's train yard looks like from overhead using the larger settings:

For the techies out there - The images are essentially stretched to fit the larger viewport. If you modify the camera config file settings for the editor camera (move it back and change the clipping size) then you'll increase what is seen in the new window rather than seeing a larger copy of it.

The compass at the top is much easier to read.

Jim Steven, MCSE
Sr. Microsoft Windows Application Developer



If you minimize the route editor window to the Task Bar then maximize it, it fills the screen, WOW. I have been using it like this for quite a while now and it seems as stable as norm.


Jim, I ran Windows ME Registry Editor to change the size of the Route Editor window to 800 X 600 and found out that if I minimize and maximize the Route Editor window, it fills the whole screen which was set for 1024 X 768 but after using the Route Editor to create the Staten Island Railway route, rebooting my computer when the amount of free system memory goes below 50 MB (I have CacheMan) a few times, the size of the Route Editor window went back to default size and I can't maximize the window anymore.

Jeffrey Morris


12 May 2002