I found an issue with the NS Alabama Division Birmingham route File ID 73234. One of the activities (Around the Loop) includes train paths that have a space at the beginning of the name in the *.pat file. But Windows truncates/removes that space automatically. So ORTS generates an error saying there is a missing path. I tried running the auto-repair function of TrackViewer, but that doesn't fix it. I also tried opening the *.pat file in a text editor and manually removing the space from that one line, but that also doesn't fix it. I really think this is just a typo on one line in the .pat file, because it doesn't appear that way on every line of that file. But this is not my area of expertise. What is the fix?
Fixing a broken train path
Collapse
X
-
I have the Route and checked my copy, found the same with three paths, both the 'Around The Loop A1 & 2' paths and 'Eastern Parts Player.' Removed the space in the file no problem, but Windows would not allow removing it from the file name, as it was the same. More Sh@#. So I tried deleting the space and first letter, and saved which worked, and then readded the First letter without the space. Now going to test run see if they work in OR. Had run them in MSTS without issue before, but never tried them in OR. Will post my results later.Geary "Mr. Hart" Gerhardt - Owner and CEO of Hart Rail Lines, Hart Commuter Railways, and Hart Rail Cars. Also the defunct Hart Electric Transit.
Its Your Train Sim World, sim as you please. -
Hi yellowdog,
They are not broken paths, which is why TrackViewer can't do anything about them!! The entries in the Service and Path files require correction :
Service : Around the Loop AI 1.srv - change line 7 from - PathID ( " Around the Loop AI 1" ) - to read PathID ( "Around the Loop AI 1" )
Service : Around the Loop AI 2.srv - change line 7 from - PathID ( " Around the Loop AI 2" ) - to read PathID ( "Around the Loop AI 2" )
Service : Eastern Parts Player.srv - change line 7 from - PathID ( " Eastern Parts Player" ) - to read PathID ( "Eastern Parts Player" )
Path : Around the Loop AI 1.pat - change line 24 from - TrPathName ( " Around the Loop AI 1" ) - to read TrPathName ( "Around the Loop AI 1" )
Path : Around the Loop AI 2.pat - change line 24 from - TrPathName ( " Around the Loop AI 2" ) - to read TrPathName ( "Around the Loop AI 2" )
Path : Eastern Parts Player.pat - change line 58 from - TrPathName ( " Eastern Parts Player" ) - to read TrPathName ( "Eastern Parts Player" )
Summary : In each case, the space following the left-hand quotes character is to be removed.
My utility MSTS_ActMan v4.1 (file ID 88402) would have helped you with this problem, although it won't correct them !!
There also appears to be some stock and consists missing.
Cheers,
GedLast edited by slipperman; 04-12-2024, 12:03.Comment
-
Thanks slipperman - I missed the Path enteries.
Making these changes and changing the Service File names - both activities run fine.Service : Around the Loop AI 1.srv - change line 7 from - PathID ( " Around the Loop AI 1" ) - to read PathID ( "Around the Loop AI 1" )
Service : Around the Loop AI 2.srv - change line 7 from - PathID ( " Around the Loop AI 2" ) - to read PathID ( "Around the Loop AI 2" )
Service : Eastern Parts Player.srv - change line 7 from - PathID ( " Eastern Parts Player" ) - to read PathID ( "Eastern Parts Player" )
Path : Around the Loop AI 1.pat - change line 24 from - TrPathName ( " Around the Loop AI 1" ) - to read TrPathName ( "Around the Loop AI 1" )
Path : Around the Loop AI 2.pat - change line 24 from - TrPathName ( " Around the Loop AI 2" ) - to read TrPathName ( "Around the Loop AI 2" )
Path : Eastern Parts Player.pat - change line 58 from - TrPathName ( " Eastern Parts Player" ) - to read TrPathName ( "Eastern Parts Player" )
However, something I missed when running in MSTS:
Open Rails 2024-04-12 02-11-07.jpg
EDIT NOTE: Figured it out, .trk file - changed MilePostUnitsKilometers to miles. 😋Last edited by oper190; 04-12-2024, 13:03.Geary "Mr. Hart" Gerhardt - Owner and CEO of Hart Rail Lines, Hart Commuter Railways, and Hart Rail Cars. Also the defunct Hart Electric Transit.
Its Your Train Sim World, sim as you please.Comment





Comment