Crash at start

Post your problems and installation issues here!

Crash at start

Unread postby slick204 » Sat Jul 18, 2015 9:50 am

I'm having another issue with TS2015. Yesterday I subscribed to a scenario (one of Elphaba's), went to the profile-workshop tab so it would install, got the pop-up that it was installing but it froze at that point. Now when I start the program it freezes at the splash screen where it says "loading scenario database". I've verified the contents a couple of times so that it comes back with no files required but it still freezes.

I also ran logmate and it returns this:

[RunTimeError 9:43:03 AM] Trace mdump.cpp : 422 = error handlers have been set
[Content 9:43:04 AM] Trace cBlueprintLibrary.cpp : 417 = Blueprint set not found : Kuju, RailSimulatorCore
[Content 9:43:04 AM] Trace cBlueprintLibrary.cpp : 448 = Blueprint set not found for: Cameras\EditCamera001.xml
[RunTimeError 9:43:25 AM] Trace mdump.cpp : 381 = Dump taken

Any idea what to do for this?
User avatar
slick204
 
Posts: 537
Joined: Fri Mar 23, 2012 8:29 pm
Location: Minnesota

Re: Crash at start

Unread postby _o_OOOO_oo-Kanawha » Sat Jul 18, 2015 10:34 am

The workshop scenario was probably still installed, but is now broken or corrupt.

If you remember which route it was, go into the route folder, go to the Scenarios folder and have it sorted by date.
Delete the scenario, start Railworks and open the Workshop tab. Any missing scenarios you've subscribed to will be re-downloaded and the database recreated.

Also bear in mind there is an unknown maximum to your Workshop subscriptions. DTG have yet tot address this bug.
Edwin "Kanawha"
Image
The Chessie, the train that never was ... (6000 hp Baldwin-Westinghouse steam turbine electric)
User avatar
_o_OOOO_oo-Kanawha
 
Posts: 3231
Joined: Mon Nov 14, 2011 2:12 pm

Re: Crash at start

Unread postby slick204 » Sat Jul 18, 2015 11:05 am

Thanks for the reply. I went in and deleted the scenario folder but it still crashes. I also unsubscribed from the scenario through Steam.

I do have lots of scenarios. What's the best way to remove them? From what I've read, unsubscribing does not remove them.
Do I have to unsubscribe and then delete the folder? Either way I still can't get into the main program. !*hp*!
User avatar
slick204
 
Posts: 537
Joined: Fri Mar 23, 2012 8:29 pm
Location: Minnesota

Re: Crash at start

Unread postby Chacal » Sat Jul 18, 2015 11:12 am

Your log shows nothing wrong.
Perhaps it's time to verify local files in Steam.
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6475
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

Re: Crash at start

Unread postby _o_OOOO_oo-Kanawha » Sat Jul 18, 2015 12:45 pm

I don't think that is necessary right now.

Since you said you have taken a lot of subscriptions out, I suspect you crossed the invisible barrier and are now stuck in a dark place.

First, run NameMyRoute.exe from the Railworks folder.
It will show a list of all your routes and scenarios.
You'll find that Route Properties cannot be read, that is because the route is still packed in an .ap file. Unless you downloaded a Workshop route, you can ignore these unreadable routes. The UUID shown is the name of the folder under Content/Routes.
When you scroll through the list of scenarios, you'll probably find corrupted ScenarioProperties.xml messages.
I don't trust these corrupted scenarios so I deleted them all.
On next start and Workshop synchronisation, Steam downloaded and installed them again, many and even others still corrupted. On a next start of Railworks, it dumped out on me while "saving the scenario database". And again, and again .... !*hp*!

So I took a drastic measure, and renamed the Routes folder into Routes_broken and created a new, empty Routes folder.
This way, when you now synchronize against your Workshop subscriptions, Railworks will only download all your subscriptions, a slow process.
It should now save the scenario database, hopefully. There should be less scenarios shown by NameMyRoute.exe, as all the default and DLC ones are in the Routes_broken folder.

But now you are stuck with only a few Workshop routes you can run, all other routes are incomplete and will crash.
So I copied my install to a non-Workshop Railworks folder, where only default and DLC scenarios remained in the Content/Routes folder by deleting most of the Workshop stuff I could find. Not very useful, as many Workshop scenarios, like Elphaba's are quite good.
In the other, still broken install, I cannot play at all, the game never saves the scenario database. So I ditched all the non-US routes, and finally the game would start. Synchronizing is no good, as the database would grow and crash the game again, unless you unsubscribe from all of the non-US items.

