PC Tsw4 Enhancement | Lighting & Graphic Enhancement V4.7 (inc Lossless Scaling Guide)

Discussion in 'TSW General Discussion' started by JetWash, Oct 3, 2023.

  1. stateoftheartjonas

    stateoftheartjonas Active Member

    Joined:
    Sep 3, 2023
    Messages:
    138
    Likes Received:
    105
    Yes I got that, that's why I was wondering why they're still there (on ToD3 routes). But just an oversight probably?

    It does, thanks. So changing ts2.save.CheckpointsEnabled works at runtime? (I can't change it before loading a route as GodMode isn't available in the main menu) I've always changed it and then reloaded the route, that's why it wasn't 5 seconds for me and why I preferred just changing it for every route in one swoop.
     
  2. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,149
    Likes Received:
    11,725
    Ok, I understand what you’re saying now. The ToD3 thing is an oversight which I will correct, and I will move the notification killer and checkpoint enabler to the main engine.ini.

    Given I’ve only just put out an update I don’t envisage updating it again until the MML patch is released as I suspect that route will require retuning.
     
    • Helpful Helpful x 2
  3. stateoftheartjonas

    stateoftheartjonas Active Member

    Joined:
    Sep 3, 2023
    Messages:
    138
    Likes Received:
    105
    Thank you! And sure, no hurry, you've already put enough work into this mod, so no expectations from my side, take your time :)
     
    • Like Like x 1
  4. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,149
    Likes Received:
    11,725
    I just don’t want to spam people with updates if I can at all avoid it, this will be the 7th iteration of this version. I wish there was a way I could update without having to overwrite but sadly it’s just not possible. I’ve been toying with updating the pack as I am now, but adding a separate file with any new routes as plain text to be copy and pasted. That might work maybe.

    With that said, the update and manual is already done, can’t help it :) Even then there’s quite a lot of changes in it, particularly to Left-Rhine, Bremen-Oldenburg, ToD3 routes in general and Tees Valley, East Coastway and GWE specifically.
     
    Last edited: Dec 1, 2023
    • Like Like x 2
  5. Myron

    Myron Well-Known Member

    Joined:
    Jun 24, 2023
    Messages:
    3,082
    Likes Received:
    3,011
    does anyone know if theres a command for light rays? and lens flare but I'll probably only use it for a little testing as I believe it'd be annoying soon :)
     
  6. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,663
    Likes Received:
    854
    The God rays I have not seen a setting for them in my testing, the lens flare yes there is a setting for it, if you are using the mod with godmode as stated in the manual, you can make changes, just look for the setting but again take care or you will have to reinstall the mod and start over.
     
    Last edited: Dec 2, 2023
  7. Myron

    Myron Well-Known Member

    Joined:
    Jun 24, 2023
    Messages:
    3,082
    Likes Received:
    3,011
    could you please just put it here I don't plan on using the mods, just modifying my local Engine.ini for overall TSW4
     
  8. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,663
    Likes Received:
    854
    This is all your looking for "r.LensFlareQuality=0.5" I lowered it while testing 4 I believe gives a more detailed look?

    I don't want to post too much more since I feel like I'm stepping on the toes of Jetwash, as this is his thread for his Lighting and Graphic enhancement mod, a lot of this you can find on the train sim community mod pages.
     
    Last edited: Dec 3, 2023
    • Like Like x 2
  9. stubbsdonny86

    stubbsdonny86 Active Member

    Joined:
    Dec 23, 2018
    Messages:
    174
    Likes Received:
    63
    No none taken as what you're saying does sound plausible.
    Licencing tends to be very strict and American crossings are so complex that it's a lot of work to recreate.
    Thank God for the modders because without them the game wouldn't feel as enjoyable for those of us who want as close to the real thing as possible
     
    • Like Like x 1
  10. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,663
    Likes Received:
    854
    I missed one thing "The control" in all things in the state's "politics is slowly grabbing hold", a bit off-topic but have a look see here
    Oh and really one company "under the control of one man really" (WB) owns almost all RRs in the States, I will leave it there I'm not looking to take this down the political track :)
    And, this also brings things back to what the U.S.A. needs to do, well more like the companies owning and running the rail industry that is, UPGRADE the rail System...
     
    • Like Like x 1
  11. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,149
    Likes Received:
    11,725
    Hey all. New version is on TSC, changelog below;

    v3.6

    • Added route pre-set for Maintalbahn
    • Removed lines relating to DX12 from ToD3 ‘Low’ preset which had been left in by mistake in v3.5
    • Removed the lines relating to the save game auto-checkpoint and the pop-up notification disabler from the dynamic.ini and moved to the main engine.ini (see page 5 of the manual). You need to copy and paste something yourself for this to work
    • Added new lines to all pre-sets with further route tuning
    • Updated manual to v1.5 (now v1.6 to correct some errors / typos) to reflect the above changes and add other strongly recommended mods from TrainSim Community

    TSW4 - Lighting & Graphic Enhancement v3.6 - Train Sim Community
     
    Last edited: Dec 6, 2023
    • Like Like x 7
    • Helpful Helpful x 2
  12. countcussy

    countcussy Well-Known Member

    Joined:
    Mar 4, 2022
    Messages:
    367
    Likes Received:
    644
    Epic work.
    Had absolute zero time recently. Will update to new version at the weekend.
     
    • Like Like x 1
  13. stateoftheartjonas

    stateoftheartjonas Active Member

    Joined:
    Sep 3, 2023
    Messages:
    138
    Likes Received:
    105
    Woah, that one came unexpected, love it! Thanks so much for this update :)
     
    • Like Like x 1
  14. stubbsdonny86

    stubbsdonny86 Active Member

    Joined:
    Dec 23, 2018
    Messages:
    174
    Likes Received:
    63
  15. DenisJura

    DenisJura Member

    Joined:
    Jan 17, 2018
    Messages:
    67
    Likes Received:
    36
    JetWash: I wanted to thank you for these settings, since I've been using them I've never enjoyed TSW4 so much! and thanks to those who also created "godmod"
     
    • Like Like x 2
  16. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,149
    Likes Received:
    11,725
    You’re welcome :)
     
    • Like Like x 1
  17. Peter Smith

    Peter Smith Member

    Joined:
    Dec 14, 2016
    Messages:
    67
    Likes Received:
    22
    JetWash. I have been using your Beyond Ultra settings and God Mode for some time now to great advantage. However, since the installation of "Winter Core Update (Part 1)" a day or two ago, the Graphics for all of my routes/scenarios has been significantly degraded. I best describe it as "out of focus" starting from about 10meters away from any locomotive/consist and worsening as distance increases.
     
  18. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,149
    Likes Received:
    11,725
    Do you have a high quality screenshot demonstrating the issue? It’s almost certainly nothing to do with this mod though. If you’re struggling to catch it using the in-game screenshot method use the win key + print screen.
     
    Last edited: Dec 14, 2023
  19. Peter Smith

    Peter Smith Member

    Joined:
    Dec 14, 2016
    Messages:
    67
    Likes Received:
    22
    JetWash: Here's a quick screen shot (Schnellfahrstrecke Kassel - Wursburg route). upload_2023-12-14_16-10-28.png
     

    Attached Files:

    • Like Like x 1
  20. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,149
    Likes Received:
    11,725
    It’s very low quality so hard to pick out any detail. It looks pretty normal to me, what am I looking for?
     
  21. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,663
    Likes Received:
    854
    I will try to load this up and see what I find when I get the PC, I will post a screenshot as best I can just to see...
     
  22. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,149
    Likes Received:
    11,725
    As I said, in that screenshot I can’t see anything wrong to be honest. Whatever it is I’m certain it has nothing to do with this ‘mod’ though.
     
  23. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,663
    Likes Received:
    854
    I just finished the icebreaker run, and all went very well, solid 60 FPS, with one tiny dip to 48 FPS for all of a min or so. There is one thing I noticed, and that was at the entrance of the tunnels, took one screenshot. I changed nothing just loaded the route and ran it. It looked like a bit of Fog rolled in, but that was it.
    20231215032857_1.jpg 20231215033955_1.jpg 20231215035940_1.jpg 20231215040258_1.jpg 20231215041607_1.jpg
     
    Last edited: Dec 15, 2023
    • Like Like x 1
    • Helpful Helpful x 1
  24. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,149
    Likes Received:
    11,725
    Yeah, as I figured. Thanks for checking it :)
     
    • Like Like x 1
  25. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,663
    Likes Received:
    854
    No problem, now back to mod installing, load -> test -> install mod -> load test :/
     
    • Like Like x 1
  26. Peter Smith

    Peter Smith Member

    Joined:
    Dec 14, 2016
    Messages:
    67
    Likes Received:
    22
    That's my point. This is a high quality image. That's what it now looks like in-game, out of focus!!
     
  27. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,149
    Likes Received:
    11,725
    Hi Peter. That image you posted is 1026 x 574 resolution and is 716kb in size so is very low resolution and quality. As a result it is impossible to make out any real detail. On the other hand, the pictures SGTDRE posted are in 3840 x 2160 (4K resolution) and you can pic out detail very clearly as a result.

    What I can see in your image looks like I would expect it to look like for an image of that resolution and size. Is 1026 x 574 your in-game resolution, or do you have 720p subject to 80% render scaling? Either way, to be honest, the clarity of anything at that resolution is going to be compromised. Are you sure that the game update hasn’t altered your graphics settings somehow?
     
  28. stateoftheartjonas

    stateoftheartjonas Active Member

    Joined:
    Sep 3, 2023
    Messages:
    138
    Likes Received:
    105
    Maybe you enabled motion blur but used to have it off?
     
  29. Peter Smith

    Peter Smith Member

    Joined:
    Dec 14, 2016
    Messages:
    67
    Likes Received:
    22

    Thanks JetWash. Since my earlier post (#376), on impulse, I rolled back my NVIDIA graphics driver (I had updated it on 06 December 2023). Problem solved. My graphics quality has reverted to the very good quality I had been getting using your (and Foobian's) enhancements

    I am sorry to have wasted some of your precious time, but nevertheless many thanks to both you and SGTDRE for trying to assist me.
     
    • Like Like x 1
  30. Peter Smith

    Peter Smith Member

    Joined:
    Dec 14, 2016
    Messages:
    67
    Likes Received:
    22
    @stateoftheartjona: Sadly, no. I have since solved the issue (see my post #379).
     
  31. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,663
    Likes Received:
    854
    Glad it all worked out for ya. Happy Rail Roading.
     
    • Like Like x 1
  32. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,149
    Likes Received:
    11,725
    Not at all, you didn’t waste any of my time! Glad you’ve got it sorted out :)
     
    • Like Like x 1
  33. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,149
    Likes Received:
    11,725
    I’ve just added this to the download page on TSC;

    A quick note - I’ve noticed that in the last week or so other ini tweaks have appeared on TSC that lift a significant number of lines from this mod. To be clear, the authors are entirely allowed to do this as I don’t have any sort of claim to adjustable engine parameters that are in the public domain. However, the extensive settings for the lighting, the setting of the whole package up to individual routes and how it all comes together in this mod is entirely down to me.

    With that said, please note that they are not compatible in any way with my mod, and if you put them in your main engine.ini whilst this is installed it is going to cause problems. Furthermore, having looked through them, many of the lines have parameters that are set at levels that actually do nothing to the game or the engine and a number of them will likely cause a number of different issues with your game. You are by all means welcome to use them, but please understand that they are nothing to do with me and will certainly cause a conflict if used at the same time as this mod. Thanks
     
    Last edited: Dec 17, 2023
    • Helpful Helpful x 3
    • Like Like x 2
  34. Thorgred

    Thorgred Well-Known Member

    Joined:
    Jun 8, 2018
    Messages:
    738
    Likes Received:
    367
    yeah great mod
    i only have this as extra in my base ini

    au.MaxConcurrentStreams=5
    au.DisableParallelSourceProcessing=0
    AudioCommand.FenceWaitTimeMs=0
    AudioThread.BatchAsyncBatchSize=10
    au.Concurrency.MinVolumeScale=0.00001
    au.SoundDistanceOptimizationLength=0.5
    au.VirtualLoops.PerfDistance=500
    au.VirtualLoops.UpdateRate.Max=1
    au.VirtualLoops.UpdateRate.Min=0.5
    ts2.dbg.Camera.MaxLinearDistance=50000
    ts2.dbg.Camera.MaxHorizontalDistance=50000
    ts2.dbg.Camera.MaxVerticalHeight=50000
    ts2.dbg.MaxFreeCameraDistance=200000
    ts2.dbg.Camera.CameraBoomMaxLength=4000
    ts2.dbg.SteamParticleSize=0.5
    ts2.dbg.SteamParticleSpawnMultiplier=5
     
    • Like Like x 1
  35. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,663
    Likes Received:
    854
    This the extra settings in my engine ini
    Not that I completely understand them all, the camera I figured out just by trial and error, as well as the wait time, and the camera sway I just changed the number to see what happens but, it would be nice to get a better understanding of the number values mean, I do know that 0=off and 1=on, the user interface was also trial and error. Not looking to make major changes just to get an understanding of how the number values work. And to be able to add a better ini for the routes that Jetwash does not own and are not in the mod via Godmode.

    ts2.dbg.Camera.MaxVerticalHeight=40000
    ts2.dbg.Camera.MaxVerticalHeight=20000
    ts2.dbg.MaxFreeCameraDistance=400000
    ts2.dbg.MaxFreeCameraDistance=200000
    ts2.dbg.RelinquishPromptWaitTime=30 <-- this I know waits 30 min
    ts2.dbg.RelinquishPromptWaitTime=0 <-- this means?
    ts2.dbg.MaxReskinsPerTimetable=0
    ts2.CameraMotionSway.EnableUprightCompensation=0
    ts2.CameraMotionSway.KSitting.Y=100.0
    ts2.CameraMotionSway.KSitting.Z=1
    ts2.CameraMotionSway.LSitting.Y=7 <-- The sway figures I kinda figured out
    ts2.CameraMotionSway.LSitting.Z=1
    ts2.CameraMotionSway.SittingPivotOffset=-200
    ts2.CameraMotionSway.LSitting.X=10

    [ConsoleVariables]
    AllowAsyncRenderThreadUpdates=1
    AllowAsyncRenderThreadUpdatesDuringGamethreadUpdates=1
    AllowAsyncRenderThreadUpdatesEditor=1

    [/Script/Engine.UserInterfaceSettings]
    ApplicationScale=0.600
     
  36. Thorgred

    Thorgred Well-Known Member

    Joined:
    Jun 8, 2018
    Messages:
    738
    Likes Received:
    367
    for routes JetWash does not own i copy-paste the settings from a similar route
    only need to separate the new ones from the old ones off course
     
    • Like Like x 2
  37. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,663
    Likes Received:
    854
    That is what I do also when I need to, at least try to get as close as I can that is, I'm trying to get a better understanding of the number values for each setting other than on and off. I'm not looking to get into modding, those days are gone for me, I'm just looking to enjoy my gaming, and assisting a modder out here and there to give something back, that is it.
     
  38. stubbsdonny86

    stubbsdonny86 Active Member

    Joined:
    Dec 23, 2018
    Messages:
    174
    Likes Received:
    63
    since the winter core update. i did a clean reinstall of the game
     

    Attached Files:

  39. shanie

    shanie New Member

    Joined:
    Mar 28, 2023
    Messages:
    14
    Likes Received:
    2
    Hi, I thought I'd share a post for another UE4 game (Hogwarts Legacy) here, which has a lot of different commands I've never (or not sure) seen used by anyone in TSW4. I used it on that game, and it eliminated the 30-40fps drops I'd get in different areas, and the frequent stuttering also completely disappeared.

    https://old.reddit.com/r/HarryPotterGame/comments/11t9fry/the_best_solution_for_hogwarts_legacy/

    http://web.archive.org/web/20231221...1t9fry/the_best_solution_for_hogwarts_legacy/

    It also heavily reduced my RAM usage. Even though it seems designed for lower spec systems, it gave a massive performance boost on my high-spec system.

    Obviously a 1:1 paste won't have the exact same effects in other games, but figured I'd put the commands on your radar incase you'd like to tinker with them.

    The final engine.ini I used is attached to this post.
     

    Attached Files:

    • Helpful Helpful x 1
  40. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,149
    Likes Received:
    11,725
    Hey all. v3.7 uploaded to TSC

    TSW4 | Lighting & Graphic Enhancement v3.7 - Train Sim Community
    • Added presets for IOW: Island Line 2022 and NEC: New York - Trenton
    • Altered the settings for a number of parameters to levels that improve performance without loss of visual quality
    • Added a line to reduce further grass & foliage pop-up to routes that don’t utilise the Route Vegetation & Grass EP listed above
    • Updated manual to v1.7 and included advice on setting the emissives for driving at night
    • Adjusted Midland Mainline preset slightly to work better with the updated route
    Merry Christmas!

    JW
     
    Last edited: Dec 24, 2023
    • Like Like x 5
    • Helpful Helpful x 1
  41. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,149
    Likes Received:
    11,725
    v3.8 uploaded to TSC

    TSW4 | Lighting & Graphic Enhancement v3.8 - Train Sim Community

    - Added presets for Tharandter Rampe and Luzern to Sursee
    - Improved lighting balance on Birmingham Cross City
    - Corrected an error on NEC: New York to Trenton that caused signals to invert in colour
    - Updated the ToDv3 (TSW2) routes to match the changes made to the ToDv4 routes in v3.7
    - Updated Manual
     
    Last edited: Dec 26, 2023
    • Like Like x 4
    • Helpful Helpful x 3
  42. stubbsdonny86

    stubbsdonny86 Active Member

    Joined:
    Dec 23, 2018
    Messages:
    174
    Likes Received:
    63
    [​IMG]
     
    • Like Like x 2
  43. stubbsdonny86

    stubbsdonny86 Active Member

    Joined:
    Dec 23, 2018
    Messages:
    174
    Likes Received:
    63
    [​IMG]
     
    • Like Like x 3
  44. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,149
    Likes Received:
    11,725
    I’ve just added this to the NPC thread but it’s worth asking here too for max visibility;

    I’m interested in this as I’ve just started to add some fixes for this issue to my lighting and graphics EP.

    Thus far I’ve increased the number of passengers on New York - Trenton and Lucerne - Sursee, both of which spawn a ludicrously low number of NPC’s, even at this point. As there aren’t enough hours in the day for me to investigate which routes need addressing if anyone knows of a route that isn’t spawning sufficient passengers I’d appreciate a heads up.

    I’m not looking to overload platforms with ridiculous numbers of NPCs (if for no other reason than the NPC system in the game can’t take it!), but where there is scope to increase the numbers so you at least start to see passengers on the trains then it looks like that should be possible. The beauty of the EP is I can make route specific adjustments rather than a single ini change that affects all routes at once. Some routes are just fine, others are ghost towns with Lucerne - Sursee being a prime example. Given the vast array of DLC a one size fits all approach doesn’t work for this stuff.

    Thanks
     
    • Like Like x 1
    • Helpful Helpful x 1
  45. Fawx

    Fawx Well-Known Member

    Joined:
    Jul 2, 2023
    Messages:
    1,932
    Likes Received:
    4,443
    Tees Valley can be quite spotty at several stations. Especially at Middlesbrough.
     
    • Helpful Helpful x 1
  46. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,149
    Likes Received:
    11,725
    I just spawned there on foot with the fix in place and people start spawning pretty quickly.

    At the stations I’ve looked at on various different routes I’m seeing people spawning at all times of day although I’ve deliberately not altered the density as it can cause chaos. The only two stations that seem to be resisting the talking to are Stockheim on Niddertalbahn as the pathing for the NPC’s is clearly broken and Huddersfield on NTP. I’ve no idea what’s going on there but suspect it’s the same issue as Stockheim, I just haven’t found the spawn point to verify it.
     
    Last edited: Dec 28, 2023
    • Like Like x 1
  47. Fawx

    Fawx Well-Known Member

    Joined:
    Jul 2, 2023
    Messages:
    1,932
    Likes Received:
    4,443
    I was having issues early morning (6am ish) on TVL, but that might be normal I guess?
     
  48. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,149
    Likes Received:
    11,725
    Any particular station? Is that Middlesbrough
     
  49. Fawx

    Fawx Well-Known Member

    Joined:
    Jul 2, 2023
    Messages:
    1,932
    Likes Received:
    4,443
    Middlesbrough definitely, but also some of the stops between Darlington and Thornaby, especially the ones by the airport.
     
    • Like Like x 1
  50. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,149
    Likes Received:
    11,725
    Seems to be working. Got one passenger spawn at Allens West at 6am and numerous people spawning at Eaglescliffe. Obviously they’re on a curve but this fix should ensure someone always spawns I believe.
     
    • Like Like x 1

Share This Page