Open Rails Timetable Editor: Stations not in order

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TrainGuy6550
    Active Member
    • May 2026
    • 105
    • Mars
    • only english
    • General

    #1

    Open Rails Timetable Editor: Stations not in order

    Timetable Editor:

    image.png
    My Path:
    image.png
    Train goes from Bhilwara to Samphupura (Downwards)

    Should I manually reorder the stations? But then what about branching... e.g. after Chanderiya (junction point) should the next station be Chittaurgarh (right branch) or Ghosunda (left branch)? Make separate station files? But then that won't work if I define more trains that aren't on the same path...
    Last edited by TrainGuy6550; 07-01-2026, 09:11.
    E
  • Laci1959
    New Member
    • Jun 2018
    • 9

    #2
    Use the Save Visited Stations menu item for the route shown in the picture. It will list the visited stations in a txt file. From there, copy and paste the station names.
    If it exists, do the same for the other branch.
    Copy all the stations by skipping one line (or two). The stations on the common section will be twice, but this will not cause a problem, because either one or the other will be empty, depending on which direction the train is going.

    Comment

    • eric
      9500 Post Veteran and Administrator



      • Dec 2002
      • 9583
      • NS MP245.4 CNO&TP South District
      • English, SQL
      • General

      #3
      I don't think the timetable function itself cares what order the stations are top to bottom, as long as the times are correct.
      If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!

      Comment

      • TrainGuy6550
        Active Member
        • May 2026
        • 105
        • Mars
        • only english
        • General

        #4
        Originally posted by eric
        I don't think the timetable function itself cares what order the stations are top to bottom, as long as the times are correct.
        You're right

        Originally posted by Laci1959
        Use the Save Visited Stations menu item for the route shown in the picture. It will list the visited stations in a txt file. From there, copy and paste the station names.
        If it exists, do the same for the other branch.
        Copy all the stations by skipping one line (or two). The stations on the common section will be twice, but this will not cause a problem, because either one or the other will be empty, depending on which direction the train is going.
        But this looks more practical and easy to use, I'll def try this
        E

        Comment

        • Laci1959
          New Member
          • Jun 2018
          • 9

          #5
          Of course this is true.
          BUT!
          But it definitely makes the work easier, especially if the stations follow each other like in an official timetable. Then you almost only have to copy, you don't have to look for the next station. There is less chance of error, and the difference in preparation time for a few hundred trains is also significant.

          Comment

          • TrainGuy6550
            Active Member
            • May 2026
            • 105
            • Mars
            • only english
            • General

            #6
            I ran into another problem (would've updated the title but it doesn't allow me to now)

            Is there any way to calculate the timings of the schedule for a particular defined train? Like MSTS, where it calculate the Arr and Dep times judging by the distance b/w 2 stations, the average speed, the player performance (25% looks the most realistic) and possibly the priority of the station (not sure about this). Using the "Recalculate this" option.
            Regarding TSRE, I have 2 issues:
            1) It's laggy and creating an act takes a while...
            2) The "Calculate" button of TSRE calculates the timings in a weird way... It writes the same arrival and departure times. This has been TSRE's behavior since I started... so I must be doing something wrong?
            image.png

            3) Also, if this is user error, and the fix is easy, would it be possible to only run THIS component of TSRE (the timetable editor) by using a flag with the executable? It'd be really easy to calculate the timetables in this way, though yes it requires creating a service file.
            Actually, scratch that. It requires both the service editor and TSRE timetable editor.

            A better alternative would be to just use the the timetable calculation logic from TSRE (now that it's FOSS), though I have no idea how to do so.

            But I can't think of any alternatives beside guessing the timings for non-real-distance routes.

            https://github.com/YoRyan/autotable: This only works for real-distance routes, which most freeware routes are not.
            Last edited by TrainGuy6550; 07-01-2026, 22:27.
            E

            Comment

            • TrainGuy6550
              Active Member
              • May 2026
              • 105
              • Mars
              • only english
              • General

              #7
              Found my answer in an ET thread
              image.png
              E

              Comment

              • eric
                9500 Post Veteran and Administrator



                • Dec 2002
                • 9583
                • NS MP245.4 CNO&TP South District
                • English, SQL
                • General

                #8
                Originally posted by TrainGuy6550
                But I can't think of any alternatives beside guessing the timings for non-real-distance routes.
                You might have to do it the ancient way.... simple math. time = distance / velocity

                A train running at 70kmph has to travel between two stations 20km apart... that's 18 minutes with some padding for acceleration and braking. It pauses for 60 seconds to unload and load passengers.

                If that doesn't work, ask AI to calculate it for you.
                Attached Files
                If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!

                Comment

                • TrainGuy6550
                  Active Member
                  • May 2026
                  • 105
                  • Mars
                  • only english
                  • General

                  #9
                  Originally posted by eric

                  You might have to do it the ancient way.... simple math. time = distance / velocity

                  A train running at 70kmph has to travel between two stations 20km apart... that's 18 minutes with some padding for acceleration and braking. It pauses for 60 seconds to unload and load passengers.

                  If that doesn't work, ask AI to calculate it for you.
                  Yes, I already thought of this.

                  Code:
                  But the issue is: how do I find the distance between the stations?
                  Open rails calculates the distances in real time in game.

                  In fact, it is even possible for AI to make me a simple HTML app that works offline and uses that elementary formula to calculate the schedule. Possibly, even I can tell it to consider the slowing of trains during arrival and departure (like a rough 30 kmph)... should make it really close to the calculated timetable. but the issue above is the blocker.
                  E

                  Comment

                  • c44d9w
                    Member
                    • May 2010
                    • 58

                    #10
                    But the issue is: how do I find the distance between the stations?
                    The Track Viewer (under Tools), has a Show Chart item (under Path Editor). I shows the distance along the path.

                    PathChart.jpg

                    Comment

                    • TrainGuy6550
                      Active Member
                      • May 2026
                      • 105
                      • Mars
                      • only english
                      • General

                      #11
                      Somehow completely missed it. Thanks for pointing it out 👍
                      E

                      Comment

                      • TrainGuy6550
                        Active Member
                        • May 2026
                        • 105
                        • Mars
                        • only english
                        • General

                        #12
                        In case anyone's interested: https://github.com/dummyloles-ship-it/orts-tmcalc
                        E

                        Comment

                        • mnowosad
                          Senior Member

                          • May 2010
                          • 126

                          #13
                          Originally posted by TrainGuy6550
                          orts tt ms0.jpg
                          orts tt ms1.jpg
                          orts tt ms2.jpg
                          Real Timetable

                          orts tt ms3.jpg

                          Open Rails PSK Route https://psk.trainsim.pl/
                          Attached Files
                          https://www.youtube.com/playlist?lis...SIYbL4sRM-VMd7

                          Comment

                          • Brot
                            Member
                            • Mar 2026
                            • 28
                            • General

                            #14
                            Originally posted by TrainGuy6550
                            this is a jewel, thanks a lot

                            Comment

                            • Brot
                              Member
                              • Mar 2026
                              • 28
                              • General

                              #15
                              it seems that, even though you deselected the first station for halt, the calculator takes it into account. Maybe needs a slight change such that the start time (select at the top left) is assigned to the first station from the top that has a halt?

                              Comment

                              Working...