I really don't know how to proceed, and repair my broken install. DTG needs to sort out the number of subscriptions bug or impose a limit on the number of subscriptions a player can take. Sorry that I couldn't help you.

I think the suggestion of unsubcribing from many Workshop items is a valid one. But if the actual item isn't deleted from your broken install as mentioned, it will not help.
Perhaps then, you can create a working, cleaner install by first uninstalling most or all of your routes (and perhaps DLC that come with scenarios) throught the Game Properties tab in Steam, then re-name the Routes folder, create a new empty Routes folder, re-install the uninstalled routes (and DLC) by ticking the boxes again, make a backup of the fresh Routes folder, and have Railworks synchronize against the significantly reduced number of Workshop subscriptions, and hope for the best.

Less (subscriptions) is more.
Last edited by _o_OOOO_oo-Kanawha on Sat Jul 18, 2015 1:21 pm, edited 1 time in total.
Edwin "Kanawha"
Image
The Chessie, the train that never was ... (6000 hp Baldwin-Westinghouse steam turbine electric)
User avatar
_o_OOOO_oo-Kanawha
 
Posts: 3231
Joined: Mon Nov 14, 2011 2:12 pm

Re: Crash at start

Unread postby _o_OOOO_oo-Kanawha » Sat Jul 18, 2015 1:12 pm

BTW, there is Steam Workshop Downloader web application (steamworkshopdownloader.com), but I never got it to work in my bolted down Fireworks, as it requires installation of custom user scripts and needs GreaseMonkey to run them.

You can also selectively and tediously take an newly subscribed item from Steam/userdata/xxxxxxxx/ugc/download or /referenced folder after Steam downloaded it for you and sort it into the appropriate route before starting Railworks and not going into the Workshop tab. The items there are zip files and checksummed, so how can they become corrupted?

Furthermore, the 24010_subscriptions.vdf list all of your subscriptions, I have 6237 as of today. I don't know if editing this file will bring anything.

So it seems you and me are stuck until Steam and DTG sort out the subscription maximum and corruption problem.

Anybody else with other solutions?

FIY, I have three separate independent Railworks installs: USA, UK and Europe with all the appropriate hacks and mods, and keep the default one in Steamapps/Common only for DLC collecting and Workshop subscriptions. Everything I need is copied out of that install into one of the three.
No good anymore, as the default now constantly crashes and contains different corrupted Workshop scenarios after every sync.
Edwin "Kanawha"
Image
The Chessie, the train that never was ... (6000 hp Baldwin-Westinghouse steam turbine electric)
User avatar
_o_OOOO_oo-Kanawha
 
Posts: 3231
Joined: Mon Nov 14, 2011 2:12 pm

Re: Crash at start

Unread postby peterhayes » Sat Jul 18, 2015 4:53 pm

One thing to try if the scenario database is possibly corrupted, Close TS2015/STEAM, navigate to DRIVE:\Folder\STEAM\steamapps\common\railworks\Content and rename the SDBcache.bin file and the SDBCache.bin.MD5
Reboot
Open Steam/TS2015 and a new scenario database will be built (takes time especially on a slower machine)
If the scenario db was corrupt that should fix it (Ref Gary gptech on UKTS).
pH
User avatar
peterhayes
 
Posts: 807
Joined: Sun Oct 02, 2011 12:34 am
Location: Antipodes

Re: Crash at start

Unread postby GreatNortherner » Sat Jul 18, 2015 5:01 pm

Hi,

@slick204: I was having the very same problem. It started to occur also after subscribing to a few new scenarios a couple of days ago. I went into the game, started the Profile update to download the new scenarios, during wich RW then crashed to desktop. The rest was the same as you experienced, possibly even worse. In the end the only way to get my RW back was to a complete reinstall!

That action may have been too drastic, but at least it's working again. That however also means that I don't have any idea whether it was a particular scenario or route that I had subscribed to, or whether I had hit that rumored bounday (I was at 1100+ subscriptions if I recall correctly).

Oh by the way, before reinstalling the whole game I also unsubscribed from all of the workshop stuff. A tedious process, there is no "unsubscribe all" in Steam! The closest thing there is to that is this JavaScript that I found on various gaming websites:
Code: Select all
javascript:(function(){jQuery('.btn_grey_black.btn_medium').map(function(){this.click()})})()

