Engines showing up under the "Electric" Type tab, rather than "Diesel".

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Curt C
    1000 Post Veteran

    • Jul 2001
    • 1032
    • UP's dead Santa Barbara Sub
    • General

    #1

    Engines showing up under the "Electric" Type tab, rather than "Diesel".

    I'm the first to admit that I'm not the most knowledgeable when it comes to TSRE, but I've got a problem that is really puzzling me. I've got 4 U.P. Gevos (file names "UP_C44ACCTE_5911", xxx_5919, xxx_5920, and xxx_5929. When I open TSRE Consist Editor, I don't find them under Type "Diesel", I find them listed under Type "Electric. In looking at the TSRE screen, I'm seeing that these 4 units show only "Engine" for the Type, while all other engines, located under the Type "Diesel" category, show "Engine (Diesel)" for the Type. I've searched the engine file, but I'm not seeing anything that stands out. Any assistance in moving these 4 units from "Electric" to "Diesel" would be appreciated.
  • slipperman
    3500 Post Veteran



    • May 2010
    • 3787
    • Worksop, UK
    • MSOR

    #2
    Hi Curt,
    In the 'Wagon' section of the .eng file, Type ( Engine ) is correct.
    In the 'Engine' section, Type ( Diesel ) is also correct!

    5911, 5919 and 5920 are shown correctly in the 'Diesels' list in TSRE ConsistEditor but 5929 is shown in the 'Electric' list even though the 'Type' entries are correct.

    The cause of the problem is in the Coupling section of 5929 where the first entry is Coupling Coupling (.. Correcting this to Coupling ( results in all 4 locos being shown in the 'Diesels' list

    Cheers,
    Ged
    Last edited by slipperman; 12-30-2023, 12:44.

    Comment

    • oper190
      1000 Post Veteran



      • May 2010
      • 1498
      • Port Charlotte, FL
      • English
      • MSOR

      #3
      Here's what I find in a typical diesel .eng file, after the lighting codes:

      Engine ( HRL_F9A-891
      Effects
      (
      DieselSpecialEffects
      (
      Exhaust1
      (
      0.0 4.5 -0.786
      0 1 0
      0.1
      )
      Exhaust2
      (
      0.0 4.5 -3.232
      0 1 0
      0.1
      )
      )
      )

      Wagon ( HRL_F9A-891 )
      Type ( Diesel )

      ********

      Here's an electric after lighting codes:

      Engine ( acela
      Wagon ( acela )
      Type ( Electric )

      Suspect the error lies there. I do''t have those engines so can't check their files myself.​​

      Missed the prior post, while wirting mine, so disgard,
      oper190
      Geary "Mr. Hart" Gerhardt - Owner and CEO of Hart Rail Lines, Hart Commuter Railways, and Hart Rail Cars. Also the defunct Hart Electric Transit.
      Its Your Train Sim World, sim as you please.

      Comment

      • RobGuru
        Senior Member

        • Jun 2020
        • 283
        • USA
        • MSOR

        #4
        GP38-2 2675, GP15T 1550 from the Dekosoft CSX pack show as electric.

        Comment

        • Curt C
          1000 Post Veteran

          • Jul 2001
          • 1032
          • UP's dead Santa Barbara Sub
          • General

          #5
          Thanks so much, Ged. I appreciate the help!

          Comment

          • yellowdog
            1500 Post Veteran



            • Nov 1999
            • 1586
            • .
            • MSOR

            #6
            Originally posted by RobGuru
            GP38-2 2675, GP15T 1550 from the Dekosoft CSX pack show as electric.
            I had this, too. But I figured it out. There's a missing ) in the .eng file, just after the lighting section. The original has 4, but it should be 5.
            Attached Files
            Last edited by yellowdog; 12-30-2023, 14:30.

            Comment

            • slipperman
              3500 Post Veteran



              • May 2010
              • 3787
              • Worksop, UK
              • MSOR

              #7
              Hi yellowdog,
              You must have a different version of the .eng file to mine because the line numbers are totally different!
              However, I think by adding a close bracket, you've introduced an error. Mine only has 4 close brackets before the Sound line.
              That under 'Radius' is for 'State', the next down is for 'States'. The third down is for 'Light' and the fourth is for 'Lights'.

              The one under 'Sound' is for 'Wagon' at the head of the file. By adding an extra close bracket before 'Sound' you may, at best, end up with no external sounds when running Open Rails but likely to cause a crash if running MSTS!!

              I'm not saying there aren't errors in your .eng file/s, but that it looks like you've added another!

              Cheers,
              Ged

              Comment

              • yellowdog
                1500 Post Veteran



                • Nov 1999
                • 1586
                • .
                • MSOR

                #8
                Whoops, you are correct! I think I found the actual solution, though. There's an extra Comment line at 19. Deleting that seems to resolve the problem without creating more problems
                Attached Files
                Last edited by yellowdog; 12-30-2023, 16:20.

                Comment

                • pwillard
                  3000 Post Veteran



                  • Nov 1999
                  • 3070
                  • Cumming Ga
                  • ORTS

                  #9
                  I kills me that KICAD (PCB Software) just adopted this S-Expression configuration scheme that is used by MSTS (Which I have hated since day 1). The claim is that S-Expression format is a human-readable format but judging by 20+ years of human-errors with it... I still have my doubts about it being a good idea.
                  http://www.railsimstuff.com
                  Just Blender now, 3DCrafter only when I have to.
                  Formerly The Keystone Works (All Permissions Granted)
                  Things I work on: https://github.com/pwillard

                  Comment

                  • R. Steele
                    3500 Post Veteran

                    • Feb 2013
                    • 3928
                    • known universe
                    • ORTS

                    #10
                    Originally posted by pwillard
                    The claim is that S-Expression format is a human-readable format
                    They forgot to mention that humans should be taught how to read it -- reading is a learned skill, even very proficient readers can have trouble reading Shakespeare, if they haven't developed the skill to read his verse. The humans that designed S-Expression format were already predisposed to read the format by their professional skills.
                    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

                    Working...