Does ECML London to Peterborough have quick drive enabled. I noticed this morning it's absent from the menu with the quick drive tab selected. I'm convinced I've just used quick drive with this route before, but I'm starting to doubt myself now, and wondering if I've just had a senior moment LOL. Thanks
Should really be pinned... In case of missing scenarios, especially QDs, delete RailWorks\Content\SDBCache.bin and everything will reappear magically
Doh!.. Sorry... I'd forgotten all about that. All is well now. You're right though, it should be a sticky.
I reckon you should create a new thread titled something like "A Solution for missing Scenarios" so google bots and the like will pick it up and also regulars here will see it for what it is by the title too then we ask the DTG staff to pin that. Edit: I even have an image (which you can use if you wish) as it gets asked so often on Facebook too. (I've always advised people to delete both the above files as that's what was advised to me many moons ago)
I don't know for sure the .bin.MD5 file does or affects anything and at only 1kb I doubt it has that much of an influence on the issue getting resolved (as you yourself now know just deleting the .bin works) it's just what I was told to do and have always done so that's why I've always advised the same, Torf probably knows more about it.
I must try this fix too: on picking up TS again after a few months off, I too was wondering if there were fewer routes appearing in some of the menus than I had recalled.
You can delete the .MD5, but you don't actually need to. It is just the checksum of the SDBCache.bin and will be updated automatically.
I just responded a thread in Technical Reports, essentially the same. Someone with bravery should talk to DTG Alex as they were discussing priorities. The problem must be in nature similar to SQL Injection, some kind of data error in turn creating format errors and somesuch. Should add validation and sanitisation. With a possible info box that some of your content is broken, this and this specifically. My install is steady for 1.5 years now. Apart from workshop, possibly bogus 3rd party content can also break it, I guess.
how can i add routes to routes menu,, some of them aren't showing? i have scenarios for them wcml phase4
Are you looking in the correct place? When you go to the drive menu it could be under any of 4 tabs Quick Drive, Career. Standard & Free Roam Go in to Build it see if the Scenario you are looking for is there and which category it is in
Don't think there's a way for the system to recognize something's missing from the cache. Therefore it would neet to compare it with the career.xml and all scenarios present. Which is just what happens when you delete the cache (which is technically not corrupt - just missing entries for some reasons, mostly related to scenario editing, deleting and crashes.)
That's retroactive. Difficult indeed. Maybe not really though, as whenever installing stuff, the game picks it up, so I'm assuming it just breaks and cannot recover. When starting the game, it reads the entire structure. It's more of a cache throughout the session. Could even just be in-memory. What I'm thinking about is preventing the problem. Like when the workshop extract goes wrong, it somehow inserts garbage characters into the stream, which makes the (scenario properties) xml invalid. Not sure why the bin is less affected, but anyway. But let's assume it's not an actual xml, just looks like one. So the crawler now reads its metadata including faulty guids, and without any check, inserts into the scenario database. Which is now corrupt as well. So when it's read the next time, things go south and it stops reading halfway. Or completely crashes the process. Both can happen. In my case it was fairly deterministic. So what can I do as a dev? Validate. Reading a scenario, is the ID valid? Does it contain Tabs and Zeros? Is it well formed? Does it match folder name? If bogus, add a placeholder to the cache instead. Add a filter to the scenario list about these. Some of these can be fixed, such as reextracting ONE workshop scenario per game start, if its file is still in the workshop incoming folder. Just random thoughts, but I'm sure any actual dev can think it through. Maybe in the original design it didn't make sense to check, it wasn't priority, given all content was installed from a CD/DVD but clearly by now it's funny. I've come across a lot of failing code over my time, some were terrible but more often just careless, missing edge cases. It's what a lot of testing courses talk about - confirm & reproduce & test, fix, verify.
yh,the route and scenarios show in build ,but not in the route selection: it shows in career but not standard? i can find it if i scroll down
That can happen, if the route doesn't have standard / timetabled scenarios. The tabs at the top are scenario type filters. There are five: Quick Drive, Career, Standard, Timetabled, Free Roam.
yh,but there are standard scenarios. why does it only show in QD and career? can i make it show in Standard aswell(to save scrolling)
Take a Screen Shot in Build > Scenarios of the Standard Scenarios you have but are not showing. And what does yh mean?
Means Yeah. So he meant "sure, but it does have them, not showing though, why?". By the way, I have one route - Koblenz-Trier - which doesn't have appropriate filter strings, so while it does show normally, I couldn't find the scenarios once I typed stuff like Trier. Stuff like that could also affect the route filter. Also, if you select a loco, it filters the routes. Also the other way around. It's a bit messy so I never ever use it, just the text filter. In any event, it looks like a possible issue with a 3rd party product, so ask them first. Or extending on Peter's question, create a short video of how you're trying to find them. Screenies are fine but we're all prone to omit details which eventually turn out to be important. Every single click.
https://imgur.com/a/F7AElOe these don't show up unless scroll . i can't select route itself-see post#15
Make sure to try searching for them without that thumbnail thingie. Or just 1Y07 as that's a segment one of the scenarios contain. A fresh game start should have all filters off. So basically, what happens, if: Start the game Press Drive Switch to Standard Tab Scroll the list to where this route should be (sorted alphabetically by routes) Type 1Y07 in the top right search box Type West Coast (without the quotes) in the top right search box (replacing 1Y07) Something must be truly off for all of these scenarios to fail the filters, not impossible though. You can also restore the non-thumbnail state by removing the filter icon in the bottom right of each thumbnail. Something I only know because someone pointed it out. Hence my first step above.
A scenario does not show up in the filtered list when: 1. The player loco is not specified in the ScenarioProperties.xml's <FrontEndDriverList> which is true for some older scenarios 2. The scenario is of "Relay" type. (Convert with TSTools or access from Build menu) 3. The database is incomplete - in this case delete SDBCache.bin
Cool, now we're getting somewhere! Happy that it works for you as a workaround, at least. Also, I have a practical experience that might help shed some light on it. I do have two old German packs installed, Freight and E18. The Hagen-Siegen scenarios do show up just fine (including timetabled as of late), but the Seebergbahn ones do not - since I do not have the route. The tricky part is, when I search using the box, they do. Which is obviously a bug, filtering the raw list upon typing instead of chaining the filters (which is obvious when you search in career and switch to standard). This might be your case, too - the game filtering out your scenarios for some reason, however the text filter ignores that. As for selecting from the thumbnails, I don't know how that works and I generally wouldn't recommend that. It also tends to interact with the loco selection, which might be involved. I understand the team is going to replace the UI because the framework used is out of support now.