Page 1 of 2
Can't find shader message

Posted:
Tue Jan 30, 2018 2:44 pm
by frankenthal
After start up gets message;
ERROR: Could not find shader TrainBumSpecEnvMask.fx
FILE: DxCommon\cHcEffectMaterialDx.cpp
LINE:1181
Any ideas?
Re: Can't find shader message

Posted:
Tue Jan 30, 2018 3:04 pm
by wacampbell
Somewhere in your asset folder there is a .geopcdx file with an invalid shader name entry. The shader name should be:
TrainBumpSpecEnvMask.fx
not
TrainBumSpecEnvMask.fx
Did you recently add some new content or modify something?
Re: Can't find shader message

Posted:
Tue Jan 30, 2018 4:00 pm
by frankenthal
Seems like I have a lot of trail and error searching ahead of me. I added something but I don't remember what? Can the geopcdx file be edited, If s with what?
Re: Can't find shader message

Posted:
Tue Jan 30, 2018 4:23 pm
by buzz456
Just do a search for the offending file and see what comes up. Search your whole asset folder.
Re: Can't find shader message

Posted:
Tue Jan 30, 2018 6:24 pm
by frankenthal
Thanks for the info, I looked at a few of the files that I d/l around the time it started but I don't remember exactly or which I installed at that time. The files I looked in were spelled correctly and of course there's no way I can read all the geo files, so I guess I'll just have to accept the loss and call it a wrap.
Re: Can't find shader message

Posted:
Tue Jan 30, 2018 7:11 pm
by buzz456
Re: Can't find shader message

Posted:
Tue Jan 30, 2018 7:58 pm
by wacampbell
frankenthal,
I am beginning to wonder if you copied the error message down right in your first post. Please double check that you have it exactly right, or even better, post a screenshot.
And can you tell us more about when the problem occurs. Is it only for certain scenarios, or for certain routes, or does it happen before you even get to the main menu? Has it always done this, or did it just start? Again more info will help.
You mentioned installing something new - what did you install? where did you get it?
Wayne
Re: Can't find shader message

Posted:
Wed Jan 31, 2018 4:44 am
by frankenthal
Yes I did mistype and I didn't catch the attachment wasn't there, sorry about that. Either way I did a search as instructed and I'm still at the end of the road. I did a clean re-install and yes it's in the assets I just don't remember what was the last file I installed before it crashed. I have the original Assets separate and did the search but nothing came up.
Re: Can't find shader message

Posted:
Wed Jan 31, 2018 10:02 am
by wacampbell
> Yes I did mistype
OK, that explains a bit. My responses and comments above about a bad .geopcdx are not valid. I am not sure whats happening.
Re: Can't find shader message

Posted:
Wed Jan 31, 2018 5:54 pm
by buzz456
From what I can find I think something might be messed up in your DirectX.
viewtopic.php?f=62&t=15452See if that helps you.
Re: Can't find shader message

Posted:
Sun Apr 01, 2018 4:23 am
by frankenthal
Logmate:
[RunTimeError 11:59:50 AM] Trace mdump.cpp : 422 = error handlers have been set
[Content 11:59:50 AM] Trace cBlueprintLibrary.cpp : 417 = Blueprint set not found : Kuju, RailSimulatorCore
[Content 11:59:50 AM] Trace cBlueprintLibrary.cpp : 448 = Blueprint set not found for: Cameras\EditCamera001.xml
[RunTimeError 11:59:59 AM] Duplicate Scenario GUID in SerializeDatabase
[RunTimeError 11:59:59 AM]
[RunTimeError 11:59:59 AM] ASSERT(mScenarioMap.find( scenario->getScenarioID() ) == mScenarioMap.end());
[RunTimeError 11:59:59 AM]
[RunTimeError 11:59:59 AM] cScenarioDatabase::SerializeDatabase()
[RunTimeError 11:59:59 AM]
[RunTimeError 11:59:59 AM] cScenarioDatabase.cpp : 1231
[RunTimeError 11:59:59 AM] Duplicate Scenario GUID in SerializeDatabase
[RunTimeError 11:59:59 AM]
[RunTimeError 11:59:59 AM] ASSERT(mScenarioMap.find( scenario->getScenarioID() ) == mScenarioMap.end());
[RunTimeError 11:59:59 AM]
[RunTimeError 11:59:59 AM] cScenarioDatabase::SerializeDatabase()
[RunTimeError 11:59:59 AM]
[RunTimeError 11:59:59 AM] cScenarioDatabase.cpp : 1231
[RunTimeError 11:59:59 AM] Duplicate Scenario GUID in SerializeDatabase
[RunTimeError 11:59:59 AM]
[RunTimeError 11:59:59 AM] ASSERT(mScenarioMap.find( scenario->getScenarioID() ) == mScenarioMap.end());
[RunTimeError 11:59:59 AM]
[RunTimeError 11:59:59 AM] cScenarioDatabase::SerializeDatabase()
[RunTimeError 11:59:59 AM]
[RunTimeError 11:59:59 AM] cScenarioDatabase.cpp : 1231
[RunTimeError 12:00:01 PM] Can't find route properties
[RunTimeError 12:00:01 PM]
[RunTimeError 12:00:01 PM] cDatabase::loadScenarioProperties()
[RunTimeError 12:00:01 PM]
[RunTimeError 12:00:01 PM] cDatabase.cpp : 1125
Re: Can't find shader message

Posted:
Thu Apr 05, 2018 8:33 pm
by Chacal
These errors in the log are a known cause of problems, although they may be unrelated to your shader problem.
See this to learn how to find duplicated scenarios:
http://railworksamerica.com/index.php/l ... dup_script
Re: Can't find shader message

Posted:
Sat Apr 28, 2018 4:17 pm
by frankenthal
Nope! Still working on what might have been d/l'd that caused the problem. I can load all but one route and that happens to be the route I loaded something and everything checks out.
Re: Can't find shader message

Posted:
Mon May 28, 2018 8:59 pm
by frankenthal
After months of trail and error I think I struck gold! I cloned the effected route and then opened up the RoutProperties.xml. All the P/P's happened to be in order of the last install to the route. So with this I took note the some of the products and cut them out of the xml and saved the started the game. I did them in groups of 5 and on the third round I narrowed it down I now I don't get the error message anymore.
<iBlueprintLibrary-cBlueprintSetID d:id="725440576">
<Provider d:type="cDeltaString">RSC</Provider>
<Product d:type="cDeltaString">SD40HnPack01</Product>
</iBlueprintLibrary-cBlueprintSetID>
<iBlueprintLibrary-cBlueprintSetID d:id="725440584">
<Provider d:type="cDeltaString">RSC</Provider>
<Product d:type="cDeltaString">SD40BnsfPack01</Product>
</iBlueprintLibrary-cBlueprintSetID>
<iBlueprintLibrary-cBlueprintSetID d:id="725440592">
<Provider d:type="cDeltaString">RSC</Provider>
<Product d:type="cDeltaString">SD40BnPack02</Product>
</iBlueprintLibrary-cBlueprintSetID>
Re: Can't find shader message

Posted:
Tue Jul 24, 2018 12:07 pm
by Chacal
Now I feel bad because this is a known fix for broken routes. We even have a tutorial about it:
http://railworksamerica.com/index.php/l ... -in-ts2013But the "shader" error message was not suggesting a problem with a route.