Routes Keep Closing The Game Without An Error Message

Discussion in 'Technical Reports' started by ZaphodScotsman, Apr 8, 2025.

Tags:
  1. ZaphodScotsman

    ZaphodScotsman New Member

    Joined:
    Oct 1, 2021
    Messages:
    17
    Likes Received:
    0
    A few routes that used to load without issue now cause the game to close without any error message. This mostly occurs with a few 3rd-party routes, but it's also been happening with the Fort Kent Subdivision. Can somebody please tell me how to fix this glitch?
     
  2. crgtrainspotter

    crgtrainspotter Member

    Joined:
    Sep 10, 2024
    Messages:
    44
    Likes Received:
    0
    Have you tried reaching out to DTG and see if any of there troubleshooting steps can help?
     
  3. ZaphodScotsman

    ZaphodScotsman New Member

    Joined:
    Oct 1, 2021
    Messages:
    17
    Likes Received:
    0
    I have, none of their steps have worked. And if I’m honest, I don’t like the idea of reinstalling: it could take days
     
  4. CityRailVSet

    CityRailVSet Member

    Joined:
    Jun 28, 2024
    Messages:
    71
    Likes Received:
    8
    Try this! In NVIDIA control panel, click on Program Settings tab, click on Add
    navigate to Steam | Steamapps | Common | RailWorks folder

    Add railworks.exe
    Set the processor to High Performance Processor
    Apply

    Add railworks64.exe
    Set the processor to High performance Processor
    Apply

    You need to do this for both railworks.exe and railworks64.exe
    ---
    Still having issues?
    In the NVIDIA settings "Specify the settings for this program"

    Change Max frame rate to 60
    Change vertical sync to Fast
    Change Triple Buffering to On

    Optional setting ONLY!
    Change Power management mode to Prefer maximum performance
    ---
    For whatever reason that NVIDIA warns you something about being "Access denied" while attempting to change the settings above
    Please update NVIDIA graphics and software using NVIDIA GeForce Experience. You must perform a custom | clean installation and then apply the settings above
     
  5. crgtrainspotter

    crgtrainspotter Member

    Joined:
    Sep 10, 2024
    Messages:
    44
    Likes Received:
    0
    I don't blame you to be honest like you said a fresh install can take so much of your time if you find nothing else works then you should only make that your last resort if you feel like there is no way whatsoever you should give it a go from what that other guy said and if you find theres nothing else then there is some amazing people on here that will try there best to help :)
     
  6. ZaphodScotsman

    ZaphodScotsman New Member

    Joined:
    Oct 1, 2021
    Messages:
    17
    Likes Received:
    0
    Well I tried those options, the issue still occurs. I haven’t tried the optional one yet though, so I may give that a try. I’ve also tried using logmate to figure out what’s causing it, but for some reason,nothing shows up in the logs. Am I doing something wrong?

    EDIT: I managed to get the latest log, but the forum said it was too large to upload. Thus, I'm putting all the information it shared when I tried to open Fort Kent here:

    2025/04/11 13:20:02.189 - [Data Management] - Trace D:\RGBuild\CoreRelease\Code\DLLs\WindowsManager\Scenario.cpp : 1173 = Scenario::ScenarioStatistics::ScenarioStatistics new 1374512
    2025/04/11 13:20:02.189 - [Scheduler] - Trace D:\RGBuild\CoreRelease\Code\DLLs\GameManager\cSchedulerModule.cpp : 268 = cSchedulerModule::registerSimulationUpdateable (54878952, 32, 0)
    2025/04/11 13:20:02.189 - [Scheduler] - Trace D:\RGBuild\CoreRelease\Code\DLLs\GameManager\cSchedulerModule.cpp : 268 = cSchedulerModule::registerSimulationUpdateable (43043328, 32, 0)
    2025/04/11 13:20:02.189 - [Scheduler] - Trace D:\RGBuild\CoreRelease\Code\DLLs\GameManager\cSchedulerModule.cpp : 268 = cSchedulerModule::registerSimulationUpdateable (108877480, 736, 0)
    2025/04/11 13:20:02.189 - [Scheduler] - Trace D:\RGBuild\CoreRelease\Code\DLLs\GameManager\cSchedulerModule.cpp : 268 = cSchedulerModule::registerSimulationUpdateable (43043520, 4095, -1)
    2025/04/11 13:20:02.189 - [Game Manager] - Trace D:\RGBuild\CoreRelease\Code\DLLs\GameManager\cGameManager.cpp : 951 = Creating main window
    2025/04/11 13:20:02.189 - [Engine] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\Pc\cHcDisplayManagerPc.cpp : 390 = Setting mWidth = 1920 and mHeight = 1080
    2025/04/11 13:20:02.189 - [Engine] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\Pc\cHcDisplayManagerPc.cpp : 400 = Setting mWindowed = 0
    2025/04/11 13:20:02.189 - [Engine] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\Pc\cHcDisplayManagerPc.cpp : 401 = Setting mVSync = 0
    2025/04/11 13:20:02.189 - [Engine] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\Pc\cHcDisplayManagerPc.cpp : 420 = Setting adapterIndex = 0
    2025/04/11 13:20:02.189 - [Engine] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\Pc\cHcDisplayManagerPc.cpp : 485 = Setting FullScreen_RefreshRateInHz = 75
    2025/04/11 13:20:02.189 - [Engine] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\Pc\cHcDisplayManagerPc.cpp : 507 = Setting PresentationInterval = D3DPRESENT_INTERVAL_IMMEDIATE
    2025/04/11 13:20:02.189 - [Engine] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\Pc\cHcDisplayManagerPc.cpp : 622 = Creating device
    2025/04/11 13:20:02.189 - [Engine] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\Pc\cHcDisplayManagerPc.cpp : 633 = mPlatform.mPresent : BackBufferWidth = 1920, BackBufferHeight = 1080, BackBufferFormat = 21, BackBufferCount = 0, MultiSampleType = 0, MultiSampleQuality = 0, SwapEffect = 1, Windowed = 0, EnableAutoDepthStencil = 1, AutoDepthStencilFormat = 75, Flags = 0
    2025/04/11 13:20:02.189 - [Engine] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\Pc\cHcDisplayManagerPc.cpp : 638 = mD3DDevice == NULL
    2025/04/11 13:20:02.189 - [Engine] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\Pc\cHcDisplayManagerPc.cpp : 641 = Calling CreateDevice with adapterIndex = 0, mPlatform.mWindowHandle = 1117510, mPlatform.mD3DDevice = 0
    2025/04/11 13:20:02.189 - [Engine] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\Pc\cHcDisplayManagerPc.cpp : 656 = mD3DDevice != NULL
    2025/04/11 13:20:02.189 - [Core] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\DxCommon\cHcRenderTargetDx.cpp : 234 = Allocated mBackBufferCopyTexture at addr = 146817408
    2025/04/11 13:20:02.189 - [Engine] - Trace D:\RGBuild\CoreRelease\Code\DLLs\Engine\cViewportManager.cpp : 59 = cViewportManager::startup called
    2025/04/11 13:20:02.189 - [Engine] - Trace D:\RGBuild\CoreRelease\Code\DLLs\Engine\c3dRenderer.cpp : 66 = c3dRenderer::startup called
    2025/04/11 13:20:02.189 - [Engine] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\DxCommon\cHcEffectDx.cpp : 135 = Creating effect vertexcolour.fx
    2025/04/11 13:20:02.189 - [Core] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\DxCommon\cHcVertexManagerDx.cpp : 1251 = Created D3DPOOL_DEFAULT Vertex Buffer 150590560
    2025/04/11 13:20:02.189 - [Core] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\DxCommon\cHcVertexManagerDx.cpp : 1251 = Created D3DPOOL_DEFAULT Vertex Buffer 150588384
    2025/04/11 13:20:02.189 - [Engine] - Trace D:\RGBuild\CoreRelease\Code\DLLs\Engine\cFontRenderer.cpp : 68 = cFontRenderer::startup called
    2025/04/11 13:20:02.189 - [Engine] - Trace D:\RGBuild\CoreRelease\Code\DLLs\Engine\cTerrainManager.cpp : 163 = cTerrainManager::startup called
    2025/04/11 13:20:02.189 - [Engine] - Trace D:\RGBuild\CoreRelease\Code\DLLs\Engine\cSkyRenderer.cpp : 68 = cSkyRenderer::startup called
    2025/04/11 13:20:02.189 - [Content] - Trace D:\RGBuild\CoreRelease\Code\DLLs\DataManagement\cBlueprintLibrary.cpp : 421 = Blueprint set not found : Kuju, RailSimulatorCore
    2025/04/11 13:20:02.189 - [Content] - Trace D:\RGBuild\CoreRelease\Code\DLLs\DataManagement\cBlueprintLibrary.cpp : 452 = Blueprint set not found for: Cameras\EditCamera001.xml
    2025/04/11 13:20:02.189 - [Core] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\DxCommon\cHcRenderTargetDx.cpp : 234 = Allocated mBackBufferCopyTexture at addr = 327384768
    2025/04/11 13:20:02.189 - [Core] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\DxCommon\cHcRenderTargetDx.cpp : 234 = Allocated mBackBufferCopyTexture at addr = 327380736
    2025/04/11 13:20:02.190 - [Core] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\DxCommon\cHcRenderTargetDx.cpp : 234 = Allocated mBackBufferCopyTexture at addr = 327380416
    2025/04/11 13:20:02.190 - [Engine] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\DxCommon\cHcEffectDx.cpp : 135 = Creating effect singletexture.fx
    2025/04/11 13:20:02.190 - [Core] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\DxCommon\cHcVertexManagerDx.cpp : 1251 = Created D3DPOOL_DEFAULT Vertex Buffer 413288768
    2025/04/11 13:20:02.190 - [Engine] - Trace D:\RGBuild\CoreRelease\Code\Libs\Heracles\Engine\Draw\DxCommon\cHcEffectDx.cpp : 135 = Creating effect HeatHazeObjects.fx
    2025/04/11 13:20:02.190 - [Data Management] - Trace D:\RGBuild\CoreRelease\Code\DLLs\ScenarioManager\cCareerModel.cpp : 567 = cCareerModel::setScenarioCareerCount ( 123 )
    2025/04/11 13:20:02.190 - [Scenario Manager] - Trace D:\RGBuild\CoreRelease\Code\DLLs\ScenarioManager\cCareerModel.cpp : 242 = cCareerModel::FetchStats
    2025/04/11 13:20:02.190 - [Steam] - Trace D:\RGBuild\CoreRelease\Code\DLLs\ScenarioManager\cCareerModel.cpp : 254 = cCareerModel::FetchStats RequestCurrentStats() waiting...

    Is there anything here that could be the cause of this?
     
    Last edited: Apr 11, 2025
  7. crgtrainspotter

    crgtrainspotter Member

    Joined:
    Sep 10, 2024
    Messages:
    44
    Likes Received:
    0
    To be honest with you i have literally no idea im not really a computer expert but there are some good people on here that will be happy to help in any way they can its annoying that DTG cant really help tbh they might be able to find a fix but idk sorry lad :(
     
  8. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,165
    Likes Received:
    3,168
    If Every player of this game only had DTG DLC then it would be easier to solve problems - a bit like TSW.

    Everyone has different computers with different DLC and most of the crashes are caused by Third Party DLC.
    It would be like saying "I have a problem with my Apple iPad - maybe Microsoft can fix it"
     
  9. kilt46

    kilt46 Well-Known Member

    Joined:
    Jan 23, 2022
    Messages:
    1,247
    Likes Received:
    580
    Can you be more specific. Is the scenario from Steam? Is your instance crashing all together or do you go back to the TSC menu? Are all of your drivers up to date? Fort Kent is one of the earliest DLCs and should be pretty stable. Something must be wrong with your pc.
     
    Last edited: Apr 12, 2025
  10. CityRailVSet

    CityRailVSet Member

    Joined:
    Jun 28, 2024
    Messages:
    71
    Likes Received:
    8
    Strange! My TSC installation doesn't have those folders and path RGBuild\CoreRelease\Code\xxxxxxxxxx|xxxxxxxxxx ? Not even the files mentioned in the above error.

    I even checked out my error log and it shows clearly the correct path of my TSC installation and what the error codes are.
    C:\Program Files (x86)\Steam\steamapps\common\RailWorks

    Are you using a MAC version, if there is a MAC version? Or are you having problems with TSW and not TSC?
     
  11. kilt46

    kilt46 Well-Known Member

    Joined:
    Jan 23, 2022
    Messages:
    1,247
    Likes Received:
    580
    The D drive is compiling temp info for the execution. The file will most likely be deleted on completion being a temp file. I have my installation on my E drive as I am using a 2TB SSD for my TSC compilation.
     
  12. kilt46

    kilt46 Well-Known Member

    Joined:
    Jan 23, 2022
    Messages:
    1,247
    Likes Received:
    580
    FYI when I was troubleshooting errors on my pc I was using some windows tools to analyze what was happening in my environment. LogMate will show missing assets or setup issues. It will not necessarily show windows execution faults associated with running the TSC execution file. My issue ended up being (1) an older version of firmware on my motherboard. The ‘new’ games high spec machine had obviously sat for a time and the final assembly had a top end Nvidia board and driver with an earlier motherboard software causing video crashes (2) a wireless headset whose drivers were competing with the sound bandwidth causing lag during TSC sessions. Bottom line is many things can cause these type of issues. If you are running only Steam product and the files have been validated yet you are seeing an issue there is most likely something else going on in your pc. If you have added any 3rd party or Workshop items it is possible that the Steam files have been overwritten and have created an execution error when running TSC.
     
  13. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,165
    Likes Received:
    3,168
    Searching the forums for "Code\Libs\Heracles\Engine\Draw" results in a number of posts

    One of the posts had this reply
    "I have sorted it. I made enquiries on ATS Facebook page and someone said to run in borderless mode and it fixed it! I suspect connecting to my surround system and sometimes having 2 screens may have caused the issue!"
     
  14. ZaphodScotsman

    ZaphodScotsman New Member

    Joined:
    Oct 1, 2021
    Messages:
    17
    Likes Received:
    0
    No, I use windows. I have TS installed on my d drive because it has more space
     
  15. CityRailVSet

    CityRailVSet Member

    Joined:
    Jun 28, 2024
    Messages:
    71
    Likes Received:
    8
    Ok! First of all I apologise for the confusion. I was not talking about the "D drive" path or any other drive letter path. I am aware some players do not install games into the default path as I do

    What I was trying to say is that the folder and files mentioned in the above errors is not in my TSC installation
    For example: I do not have the folder RGBuild, I don't have the folder CoreRelease and I certainly don't have Code folder in my TSC installation and of course, I don't have those files in my TSC installation?? Or I am looking in the wrong spot??

    That's what I don't understand! Again, I apologise for any confusion
     
  16. kilt46

    kilt46 Well-Known Member

    Joined:
    Jan 23, 2022
    Messages:
    1,247
    Likes Received:
    580
    I do not believe these are being stored on a drive. I believe that these are execution compilations being generated before TSC becomes active to understand what assets are available. I suspect it is defining an array of data which it is compiling into bin/XML within the Content folder under Steam. These dynamic files are then used to generate the TSC menus and also handle completion history. If you SERZ the SDBCache.bin file you will see the last compilation of what you have completed. This is not the final storage. Nowadays this is now archived on the Steam Cloud. These are the temp files used to handle and execute your scenario once it has been selected. If you delete this file your computer will regenerate it again from all of your content files on startup of the TSC executable. This is the trick used if you ever find you have lost a view of your Quick Drives. Simply delete the SDBCache.bin and let your pc generate a fresh view of available content.
    upload_2025-4-13_20-16-7.png
     
    Last edited: Apr 14, 2025
    • Like Like x 1
  17. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,165
    Likes Received:
    3,168
    So to repeat my post ZaphodScotsman

    "Searching this forums for "Code\Libs\Heracles\Engine\Draw" results in a number of posts"

    The solution was to run the Display in borderless mode

    Did you try that?
     
    • Like Like x 1
  18. ZaphodScotsman

    ZaphodScotsman New Member

    Joined:
    Oct 1, 2021
    Messages:
    17
    Likes Received:
    0
    I did just now. Unfortunately, the same thing happened: the game closed for no reason.
     
  19. ZaphodScotsman

    ZaphodScotsman New Member

    Joined:
    Oct 1, 2021
    Messages:
    17
    Likes Received:
    0
    can you please elaborate? what asset is it and where is it from?
     
  20. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,165
    Likes Received:
    3,168
    Presumably from one of the Romanian providers like Rail Studio
     
  21. ZaphodScotsman

    ZaphodScotsman New Member

    Joined:
    Oct 1, 2021
    Messages:
    17
    Likes Received:
    0
    well, I looked in TS Tools, the route doesn't use any assets from RailStudios, not even textures. So how can an asset from RailStudios be causing this issue?
     
  22. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,165
    Likes Received:
    3,168
    No idea.
    It was not my suggestion
     
  23. liechtensteiner.sg

    liechtensteiner.sg New Member

    Joined:
    Oct 25, 2021
    Messages:
    14
    Likes Received:
    9
    I did not say that the Romanian assets are the case for you, but that it was the case for me
     

Share This Page