ALL my content gone after BSOD?

nicky9499

SSoTW Bot
Yesterday night I installed some new freight cars from the JR site when a bunch of them started showing up with red text in-game. I started an EDR but got halfway through (until the content folders part) when a BSOD occurred and this has never happened before. After restarting the computer and Trainz, understandably it wanted to do the whole "Updating Trainz Content Asset Database" thing. This time it did it, twice.

So the next day when all is said and done I started Trainz again to find NOTHING except the built-in content. Goddamned NOTHING.

I start CMP to find that ALL my custom content filters are GONE. Nothing is showing up either, it's just doing that stupid TrainzUtil content_validate stuff and it's just going on forever. I have automated weekly backups of the UserData folder but the local copy appears to be intact (because it's still counting gigabytes value after I right clicked it 10 minutes ago). Also I did a significant amount of work in Trainz this past few days.

Has anyone else encountered such a problem before?
 
Okay, CMP finished it's content_validate business about 4 hours later and all content appears to be back. However and inexplicably, a large chunk of rolling stock is marked faulty, rendering almost all my consists faulty as well and I'm unable to make any further progress on sessions (because the missing trains will be deleted on save). Trying yet another EDR now.
 
Revalidate the faulty items by right click show errors and warnings, that should sort it and is quicker than an EDR, I would however be concerned about what caused the BSOD.
 
This has never happened before. In fact the only other BSOD that occurred this year was cause by me overclocking the graphics card. And even so it turned out to be a faulty one and everything was fine after sending it for RMA. This BSOD screen mentioned a "win32k.sys" and I looked it up but have so far found no solution. Event logs also didn't have any record of any strange stuff before the time of BSOD. For the first time I made an effort to locate the dump and minidump files, but couldn't open its contents.
 
Okay, CMP has completed its EDR after a whopping 9 hours aaaaaand, everything is still broken. There's probably hundreds of traincars that are broken, so there's no way in hell I'm going to fix these one by one. I picked two, at random, and checked for Errors and Warnings, with the following results:

Warning: This asset uses an obsolete trainz-build number. Trainz-build numbers below 2.7 are no longer supported.
Warning: Required container 'thumbnails' is missing.

Warning: This asset uses an obsolete trainz-build number. Trainz-build numbers below 2.7 are no longer supported.
Warning: This asset requires a shadow mesh, but the mesh table does not contain one.

I would've tried to open more assets to find more errors and present them here, but then at this point I cannot search for any more because CMP decides to pull the TAD_CMDHOST_VALIDATE **** on me again. Wh...what..why....I don't...w..

Why would it want to do that???!
mad.gif
danger.gif
frus.gif
slant.gif
I gave it NINE FREAKING HOURS (read: NINE. HOURS.) to sort out whatever **** it had to, pray tell why on earth would it do this to me? This CMP is the digital equivalent of an employee so fiendish and recalcitrant you'd not only sack his ass with no severance pay, you'd publish a warning letter to the business community so caustic that he'll never ever get employed again for the rest of his life.


Anyway, I digress.

Equally puzzling is that all these traincars were in perfectly good order before the BSOD. Why would it all be inexplicable broken now? I haven't installed new content, I haven't modified any content. I haven't touched a single thing except trying to repair the database. Why would content be broken because of a build number and a silly thumbnail? Even better, why would the same content with and old build number and no thumbnail be working perfectly fine one moment and broken the next?
 
Last edited:
The BSOD on win32.sys is a generic BSOD. Usually when this happens, there is no chance to write any memory.dmp file or anything else in the event viewer. This is indicative of a more serious issue with your computer. The problems can be caused by numerous issues and since you're an overclocker, or at least OC's your video card, I would seriously start checking for thermal conditions and component instability.

I would run Mem Test on it and see if that finds any bad memory for starters. Your memory maybe unstable or outright faulty. CM will use a lot of resources and may have hit the not so sweet spot in your RAM causing the crash. After that check your hard drive for errors by running chkdsk /f /r to fix clusters and repair any faulty sectors by moving the data. (This needs to be run from an Administrator-level command prompt then followed by a system reboot. WARNING: Ensure you have a backup first and this can take some time.

Check that your machine is not overheating. CM and Trainz can cause your machine, CPU, RAM, etc. all the parts to work harder. You live in an Equatorial region, or pretty far south and it's very warm this time of year. This can add insult to injury should your machine be already compromised.

As far as the faults go, many of them are easy repairs. View the errors and warnings and you'll see that many items are missing thumbnails or have an incorrect tag in the config.txt. Ignore the warnings for now as they don't do anything at this time. The repairs will take about 20 secs if that per asset.

John
 
To backup what John is saying, backup your local folder and then concentrate on solving any hardware problems first, otherwise you could find yourself having to run EDR's etc all over again and again.

Broken stuff that wasn't before has probably now got the locally modified indicator, check if you can revert to original on any of them?
 
Hi John,

Thank you for your advice. Temperature wise, there's the Core Temp app at the corner of my second screen showing continuous readings from the CPU and it sits around 40~50*C during normal usage. The Powercolor HD7850 PCS+ is 45*C idle, 70~80*C when gaming. I sent it in for warranty once and got back a new one which has proved to be reliable under long periods of gaming. Overheating is unlikely to be a problem, seeing I've had aftermarket heatsinks installed and the case itself (Corsair C70) is big and airy and has been well-configured for a bottom-up positive pressure airflow. I'll carry out the Memtest checks, chkdsk and post back anything I find.

Regarding content repairs, as I've said before I refuse to fix them one by one for two reasons: there's too many of them and god knows when CMP will throw a tantrum and decide to break them all again sometime.


Hi Malc, at this point in time I am unable to do jacksh1t with CMP due to reasons stated above. When it does decide to stop playing the fool I will try your revert suggestion and see how that goes.
Edit: I held down control-C on a couple dozen of the damned TrainzUtil windows and now content shows up. With the filters: Local and Faulty=true, there's 3068 of them. I was unable to revert most assets if they were individually selected. However I tried control+A, and now the Revert To Original option is no longer grayed out, so I click that. Alot of it looks like this:

Message: <kuid:64819:28001> was not reverted to its original state as we don't have a local copy of the original
Message: <kuid:64819:28001> reverted
Message: <kuid:64819:28006> was not reverted to its original state as we don't have a local copy of the original
Message: <kuid:64819:28006> reverted

However once this is done I apply the same filter and get 3068 results. In other words, it's like nothing happened.
 
Last edited:
I've been reading this thread with interest.

Regarding the broken content issue, it's likely you've had a false positive issue which quite often happens after an EDR.

Easiest way of dealing with that is to select the lot, right - click, then use View Errors and Warnings. All being well, the red ! marks should disappear.

Regarding overclocking, this is not a good idea in most cases unless you know exactly what the limits are and have sufficient cooling inside the system.

Shane
 
Content is probably OK, it will be the database that's got itself out of sync or corrupted due to the crash.
With a bit of luck when its finished validating the problem might be solved.

as Shane says you can select all the affected items and show errors and warnings in one go, no need to do individually, same with revert to original.

Standard Windows method for selecting works.
 
Last edited:
I was having my fingers crossed, with it taking so long and all. In the end we have 20682 error and 16777 warnings, applying the Local and Faulty=True filter turns up 2998 results.

Out of curiosity I went to look for known-good assets. Namely, my JointedRail payware locomotives which I has happily driving not more than two hours before the crash.

Warning: This asset uses an obsolete trainz-build number. Trainz-build numbers below 2.7 are no longer supported.
Warning: Progressive meshes are no longer supported by Trainz. Though these meshes may work in Trainz, it is recommended that you switch to a LOD mesh.
Warning: Progressive meshes are no longer supported by Trainz. Though these meshes may work in Trainz, it is recommended that you switch to a LOD mesh.
Error: Unable to load mesh file: 'bnsf_dash9_shadow\bnsf_dash9_shadow.pm'
Warning: Required container 'thumbnails' is missing.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_1a.tga' for texture file 'bnsf_dash9_body/digit_1a.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_1a.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_1b.tga' for texture file 'bnsf_dash9_body/digit_1b.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_1b.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_1c.tga' for texture file 'bnsf_dash9_body/digit_1c.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_1c.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_2a.tga' for texture file 'bnsf_dash9_body/digit_2a.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_2a.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_2b.tga' for texture file 'bnsf_dash9_body/digit_2b.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_2b.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_2c.tga' for texture file 'bnsf_dash9_body/digit_2c.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_2c.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_3a.tga' for texture file 'bnsf_dash9_body/digit_3a.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_3a.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_3b.tga' for texture file 'bnsf_dash9_body/digit_3b.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_3b.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_3c.tga' for texture file 'bnsf_dash9_body/digit_3c.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_3c.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_3d.tga' for texture file 'bnsf_dash9_body/digit_3d.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_3d.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_4a.tga' for texture file 'bnsf_dash9_body/digit_4a.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_4a.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_4b.tga' for texture file 'bnsf_dash9_body/digit_4b.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_4b.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_4c.tga' for texture file 'bnsf_dash9_body/digit_4c.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_4c.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_4d.tga' for texture file 'bnsf_dash9_body/digit_4d.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_4d.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_5a.tga' for texture file 'bnsf_dash9_body/digit_5a.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_5a.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_5b.tga' for texture file 'bnsf_dash9_body/digit_5b.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_5b.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_5c.tga' for texture file 'bnsf_dash9_body/digit_5c.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_5c.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_5d.tga' for texture file 'bnsf_dash9_body/digit_5d.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_5d.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_6a.tga' for texture file 'bnsf_dash9_body/digit_6a.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_6a.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_6b.tga' for texture file 'bnsf_dash9_body/digit_6b.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_6b.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_6c.tga' for texture file 'bnsf_dash9_body/digit_6c.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_6c.texture.txt'.
Error: Unable to load primary texture 'bnsf_dash9_body/digit_6d.tga' for texture file 'bnsf_dash9_body/digit_6d.texture.txt'.
Error: Binary conversion failed for texture resource 'bnsf_dash9_body/digit_6d.texture.txt'.


Well that didn't go too well.
 
Last edited:
GOOD NEWS!
The Dacia Sand...oh wait.

Ah, yes, the other good news. Much stuff has been fixed!
Okay, so I remembered a long time ago, one of the Jointedrail F7s just stopped working for no reason at all. After digging through a few layers of dependencies, each one citing an error with a sub-dependency, I finally found that it was some built-in thing that was faulty. So I did a Revert To Original and presto, the F7 works again.

So I did the same thing here, except I applied the Builtin=True filter (yep all 16664 assets) and did another Revert To Original. It took a good while, but strangely, afterwards there were even more faulty assets (3022). However all of my consists show up as intact and free of errors, so I won't bother myself with the rest.
 
I had something like that with trainz 2010 I guess it was I was playing trainz 2010 and this was when hurricane sandy hit but anyways sandy was technically right on top of us and then we lost the power and when the power came back on three hours later I got the blue screen saying windows did not shutdown safely I noticed that all my content in trainz 2010 and all my built in assets had turned faulty so I don't know how to fix this
 
I don't know what your point was but in case you haven't heard, I got back all my consists by selecting all built-in content and Revert to Original. CMP content filters, however, were lost.
 
"Revert to Original" only works when the asset is marked as "Locally Modified" (green triangle).

If an asset is faulty and built-in but does not have a green triangle, you may have to reinstall from scratch as the content was probably damaged.
1) Back up the folders ~/userdata/original and ~/userdata/local.
2) Uninstall TS12 using the uninstallers.
3) Use CCleaner to clean up the obsolete registry entries.
4) Reinstall TS12. Do an EDR after installing the software and after each patch.
5) Revalidate content as needed.​
 
Back
Top