This must be added as a bookmark to your browser, which then can be run when viewing the "my subscribed items" page in Workshop. It'll trigger the unsubscribe button on all of the entries on the page you have open.

Cheers
Michael
User avatar
GreatNortherner
 
Posts: 1586
Joined: Sun Feb 15, 2009 11:19 am
Location: Czech Republic

Re: Crash at start

Unread postby slick204 » Sat Jul 18, 2015 9:44 pm

Thanks for all the suggestions. It looks like it's not just me. I did try renaming the SDBCache files you mentioned but it still crashed.

It looks like I will need to do a complete reinstall. *!sad!* I haven't had to do that before so I guess i need to read up. I need to take a little time off first!

Thanks again for your suggestions.
User avatar
slick204
 
Posts: 537
Joined: Fri Mar 23, 2012 8:29 pm
Location: Minnesota

Re: Crash at start

Unread postby _o_OOOO_oo-Kanawha » Sun Jul 19, 2015 2:08 am

slick204 wrote:Thanks for all the suggestions. It looks like it's not just me. I did try renaming the SDBCache files you mentioned but it still crashed.

It looks like I will need to do a complete reinstall. *!sad!* I haven't had to do that before so I guess i need to read up. I need to take a little time off first!

Thanks again for your suggestions.


Yes, read up first and take it slow and easy, one step at a time.

When you make a backup of your Content folder, everything that was there before will be saved.

Once you've got your fresh new Railworks up and running, you can selectively copy old favoute Workshop scenarios from that backup into the new Railworks. You don't need to subscribe tot them anymore. I suspect the dreaded unknown maximum bug still persists, but at least you have the situation under control.
Edwin "Kanawha"
Image
The Chessie, the train that never was ... (6000 hp Baldwin-Westinghouse steam turbine electric)
User avatar
_o_OOOO_oo-Kanawha
 
Posts: 3231
Joined: Mon Nov 14, 2011 2:12 pm

Re: Crash at start

Unread postby _o_OOOO_oo-Kanawha » Sun Jul 19, 2015 5:41 am

Here is some information from UKTS: http://forums.uktrainsim.com/viewtopic. ... 1&t=142478

I am uninstalling Railworks right now. I have made a copy of my Content folder.
Then I'll have Steam install a fresh, virgin Railworks again, sans Workshop items.

I am inclined to try the bulk unsubscribe script, and start afresh with my Workshop subscriptions.

-----------

Using the script in Firefox, it took me about 30 minutes and some 600+ mouse clicks to unsubscribe from all Workshop items, 30 at a time. Steam won't allow a greater number.
Steam is now downloading Train Simulator 2015, 45 GB compressed in 1 single item apparently. At 4 MB/s it will take at least 3 hours.

Steam has finished downloading the fresh install. Immediately running NameMyRoute.exe shows that is doesn't look into .ap files for route and scenario descriptions, not much use also. RW_Tools also ignores .ap files. So there is no way to check for file corruption other than running each scenario?

Other than that, I now have a new base to start from.

When using the Workshop again, I intend to list scenarios by route name/UUID, favourite author, type of engine etc, and download them in a bunch, unsubscribing again when Railworks is done installing them.
Last edited by _o_OOOO_oo-Kanawha on Sun Jul 19, 2015 10:26 am, edited 1 time in total.
Edwin "Kanawha"
Image
The Chessie, the train that never was ... (6000 hp Baldwin-Westinghouse steam turbine electric)
User avatar
_o_OOOO_oo-Kanawha
 
Posts: 3231
Joined: Mon Nov 14, 2011 2:12 pm

Re: Crash at start

Unread postby GreatNortherner » Sun Jul 19, 2015 6:19 am

slick204 wrote:It looks like I will need to do a complete reinstall. *!sad!* I haven't had to do that before so I guess i need to read up. I need to take a little time off first!


You may also try this -- I didn't think of it when I was in the same spot, but maybe it works and it can save you the trouble of having to download all those Gigabytes of files for a complete reinstall (took me almost two days!):

- manually delete all Scenarios folders in all routes folders (make sure you have backed up any that you have created yourself or would like to keep, RW_Tools can help you locate the folders in question)
- unsubscribe from all Workshop subscriptions
- delete cache files and all files in Railworks main directory
- run Steam Verify Cache

