Can edit the time of each AI trains in different program?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cn bala
    1000 Post Veteran
    • Jun 2005
    • 1213
    • north of United States

    #1

    Can edit the time of each AI trains in different program?

    I know that Open Rails dont have the activity editor at the moment. My program of Microsoft Train Simulator Editors amd Tools program is not working. I will have to uninstall the program of Microsoft Train Simulator then reinstall them again. Right now I have not start uninstall yet. But wonder if I can edit the time of each AI train in NotePad or Context or WordPad or any other program for changing the time of each AI train. Have anyone try this without MSTS Editors and Tools program. Please let me know about this.

    John
  • R. Steele
    3500 Post Veteran

    • Feb 2013
    • 3928
    • known universe
    • ORTS

    #2
    John, first there is really no need to keep installing and uninstalling MSTS, if it is installed correctly in the proper place. Probably something else is giving you problems...time to do a little troubleshooting to find the problem.

    Second...yes you can edit the times of AI trains in the activity file...any of the programs you mentioned will work fine to open the activity file personally I use Context all the time.

    BUT, you'll also need to download this program TS_TimeCalc, by Gary O'Connor. It's a nifty little program that converts time-of-day to seconds or seconds to time-of-day. The times in the activity file for AI trains and player trains are in seconds.
    Steam4Me page ( at the very bottom you see a link to "MSTS_TimeCalc.zip" )
    http://msts.steam4me.net/tutorials/ae_timetable.html

    Just install it somewhere and make a shortcut on your desktop, I have a folder C:\TS_Utility where I keep all the utility programs I use for ORTS or MSTS, timecalc is one of them.
    Cheers, Gerry
    "A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
    It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
    Forever, ridin' drag in railroad knowledge.
    Audi, Vide, Tace, Si Vis Vivere In Pace​

    https://www.trainsim.com/forums/filedata/fetch?filedataid=79656&type=medium​ https://www.trainsim.com/forums/filedata/fetch?filedataid=79654&type=small

    Comment

    • cn bala
      1000 Post Veteran
      • Jun 2005
      • 1213
      • north of United States

      #3
      Gerry -- Want to say thank you for reply to my message. Yes I agreed with you about installing and uninstalling MSTS. i strongly believe that the update driver of Nvidia caused the problem and I did roll back to another version but still the same. Before the update of Nvidia driver last Monday both programs with Microsoft Train Simulator and Microsoft Train Simulator Editors and Tools are working. After the update with Nvidia driver both programs doesn't work as I clicked the desktop icon of both programs to start then you willl see the donut hole goes around for a few seconds then closed the program. I know I did not install any other files for my desktop with Windows 10 Pro 64-edition. I can't think of anything else that caused the problem with MSTS program and taht is why I decided to uninstall and install again soon. Also want to say thank you for the file that you mentioned in your message but will that work with freight or intermodal not passenger trains? I need to move back like 2 or 3 minutes for one of AI train otherwise will meet both on main track. So the train will go into siding or mai track and stop to wait for player train go through either on main or siding tracks. That is my activity for cnbalav2.

      Anyway let me know about this file with " MSTS_TimeCalc " will work with freight or intermodal trains or only for the passenger train.

      John

      Comment

      • geepster775
        2500 Post Veteran


        • Sep 2006
        • 2846
        • .
        • General

        #4
        You need to make the changes in both the ACT and TRF files.

        You will see a start time value between 1 and 86,400 seconds (there are 86,400 seconds in a 24 hr day)

        For every 60 seconds you deduct, the AI will start 1 minute sooner. If you add 240 seconds, that AI will start 4 minutes later, etc
        My Open Rails videos https://www.youtube.com/@lakecities3663/videos

        Comment

        • cn bala
          1000 Post Veteran
          • Jun 2005
          • 1213
          • north of United States

          #5
          Thank you for your detailed information about the changes in both the ACT and TRF files.

          John

          Comment

          • GokuMK
            Senior Member

            • Oct 2015
            • 729
            • Poland

            #6
            You can use TSRE to edit activity.
            Editing these files by hand is difficult.

            Comment

            • cn bala
              1000 Post Veteran
              • Jun 2005
              • 1213
              • north of United States

              #7
              Show me how because I am new to TSRE and have no idea how to edit the activity? If you have YouTube or manual that would be a benefit for this. How about create a new activity with path, service and traffic too?

              Thank you Goku

              John
              Last edited by cn bala; 02-08-2019, 09:06.

              Comment

              • GokuMK
                Senior Member

                • Oct 2015
                • 729
                • Poland

                #8
                See this guide:
                1. Downloading TSRE Latest version is always here: http://koniec.org/tsre5/data/?C=M;O=D For example, download: http://koniec.org/tsre5/data/TSRE5_v0.6932.exe If you have 32 bit Windows (usually old computer), download: http://koniec.org/tsre5/data/TSRE5x32_v0.693.exe Installing TSRE: Run EXE...


                If you want to change train traffic times, first edit traffic starting times. Then remember to reselect it. Then you can edit the timetable.
                Use new version 0.6972.

                Comment

                • Don6218
                  1500 Post Veteran
                  • Jun 2009
                  • 1834
                  • Oshawa ON

                  #9
                  I use Notepad and the "MSTS Time-Calc" program from the F/L. As long as you know what the Consist name is, locate it in the Route's "Traffic" file and change it either sooner or later. It works great for me and it works in real time.

                  Comment

                  • PXSE
                    Senior Member
                    • May 2011
                    • 144

                    #10
                    Originally posted by GokuMK
                    Editing these files by hand is difficult.


                    No, it's not.

                    But I promise I will give your process a spin and compare workloads.

                    Comment

                    Working...