I'm Perplexed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kent-2
    Member

    • Oct 2020
    • 55
    • Washington State

    #1

    I'm Perplexed

    I recently purchased and downloaded two joined routes from TrainSim.ch; Gotthard Pass 1 and Gotthard Pass 2. Installing these routes was rather tricky* but I now have Gotthard 1 running quite well in OpenRails. However, I am unable to operate Gotthard 2. OpenRails displays this message:

    "Open Rails detected a track shape index 22039 which is not present in tsection.dat and cannot continue.
    The version of standard tsection.dat may be out of date, or this route requires a custom tsection.dat. Please check the route installation instructions to verify the required tsection.dat."

    I have re-read all English guides and manuals that came with these routes, and I found no mention of tsection.dat at all, much less any direction to update or customize the file. I have opened tsection.dat in a text editor and see no entry sounding anything like a "track shape index." I also asked TrainSim.ch for help, but they merely advised that they have no updated version of tsection.dat. And yes, I have tried using more recent versions of tsection.dat found in this site and elsewhere. Still the same error.

    I am now at a complete loss and hope someone here can offer a helpful idea or two. Thank you!

    ______________
    * Mostly Extraneous Notes: The Gotthard Pass routes were intended to run under MSTS, and both want to install in the default folder for that simulator. In keeping with some advice I have seen from several sources, I installed MSTS and ORTS together in a separate location (C:\RRsims). In order to keep the Gotthard routes happy, I installed a second copy of MSTS in its default directory ("Microsoft Games"). I then installed the two routes but later moved them to my original installation of MSTS. The last step was to uninstall the second copy of MSTS. Whew. BTW, I place all routes in the MSTS Routes folder, even though I usually run with OpenRails. This seems to work well, as it does for Gotthard 1. Also, Gotthard 1 has a different, and smaller, tsection.dat than does Gotthard 2. They are not interchangeable, however - I tried.

    Attached for reference is a copy of the OpenRails Log generated when trying to run Gotthard 2.
    Attached Files
  • slipperman
    3500 Post Veteran



    • May 2010
    • 3787
    • Worksop, UK
    • MSOR

    #2
    Hi Kent-2,
    Just for your information, The tsection.dat file referred to is that in the GLOBAL folder. You must never mess with the tsection.dat files in any route folder as they are unique to it.

    I cannot offer any help regarding the Gotthard Pass routes because I don't have them. What do you actually mean by 'joined' ? Is one an extension to the other (much like the UK East Coast Express route was available in parts) ? Maybe they should both be installed together?

    Cheers,
    Ged

    Comment

    • c44d9w
      Member
      • May 2010
      • 58

      #3
      Hi Kent-2,

      the exception is thrown when OpenRails tries to determine the starting location of a train. The location (coordinates) of the train do not match a track location. It could be a path problem (instead of a track problem).

      Have you tried other start locations, or other activities?

      Maybe try the Track Viewer. Load the route and view the path "gthd2_zug 01_spieler.pat" (in the Path Editor). See if it reports any errors with the path.

      From the log file:
      -start -explorer "C:\RR Sims\MSTS\ROUTES\gotthard_linie_II\PATHS\gthd2_zug 01_spieler.pat" "C:\RR Sims\MSTS\TRAINS\CONSISTS\FETM_EL01-COMBI.con" 12:00 1 0
      The location of the exception, in Traveller.cs:line 298:
      Code:
              Traveller(TrackSectionsFile tSectionDat, TrackNode[] trackNodes, TrackNode startTrackNode, int tileX, int tileZ, float x, float z)
                  : this(tSectionDat, trackNodes)
              {
                  if (startTrackNode == null) throw new ArgumentNullException("startTrackNode");
                  var startTrackNodeIndex = Array.IndexOf(trackNodes, startTrackNode);
                  if (startTrackNodeIndex == -1) throw new ArgumentException("Track node is not in track nodes array.", "startTrackNode");
                  if (!InitTrackNode(startTrackNodeIndex, tileX, tileZ, x, z))
                  {
                      if (startTrackNode.TrVectorNode == null) throw new ArgumentException("Track node is not a vector node.", "startTrackNode");
                      if (startTrackNode.TrVectorNode.TrVectorSections == null) throw new ArgumentException("Track node has no vector section data.", "startTrackNode");
                      if (startTrackNode.TrVectorNode.TrVectorSections.Length == 0) throw new ArgumentException("Track node has no vector sections.", "startTrackNode");
                      var tvs = startTrackNode.TrVectorNode.TrVectorSections[0];
                      if (!InitTrackNode(startTrackNodeIndex, tvs.TileX, tvs.TileZ, tvs.X, tvs.Z))
                      {
                          if (TrackSections.MissingTrackSectionWarnings == 0)
                              throw new InvalidDataException(String.Format("Track node {0} could not be found in the track database.", startTrackNode.UiD));
                          else
                          {
                              throw new MissingTrackNodeException(tvs.ShapeIndex);    <---------- exception thrown
                          }
                          
                      }
      Roger (I have Gotthard 1, but not Gotthard 2)

      Comment

      • kapitaen
        Senior Member

        • May 2010
        • 331
        • Germany
        • German + a little bit English
        • MSOR

        #4
        Warning: Skipped track section 28860 not in global or dynamic TSECTION.DAT
        Section 28860 is available from global tsection.dat _INFO (Build 00038). Should no longer produce any errors after installation.

        TrackShape 22039 is A1tPnt7_5dLftMnl.s, a ManualJunctionShape. However, this switch uses the track sections 28848 and 36709

        Jan
        Last edited by kapitaen; 11-26-2025, 01:35.

        Comment

        • Kent-2
          Member

          • Oct 2020
          • 55
          • Washington State

          #5
          My sincere thanks to each of you for your thoughtful comments and suggestions.
          After following several of your ideas, I am happy to report that Gotthard II is now fully operational. This was accomplished by updating tsection.dat to version 38 in the MSTS Global folder (NOT the tsection.dat that came with the route in its own folder).
          This simple fix was all that was needed. And, BTW, Gotthard 2 is truly awesome. The detail and realism are superb. A lot of meticulous effort must have gone into creating such an elaborate and engaging route.
          Again, I truly appreciate everything you all offered to help me solve the problems I encountered.
          Last edited by Kent-2; 11-27-2025, 19:57.

          Comment

          Working...