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

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

  1. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,155
    Likes Received:
    11,733
    I’m really happy with it now. I think (hope) I can finally move on :) I just hope it looks and plays as well for everyone else as it is for me.

    I never thought I’d get as engrossed with it as it became.
     
    Last edited: Nov 16, 2023
    • Like Like x 4
    • Helpful Helpful x 1
  2. dudders

    dudders Well-Known Member

    Joined:
    Nov 25, 2021
    Messages:
    342
    Likes Received:
    420
    Will you be looking at the Blackpool route please
     
  3. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,155
    Likes Received:
    11,733
    Already done and included. It looks fantastic.
     
    • Like Like x 2
    • Helpful Helpful x 1
  4. dudders

    dudders Well-Known Member

    Joined:
    Nov 25, 2021
    Messages:
    342
    Likes Received:
    420
    Omg thank you. I have a rtx 2070 super Ryzen 3600 and 32gig. Would the medium be good for me. Thank you
     
    • Like Like x 1
  5. Tigert1966

    Tigert1966 Well-Known Member

    Joined:
    Aug 18, 2020
    Messages:
    2,201
    Likes Received:
    3,698
    Thanks Jetwash. As I‘ve said before, this is the one mod that keeps me playing TSW. Looking forward to trying the new version with JT‘s new route tonight.
     
    • Like Like x 1
  6. TKessel

    TKessel Well-Known Member

    Joined:
    May 5, 2021
    Messages:
    574
    Likes Received:
    1,399
    JetWash
    Thank you again for all the time and effort you have put into this.
     
    • Like Like x 1
  7. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,155
    Likes Received:
    11,733
    You could try High, if it’s too much then go for medium. It’s drag and drop so no major issues.

    FWIW low is now default everything except the lighting changes. You would lose nothing in using that if you wished.
     
  8. dudders

    dudders Well-Known Member

    Joined:
    Nov 25, 2021
    Messages:
    342
    Likes Received:
    420
    You are tops my friend thank you so much for what you do
     
    • Like Like x 1
  9. countcussy

    countcussy Well-Known Member

    Joined:
    Mar 4, 2022
    Messages:
    367
    Likes Received:
    644
    Top work Jetwash.
     
    • Like Like x 1
  10. Tanglebones

    Tanglebones Well-Known Member

    Joined:
    Aug 21, 2020
    Messages:
    299
    Likes Received:
    647
    Just downloaded and installed it, and once again what a transformation. From pallid and washed out to vibrant. It blows my mind why DTG doesn't implement this right across the board. Thank you again, JetWash.
     
    • Like Like x 2
  11. graham.haddon

    graham.haddon Well-Known Member

    Joined:
    Nov 28, 2020
    Messages:
    343
    Likes Received:
    314
    Can't wait to try it later
     
    • Like Like x 1
  12. Matthew Wilson

    Matthew Wilson Well-Known Member

    Joined:
    Sep 20, 2017
    Messages:
    276
    Likes Received:
    484
    I've downloaded the latest pack along with recommended requirements and God Mode, I'm a little unsure on installation and usage of multiple mods, so before I go and put any files near the TSW4 files it would be great if someone could give me a simple "How to" or link to something which does such.

    TSW4 is looking for improved I just wish there was something that could be done for greater in-depth user mods to the actual rolling stock like is possible in TSC via Lua scripting
     
  13. TKessel

    TKessel Well-Known Member

    Joined:
    May 5, 2021
    Messages:
    574
    Likes Received:
    1,399
    Install god mode as usual, the "GodMode.sav" file from the LGE pack is to be placed in:
    Documents\My Games\TrainSimWorld4\Saved\SaveGames

    Also add
    [SystemSettings]
    ts2.dbg.JourneyChapterLockOverride=1

    To your engine.ini located in:
    Documents\My Games\TrainSimWorld4\Saved\Config\WindowsNoEditor

    Also their is a manual.pdf where eveything is very well explained by JetWash in Chapter 4. The manual is to be found at the same page as the mod on TSC.

    upload_2023-11-16_17-28-37.png
    upload_2023-11-16_17-28-59.png
     
    Last edited: Nov 16, 2023
    • Like Like x 1
  14. stateoftheartjonas

    stateoftheartjonas Active Member

    Joined:
    Sep 3, 2023
    Messages:
    138
    Likes Received:
    105
    Does that mean I can also use the Low preset with DX11 without any issue? :)
    DX12 isn't really usable for me, it cuts my FPS almost by half on some routes
     
    • Like Like x 1
  15. TKessel

    TKessel Well-Known Member

    Joined:
    May 5, 2021
    Messages:
    574
    Likes Received:
    1,399
    stateoftheartjonas
    You could, this should be done:
    upload_2023-11-16_17-33-54.png
    Also as I did a lot of testing on TSW in general, I doubt TSW runs better with DX11 then with DX12. What GPU do you have? Maybe you should give it a try again with the current version of the mod.
     
    Last edited: Nov 16, 2023
  16. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,155
    Likes Received:
    11,733
    I’m 99% certain (just checked - I did) I removed the DX12 bit from the new version of low so yes, you can. Low only contains the lighting changes, 2 gameplay improvements and nothing else. I also removed the raymarched cloud shadows for performance reasons given it’s ‘low’.

    If you wish to use medium then you simply need to remove the line highlighted in the manual (and kindly above) and you’ll be fine. Just beware you get more stutters in DX11, but if DX12 isn’t usable for you you’ll already know that!

    Matthew Wilson - This doesn’t mess with TSW files in any way, nothing can. Should you wish you can simply remove GodMode from the DLC folder and it will all be gone, it’s that simple. You won’t want to of course but you can. Hopefully that puts your mind at rest.
     
    Last edited: Nov 16, 2023
    • Like Like x 1
  17. stateoftheartjonas

    stateoftheartjonas Active Member

    Joined:
    Sep 3, 2023
    Messages:
    138
    Likes Received:
    105
    Gonna give it a try :)
    Unrelated question: is the JourneyChapterOverride obligatory? I'd prefer not to enable it but the manual makes it sound like GodMod or some feature needs it?
     
  18. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,155
    Likes Received:
    11,733
    No, it’s not mandatory. It removes the lock on Journey mode though, so if there is a service that is either too long or, more annoyingly, isn’t able to be completed you can skip it. Without that ability your progress could be blocked. If you’d rather play in DTGs locked down world then you can leave it out :)

    The reason it has to go into the main engine.ini is that it wasn’t loading reliably when contained within the dynamic.ini. In other words it needs to alter the game during loading, not after.
     
  19. Fawx

    Fawx Well-Known Member

    Joined:
    Jul 2, 2023
    Messages:
    1,932
    Likes Received:
    4,443
    DX12 comes with some added visual issues. It does improve performance for me, but at least once a service on some routes PIS boards will be completely orange with no info on them. Doesn't happen under DX11, but does happen under DX12, even with no mods or ini changes.
     
  20. stateoftheartjonas

    stateoftheartjonas Active Member

    Joined:
    Sep 3, 2023
    Messages:
    138
    Likes Received:
    105
    I see, thanks! Yeah it might sound stupid but I like the locked down world, gives me a feeling of progress if I have to unlock the chapters one after another. A sense of pride and accomplishment, as EA would say lol. Very basic, but whatever gives my brain the dopamin it craves, I guess :D
     
  21. TKessel

    TKessel Well-Known Member

    Joined:
    May 5, 2021
    Messages:
    574
    Likes Received:
    1,399
    As far as I understood from JetWash when I helped him testing this was related to some issues with the streaming settings, since they are now out in the current version of the mod I can also report that I didn't have blocked PIS since then. Maybe give it a try again.
     
    • Like Like x 1
  22. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,155
    Likes Received:
    11,733
    Just to back that up, I haven’t seen this PIS issue at all for ages now (I’d say weeks to be honest - and I’ve been in and out of every route repeatedly in that time).

    As I mention in the changelog, I have noticed that DX12 can cause shadows to flicker in very isolated incidents (normally at the start of a service inside a station and I’ve only seen it on BRO, NTP and Blackpool) after deleting the cache and as the shaders compile. I was seeing it a bit this morning, not seen it at all this afternoon. Once you get going it stops entirely.

    I was ripping my hair out as I assumed it was something I had done that was causing it but no, it happens in the default game in DX12. It’s only something I’ve seen in TSW4, it was never a ‘thing’ before that release but it’s such a small thing the benefit of DX12 far outweighs the tiny drawback.
     
    Last edited: Nov 16, 2023
  23. 317666

    317666 New Member

    Joined:
    Dec 29, 2019
    Messages:
    11
    Likes Received:
    14
    Great work, I've noticed significantly better performance with this new version! Would you suggest using Aran's ToD mod for the older routes, or is this designed for their default lighting?
     
    • Like Like x 1
  24. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,155
    Likes Received:
    11,733
    That’s good to hear! I do have Arran’s TOD mods installed and don’t see any conflicts. I believe GodMode will override any bloom settings but the rest of it works as intended.
     
  25. TKessel

    TKessel Well-Known Member

    Joined:
    May 5, 2021
    Messages:
    574
    Likes Received:
    1,399
    I can confirm, using Aran's TOD mods also, no problems or conflicts.
     
  26. dudders

    dudders Well-Known Member

    Joined:
    Nov 25, 2021
    Messages:
    342
    Likes Received:
    420
    Hi JetWash I've used the high version and looks amazing. But performance wise I'm still getting stuttering on parts of the route. Have run it twice now. From Blackpool south to Preston. Preston station is very stutery 30 to 40 fps just basically choppy. Can you recommend anything I can do. Many thanks.
     
  27. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,155
    Likes Received:
    11,733
    Try medium is the likely solution. High is probably too much for a 2070 to be honest, resolution dependent. You could try setting the screen percentage in the menu to 95% or 90% and see if that helps.

    Alternatively remove the line related to DX12 (as described in the manual) and try DX11. Also, do you use an SSD or HDD? If it’s the later you’re always going to have issues with it.
     
    Last edited: Nov 16, 2023
  28. Fawx

    Fawx Well-Known Member

    Joined:
    Jul 2, 2023
    Messages:
    1,932
    Likes Received:
    4,443
    I was getting the PIS issue on DX12, without any ini settings whatsoever. Might give it another try.
    I haven't given the new settings a go yet, I don't want to lose my personal tweaks xD. Going to give the updated manual a read over though.
     
  29. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,155
    Likes Received:
    11,733
    Remember you can copy your GodMode.sav, put it somewhere safe then try this, always having the option to revert. I believe this version is much better than the last in many respects.
     
  30. dudders

    dudders Well-Known Member

    Joined:
    Nov 25, 2021
    Messages:
    342
    Likes Received:
    420
    I use ssd and resolution is 1440p. I did think high might be to much so yea I will try medium and play with the dx12 and dx11. Thank you again.
     
  31. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,155
    Likes Received:
    11,733
    No worries. Let us know how you get on.

    In my mind Ultra is the preserve of higher end cards. High probably the 2080ti upwards. Medium 1080ti upwards and low everything else. Hope that makes sense.
     
  32. dudders

    dudders Well-Known Member

    Joined:
    Nov 25, 2021
    Messages:
    342
    Likes Received:
    420
    Will let you know tomorrow now as wife on my back lol. Cheers.
     
    • Like Like x 1
  33. countcussy

    countcussy Well-Known Member

    Joined:
    Mar 4, 2022
    Messages:
    367
    Likes Received:
    644
    FWIW, I have a 3060ti and I5 12400. Ultra works fine, but High is the sweetspot for me. More than good enough and keeps temps in check without extra fan noise. 2K Res. Native.
     
  34. stateoftheartjonas

    stateoftheartjonas Active Member

    Joined:
    Sep 3, 2023
    Messages:
    138
    Likes Received:
    105
    Feel free to doubt, but it is the case for me :(
    I've done some more testing now. My card is a GTX980 which comes with 4GB of VRAM. In most situations, DX11 gives me ~10% better FPS than DX12. But in some cases, the difference is way worse, e.g. 41 FPS on DX11 but only 24 on DX12. These are what made me switch back to DX11, as it can be the difference between perfectly playable and slideshow.
    Interestingly, at 60% resolution scaling and with all settings set to low, DX12 performs much better than DX11 on my machine, too. (30-40%!) But as soon as I raise the resolution and graphics settings, DX12 falls behind.

    I've also observed very different streaming behavior: on DX11 higher-res textures are much slower to load and there are way more visual pop-ins and pop-outs than in DX12. So the visuals are quite jumpy, but there's consistent performance – occasional stutters, but nothing severe. DX12 reduces the very prominent texture pop-ins, loads more good-looking textures and produces a nicer image, but performance is not consistent anymore. It's fine if I spawn into a station, but if I travel a bit along the route first, I get 18 FPS slideshows.
    This leads me to believe that VRAM utilization is the main culprit for the difference I'm seeing, and some quick googling seems to back that up. DX11 handles VRAM utilization itself, while with DX12 this seems to be up to the developer and thus characteristics can differ. To me it seems like DX11 aggressively loads and unloads LODs to keep the game running consistently, while Unreal's VRAM management in DX12 mode is not aggressive enough and hurts FPS. Might spend much more time on swapping so that it can keep showing the nicer textures.

    There are other possible explanations, e.g. Maxwell 2.0 not supporting all optional features of DX12_1 like Async Compute, or features like Virtual Shadow Maps that might only be enabled in DX12. But the different implementations of VRAM management appear like the most probable explanation to me. Especially since I saw a similar difference between DX11 and DX12 on my laptop, which comes with a 1060 that has improved DX12 support (Pascal instead of Maxwell 2), but is VRAM-constrained too, running the game at almost 4K on 6GB of VRAM.

    So my preliminary takeaway is: if you're VRAM-constrained, DX11 does a better job at memory management than Unreal's VRAM management, keeping the game running at the cost of visual fidelity.
     
  35. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,155
    Likes Received:
    11,733
    I hadn’t realised you were on a 980, in that case DX12 is a no-no. One of the reasons generally DX12 runs better is it takes a lot of load off the CPU (in a CPU constrained game) and puts it on the GPU. Your GPU isn’t really strong enough to take the extra load hence DX12 doesn’t work properly.

    I’d advise leaving the game in the state you always played it (including DX11) and using the ‘low’ preset to alter the lighting. That should be a good compromise.
     
    • Like Like x 1
  36. Redbus

    Redbus Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    1,485
    Likes Received:
    3,133
    Having installed the latest version of your lighting pack I just wanted to say a big thank you! It really is one of the must-have mods and is now an absolute doddle to install using the godmode save/dynamic ini feature. Keep up the great work, all that time you must spend putting it together is very much appreciated. :)
     
    • Like Like x 1
  37. amtraknick1993

    amtraknick1993 Well-Known Member

    Joined:
    Dec 22, 2019
    Messages:
    568
    Likes Received:
    922
    For what it’s worth, not sure if it matters now as I’m seeing this a little late, but I have an RTX 2080 Super, i9-9900K, and 32GB and run on the Ultra preset with DX12 and have zero issues. Far better performance with a steady 60+ fps and zero stutters or lag.
     
    • Like Like x 1
  38. Jasonic

    Jasonic Active Member

    Joined:
    Dec 9, 2016
    Messages:
    101
    Likes Received:
    138
    Thanks for the latest version of your mod, very pleased with it, only issue I have is the flashing in Preston station that I think you mentioned somewhere about that.
     
    • Like Like x 1
  39. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,155
    Likes Received:
    11,733
    I did. It’s 100% caused by DX12 and I think only seems to be happening whilst the shaders are initially compiling and only under certain circumstances. It must be something in TSW4 with DX12 as I’ve used it since TSW2 and never seen this flickering before.
     
    • Like Like x 1
    • Helpful Helpful x 1
  40. StenioBlackHawnk

    StenioBlackHawnk Active Member

    Joined:
    Jan 21, 2020
    Messages:
    92
    Likes Received:
    204
    Hey JetWash, I have a GTX 1650 with 32GB RAM and Ryzen 5500, do you think the Low Settings is the better one or I should not even try it lol.

    Thank you.
     
  41. amtraknick1993

    amtraknick1993 Well-Known Member

    Joined:
    Dec 22, 2019
    Messages:
    568
    Likes Received:
    922
    JetWash Hey, so I’m noticing a little issue that I previously didn’t notice before. I just reinstalled this version of the mod again and now I’m noticing that anytime the train is stopped, the quality looks great. Very high quality. Everything is sharp. But as soon as the train starts moving, especially when in the cab, the quality of the scenery outside drops significantly. Everything becomes a little blurry and out of focus. The screens inside the cab (in this case the F125) also get blurry and out of focus. It’s quite a noticeable difference when moving vs. when stopped. It appears to do this outside as well. And again, as soon as the train is stopped, the quality immediately returns and everything is crystal clear and sharp again.

    Scenery objects are also rendering in quite slow. Almost as soon as you’re right next to them vs. the previous version they were already loaded in once you got there. A good example of this is the names of signals and roads on the signal boxes. The text is blurry and broken until you’re right there, then it loads in.

    Performance wise, everything is super smooth. No issues with overall performance. It’s just a graphics quality issue. Is this something that’s related to it being the first run of the route after this update? Almost seems like the low graphics quality while moving could be related to the camera blur or something but I’m not sure. It’s just very noticeable and is sort of affecting game play.
     
  42. amtraknick1993

    amtraknick1993 Well-Known Member

    Joined:
    Dec 22, 2019
    Messages:
    568
    Likes Received:
    922
    Yeah, I’m noticing anytime the camera is moving, stuff is blurry, mainly inside the cab. When the camera stops moving, it takes a second for text and other objects to render and for quality to sharpen and improve. Unfortunately this is affecting the scenery outside whenever the train is moving or the camera is panned around inside the cab. The scenery will be blurry until the camera stops moving or the train does.
     
  43. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,155
    Likes Received:
    11,733
    That sounds like something to do with texture streaming, of which there is nothing in these changes. It’s not something I’ve seen either. It has been a long standing issue with UE4 and TSW world though unfortunately.

    What settings do you have in the actual game graphics settings? I suspect that’ll be your place to start. As you can hopefully see, there is less stuff in this version than the last and what is left is more refined. It essentially consists on tried and tested graphic enhancement tweaks (foliage draw etc), improvements to shadows and then the changes to the lighting itself. There is definitely nothing in there that should cause things to be blurry. The only thing it could be is you have a much lower setting in the game than I use and it is conflicting with something in the mod maybe.
     
    Last edited: Nov 17, 2023
    • Helpful Helpful x 1
  44. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,155
    Likes Received:
    11,733
    Low is simply the lighting changes and nothing much else. You can use that no problem.
     
    • Like Like x 1
    • Helpful Helpful x 1
  45. amtraknick1993

    amtraknick1993 Well-Known Member

    Joined:
    Dec 22, 2019
    Messages:
    568
    Likes Received:
    922
    I’m using your Ultra present and I have all my graphics settings within the game set to reflect that. They’re all set to ultra to match the mod. I have no issues with texture streaming on your previous version of the mod but they were introduced with this one.
     
  46. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,155
    Likes Received:
    11,733
    They can’t be though, there’s honestly nothing there that has anything to do with texture streaming. I’ve removed somethings that weren’t needed and the things that have been added in are nothing to do with textures. It’s all to do with color, gama, tree saturation etc.

    What do you have Sky quality set to? Remember it should be no higher than very high. Are you using NIS still? After a recent GPU driver update I noticed it wasn’t working as well, so I abandoned it and now have my game set to 4K with 90% screen percentage and I’m not seeing anything like your describing. I’m a bit baffled.
     
    Last edited: Nov 17, 2023
  47. amtraknick1993

    amtraknick1993 Well-Known Member

    Joined:
    Dec 22, 2019
    Messages:
    568
    Likes Received:
    922
    Sky quality is set to high. I even tried changing it higher and lower and it made no difference. Also added:

    [/script/engine.renderersettings]
    r.TextureStreaming=0

    … and that made no difference either. No change in the texture streaming.

    I haven’t touched any of my graphics settings since applying this update. Nothing is different than it was before yet I have this issue with this new version. I also tested it on the High preset vs. Ultra and it’s the same thing.
     
  48. amtraknick1993

    amtraknick1993 Well-Known Member

    Joined:
    Dec 22, 2019
    Messages:
    568
    Likes Received:
    922
    Did another reinstall of everything. No change. And again, no previous settings were changed. They’re all the same from the previous version. Just now have this texture streaming issue.
     
  49. Bradmac

    Bradmac Member

    Joined:
    Jul 28, 2020
    Messages:
    74
    Likes Received:
    39
    I have adjusted my settings to include these tips by you JetWash using high preset and I'm very happy with the results. I'm running a
    NVIDIA GeForce RTX 3070 at 3840x2160 4k.
     
  50. amtraknick1993

    amtraknick1993 Well-Known Member

    Joined:
    Dec 22, 2019
    Messages:
    568
    Likes Received:
    922
    This is really unfortunate. It’s now a totally different experience than before. No setting I apply seems to make any difference in fixing this texture streaming issue. I’ve tried adding the line to the .ini file through god mode but there is no change. I don’t understand why this is happening as it didn’t happen before. Like I said, I made absolutely no changes to my graphics settings between the last version and this one. All I did was apply version 3.3. And because you’ve updated the download and pulled the previous version, I have no way of reverting back to the way it was since the files were replaced per the install instructions. I’m not blaming you or anything, I just don’t understand why this is happening and there appears to be no way to fix it. It’s like I’m stuck with it now.
     

Share This Page