Load Error tests ok Version 3220
#1
Posted 18 August 2015 - 04:54 PM
I've closed and restarted the main window and yet the same odd conditions apply.
Is there anything I can do to clear this anomaly on my own?
#2
Posted 18 August 2015 - 09:47 PM
#3
Posted 19 August 2015 - 08:54 AM
ATW, on 18 August 2015 - 09:47 PM, said:
No, but the edits have been extensive and such an error did occur -- and was corrected. The problem is the Test function has no problem running the activity but the game itself won't.
I've also found the same problem in a different directory tree, different route, different locomotive. In the later case it was a type... an include referenced a filename using a 1 instead of a 4. The typo was corrected, the file is there, but the game continues to report a problem as cannot locate a filename with a 1 in it.
#4
Posted 22 August 2015 - 05:55 PM
The .eng file: Include ( "..\\Common_Model_Stds\ALCO_S2_Stds_Allen_Norton_Model\S2_Locomotive_Specs.inc" )
I don't see anything wrong as the file exists as named and located. Is the full path longer than OR expects?
#5
Posted 22 August 2015 - 06:23 PM
Genma Saotome, on 22 August 2015 - 05:55 PM, said:
The .eng file: Include ( "..\\Common_Model_Stds\ALCO_S2_Stds_Allen_Norton_Model\S2_Locomotive_Specs.inc" )
I don't see anything wrong as the file exists as named and located. Is the full path longer than OR expects?
MSTS chokes on more than 30 characters. ALCO_S2_Stds_Allen_Norton_Model is 31 characters.
Actually MSTS truncates so ALCO_S2_Stds_Allen_Norton_Model becomes ALCO_S2_Stds_Allen_Norton_Mode in MSTS.
#6
Posted 22 August 2015 - 08:20 PM
#7
Posted 22 August 2015 - 08:27 PM
"..\\Common_Model_Stds\ALCO_S2_Stds_Allen_Norton_Model\S2_Locomotive_Specs.inc"
Notice how there's two backslashes at the beginning but only one for all the others? I just fixed a sound config today that I made a similar error in some years ago. Your line should read either:
"..\Common_Model_Stds\ALCO_S2_Stds_Allen_Norton_Model\S2_Locomotive_Specs.inc"
or
"..\\Common_Model_Stds\\ALCO_S2_Stds_Allen_Norton_Model\\S2_Locomotive_Specs.inc"
#8
Posted 23 August 2015 - 06:02 AM
#9
Posted 23 August 2015 - 09:47 AM
James Ross, on 23 August 2015 - 06:02 AM, said:
I tried that and nothing changed. I also tried single \ everywhere as well as removing the leading and trailing quotes. In all cases the constructed path as shown in the error data had the leading pair of .. characters present and after that no \ anywhere.
I expect it is a simple error to correct... I'm just not seeing what it is. Oh, wait... this is the first time I'm using an include statement that describes two directories within the statement. Could that be what's causing this?
Do you want a copy of the files?
#10
Posted 23 August 2015 - 02:07 PM
Genma Saotome, on 23 August 2015 - 09:47 AM, said:
I expect it is a simple error to correct... I'm just not seeing what it is. Oh, wait... this is the first time I'm using an include statement that describes two directories within the statement. Could that be what's causing this?
Do you want a copy of the files?
It should definitely be double backslashes, and the error exactly matches up to the version you quoted. Certain the file you're editing is the one OR is reading? Nothing else matches up with the error given and the alternate forms you mention should not be producing the same thing. It's very unlikely to be anything to do with the number of directories in the include (if it is, it's probably a general parsing problem and not specific to include).