trainzoptions.txt questions

sniper297

Coconut God
Not gonna query the whole smash, just the parts I'm interested in, feel free to toss your own junk in the pile. :cool: Primarily interested in TS2010 for this, but posting in general because who knows what applies to which, who gets paid how much, and who posts the bail if we get caught.

http://en.wikibooks.org/wiki/Trainz/Trainzoptions.txt

-DisableEnvMap Causes Trainz to not render Environmental maps. This may improve performance on certain minimum-spec (or lower) graphics cards.

I'll bite, what's an environmental map, and does it apply to TS2010?

-ResourceMemory=XXX Specifies the amount of memory reserved (in megabytes) for resource disk caching. This will prevent Trainz from accessing the disk as often, reducing caching time and 'stutter' caused by slow disk access. This option defaults to 0.

What's the recommended per unit of physical RAM? I have 2 gigs, tried setting this for -ResourceMemory=512 and -ResourceMemory=1024, no effect that I could see.

-ShowKuids Displays the kuid of the currently selected asset in Surveyor. No effect in Driver, Scenarios, etc.

Doesn't do anything in surveyor near as I can tell.
 
I think I'm right in saying that an environment map is the texture file used to give reflective effects to certain surfaces. As such surfaces aren't used everywhere, I imagine it probably doesn't make a lot of difference.

-showkuids adds the kuid of the currently selected object to the screen bottom right. The text is yellow if it's built-in, white if it's on the DLS, and red if neither. It's particularly useful for building routes if you are trying to avoid using payware or non-DLS content.

Paul
 
-showkuids adds the kuid of the currently selected object to the screen bottom right.
Paul

-ShowKuids appears to be broken in TS12 - another desperately needed inclusion in SP1 (unless you subscribe to the theory that the needs of route builders have dropped clean off N3V's radar)...

Andy :(
 
-ShowKuids appears to be broken in TS12 - another desperately needed inclusion in SP1 (unless you subscribe to the theory that the needs of route builders have dropped clean off N3V's radar)...

Andy :(

While in Surveyor

Main Menu

Options

Developer Settings

Show Kuids In Surveyor [ X ]

That will show Kuids but only in Surveyor.

Dave
 
Well I'm glad that there is some way to show kuids in 12. I assume the change was documented on a blank wiki page somewhere...

Andy ;)
 
In TS12 I notice the line -framerate=200. Adding this also makes TS2009 ans TS2010 run smoother on my rigs, even though the framerate never achieves anywhere near this.
Geoff
 
Supposed to be the opposite - it defaults to 200 if that line is absent, that's the max framerate it "clamps" the display at. The idea there is for really fast video cards if it jumps from 140FPS to 60 to 120 to 180 and back to 70, it looks jerky - clamp it at 60 and it stays at 60 and looks smoother. Hard to believe but even framerates as low as 15FPS can look smooth provided it's a STEADY 15FPS and doesn't jump from 8 to 20 and back.

Anyway, the KUID display does work as advertised, I just forgot to look at the lower right corner, I was expecting something highlighted in the selection window. :o

The one I still don't see is the
-ResourceMemory=XXX

I currently have that set to 2048, still uses 1 to 1.3 gig of the 3 gig page file, not using all the physical RAM, same loading delays and popups. No difference at all that I can detect whatever I set it to.
 
There was a 100 minute test that showed that manipulating the trainzoptions file proved no more that 1-5 FPS improvement ... as what Trainz gives you is almost the best settings ... manipulating your trainzoptions file will produce minimal, if any improvement.
 
The one I still don't see is the
-ResourceMemory=XXX

I currently have that set to 2048, still uses 1 to 1.3 gig of the 3 gig page file, not using all the physical RAM, same loading delays and popups. No difference at all that I can detect whatever I set it to.

I think you'll find that this option doesn't exist in any recent versions of Trainz. We found that this one required a lot of technical knowledge to set up optimally, and that most users assume that "bigger is better" which is definitely not the case here. So we removed the option in favour of an automatic setting.

chris
 
Okay, so that one has no effect in TS2010.

"most users assume that "bigger is better"", yup, that's why I asked what the recommended setting was, the Windows swap file settings are dependent on how much physical RAM you have - setting 4096 when you have 256k only eats large portions of the physical RAM with no real improvement.

So what's the

-DynamicVertexBufferSize=4194304
-DynamicIndexBufferSize=196608

All about, any benefit to tinkering with that IAW your RAM amount? I also remember something about disabling -VBO, but I think that was something to do with TRS2004, can't find the reference now.

What does work;

-debug
Hold down the SHIFT key while testing a session, it does speed up the game.

-allownoctrlrightclick
Gets rid of that irritating Hold Ctrl + right click message every time the cursor gets near a train.

-ShowKuids

Shows the KUID number of the selected asset in the lower right corner.

-framerate=30
Clamps the maximum FPS to whatever number you enter, smooths out the display for really fast video cards, don't help with old clunkers.

Width and height no effect I can see, tried changing that to 800x600 and still have 1024x768 as the minimum screen size setting.
 
Back
Top