PC Tsw3 Ini Settings Thread

Discussion in 'TSW General Discussion' started by chieflongshin, Oct 10, 2022.

  1. chieflongshin

    chieflongshin Well-Known Member

    Joined:
    Jan 4, 2019
    Messages:
    4,369
    Likes Received:
    7,214
    Morning all

    I was just wondering what people have achieved with fettling as yet. I'm still on a stock ini but curious.

    Look forward to any before and afters.
     
  2. fanta1682002

    fanta1682002 Well-Known Member

    Joined:
    Dec 22, 2019
    Messages:
    1,175
    Likes Received:
    561
    RTX 4090 TEST TSW3

    [SystemSettings]
    r.ViewDistanceScale=10
    r.SkeletalMeshLODBias=-5
    r.StaticMeshLODDistanceScale=0.1
    foliage.LODDistanceScale=7
    r.MaterialQualityLevel=1
    r.MaxAnisotropy=16
    r.HighQualityLightMaps=1
    r.AmbientOcclusionLevels=1
    r.BloomQuality=0
    r.MotionBlurQuality=0
    r.PostProcessAAQuality=3
    r.TemporalAACatmullRom=1
    r.TemporalAASharpness=1.0
    r.TemporalAASamples=4
    r.TemporalAAFilterSize=1.0
    r.TemporalAAPauseCorrect=1
    r.SSR.Quality=2
    r.Streaming.FullyLoadUsedTextures=1
    r.Streaming.HLODStrategy=2
     
    Last edited: Mar 20, 2023
  3. rennekton#1349

    rennekton#1349 Well-Known Member

    Joined:
    Jun 5, 2022
    Messages:
    6,223
    Likes Received:
    4,023
    There's a whole ini section on the train sim mod community website that you could explore and compare to what you currently plan on.
     
    • Like Like x 1
    • Helpful Helpful x 1
  4. chieflongshin

    chieflongshin Well-Known Member

    Joined:
    Jan 4, 2019
    Messages:
    4,369
    Likes Received:
    7,214
    Primarily tsw2 settings here and I've tried some which don't carry over well to 3.

    I'm ideally trying to find the setting that stops trees going from newly planted to 30 years of growth within 10m of rail. Draw distance is awful in places.
     
    • Like Like x 2
  5. maxipolo12

    maxipolo12 Well-Known Member

    Joined:
    Apr 24, 2020
    Messages:
    662
    Likes Received:
    955
    Wait one year, apparently one guy by DTG takes care of game optimisation :D
     
  6. davidh0501

    davidh0501 Well-Known Member

    Joined:
    Apr 29, 2020
    Messages:
    1,134
    Likes Received:
    1,638
    Wish he'd post on here occasionally.
     
  7. redrev1917

    redrev1917 Well-Known Member

    Joined:
    Jul 22, 2021
    Messages:
    3,502
    Likes Received:
    7,692
    These arent my work, I download from TrainSimcommunity but for the life of me I cant remember whos to attribute to (might by Laika??) I reduced some of the distance settings as well possibly as I am on a lappy. Very happy with the draw distance and much improved from vanilla with a slight reduction in performance but not too much that I cant live with it (still getting 60fps predominately). Overall very happy and dont feel the need to modify further.

    [SystemSettings]
    r.ViewDistanceScale=3
    foliage.LODDistanceScale=3
    r.DFDistanceScale=1
    r.TonemapperGamma=2.5
    r.GTSyncType=1
    r.OneFrameThreadLag=1
    r.AmbientOcclusion.Method=1
    r.GTAO.FalloffEnd=200
    r.GTAO.SpatialFilter=0
    r.GTAO.NumAngles=2
    r.GTAO.UseNormals=1
    r.GTAO.ThicknessBlend=0
    r.BloomQuality=3
    r.Streaming.FullyLoadUsedTextures=1
    r.Streaming.HLODStrategy=2
    r.LightMaxDrawDistanceScale=50.0
    r.MinScreenRadiusForLights=0.00
    ts2.CameraMotionSway.EnableUprightCompensation=0
    ts2.CameraMotionSway.KSitting.Y=200.0
    ts2.CameraMotionSway.KSitting.Z=200.0
    ts2.CameraMotionSway.LSitting.Y=40
    ts2.CameraMotionSway.LSitting.Z=5.0
    ts2.CameraMotionSway.SittingPivotOffset=-200
    ts2.CameraMotionSway.LSitting.X=50
    ts2.save.CheckpointsEnabled=0
    r.Shadow.RadiusThreshold=0
    r.SkeletalMeshLODBias=0
    r.Color.Max=1.1
    r.Color.Mid=0.4
    r.TemporalAACurrentFrameWeight=0.2
    r.TemporalAASamples=4
    r.ToneMapper.Sharpen=0.5
    r.SSR.Quality=4
    r.SSR.Temporal=1
     
    • Like Like x 2
    • Helpful Helpful x 1
  8. fanta1682002

    fanta1682002 Well-Known Member

    Joined:
    Dec 22, 2019
    Messages:
    1,175
    Likes Received:
    561
    my new set tsw3
    CPU 12900k+MSI RTX4090 TEST TSW3

    [SystemSettings]
    r.ViewDistanceScale=10
    r.SkeletalMeshLODBias=-10
    r.StaticMeshLODDistanceScale=0.1
    foliage.LODDistanceScale=7
    foliage.DensityScale=1.0
    foliage.DitheredLOD=5
    grass.densityScale=1.0
    r.DepthOfFieldQuality=0
    r.MaterialQualityLevel=0
    r.MaxAnisotropy=16
    r.HighQualityLightMaps=1
    r.AmbientOcclusionLevels=1
    r.MipMapLODBias=-1
    r.BloomQuality=3
    r.Color.Max=1.0
    r.Color.Mid=0.5
    r.Color.Min=0
    r.SkylightIntensityMultiplier=0.5
    r.MotionBlurQuality=0
    r.PostProcessAAQuality=6
    r.DFDistanceScale=10
    r.TemporalAACatmullRom=1
    r.TemporalAASharpness=1.0
    r.TemporalAASamples=4
    r.TemporalAAFilterSize=1.0
    r.TemporalAAPauseCorrect=1
    r.TemporalAACurrentFrameWeight=0.2
    r.SceneColorFringe.Max=0
    r.SceneColorFringeQuality=0
    r.Tonemapper.Quality=0
    r.ToneMapper.Sharpen=1
    r.SSR.Quality=2
    r.Streaming.FullyLoadUsedTextures=1
    r.Streaming.HLODStrategy=2
    r.Streaming.FramesForFullUpdate=2
    r.Streaming.PoolSize=8000
    r.Streaming.MaxTempMemoryAllowed=2000
    r.Streaming.Boost=2
    r.Streaming.UseFixedPoolSize=1
    r.Shadow.DistanceScale=2
    r.Shadow.TransitionScale=2
    r.Shadow.CSM.TransitionScale=2
    r.GTSyncType=1
    r.OneFrameThreadLag=1
    r.CreateShadersOnLoad=1
    r.Shadow.WholeSceneShadowCacheMb=2000
    gc.TimeBetweenPurgingPendingKillObjects=900
    gc.NumRetriesBeforeForcingGC=5
    gc.MinDesiredObjectsPerSubTask=20
    s.ForceGCAfterLevelStreamedOut=0
    s.ContinuouslyIncrementalGCWhileLevelsPendingPurge=0
    r.ShaderPipelineCache.BatchTime=2
    r.ShaderPipelineCache.BackgroundBatchTime=0
    r.ShaderPipelineCache.PrecompileBatchTime=0
    s.AsyncLoadingTimeLimit=2
    s.PriorityAsyncLoadingExtraTime=1
    s.UnregisterComponentsTimeLimit=2
    s.LevelStreamingActorsUpdateTimeLimit=2
    s.PriorityLevelStreamingActorsUpdateExtraTime=1
    s.LevelStreamingComponentsUnregistrationGranularity=10
    s.LevelStreamingComponentsRegistrationGranularity=50
    r.Streaming.NumStaticComponentsProcessedPerFrame=500
     
    Last edited: Jul 12, 2023
  9. maxipolo12

    maxipolo12 Well-Known Member

    Joined:
    Apr 24, 2020
    Messages:
    662
    Likes Received:
    955
    4090 not enough for TSW3 :D
     
  10. atledreier

    atledreier Member

    Joined:
    Aug 23, 2022
    Messages:
    88
    Likes Received:
    34
    This looks and drives amazing. Thank you.

     
  11. redrev1917

    redrev1917 Well-Known Member

    Joined:
    Jul 22, 2021
    Messages:
    3,502
    Likes Received:
    7,692
    I cant take any of the credit at all, but glad you find them useful.

    Only wish I'd remembered who's they are
     
  12. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    2,368
    Likes Received:
    8,770
    [SystemSettings]
    ts2.dbg.JourneyChapterLockOverride=1
    r.DFDistanceScale=10
    r.DFFullResolution=1
    r.Streaming.FramesForFullUpdate=1
    r.Streaming.PoolSize=4500
    r.Streaming.MaxTempMemoryAllowed=500
    r.AmbientOcclusion.Method=1
    r.GTAO.FalloffEnd=300
    r.GTAO.SpatialFilter=0
    r.GTAO.NumAngles=2
    r.GTAO.UseNormals=1
    r.GTAO.ThicknessBlend=0
    r.Shadow.DistanceScale=2
    foliage.DitheredLOD=1
    foliage.LODDistanceScale=4

    This is all you should need IMHO. Looking at some of those posted above I honestly don't think some people have any idea what they're telling the game to do. Some of those commands will royally screw up TSW3's lighting!
     
    • Like Like x 2
    • Helpful Helpful x 2
  13. atledreier

    atledreier Member

    Joined:
    Aug 23, 2022
    Messages:
    88
    Likes Received:
    34
    You thinking of the tonemapper settings?
    Would be awesome if you elaborated a bit, I love knowing what these settings ACTUALLY do!
    The settings redrev posted looks great on my system. Crisper further out, without messing up anything that I could discern. At least not any more than the base game is messed up with the shadows in particular.

     
  14. redrev1917

    redrev1917 Well-Known Member

    Joined:
    Jul 22, 2021
    Messages:
    3,502
    Likes Received:
    7,692
    I never claimed to know what they do which is why I downloaded some settings from trainsimcommunity. BUT they do work on my system and thats ultimately all I care about.
     
  15. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    2,368
    Likes Received:
    8,770
    No snags. I wasn’t really speaking about what you have, but some of what is in there is no longer necessary (in my opinion of course). Some of it will just outright hurt performance.

    That’s all I’m getting at.
     
  16. I'm still running vanilla, but need to do something. It would seem that when the complaints rolled in about tsw3 performance before launch, dtg reduced all the settings quite a bit.
     
  17. ShodanCat

    ShodanCat Member

    Joined:
    Feb 4, 2020
    Messages:
    97
    Likes Received:
    96
    That is not true at all, the settings are exactly the same.
     
  18. If so why is the tree draw distance worse on tsw3 and the track draw distance, and the trains, signage, tunnel arches arnt round until you are almost on top of them, track curvature in the distance looks jagged. Distant scenery on tsw3 is non existent yet on tsw2 its drawn as far as I can see? Running tsw2 and 3 side by side I find it strange that the older version looks better if you don't count the lighting and sky.
     
  19. ShodanCat

    ShodanCat Member

    Joined:
    Feb 4, 2020
    Messages:
    97
    Likes Received:
    96
    Care to post any direct side-by-sides?
     
  20. No I don't. The changes are obvious.
     
  21. ShodanCat

    ShodanCat Member

    Joined:
    Feb 4, 2020
    Messages:
    97
    Likes Received:
    96
    Well that's convenient! ;)

    In any case, as to the topic of the thread, and having done many... many (no really - MANY, including using UUU to find out what settings TSW3 is actually using, because many of the entries people have in their .inis are already set by default) hours of playing around with every UE4 console variable I could find in TSW3, I've realized that the vast majority of them either have very little positive impact on visual quality while incurring too much of a performance penalty, or have no discernable impact at all. As such, I'm using these settings currently:

    r.Streaming.FullyLoadUsedTextures=1
    r.Streaming.HLODStrategy=2
    r.TonemapperGamma=2.2 (this sets the gamma to 2.2 which is the general standard for gamma; for some reason, DTG has the default set very, very dark, which crushes blacks in some scenes. Works very well with Bescot's auto-exposure mod at level 2 from TrainSimCommunity)
    r.Color.Mid=0.6 (boosts midtones; helps offset the generally dark overall lighting that many routes, especially older ones like SPG, have)
    r.ViewDistanceScale=2 (this is a general 'maximum draw distance' tweak that pushes out the draw distance of track as well as scenery objects like buildings; setting this beyond 2 makes very little noticeable difference visually, but hugely impacts performance on heavier routes like SoS or Cajon Pass)
    foliage.LODDistanceScale=4 (on some routes you can get away with cranking this to 10, but others like Clinchfield will absolutely HAMMER your GPU if you go past this, so this is a good balance.)
    r.StaticMeshLODDistanceScale=0.25 (increases the LOD distance for most objects in TSW like buildings, trestles, tunnel structures, etc. Seems to have very little performance impact on most routes on my PC; I've set it all the way to 0.000001 with little noticeable difference, but I'm sure on lower spec PCs with older CPUs, it could be much more impactful on FPS)
    r.SkeletalMeshLODBias=-1 (increases the LOD distance for some things in TSW, most notably the trains themselves; setting beyond this can dramatically impact FPS on heavier routes like SoS or Cajon Pass)
    r.MipMapLODBias=-1 (essentially makes textures sharper/less muddy at farther distances; this one really depends on your resolution - at higher res like 4k, you've got more wiggle room to "squeeze" in more texture detail without shimmering, at lower res like say 1080p, -0.5 is probably about the best you can do. Can have a surprisingly heavy performance impact on some routes)
    r.Shadow.RadiusThreshold=0 (this is the minimum screen radius that an object must currently have to cast shadows; in other words, this tweak makes objects that are either small or very far away always cast shadows (at least up to the hard limit for either cascade shadow maps or distance field shadows)
    r.DFDistanceScale=5 (draws distance field shadows out to roughly the maximum view distance that TSW3 is capable of, verified with live testing with UUU. even at very high ViewDistanceScale settings, going beyond 5 is literally pointless as it exceeds the maximum draw distance of objects that can even cast shadows)
    r.LightMaxDrawDistanceScale=5 (does what it sounds like, just increases the max distance at which lights will be rendered. As with DF shadows, doesn't make sense to go beyond 5)

    FYI the r.Shadow.DistanceScale tweak does nothing (if you already have the settings cranked within the TSW3 menus) as it's set to 2.0 by default, and there is no increase in actual shadow draw distance going any higher than that - verified with UUU.
     
    Last edited: Oct 14, 2022
    • Like Like x 6
    • Helpful Helpful x 6
  22. Yea well it is convenient for me not to download and install tsw2 again just to prove something. Why have I gotta prove myself to you? Are you god?
     
  23. atledreier

    atledreier Member

    Joined:
    Aug 23, 2022
    Messages:
    88
    Likes Received:
    34
    Thanks for the great explanation.
    Could you elaborate on the first two settings you posted, and why you set them as you do?

     
    • Like Like x 1
  24. fanta1682002

    fanta1682002 Well-Known Member

    Joined:
    Dec 22, 2019
    Messages:
    1,175
    Likes Received:
    561
    i rtx4090 tsw3 set
    [SystemSettings]
    r.ViewDistanceScale=10
    r.SkeletalMeshLODBias=-5
    r.StaticMeshLODDistanceScale=0.1
    foliage.LODDistanceScale=7
    r.MaterialQualityLevel=1
    r.MaxAnisotropy=16
    r.HighQualityLightMaps=1
    r.AmbientOcclusionLevels=1
    r.BloomQuality=0
    r.MotionBlurQuality=0
    r.PostProcessAAQuality=3
    r.TemporalAACatmullRom=1
    r.TemporalAASharpness=1.0
    r.TemporalAASamples=4
    r.TemporalAAFilterSize=1.0
    r.TemporalAAPauseCorrect=1
    r.SSR.Quality=2
    r.Streaming.FullyLoadUsedTextures=1
    r.Streaming.HLODStrategy=2
     
    Last edited: Mar 20, 2023
  25. chieflongshin

    chieflongshin Well-Known Member

    Joined:
    Jan 4, 2019
    Messages:
    4,369
    Likes Received:
    7,214
    fanta1682002

    what gpu are these running on?

    upload_2022-10-18_22-33-11.gif
    Just jesting ;)
     
  26. fanta1682002

    fanta1682002 Well-Known Member

    Joined:
    Dec 22, 2019
    Messages:
    1,175
    Likes Received:
    561
  27. Calidore266

    Calidore266 Well-Known Member

    Joined:
    Jun 17, 2021
    Messages:
    1,198
    Likes Received:
    1,721
    Whoa. At least your home will be nice and warm this winter.
     
    • Like Like x 3
  28. chieflongshin

    chieflongshin Well-Known Member

    Joined:
    Jan 4, 2019
    Messages:
    4,369
    Likes Received:
    7,214
    Missed the satire :D
     
  29. Glazier

    Glazier Member

    Joined:
    Jun 9, 2020
    Messages:
    67
    Likes Received:
    66
    Oh thanks, now the game at least does not look like a nuke blowing into your face...
     
  30. jackthom

    jackthom Active Member

    Joined:
    Aug 22, 2020
    Messages:
    286
    Likes Received:
    146
    Thanks redrev1917 those settings have much improved the draw distance and still approaching 60fps most of the time on SEHS.
     
  31. Tom Fresco

    Tom Fresco Well-Known Member

    Joined:
    Jan 13, 2021
    Messages:
    638
    Likes Received:
    1,533
    Thank you, these are really great, as i just want improovements like a better draw distance and no overdone filters whatsoever. Also they dont affect framerate too much, getting 50-60 FPS as always on Ultra settings, which is well enough for me
     
    Last edited: Dec 5, 2022
    • Like Like x 1
  32. How does one stop the station pop in on bcc, is it static mesh lod?

    Thanks.
     
  33. FatUgir

    FatUgir New Member

    Joined:
    Feb 24, 2023
    Messages:
    1
    Likes Received:
    0
    I am so glad I found this! The trees especially have been annoying me for years, and with my beautiful new pc I treated myself to in January they got no better. Now plugging in the 4090 settings from above and it is great!
     
  34. solicitr

    solicitr Well-Known Member

    Joined:
    Jun 20, 2020
    Messages:
    11,736
    Likes Received:
    17,949
    A NASA mainframe farm.
     
  35. fanta1682002

    fanta1682002 Well-Known Member

    Joined:
    Dec 22, 2019
    Messages:
    1,175
    Likes Received:
    561
    RTX4090
     
  36. zorbsie#9738

    zorbsie#9738 Well-Known Member

    Joined:
    Sep 12, 2021
    Messages:
    130
    Likes Received:
    290
    Great info in here. Is there a tutorial on where in the .ini to input these values?
     
  37. Redbus

    Redbus Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    1,013
    Likes Received:
    2,108
    Is there a risk that the engine.ini gets reset, i.e. [SystemSettings] gets wiped out during an update?
    I had previously put in some ini settings but they are no longer there for some reason.
     
  38. solicitr

    solicitr Well-Known Member

    Joined:
    Jun 20, 2020
    Messages:
    11,736
    Likes Received:
    17,949
    There is a minor risk. Make a backup!
     
  39. Redbus

    Redbus Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    1,013
    Likes Received:
    2,108
    That's what I feared! Backup made, but as an extra warning I added a few lines to a batch file I set up that runs when my computer starts:

    Code:
    findstr /m "SystemSettings" "C:\Users\David\Documents\My Games\TrainSimWorld3\Saved\Config\WindowsNoEditor\Engine.ini"
    if not %errorlevel%==0 (
    echo.
    echo Warning: TSW3 SystemSettings are missing!
    echo.
    pause
    )
    
     
    Last edited: Feb 28, 2023
  40. firas#2762

    firas#2762 Active Member

    Joined:
    Mar 12, 2023
    Messages:
    182
    Likes Received:
    61

    redrev1917
    Thank you so much
    your settings are AMAZING
    and I Have a small GPU

    Many thanks
     
  41. firas#2762

    firas#2762 Active Member

    Joined:
    Mar 12, 2023
    Messages:
    182
    Likes Received:
    61
    How can I bookmark this page in Forums ?

    Thank you
     
  42. solicitr

    solicitr Well-Known Member

    Joined:
    Jun 20, 2020
    Messages:
    11,736
    Likes Received:
    17,949
    Together they are AIUI redundant, since both do the same thing: each forces the route to load all of its asset textures on startup, rather than "as needed" as you move along the tracks; this gets rid of some framerate lag and stutter, at the cost of longer initial load times.
     
  43. firas#2762

    firas#2762 Active Member

    Joined:
    Mar 12, 2023
    Messages:
    182
    Likes Received:
    61
    I have a few .ini Files now
    one as backup and so on

    can I delete all my ini ? will the game create a new one ?

    Thank you
     
  44. Rudolf

    Rudolf Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    2,488
    Likes Received:
    3,270
    Thank you for your explanation. I would like to suggest yopu only post settings here with a clear motivation why you did it like you did it and under which circumstances. I think these settings may depend a lot on the system you are using and your personal taste and may what you want to believe ...

    So to help other people these nuances are worth mentioning and probably more useful than the settings as you finally decided to use.
     
  45. firas#2762

    firas#2762 Active Member

    Joined:
    Mar 12, 2023
    Messages:
    182
    Likes Received:
    61
    hello any help any answer
     
  46. atledreier

    atledreier Member

    Joined:
    Aug 23, 2022
    Messages:
    88
    Likes Received:
    34
    Yes, if you delete the ini a new one will be created with default settings.
     
    • Like Like x 2
  47. firas#2762

    firas#2762 Active Member

    Joined:
    Mar 12, 2023
    Messages:
    182
    Likes Received:
    61
    I deleted the INI file, or I should say all of them and ended up with 10 new empty ones

    second issue is I can't find the INI file under
    C:\Users\USER NAME\Documents\My Games\TrainSimWorld3\Saved\Config\WindowsNoEditor

    my ini file is located in
    C:\Users\ME\Documents\My Games\TrainSimWorld3EGS\Saved\Config\WindowsNoEditor

    here is all my Game.ini files after deleting all and restarted TSW3

    https://imgur.com/a/PgjryU5
     
  48. torfmeister

    torfmeister Guest

    I can confirm your observations after just upgrading. While performance has increased noticeably on my PC (had stutters when quickly turning my head or when placing roadmaps - they are gone) I noticed an increased blurriness / LOD distance reduction. So they tricked us a little here... this was also noticeable when TSW2 came. On TS2020 for example, the displays on the AC4400 were crisp and legible without zooming, and blurry when playing on TSW2 with the exact same settings.
    So there's definitely a LOD reduction.
     

Share This Page