DB-Tracks and DynaTrax Dynamic Tracks Replacements

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • OTTODAD
    1
    • Feb 2001
    • 32344
    • England
    • General

    #1

    DB-Tracks and DynaTrax Dynamic Tracks Replacements

    Posting in the MSTS forum on the subject of DB-Tracks reminded me to mention again that ORTS does not show it's replacement for the default MSTS overhead wire over Dynamic tracks which have been replaced by matching DynaTrax sections in World files, like shown below.

    Would be great if it were to be included in the next Beta release !

    O t t o






    Last edited by OTTODAD; 11-04-2011, 18:52.
  • longiron
    1000 Post Veteran and Moderator

    • Jan 2007
    • 1453
    • Just south of NYC

    #2
    Otto,
    I've alerted the developer who did the overhead wire implementation to this issue.
    Chris
    "True rail fans have two favorite railroads. The B&O and one other."

    Comment

    • OTTODAD
      1
      • Feb 2001
      • 32344
      • England
      • General

      #3
      Originally posted by longiron
      Otto, I've alerted the developer who did the overhead wire implementation to this issue.
      Thanks, Chris !

      O t t o

      Comment

      • longiron
        1000 Post Veteran and Moderator

        • Jan 2007
        • 1453
        • Just south of NYC

        #4
        Otto,
        Is there a route we can use to test? One of your downloads perhaps?
        Thanks
        Chris
        "True rail fans have two favorite railroads. The B&O and one other."

        Comment

        • charlie
          1500 Post Veteran
          • Nov 1999
          • 1843
          • Maryland, USA

          #5
          Originally posted by longiron
          I've alerted the developer who did the overhead wire implementation to this issue.
          This may be somewhat difficult for developing a solution.

          Dynatrax "reads" the TDB data for a selected piece of dynamic track and then generates a new shape file following the TDB with the exact same cross-section of the track system "profile" you have chosen. Any track system that can be produced by an extrusion can have a Dynatrax profile written for it.

          With the new shape generated, Dynatrax then edits the World file like so. NOTE: The TDB is left totally untouched.

          This is the UiD ( 73 ) entry for a piece of dynamic track before conversion.
          Code:
              Dyntrack (
                  UiD ( 73 )
                  TrackSections (
                      TrackSection (
                          SectionCurve ( 0 ) 4294967295 0 0
                      )
                      TrackSection (
                          SectionCurve ( 1 ) 40000 -0.698 146.38
                      )
                      TrackSection (
                          SectionCurve ( 0 ) 40002 4.87 0
                      )
                      TrackSection (
                          SectionCurve ( 1 ) 4294967295 0 0
                      )
                      TrackSection (
                          SectionCurve ( 0 ) 4294967295 0 0
                      )
                  )
                  SectionIdx ( 40000 )
                  Elevation ( -0.00274889 )
                  CollideFlags ( 535 )
                  StaticFlags ( 00100000 )
                  Position ( 879.644 983.964 378.644 )
                  QDirection ( -0.00012414 0.995914 -0.00136881 0.0903024 )
                  VDbId ( 4294967294 )
                  StaticDetailLevel ( 0 )
              )
          This is the converted entry for UiD ( 73 ).
          Code:
              TrackObj (
                  UiD ( 73 )
                  SectionIdx ( 40000 )
                  Elevation ( -0.00274889 )
                  CollideFlags ( 535 )
                  FileName ( "..\\..\\routes\\Silverton-A\\shapes\\DynaTrax-40000.s" )
                  StaticFlags ( 00200180 )
                  Position ( 879.644 983.964 378.644 )
                  QDirection ( -0.00012414 0.995913 -0.00136881 0.0903024 )
                  VDbId ( 4294967294 )
                  StaticDetailLevel ( 0 )
              )
          The new shape file is aliased in, and about the only other important things left are elevation, position, and qdirection. Of real importance to this question is that UiD ( 73 ) is no longer a Dyntrack entry in the World file, and it's simply a TrackObj.

          So now MSTS doesn't know from beans about generating overhead wires for a simply placed shape that's aliased in. The problem I see here is that something is missing from the new Dynatrax shape, and nothing is amiss with OR.
          EDIT: I failed to remember to ask about the display in MSTS. If OK, then there may be come kind of disconnect for this type of conversion in OR.

          I do not claim to be the world's best Dynatrax profile generator, but I've written four successful ones. Given that a profile for currently available Dynatrax versions depends on the extrudability of the shape, I can't really see how to add catenary and such...

          Tim Booth's forum is active again, and he's generating a new version of Dynatrax. A trial version is available. Perhaps this question should be presented there.


          regards,
          charlie
          Last edited by charlie; 11-08-2011, 09:07.

          Comment

          • jjtang
            Senior Member
            • Nov 1999
            • 200
            • .

            #6
            TDB should be updated as well, otherwise, it does not know anything about section id 40000.

            Comment

            • OTTODAD
              1
              • Feb 2001
              • 32344
              • England
              • General

              #7
              Originally posted by charlie
              The new shape file is aliased in, and about the only other important things left are elevation, position, and qdirection. Of real importance to this question is that UiD ( 73 ) is no longer a Dyntrack entry in the World file, and it's simply a TrackObj.

              So now MSTS doesn't know from beans about generating overhead wires for a simply placed shape that's aliased in. The problem I see here is that something is missing from the new Dynatrax shape, and nothing is amiss with OR.
              EDIT: I failed to remember to ask about the display in MSTS. If OK, then there may be come kind of disconnect for this type of conversion in OR.
              Did not notice that before and yes, MSTS has no problems with displaying it's overhead wire over TrackObj of any kind at the height set in the route's *.TRK file, including converted to DynaTrax Dynamic track sections, but ORTS has !

              The route's *.TDB also has no problems showing these DynaTrax TrackObj tracks sections in either MSTS nor ORTS and is not concerned with them, their shape files and textures used by them being in the route's SHAPES and TEXTURES folders.

              O t t o

              Comment

              • jjtang
                Senior Member
                • Nov 1999
                • 200
                • .

                #8
                Is it possible you wrap a simple route with the coverted tracks and upload it to some place so that I can fetch?

                Comment

                • charlie
                  1500 Post Veteran
                  • Nov 1999
                  • 1843
                  • Maryland, USA

                  #9
                  Originally posted by jjtang
                  TDB should be updated as well, otherwise, it does not know anything about section id 40000.
                  The TDB is updated at the time that the dynamic track is placed in the RE and saved, so the update is already present in the route's local tsection.dat.

                  If the entry in the local tsection.dat is not already present, Dynatrax cannot have anything to select for conversion.

                  regards,
                  charlie

                  Comment

                  • OTTODAD
                    1
                    • Feb 2001
                    • 32344
                    • England
                    • General

                    #10
                    Originally posted by jjtang
                    Is it possible you wrap a simple route with the converted tracks and upload it to some place so that I can fetch?
                    I have the renamed to A?t MSTS tracks DB-Tracks USA1A (NEC-4) for use in a specific for it MSTSBin MINI route here:
                    https://www.otto-wipfel.co.uk/db-min...racks-mini.rar
                    also featuring the Yard-Cam-4, which can be installed after conversion to DB-Tracks and TSUtil raising it's tracks.

                    Having been downloaded 139 times so far it seems to be working for those who have tried it !

                    O t t o

                    Comment

                    • jjtang
                      Senior Member
                      • Nov 1999
                      • 200
                      • .

                      #11
                      Thanks. Have grabbed the route and am now debugging the code to see how to fix it.

                      Comment

                      • OTTODAD
                        1
                        • Feb 2001
                        • 32344
                        • England
                        • General

                        #12
                        Originally posted by jjtang
                        Thanks. Have grabbed the route and am now debugging the code to see how to fix it.
                        Have added my using DB-Tracks Gold-Spike-X route for use in this DB-TRACKS-ROUTES MSTSBin MINI but it seems to have lost some scenery items because it has the Yard-Cam-4 installed in it's World files and TSUtils raising the tracks causing them to disappear.

                        www.otto-wipfel.co.uk/db-mini/gsx-db-tracks.rar

                        Can not remove the Yard-Cam-4 from it's un-compressed World files and neither can it un-compress them, nor can other utilities like the Route Riter and TSUtils compress or un-compress them, ZIPPER also having problems with some World files.

                        My main trainsims computer being out of action because of an as yet unknown fault I am not prepared to spend a lot of money on a new one if I can not be sure that all of the above MSTS utilities can be made to work, their suppliers not having come up with any helpful suggestions so far.

                        Now can not run ORTS 6.2 on my second lesser stand-by WIN-XP computer and have reported it in another thread here.

                        Looks like the end of Train Simulators for me !

                        O t t o

                        Comment

                        • jjtang
                          Senior Member
                          • Nov 1999
                          • 200
                          • .

                          #13
                          I have fixed the problem, now wires can be shown on the DynaTrax tracks. Will be available with the next release.

                          Comment

                          • OTTODAD
                            1
                            • Feb 2001
                            • 32344
                            • England
                            • General

                            #14
                            Originally posted by jjtang
                            I have fixed the problem, now wires can be shown on the DynaTrax tracks. Will be available with the next release.
                            Well done and thanks !!!!

                            Also noticed that the overhead wire is now going to have it's own specific ACE texture which can be modified to suit !

                            On the subject of overhead wires could the current contact wire be made a little less bold ?

                            Looking forward to the next release !

                            O t t o

                            Comment

                            Working...