TSRE GenX - MAX OVERHAUL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scottb613
    2500 Post Veteran


    • Apr 2003
    • 2848
    • Downeast Maine (soon)
    • ORTS

    #16
    Originally posted by kennyeaton
    Hi Scott,

    Was looking in the editor to get familiar with it. I was going to do some auto painting but when I tried to load a texture to paint under the tracks the program crashes. Could this be something I'm doing wrong or could it be a bug?

    Kenny
    Hi Kenny,

    Nope, you weren’t doing anything wrong — it was a bug.

    I couldn’t sleep knowing it was there, so I got back up and fixed it tonight. The texture loader could get ahead of itself while loading ACE, PNG, JPG or DDS files, especially when seasonal mirror painting was involved. That could cause a crash or make the first mirrored stroke use the wrong texture.

    I fixed the texture-loading timing, the seasonal mirror first-stroke problem, and the mirrored paint undo/save handling. I also added protection against switching texture sets with unsaved terrain paint.

    I rebuilt v0.7, so the current download includes the fixes - just download fresh from the same link.

    Thanks for finding it — exactly the kind of feedback I need to shake these things out.

    Regards,
    Scott
    <a href=https://www.trainsim.com/forums/filedata/fetch?filedataid=80663&type=full title=thumb_80663.png >thumb_80663.png</a>​ My Blender Models

    Comment

    • pschlik
      Senior Member



      • Jun 2011
      • 289
      • Missouri
      • MSOR

      #17
      Sounds like some very useful stuff for the route creators, hopefully everything works properly and can be added back to Eric's version in short order.

      Contributing to ORTS since 2023
      Find me on GitHub @SteelFill

      Like what I do? Join my Patreon to help me do more!

      Comment

      • kennyeaton
        Senior Member


        • Oct 2008
        • 268
        • Stony Point, NC
        • MSOR

        #18
        Originally posted by scottb613

        Hi Kenny,

        Nope, you weren’t doing anything wrong — it was a bug.

        I couldn’t sleep knowing it was there, so I got back up and fixed it tonight. The texture loader could get ahead of itself while loading ACE, PNG, JPG or DDS files, especially when seasonal mirror painting was involved. That could cause a crash or make the first mirrored stroke use the wrong texture.

        I fixed the texture-loading timing, the seasonal mirror first-stroke problem, and the mirrored paint undo/save handling. I also added protection against switching texture sets with unsaved terrain paint.

        I rebuilt v0.7, so the current download includes the fixes - just download fresh from the same link.

        Thanks for finding it — exactly the kind of feedback I need to shake these things out.

        Regards,
        Scott
        Thank you Scott. That took care of it.

        I'll let you know if I run into any more issues.

        Kenny

        Comment

        • mnowosad
          Senior Member

          • May 2010
          • 126

          #19
          • Added the full-screen F4 Activity Builder and high-resolution TrackDB viewer.
          • Added standalone MSTS/ORTS path creation, editing, validation, and PAT writing.
          • Added natural-end water flow routing with live switch throwing and recalculation.
          • Added reverse points, duration and clock-time wait points, overlap visualization, and passing sidings.
          • Added selectable/deletable path controls, undo/redo, map rotation, route markers, labels, signals, stations, and service-point symbology.
          It's been tested successfully. This provides a great foundation for further improvements and fixing bugs from the previous AE.

          tsre gx 07-1.jpg
          tsre gx 07-2.jpg tsre gx 07-3.jpg
          tsre gx 07-4.jpg tsre gx 07-5.jpg
          tsre gx 07-6.jpg tsre gx 07-7.jpg
          tsre gx 07-0.jpg
          Open Rails 2026-07-24 03-47-18.jpg Open Rails 2026-07-24 03-47-57.jpg Open Rails 2026-07-24 03-49-10.jpg
          Attached Files
          https://www.youtube.com/playlist?lis...SIYbL4sRM-VMd7

          Comment

          • scottb613
            2500 Post Veteran


            • Apr 2003
            • 2848
            • Downeast Maine (soon)
            • ORTS

            #20
            Originally posted by mnowosad
            • Added the full-screen F4 Activity Builder and high-resolution TrackDB viewer.
            • Added standalone MSTS/ORTS path creation, editing, validation, and PAT writing.
            • Added natural-end water flow routing with live switch throwing and recalculation.
            • Added reverse points, duration and clock-time wait points, overlap visualization, and passing sidings.
            • Added selectable/deletable path controls, undo/redo, map rotation, route markers, labels, signals, stations, and service-point symbology.
            It's been tested successfully. This provides a great foundation for further improvements and fixing bugs from the previous AE.
            Hi Folks,

            Now that’s what I’m talking about - just the kind of testing that is needed.

            I test as I work - but if I comprehensively test everything, I’d never get anything done.

            Yep - that map took some doing but I’m very pleased with how it came out. If you want markers to show up on this map - needs to be [official route name].mkr and flag type “0”- the three [0,1,2] marker flags have been reinstated in GenX along with fixing the floating labels for them in the main view.

            I haven’t touched any of the Activity Editor controls in this version - I plan to make it far more intuitive than it is now.

            Thanks for looking, the feedback, and pictorial. Much appreciated.

            Regards,
            Scott
            <a href=https://www.trainsim.com/forums/filedata/fetch?filedataid=80663&type=full title=thumb_80663.png >thumb_80663.png</a>​ My Blender Models

            Comment

            • eric
              9500 Post Veteran and Administrator



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

              #21
              Which version of my code did you start with? I don't push to GitHub on every testing build.

              Sent from my SM-S911U using Tapatalk

              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

              • scottb613
                2500 Post Veteran


                • Apr 2003
                • 2848
                • Downeast Maine (soon)
                • ORTS

                #22
                Originally posted by eric
                Which version of my code did you start with? I don't push to GitHub on every testing build.

                Sent from my SM-S911U using Tapatalk

                Hi Eric,

                While I started this a year ago - when I started planning a Git release - shareable executable - I synched to your master from 2 months ago:

                Capture.jpg

                Regards,
                Scott
                <a href=https://www.trainsim.com/forums/filedata/fetch?filedataid=80663&type=full title=thumb_80663.png >thumb_80663.png</a>​ My Blender Models

                Comment

                • amtrak115
                  Senior Member

                  • Oct 2005
                  • 289
                  • Parker, TX
                  • General

                  #23
                  Scott, Great work....When your ready to look at Activity editor....There are some immediate changes that would eleminate some issues.

                  #1...Changes to an existing traffic file does not get posted to an activity file....here's the example...I created an activity (amtrak's Southwest Chief from Chicago to LA...it's 10 or so segments to complete the route. During the development of this I found an error with TSRE activity editor that I had to create a work around to get it to work.....Edit an existing traffic file. Add 5 seconds to the start time of an AI train...Close the window...Save the activity...TSRE-genx prompts you to save the modified Traffic file...however the activity file which is what OR uses to run the activity doesn't get updated.

                  Barry

                  Comment

                  • amtrak115
                    Senior Member

                    • Oct 2005
                    • 289
                    • Parker, TX
                    • General

                    #24
                    Scott,

                    I just went back and read the original post....where you said don't look at the other parts of AE yet.....Well I did....the post above reflects that....BTW...that's the way it currently works in TSRE v.....x pick your version....it's been an ongoing issue.

                    later

                    Barry

                    Comment

                    • scottb613
                      2500 Post Veteran


                      • Apr 2003
                      • 2848
                      • Downeast Maine (soon)
                      • ORTS

                      #25
                      Originally posted by amtrak115
                      Scott, Great work....When your ready to look at Activity editor....There are some immediate changes that would eleminate some issues.

                      #1...Changes to an existing traffic file does not get posted to an activity file....here's the example...I created an activity (amtrak's Southwest Chief from Chicago to LA...it's 10 or so segments to complete the route. During the development of this I found an error with TSRE activity editor that I had to create a work around to get it to work.....Edit an existing traffic file. Add 5 seconds to the start time of an AI train...Close the window...Save the activity...TSRE-genx prompts you to save the modified Traffic file...however the activity file which is what OR uses to run the activity doesn't get updated.

                      Barry
                      Hi Barry,

                      Yep - the Activity Editor is a complete rewrite at this point - the existing Activity Editor buttons were simply moved from the old editor - as a place holder to visualize a full screen Activity Editor - I haven't touched the underlying code yet.

                      I'll take a first swag at implementing the vision I have in mind - and we can see where the road leads.

                      I'll post along the way and there will probably be updates to the test release. I noticed another issue since my Bug Fix last night - I need to fix the seasonal mirror painting (which paints both NORMAL TERRTEX and SNOW TERRTEX textures in a single operation) - as it had an issue too.

                      Regards,
                      Scott

                      .

                      <a href=https://www.trainsim.com/forums/filedata/fetch?filedataid=80663&type=full title=thumb_80663.png >thumb_80663.png</a>​ My Blender Models

                      Comment

                      • amtrak115
                        Senior Member

                        • Oct 2005
                        • 289
                        • Parker, TX
                        • General

                        #26
                        sorry for jumping the gun.....I had one big complaint about the activity editor in TSRE....I don't need a 3d display to develop activities. a 2d path screen like you did for path editing or similar to "Track Viewer" is perfect for developing activities. The Save issue that I pointed out is one of the big pet peeves. ...and I have a few more things on my list...So when you start looking at that code....feel free to contact me for input...or testing...etc...

                        later

                        Barry

                        Comment

                        • rdayt
                          1000 Post Veteran

                          • Nov 2007
                          • 1291
                          • SW MO
                          • ORTS

                          #27
                          Scott,

                          I'm totally blown away.
                          Like, wow.
                          Now come the ideas.
                          Is there a way to close the gap when you set terrain to an object?
                          gap.jpg
                          I like my track more on the ground, not floating in the air.

                          Randy

                          Comment

                          • scottb613
                            2500 Post Veteran


                            • Apr 2003
                            • 2848
                            • Downeast Maine (soon)
                            • ORTS

                            #28
                            Originally posted by amtrak115
                            sorry for jumping the gun.....I had one big complaint about the activity editor in TSRE....I don't need a 3d display to develop activities. a 2d path screen like you did for path editing or similar to "Track Viewer" is perfect for developing activities. The Save issue that I pointed out is one of the big pet peeves. ...and I have a few more things on my list...So when you start looking at that code....feel free to contact me for input...or testing...etc...

                            later

                            Barry
                            Hi Barry,

                            No sorry needed - all good - we're on the same team - just trying to explain where I am at.


                            Regards,
                            Scott
                            <a href=https://www.trainsim.com/forums/filedata/fetch?filedataid=80663&type=full title=thumb_80663.png >thumb_80663.png</a>​ My Blender Models

                            Comment

                            • scottb613
                              2500 Post Veteran


                              • Apr 2003
                              • 2848
                              • Downeast Maine (soon)
                              • ORTS

                              #29
                              Originally posted by rdayt
                              Scott,

                              I'm totally blown away.
                              Like, wow.
                              Now come the ideas.
                              Is there a way to close the gap when you set terrain to an object?

                              I like my track more on the ground, not floating in the air.

                              Randy
                              Hi Randy,

                              I'm not sure I follow - you place an on object - or track - and you hit F and that is where the terrain winds up?

                              I did a lot of messing with the [F] key and I didn't notice floating track - honestly - I never thought to test it on an object.

                              Yeah - I just set a piece of track and used [F] - I see no space between terrain and track.

                              If it is object specific - it must be the origin of the object?

                              I must be misunderstanding the issue.
                              😵

                              Regards,
                              Scott
                              Last edited by scottb613; 07-24-2026, 14:14.
                              <a href=https://www.trainsim.com/forums/filedata/fetch?filedataid=80663&type=full title=thumb_80663.png >thumb_80663.png</a>​ My Blender Models

                              Comment

                              • rdayt
                                1000 Post Veteran

                                • Nov 2007
                                • 1291
                                • SW MO
                                • ORTS

                                #30
                                Scott,
                                In the photo above I placed a piece of track then set the terrain to the track but the track ends up about eight inches above the ground. It'd be cool if that was adjustable.
                                I usually raise the ground to where the terrain grid shows above the ties and roads. Gives a little more settled in look.
                                In the picture, the marks are one foot marks.

                                Randy

                                Comment

                                Working...