Announcement

Collapse
No announcement yet.

Should it be Removed?

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Should it be Removed?

    Just spent a week working on an old route, backdating the tracks to the mid 1950s. When I started I ran the route through a TDB rebuild and it visited all the times without a problem. The first day I rebuilt a yard, took out lots of track and completely relayed the yard. At the end of the day I did a TDB rebuild with no problems. Finished removing the newer sidings for the next 30 miles which included deleting siding names, crossings, carspawns, speed limits, and mile markers where necessary. Before replacing the turntable with a working turntable I made a copy, then ran a TDB rebuild and it would not complete it, throwing bogus errors where there wasn't even anything but bare terrain.

    I opened the route in ORNYMG and ran a test activity and the log showed only two textures missing and nothing else.

    I opened the route in TSRE and had a look at the Errors messages and found that none of the interactives had been removed from the TDB.

    If I select any of the 19 errors it tells me what the problem is, does not tell me a location, but at the end of each description ends with "Should it be removed?". Yes, if it's causing an error I'd like it removed, but how? Is there somewhere in TSRE that will removed the remains of the interactive object from the TDB? There's no location given for any of the 19 errors but I've already removed them from the route, have no idea why everything wasn't removed from the TDB when I saved.

    Any ideas?

    Paul :-)

    #2
    MSTS TDB Rebuild Function

    Hi Paul,
    I'm not sure if you realize the MSTS TDB rebuild function will NOT execute correctly unless the TDB, TIT, RDB files are deleted before the TDB Rebuild is run.

    The reason is a bug in the rebuilder function that just copies the existing TDB and associated files and carries them forward ending with the message "All tiles visited".

    regards,
    ............Vince ..............
    ...... Author NECv4 .......
    .... LIRR BUILD PHOTOS ....
    ...... Eschew Obsfucation ......

    On the The Statue of Liberty in New York Harbor there is a Tablet. On it is written:
    "Give me your tired, your poor, your huddled masses yearning to breathe free,
    the wretched refuse of your teeming shore, send these, the homeless, tempest-tossed to me,
    I lift my lamp beside the golden door!"

    Comment


      #3
      Thanks Vince,

      I'll give it a try.

      I did run the route through Route-Riter for a integrity check and it showed one of the two problems is a siding item on a tile with nothing other then two track segments and nothing else.

      Paul :-)

      OK, just deleted the TDB, RDB, TIT, and RIT files along with their backups. Ran a TDB Rebuild and was able to visit all tiles. TSRE was showing 2 errors and now shows 38!

      Starting to think this is heading for the scrap line.

      Paul :-)
      Last edited by charland; 02-06-2023, 03:39 PM.

      Comment


        #4
        MSTS TDB Rebuild Function

        Paul,
        I struggled with my LIRR route (just before releasing the PRRv2) with TSRE user problems (I was on the very steep learning curve at the time) as I was using both the MSTS route editor and TSRE and I had the same error reports.

        Apparently TSRE edited routes give false errors to the ICHK routines in RouteRiter. Goku and I went back and forth at that time. I believe it's all documented at the Elvas Tower site in the Contributed Software section.
        The RouteRiter CHECK ROUTE function runs normally and if no errors, error free. (PRR-Eastv2 for example)

        More to the point a current route the PRR-Eastv2 is completely edited by the TSRE editor with excellent results. There were nearly 500 database / Dynamic Track effed up tiles. TSRE was at the end able to fix all the real errors.

        I have not used any of the MSTS editors since. It took nearly four years working with Goku to get it all right. As I say, all documented at Elvas Tower Contributed Software section.
        Bottom line is the LIRR route is completely TSRE edited from that time forward (MSTS editor crashes loading the route.

        Cheers, vince
        ............Vince ..............
        ...... Author NECv4 .......
        .... LIRR BUILD PHOTOS ....
        ...... Eschew Obsfucation ......

        On the The Statue of Liberty in New York Harbor there is a Tablet. On it is written:
        "Give me your tired, your poor, your huddled masses yearning to breathe free,
        the wretched refuse of your teeming shore, send these, the homeless, tempest-tossed to me,
        I lift my lamp beside the golden door!"

        Comment


          #5
          TDB Rebuild and TSRE settings

          Just saw this Paul.
          >>>OK, just deleted the TDB, RDB, TIT, and RIT files along with their backups. Ran a TDB Rebuild and was able to visit all tiles. TSRE was showing 2 errors and now shows 38!

          Try running the find error routines in TSRE!
          DON'T do an Auto-Fix but work through it manually by jumping to each listed error location.
          Here are my TSRE settings.
          Note thatthe line >>>===> LoadAllWFiles = true
          Must be there for the test function to operate.

          =========================================TSRE Settings from Vince============================

          consoleOutput = false

          # main directory of your game data
          #gameRoot = E:\Train Simulator-PRR
          gameRoot = E:\Program Files\Microsoft Games\Train Simulator
          #gameRoot = C:\TrainSimulations

          # ROUTE DIRECTORY NAME TO LOAD ON STARTUP BY DEFAULT
          #routeName=japan2
          #routeName=PRR_EAST_REG-2
          routeName=LIRR

          # OPTIONAL START TILE
          #PHILADELPHIA_ZOO
          #startTileY = 14318
          #startTileX = -11008
          #PERRYVILLE_MOW
          #startTileY = 14297
          #startTileX = -11039
          #EAST_WILLISTON
          startTileY = 14362
          startTileX = -10957


          # ROUTE EDIT
          loadAllWFiles = true
          #createNewIfNotExist = true
          writeEnabled = true
          writeTDB = true
          useTdbEmptyItems = true
          #deleteTrWatermarks = true
          #deleteViewDbSpheres = true

          # geo data
          geoPath = F:/hgst

          # misc
          #systemTheme = true
          #colorConView = #FF0000
          #colorShapeView = #00FF00
          #toolsHidden = true
          usenNumPad = true
          tileLod = 2
          objectLod = 4000
          maxObjLag = 10
          allowObjLag = 1000
          #cameraFov = 20.0
          leaveTrackShapeAfterDelete = false
          #renderTrItems = true
          #useImperial = false
          #ortsEngEnable = false
          oglDefaultLineWidth = 4
          shadowsEnabled = 0
          #shadowMapSize = 8192
          #textureQuality = 4
          ignoreMissingGlobalShapes = true
          snapableOnlyRot = false
          imageMapsUrl = http://api.mapbox.com/v4/mapbox.satellite/{lon},{lat},{zoom}/{res}x{res}.png?access_token=INSERT_YOUR_API_KEY_H ERE
          #AASamples = 16
          #mapImageResolution = 2048
          cameraStickToTerrain = true
          #mouseSpeed = 0.1
          cameraSpeedMin = 15
          cameraSpeedStd = 0.10
          cameraSpeedMax = 2
          #mainWindowLayout = W
          #ceindowLayout = CU1
          #useQuadTree = false
          #fogColor = #D0D0FF
          #fogDensity = 0.5
          #defaultElevationBox = 0
          #defaultMoveStep = 0.25
          ............Vince ..............
          ...... Author NECv4 .......
          .... LIRR BUILD PHOTOS ....
          ...... Eschew Obsfucation ......

          On the The Statue of Liberty in New York Harbor there is a Tablet. On it is written:
          "Give me your tired, your poor, your huddled masses yearning to breathe free,
          the wretched refuse of your teeming shore, send these, the homeless, tempest-tossed to me,
          I lift my lamp beside the golden door!"

          Comment


            #6
            Hi Vince,

            I downloaded v0.7.012 a week ago, think this is the most up to date version. There is no settings button for the route when it's open, or at least not for the settings you are showing for your route. There is a settings file in the main folder for TSRE but it's much smaller and just a generic version... there is no LoadAllWordFiles = True. There is no Auto Fix, and when I open the older version of the route that just has the two errors, there is no Jump button.

            I did open the version of the route that I ran through Route-Riter that went from 2 to 38 errors. Selected the first error, had the jump button and used it. It was a missing (Japanese) mile post, several tiles away from where I was working.

            Paul :-)

            Comment


              #7
              Paul,

              You can use the settings.txt file from/on any recent TSRE version.
              Here's mine.
              settings.zip
              I've been using it for a while on several versions.
              I slowed down the camera quite a bit.

              Randy

              Comment


                #8
                Originally posted by charland View Post
                Hi Vince,

                1. I downloaded v0.7.012 a week ago, think this is the most up to date version.
                2. There is no settings button for the route when it's open, or at least not for the settings you are showing for your route. There is a settings file in the main folder for TSRE but it's much smaller and just a generic version...
                3, there is no LoadAllWordFiles = True.
                4. There is no Auto Fix, and when I open the older version of the route that just has the two errors, there is no Jump button.

                5. I did open the version of the route that I ran through Route-Riter that went from 2 to 38 errors. Selected the first error, had the jump button and used it. It was a missing (Japanese) mile post, several tiles away from where I was working.

                Paul :-)
                1. Yes. v0.7.012 is latest version
                2. There is no settings button. Manually open the 'Settings' folder. Sorry for confusing!
                The routes you see are my settings. After I get TSRE installed I make copy of the settings.txt file then alter the default route locations.
                You set up camera speeds and a couple of other options according to your needs. If ques just ask and I'll help.
                It's a great editor but it does take lots of practice.Took me a year
                3. This is a line you need to add per Goku ....I think a post at Elvas Twr. Search on his ID over there.
                4. If you add line LoadAllWordFiles = True when TSRE opens at the location you specify in the settings.txt file located in the settings folder.
                Now run TSRE.....
                When route opens go to Tools menu and select (check) Errors and Messages
                In the View Menu select (check) TrackDB Items
                This opens a new small window where all error messages are displayed and are selectable at which time the Jump button is active.
                As I prev advised, don't use Auto fix if given the option.
                I advise Manual as I had problems which are probably the route (PRR) but I've
                had no time for the deep dive.
                5. Okay! Of course I typed all the above before I read the last line . . . oops..
                So You;ve got TSRE working with the test function Great! That is good to hear.

                IMHO I sort of proved out what TSRE could do when I took on the PRR at the Patch 7 level which was a disaster.
                The editor took on what were impossible to fix bugs just lijke the milepost you found.
                When you turn on in View the TDB Items it makes these 'phantom' objects pretty darn easy to find and fix along with the Hack Function.

                regards,
                ............Vince ..............
                ...... Author NECv4 .......
                .... LIRR BUILD PHOTOS ....
                ...... Eschew Obsfucation ......

                On the The Statue of Liberty in New York Harbor there is a Tablet. On it is written:
                "Give me your tired, your poor, your huddled masses yearning to breathe free,
                the wretched refuse of your teeming shore, send these, the homeless, tempest-tossed to me,
                I lift my lamp beside the golden door!"

                Comment


                  #9
                  Morning Vince,

                  I did open the settings file in the TSRE folder and added the load all tiles line from your post and it does open all tiles now, thanks.

                  I'll have a look as soon as the computer is running and check the Errors and Messages / View Menu>TrackDB Items, thanks.

                  I'm going to run a bit of an experiment today. I'm going to go back to an older save and copy the two faulty items from the global files and place them into the current version of the route I'm having trouble with. That will make them visible again, and I'll use TSRE to remove then using the Z key in hopes that they get deleted from the TDB this time.

                  Paul :-)

                  Comment


                    #10
                    Hi Vince,

                    I was able to fix the route, or at least the second last saved copy of the route. Took me a while to figure out the the error message from TSRE that said ID was actually the node number and nit the Uid number. After removing the Uid entry from the TIT file I was able to run a RDB rebuild in MSTS RE and visit all tiles. When I checked in TSRE errors and messages, all errors were gone. So, I lost one day of work on the route, much better then having to go back two months!

                    Paul :-)

                    Comment


                      #11
                      A good result.

                      vince
                      ............Vince ..............
                      ...... Author NECv4 .......
                      .... LIRR BUILD PHOTOS ....
                      ...... Eschew Obsfucation ......

                      On the The Statue of Liberty in New York Harbor there is a Tablet. On it is written:
                      "Give me your tired, your poor, your huddled masses yearning to breathe free,
                      the wretched refuse of your teeming shore, send these, the homeless, tempest-tossed to me,
                      I lift my lamp beside the golden door!"

                      Comment

                      Working...
                      X