Possibly that works and might get you around having to also redownload all the assets and routes.

If it fails, another more drastic step might be to repeat the above process, but this time after removing the entire Content folder. That would still take much less time than a complete RW reinstall.

Cheers
Michael
User avatar
GreatNortherner
 
Posts: 1586
Joined: Sun Feb 15, 2009 11:19 am
Location: Czech Republic

Re: Crash at start

Unread postby Shaa » Tue Jul 21, 2015 2:31 pm

I had the same issue of locking up but it didn't crash so I had to ctrl-alt-del to get out. In the end I also had to delete everything and then reinstall and now it works again. This was all a few weeks ago. I went ahead and this time made a virgin copy before it downloaded any workshop stuff so that should save me time if I ever have anything weird happen again. I thought I had a lot of subscriptions at 2651 until I saw _o_OOOO_oo-Kanawha at 6237 **!!bow!!**

I have seen this issue crop up a bit now with a few of the people on steam since the last update so maybe something isn't playing well with the way our systems are set up? It isn't a large number so if it is system related who knows if it can be tracked down.
Shaa
 
Posts: 48
Joined: Sun Mar 11, 2012 9:35 am

Re: Crash at start

Unread postby slick204 » Fri Jul 31, 2015 6:26 pm

I need to update this thread. After backing up my Railworks folder in preparation for a full reinstall I decided to try one more thing.

There were 6 scenarios I had subscribed to and not run so I decided to unsubscribe to them and delete them from the scenarios folders, with the help of RWTools (Thanks Mike!).
After I did that I went to rename the scenario data base as suggested above. I had already done this once but when I went back to do it again I found the files weren't named SDBCache.bin and SDBCache.bin.MD5 but RVDBCache.bin and RVDBCache.bin.MD5. I don't know why.
I then ran Railworks and after a long time at the "Loading Scenario Database" screen (I could see the hard drive light blinking so I knew it hadn't crashed), it ran!

I now have both SDBCache.bin, SDBCache.bin.MD5 and RVDBCache.bin and RVDBCache.bin.MD5.

I hope this will help anyone that runs into this problem. Thanks again for all the help. *!!thnx!!*
User avatar
slick204
 
Posts: 537
Joined: Fri Mar 23, 2012 8:29 pm
Location: Minnesota

Re: Crash at start

Unread postby _o_OOOO_oo-Kanawha » Sat Aug 01, 2015 2:31 am

slick204 wrote:I need to update this thread. After backing up my Railworks folder in preparation for a full reinstall I decided to try one more thing.

There were 6 scenarios I had subscribed to and not run so I decided to unsubscribe to them and delete them from the scenarios folders, with the help of RWTools (Thanks Mike!).
After I did that I went to rename the scenario data base as suggested above. I had already done this once but when I went back to do it again I found the files weren't named SDBCache.bin and SDBCache.bin.MD5 but RVDBCache.bin and RVDBCache.bin.MD5. I don't know why.
I then ran Railworks and after a long time at the "Loading Scenario Database" screen (I could see the hard drive light blinking so I knew it hadn't crashed), it ran!

I now have both SDBCache.bin, SDBCache.bin.MD5 and RVDBCache.bin and RVDBCache.bin.MD5.

I hope this will help anyone that runs into this problem. Thanks again for all the help. *!!thnx!!*


The SBDCache.bin are re-created every time you start Railworks. I suppose it parses all the scenarioproperties.xml files from the Routes folder into one scenario database. The .xml data structure is very fiddly, so broken files could break the parsing causing the game to crash without a helpful error message.

My Steam install still sufferes from the Workshop scenario corruption. With Logmate running while the Profile -> Workshop tab is open, one can see the corruption messages pass by. Like I concluded before, the scenario .zip files from the referenced folder are error free, it is the unpacking by Railworks that is causing the corruption. I have taken out some 400 subscriptions of US routes, my main Railworks interest.
Edwin "Kanawha"
Image
The Chessie, the train that never was ... (6000 hp Baldwin-Westinghouse steam turbine electric)
User avatar
_o_OOOO_oo-Kanawha
 
Posts: 3231
Joined: Mon Nov 14, 2011 2:12 pm

Next

Return to Problems and Peculiarities

Who is online

Users browsing this forum: No registered users and 3 guests