Testing v8.005

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eric
    9500 Post Veteran and Administrator



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

    #61
    I checked - TSRE doesn't call a specific editor, but instead opens using the file:// url, which should use the file association definition in Windows.

    It's possible the file association for CON or ENG files might have been changed on your PC.

    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

    • Timbit
      Senior Member


      • Nov 1999
      • 448
      • Nepean,Ontario
      • English
      • MSOR

      #62
      Eric,
      thanks for the reply, I will look when I get home from work and see what is going on?
      Tim

      Comment

      • Timbit
        Senior Member


        • Nov 1999
        • 448
        • Nepean,Ontario
        • English
        • MSOR

        #63
        Eric,
        Thanks, I got it to work,
        Tim

        Comment

        • eric
          9500 Post Veteran and Administrator



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

          #64
          Cool -- was it the association?
          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

          • steamer_ctn
            Member
            • May 2010
            • 87

            #65
            Originally posted by eric
            8.005f
            • New setting "listFiles" which when set to true will generate two text files at startup which will show which files are being used within the route as well as those in the Shapes directory which are not used within the route (FilesUsed.txt and FilesNotUsed.txt) . By default or if missing, these files will not be created on startup.

            I am trying to use this feature.

            I have set "listFiles = true" in the settings.txt file, and then started the route in TSRE. What folder will the two txt files be located in? Do there need to be blank files for these files already located somewhere?

            Comment

            • eric
              9500 Post Veteran and Administrator



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

              #66
              It should save to your TSRE directory with the route prefix appended.

              You'll need to have LoadAllWFiles set to True as well.

              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

              • steamer_ctn
                Member
                • May 2010
                • 87

                #67
                Originally posted by eric
                It should save to your TSRE directory with the route prefix appended.

                You'll need to have LoadAllWFiles set to True as well.

                Sent from my SM-S911U using Tapatalk
                Thanks for that.

                It is now working for me.

                Comment

                • eric
                  9500 Post Veteran and Administrator



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

                  #68
                  I'm adding a fourth file -- missing shapefiles -- which will get created when you exit the route.

                  I also found a bug in one of the functions --- objectsToRemove

                  The documentation I had on this said it was supposed to be a list of shepes to be removed. Digging into the code, it looks like it was comparing the supplied filename with the file type of an object, so it never triggered the removal. But it could have removed all static objects, all track objects, etc. which could be catastrophic if used by accident.

                  That's now fixed. I gave it a list of over 1100 objects in a single line of text (approximately 32,000 characters), and it removed all of them....
                  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

                  • eric
                    9500 Post Veteran and Administrator



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

                    #69
                    Originally posted by eric
                    ​
                    Pecho Lata KS44HUN I've tested this in 8.005f and non-square textures does work, provided the values are divisible by 2.

                    In my testing, 168 x 128 works as expected. 167 x 127 will not work.
                    Ran into a couple crashes using the test version, due to a texture that was 761x761... the debug output I added for the rectangular textures caught the error and helped me narrow down the reason for the crash, and uncovered a block of code which had been commented out. That will be restored in the next testing version along with some more verbose warning text in the logs.
                    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

                    • eric
                      9500 Post Veteran and Administrator



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

                      #70
                      Originally posted by eric
                      I'm adding a fourth file -- missing shapefiles -- which will get created when you exit the route.

                      I also found a bug in one of the functions --- objectsToRemove

                      The documentation I had on this said it was supposed to be a list of shepes to be removed. Digging into the code, it looks like it was comparing the supplied filename with the file type of an object, so it never triggered the removal. But it could have removed all static objects, all track objects, etc. which could be catastrophic if used by accident.

                      That's now fixed. I gave it a list of over 1100 objects in a single line of text (approximately 32,000 characters), and it removed all of them....
                      Found a bug within the bug... If you list a static trackshape as one of the files to remove, it will remove the trackobj trackshapes as well, which is problematic. Working on some logic to try and prevent this from happening.
                      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

                      • eric
                        9500 Post Veteran and Administrator



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

                        #71
                        Testing 8.005k has been uploaded in the first post of the thread.
                        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

                        • mnowosad
                          Senior Member

                          • May 2010
                          • 126

                          #72
                          In the TSRE5 folder add in the file settings.txt

                          seasonalEditing = true
                          #season = Winter
                          #season = Spring
                          season = Autumn

                          change the season by removing or adding a comment #

                          ceska ves autumn.jpg
                          ceska ves winter.jpg
                          hruba voda autumn.jpg
                          hruba voda winter.jpg
                          jesienik autumn.jpg
                          jesienik winter.jpg

                          TSRE5 in player mode - without editing add a line in settings.txt
                          playerMode = true
                          Disable by adding a comment and restart TSRE5

                          Bukowiecka Kolej Dojazdowa Winter player.jpg

                          Attached Files
                          Last edited by mnowosad; 01-13-2025, 14:41.
                          https://www.youtube.com/playlist?lis...SIYbL4sRM-VMd7

                          Comment

                          • eric
                            9500 Post Veteran and Administrator



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

                            #73
                            Made a tweak to how the route list gets displayed... it's alphabetical by default.

                            Any interest in sorting so the most recently updated routes show at the top of the list?

                            capture_5100228.jpg
                            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

                            • Pecho Lata
                              Member
                              • Dec 2006
                              • 40
                              • .
                              • General

                              #74
                              I personally do not see it necessary for me. If it goes it has been an adjustable option on Settings.txt, go ahead if it looks useful.

                              Comment

                              • demando
                                Senior Member


                                • Aug 2008
                                • 387
                                • Woodland, California

                                #75
                                Maybe it could be an option in the GUI. And the lack of a double-click feature has bugged me from the early days when Goku first released TSRE.
                                "Dream as if you'll live forever. Live as if you'll die today." - James Dean
                                calrouteprojectmstsorts.weebly.com/
                                https://cprrorts.weebly.com/
                                Cheers, S. J. Hjellum

                                Comment

                                Working...