Menu Crash After Update 27/04/23

Discussion in 'Technical Reports' started by Jannerdunk, Apr 27, 2023.

  1. Jannerdunk

    Jannerdunk Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    441
    Likes Received:
    797
    So I can scroll through all 15 pages of content on the career menu, but on the standard menu I am getting a crash. Clicking forward (right arrow), it crashes on the 9/10 screen with a railworkworks64.exe. error. The image placeholder just spin

    Upon reloading, but clicking backwards (left arrow) I can get to the 10th screen, but clicking back to the 9th screen it again crashes in the same manner.
     
    • Like Like x 1
  2. frank351981

    frank351981 Active Member

    Joined:
    Feb 7, 2020
    Messages:
    203
    Likes Received:
    144
    similar problems!
    My until yesterday excellent running TS Classic, ist now not execellent running anymore. Go into Quickdrive menu, try to scroll through the pages of rollmaterial or the routes, after some pages nothing reacts anymore. Under 32bit I became the error message that Railworks.exe dont work anymore. In 64bit: nothing! No error message, only a no reacting menue/game.
     
  3. Legomaster1197

    Legomaster1197 New Member

    Joined:
    Jul 26, 2020
    Messages:
    26
    Likes Received:
    21
    Same issue here. Mines on page 18/18. Doesn’t matter if I use the back arrow or the forward arrow, it immediately locks up with the thumbnail just trying to load. Worked perfectly fine this morning before updating, so I hope they fix it ASAP
     
  4. Jannerdunk

    Jannerdunk Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    441
    Likes Received:
    797
    Been doing a bit of trouble shooting!

    So looking at the nine routes that are on the ninth menu of my setup, the only one that does not feature on the career menu is Three Countries Corner as I seem to recall it only came with standard ones.

    I've uninstalled Three Countries Corner via "Steam - manage DLC" and the crashing now seems to have stopped. Not a huge loss as not a route I ever played.

    I know nothing about how TS files are structured but at a guess a problem is the image thumbnail or similar?????
     
    Last edited: Apr 27, 2023
  5. OldAlaskaGuy

    OldAlaskaGuy Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    896
    Likes Received:
    714
    Having the same issue as well. Using the left nor right arrows causes TSC to go unresponsive and I need to exit the game manually.I tried to make a report but the link took me to a "forbidden" page. I had the foresight to make a backup yesterday so I haven't lost anything. It's on a separate drive. Workaround: Start by selecting your route/scenario through the editor. Select route and scenario, edit, save with the orange arrow and run the scenario. It seems for those who are affected by this issue TSC is having problems indexing the routes. Windows 11 Build 22H2 22621.1555 64 bit TSC on a separate drive playing in borderless.
     
    Last edited: Apr 27, 2023
  6. Pookeyhead

    Pookeyhead Well-Known Member

    Joined:
    Dec 7, 2018
    Messages:
    4,296
    Likes Received:
    2,699
    Same here, but so far only on quick drive.. always on the same page.... shown below.
    Screenshot 2023-04-27 20.13.30.jpg
     
  7. pennsy_railfan

    pennsy_railfan Active Member

    Joined:
    Mar 21, 2018
    Messages:
    223
    Likes Received:
    172
    same issue but with quick drive menu and on page 4 out of 21
     
  8. Pookeyhead

    Pookeyhead Well-Known Member

    Joined:
    Dec 7, 2018
    Messages:
    4,296
    Likes Received:
    2,699
    Can you post up a screenshot of your page 4? It may be something to do with a route, and if it's also on my page 3, we can start to narrow it down.
     
    • Like Like x 1
  9. Jannerdunk

    Jannerdunk Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    441
    Likes Received:
    797
    Not sure if its any help, but i don't have any of the Liverpool Manchester routes you have. As I said above mine seemed to be 3 countries corner causing my issues.
     
  10. Pookeyhead

    Pookeyhead Well-Known Member

    Joined:
    Dec 7, 2018
    Messages:
    4,296
    Likes Received:
    2,699
    Ok... maybe not one particular route then... but there's got to be enough clues here for DTG to sort it out.... I hope.

    [edit] The Liverpool to Manchester routes work fine in the Standard menu, so whatever it is, it's specific to the quick drive menu here, and not necessarily the route.
     
  11. Jannerdunk

    Jannerdunk Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    441
    Likes Received:
    797
    So, I've just re downloaded 3 counties Corner and problem reappears for me. Removing the route makes the issue go away again.

    20230427_210503.jpg
     
  12. Martin Jonas

    Martin Jonas New Member

    Joined:
    Jun 7, 2019
    Messages:
    6
    Likes Received:
    3
    Confirmed same problem. After uninstalling Three Corner Route via the Steam client DLC menu, the problem with the game freezing in the Quick drive menu is solved.
     
    • Like Like x 1
  13. pennsy_railfan

    pennsy_railfan Active Member

    Joined:
    Mar 21, 2018
    Messages:
    223
    Likes Received:
    172
    literary freezes just as it does when I go to page 4 had to take a screenshot with my phone because it won't let me take a screenshot in-game. Same issue as you just the engines giving a spinning icon
    IMG_3484.JPG
     
  14. Pookeyhead

    Pookeyhead Well-Known Member

    Joined:
    Dec 7, 2018
    Messages:
    4,296
    Likes Received:
    2,699
    Ok, so it's not one route then, but something common amongst certain routes, or their thumbnail files. I have none of the routes that pennsy has, and I don't have the three corners route either.
     
  15. maxtedrw

    maxtedrw Active Member

    Joined:
    Sep 24, 2020
    Messages:
    168
    Likes Received:
    223
    I have solved it for my loco's by removing a particular loco ( Duacuville Narrow Gauge) and am still trying to work out for what routes. That may indicate why not spotted by DTG as it seems to be something that has crept into 3rd Party developers route and loco building I suspect. Now to find out what.
     
  16. Pookeyhead

    Pookeyhead Well-Known Member

    Joined:
    Dec 7, 2018
    Messages:
    4,296
    Likes Received:
    2,699
    I suspect this is going to be different for everyone. I've no idea which of those routes are causing the issue, and I'll be damned if I'm uninstalling all of them one by one to find out... not tonight anyway. As it's only the quick drive menu that does it for me, I can live with it until this is fixed. I feel sorry for those who have this in the actual scenario menus though. I hope it's resolved soon.
     
  17. triznya.andras

    triznya.andras Well-Known Member

    Joined:
    Jun 29, 2019
    Messages:
    2,298
    Likes Received:
    2,734
    In another thread someone (DTG) suspects that "thumbnails" exceeding 1 MB cause a problem.
     
    • Like Like x 2
  18. Pookeyhead

    Pookeyhead Well-Known Member

    Joined:
    Dec 7, 2018
    Messages:
    4,296
    Likes Received:
    2,699
    How many would be that big? They all seem to be around 50KB.

    [edit] I take that back... the thumbnail for ATS Pboro-cambridge is 2MB LOL.
     
    Last edited: Apr 27, 2023
  19. Jannerdunk

    Jannerdunk Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    441
    Likes Received:
    797
    That was my initial guess above, that it was a thumbnail issue,
     
  20. Martin Jonas

    Martin Jonas New Member

    Joined:
    Jun 7, 2019
    Messages:
    6
    Likes Received:
    3
    I tried shrinking the route image and it really solved the problem.
    Specifically for the Three Corner route, rename the MainContent.ap file to MainContent.zip, open the archive and edit the image here in the RouteInformation folder. Then rename back.

    But original route image has about 50 kB, after shrinking 21 kB.
    Path is:
    "X:\Steam\steamapps\common\RailWorks\Content\Routes\a926a61e-4992-4c11-ae04-ba788f6ad7d4"
     
    Last edited: Apr 27, 2023
    • Like Like x 1
  21. OEBB_8073

    OEBB_8073 New Member

    Joined:
    Apr 27, 2023
    Messages:
    5
    Likes Received:
    2
    The bug seems to be caused by PNG files encoded with Adam7 interlacing, which Train Simulator can't handle since the latest update. As soon as you encode the PNG images differently, everything works and there is no more freezing.
     
    • Like Like x 1
    • Helpful Helpful x 1
  22. Martin Jonas

    Martin Jonas New Member

    Joined:
    Jun 7, 2019
    Messages:
    6
    Likes Received:
    3
    So it will probably be enough to re-save the route image in some image editor app with different properties and compression.
     
  23. OEBB_8073

    OEBB_8073 New Member

    Joined:
    Apr 27, 2023
    Messages:
    5
    Likes Received:
    2
    Yes this is quite enough. Fortunately, only a few images are compressed in this problematic compression.
     
  24. Pookeyhead

    Pookeyhead Well-Known Member

    Joined:
    Dec 7, 2018
    Messages:
    4,296
    Likes Received:
    2,699
    Now I have an entirely different situation. I had just put my back up back on, but I now I wish to see if resizing the thumbnails has fixed it, but now Steam will not update to the latest version. I'm now stuck on the old version. Is there any way to force the update without actually uninstalling the game and re-installing it?
     
    Last edited: Apr 27, 2023
  25. countcussy

    countcussy Well-Known Member

    Joined:
    Mar 4, 2022
    Messages:
    366
    Likes Received:
    642
    OEBB

    That's a good find. I am having no issues, even with some custom thumbnails. But mine are just done through basic photo software.
     
  26. OEBB_8073

    OEBB_8073 New Member

    Joined:
    Apr 27, 2023
    Messages:
    5
    Likes Received:
    2
    Currently I know of the following routes where the thumbnails are encoded in the no longer supported PNG encoding format:
    • Amstetten - Kleinreiflingen
    • Amstetten - Kleinreiflingen - St.Valentin
    • Dreiländereck
    • 't Hart van Nederland 1.6
     
  27. triznya.andras

    triznya.andras Well-Known Member

    Joined:
    Jun 29, 2019
    Messages:
    2,298
    Likes Received:
    2,734
    a) Verifying file integrity
    b) Navigate up a couple folders, to the root of your Steam Library. There is an appmanifest_24010.acf file there. If you can find a backup with the earlier build and last update values, copy those back. Maybe someone can supply it. (You could just lower them, but I don't know how much of it Steam uses actually, so what happens if the build doesn't exist, or the date is way too much in the past.) Make sure to exit Steam for the duration of manipulating this file.
     
  28. Pookeyhead

    Pookeyhead Well-Known Member

    Joined:
    Dec 7, 2018
    Messages:
    4,296
    Likes Received:
    2,699
    I don't have the files from the latest version, but my back up is only for the Railworks folder, so putting my back up on shouldn't have altered these files anyway. Deleting them makes no difference. Looks like I'm now stuck with the pre-update version unless I verify files, which will then stop so much 3rd party stuff working I may as well just uninstall and start again, which I probably won't have the time to do for a couple of weeks now.
     
  29. Legomaster1197

    Legomaster1197 New Member

    Joined:
    Jul 26, 2020
    Messages:
    26
    Likes Received:
    21
    How do I fix it? Do I have to go through each and every one of my trains and routes and adjust their thumbnails?

    page 18 of my routes is inaccessible, and now pages 4 and 34 also lock up my game, meaning that there’s 30/39 pages of trains I can’t access. DTG needs to fix this asap.
     
    Last edited: Apr 27, 2023
    • Like Like x 2
  30. OldAlaskaGuy

    OldAlaskaGuy Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    896
    Likes Received:
    714
    I have posted a workaround on post #5. This worked for me to play scenarios until a fix is available. Try it and post your results.
     
    Last edited: Apr 28, 2023
  31. pennsy_railfan

    pennsy_railfan Active Member

    Joined:
    Mar 21, 2018
    Messages:
    223
    Likes Received:
    172
    with the career scenario, I can only do the second page ( locomotives) and then freeze :mad::|
     
    • Like Like x 1
  32. zonkered

    zonkered Well-Known Member

    Joined:
    Jul 19, 2022
    Messages:
    92
    Likes Received:
    343
    I've got a similar issue, however i cant even load the first page of career scenarios lmao. i also dont have any of the problematic routes listed here either

    EDIT: If you have the Stainmore route, try changing or deleting its thumbnail in the game files. Worked for me and I've had no freezing in menu since.
     
    Last edited: Apr 28, 2023
  33. triznya.andras

    triznya.andras Well-Known Member

    Joined:
    Jun 29, 2019
    Messages:
    2,298
    Likes Received:
    2,734
    For now it doesn't seem like an absolute loss. If you didn't have endless crashes to begin with, the old one is fine.
    I ran just one old scenario yesterday evening, didn't notice any difference, maybe a bit better here and there, but inconclusive.

    You yourself described the solution a couple days ago actually. Just untick all DLC and install the game. Then overwrite your copy with that minimalistic version, and profit. If it helps I can post a list of files that changed yesterday.
     
  34. bidibul#3139

    bidibul#3139 Well-Known Member

    Joined:
    Feb 9, 2023
    Messages:
    159
    Likes Received:
    262
    So after many tests on a clean game and a complete reinstallation and without any tier or free dlc only what is via steam.

    The game crashes, but after removing all the union workshop and smokebox dlcs and the game no longer crashes at all.

    I can finally take any road and train and nothing crashes.
    For tier dlc, I have not tested yet but I think that very can crash the game

    As for the free assets it will be a disaster in my opinion, I installed only one free train and it crashes the game!

    In short, DTG you will have a lot of work.

    I still think it would have been wiser to make a beta and leave the game as is while waiting to be sure that it works well.

    Result :
    For me a sleepless night, a complete reinstallation, the loss of all my dlc free
    the loss of some paid dlc (I want it to work, I paid!!!)
    In short, I'm just going to get a copy of ts on a site and not touch the original until everything works properly again.

    PS: I have already worked hard enough to solve a problem caused by your gamepad, the game was working very well before, it's up to you to fix it, not us.
     
  35. zonkered

    zonkered Well-Known Member

    Joined:
    Jul 19, 2022
    Messages:
    92
    Likes Received:
    343
    From what ive heard around there seems to be a major problem with the resolution of route thumbnails crashing peoples games, at least that was the issue for me with the Stainmore thumbnail. Try changing the problematic route thumbnails in the game files and see if that changes anything.
     
  36. Pookeyhead

    Pookeyhead Well-Known Member

    Joined:
    Dec 7, 2018
    Messages:
    4,296
    Likes Received:
    2,699
    It's been identified as the compression routines in the route thumbnail images. Saving them out again seems to have solved the issue for many, so it was probably the act of resaving it, rather than resizing it that solved the issue.
     
  37. bidibul#3139

    bidibul#3139 Well-Known Member

    Joined:
    Feb 9, 2023
    Messages:
    159
    Likes Received:
    262
    If that's the real reason then the 3rd party editors and DTG should do it.
    It's out of the question that I'm fixing something that I haven't broken.
    For all that is "free" it will be up to us to manage, we all agree that for all dlc free dtg has nothing to do with it.

    I hope that the third-party editors will also repair the broken dlcs on their side.

    Think of all those who know nothing about computers!
    I don't think we can ask them to tamper with this or that file in the game?
     
  38. DTG Jamie

    DTG Jamie Community Manager Staff Member

    Joined:
    Aug 24, 2020
    Messages:
    1,834
    Likes Received:
    6,308
  39. bidibul#3139

    bidibul#3139 Well-Known Member

    Joined:
    Feb 9, 2023
    Messages:
    159
    Likes Received:
    262
    THANKS
    You can add the union workshop routes (Japanese route) except the wakayama and the tokyo which works well
     
  40. 5cip

    5cip Active Member

    Joined:
    Apr 23, 2020
    Messages:
    387
    Likes Received:
    226
    i dont have the three corner route but games crashes when i go to the scenario tab...

    edit : problem was some content routes png´s like ezy routes which where uncompatible.

    the best thing i noticed so far is that i can run the game now in highest settings full AA 3x3 full shadows / water etc. without frame drops THANK YOU DTG !:love:
     
    Last edited: Apr 28, 2023
  41. Pookeyhead

    Pookeyhead Well-Known Member

    Joined:
    Dec 7, 2018
    Messages:
    4,296
    Likes Received:
    2,699
  42. miata54

    miata54 Member

    Joined:
    Jul 31, 2021
    Messages:
    91
    Likes Received:
    5
    I have cured the freezing of the Main Menu by uninstalling TSC and then completely deleting the Railworks folder. Went back to Steam, found my DLC folder and then unchecked all DLC's that were not part of the original program. Let Steam reinstall TSC (with now just a few of the original files), fired up TSC to see if it would load. It did. I then added the DLC folders a few at a time, to see if TSC would still load. It did. I did this until I had all my DLC folders back into TSC. I then selected Cajon Pass Big Boy Freeroam and the sim crashed. Reading about possible thumbnail size causing the sim to crash, I went to my BB assets folder and checked on the size of the image png. It was 1920x1080, the same as my monitor. This was an image I created sometime back and I never scaled down the image to 256x128. So I did this , put the image back in the Locoinformation folder for the BB, fired up the sim, and it loaded without incident. So it appears that thumbnail size is the culprit causing the freezing of the Main Menu and or crashing of the sim when an oversized thumbnail is selected in the menu. Just my experience so far.
     
    Last edited: Apr 29, 2023
  43. Pookeyhead

    Pookeyhead Well-Known Member

    Joined:
    Dec 7, 2018
    Messages:
    4,296
    Likes Received:
    2,699
    I just resaved all the "image.png" route files from the routes on the page that freezes, and saved over the originals with no compression, and all works as it should now.
     
  44. OldAlaskaGuy

    OldAlaskaGuy Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    896
    Likes Received:
    714
    Using DX12 will break Raildriver interface using the Cobra one Software. It seems as if The core update is causing havoc with scripting for advanced locomotives from Searchlight Simulations and Smokebox.
     
  45. pennsy_railfan

    pennsy_railfan Active Member

    Joined:
    Mar 21, 2018
    Messages:
    223
    Likes Received:
    172
    so now with quick drive after installing smokebox's patch, I can now go up to page 8 when choosing what locomotive to drive
     
  46. martschuffing

    martschuffing Well-Known Member

    Joined:
    Aug 8, 2020
    Messages:
    1,008
    Likes Received:
    737
    Yeah, a big task, pity there isn't a method to bulk uncompress them?
     
    Last edited: Apr 29, 2023
  47. maxtedrw

    maxtedrw Active Member

    Joined:
    Sep 24, 2020
    Messages:
    168
    Likes Received:
    223
    You resave the image.png to the same place. Basically just overwrite the originals. Just for clarity - there really is no need to resize - the apparent "fix" that resizing delivers is because after resizing the image you save the image.png. Its the act of saving the image.png that delivers the fix. This is because you are saving the .png file in a subtly different format ( non-interlaced ) and its the format change that delivers the fix. You don't know you are changing the format because ( for most graphic editors ) non-interlaced .png is the default format. The format the image was originally saved in (interlaced .png) was a choice or a result of a mistake by the original third party developer.
     
    • Like Like x 1
  48. Pookeyhead

    Pookeyhead Well-Known Member

    Joined:
    Dec 7, 2018
    Messages:
    4,296
    Likes Received:
    2,699
    I only did the ones on the page(s) that caused the crash. In my case, it was just one page, so 9 files in total. You will probably be in a similar situation where only one or two pages cause the issue, so you don't have to do literally every file.

    How you save is important though. If your graphics program has a save as option for no compression that's what you need to use. It may be labelled differently though, as in Photoshop you choose the "fast" option. If your program has no save options, it will probably be using uncompressed as default.
     
  49. martschuffing

    martschuffing Well-Known Member

    Joined:
    Aug 8, 2020
    Messages:
    1,008
    Likes Received:
    737
    I had to compress my whole RW folder otherwise it would not fit my 1Tb drive. I just uncompressed all my png files. However, it still crashed as I think it doesn't like some loco png files compressed so I uncompressed a few assets folders.
     
  50. romolimatteo2003

    romolimatteo2003 Member

    Joined:
    Nov 25, 2021
    Messages:
    47
    Likes Received:
    47
    Same problem,I hope they solve it as soon as possible because from one day to another such a pity, TSC has always worked well
     

Share This Page