Adding Automatic Switch Sounds in Openrails

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • slipperman
    3500 Post Veteran



    • May 2010
    • 3787
    • Worksop, UK
    • MSOR

    #61
    I couldn't add this to my previous message, but it might help point to where the problem lies (or not!!)

    Here's another puzzle! I copied the complete original RUEL .trk file into the OpenRails folder then added the 3 Demosound parameters (without any changes) to that file just before the final close bracket. THAT WORKS AS WELL!!

    Cheers,
    Ged

    Comment

    • niknak
      1000 Post Veteran


      • Nov 1999
      • 1254
      • UK.
      • MSOR

      #62
      Curiouser and curiouser eh? I was going to try putting the sounds in the main file on Mullan but the ttype file is empty and I'm not sure what the first line should be. The ttype in the OR folder just has Track superelevation figures as well as the 2 lines for clear trees from road and rail..
      Regards,

      Nick

      ( ' boffin0_reprised ' on TikTok )




      Cyberpower Desktop with AMD Ryzen 5 CPU /. 16GB RAM /. ATI AMD Radeon RX6700 12GB graphics /. Windows 11 Home 64bit /. RailDriver /. Partridge in a pear tree....​

      Comment

      • slipperman
        3500 Post Veteran



        • May 2010
        • 3787
        • Worksop, UK
        • MSOR

        #63
        Hi Nick,
        Copy the ttype.dat file from Ruel into Mullan (after backing up the original, just in case!) and see how it goes.

        There shouldn't be a ttype.dat file in the OpenRails folder!! I think you meant .trk file?

        Cheers,
        Ged

        Comment

        • niknak
          1000 Post Veteran


          • Nov 1999
          • 1254
          • UK.
          • MSOR

          #64
          Yes I meant trk lol. Could you send the Ruel ttype via pm please? Or reply with the 1st line if that's all there is. The Ruel route is on my desktop pc which is at present in for repair. I only have certain routes inclu Mullan on the laptop I'm using at present.
          Last edited by niknak; 09-05-2021, 09:54.
          Regards,

          Nick

          ( ' boffin0_reprised ' on TikTok )




          Cyberpower Desktop with AMD Ryzen 5 CPU /. 16GB RAM /. ATI AMD Radeon RX6700 12GB graphics /. Windows 11 Home 64bit /. RailDriver /. Partridge in a pear tree....​

          Comment

          • slipperman
            3500 Post Veteran



            • May 2010
            • 3787
            • Worksop, UK
            • MSOR

            #65
            Hi Nick,
            I don't think I can attach a file to a PM! It doesn't look as if the original file had anything in it. Attached here is my RUEL ttype.dat file.

            Cheers,
            Ged
            Attached Files

            Comment

            • niknak
              1000 Post Veteran


              • Nov 1999
              • 1254
              • UK.
              • MSOR

              #66
              Originally posted by slipperman
              Hi Nick,
              I don't think I can attach a file to a PM! It doesn't look as if the original file had anything in it. Attached here is my RUEL ttype.dat file.

              Cheers,
              Ged
              It Works!! Many many thanks Ged. Now I have all my routes working with the DemoAutoSounds plus a few hints from you on what to try on any future routes I may download that need it.

              Thanks again.

              Regards, Nick
              Regards,

              Nick

              ( ' boffin0_reprised ' on TikTok )




              Cyberpower Desktop with AMD Ryzen 5 CPU /. 16GB RAM /. ATI AMD Radeon RX6700 12GB graphics /. Windows 11 Home 64bit /. RailDriver /. Partridge in a pear tree....​

              Comment

              • slipperman
                3500 Post Veteran



                • May 2010
                • 3787
                • Worksop, UK
                • MSOR

                #67
                Hi Nick,
                That's great news! Glad to be able to help

                One outstanding question - are you using the 'full' .trk file in the OpenRails folder, or just the 'include' version containing only the DemoAutoSounds parameters (and, maybe, the tree clearance parameters)?

                Cheers,
                Ged

                Comment

                • niknak
                  1000 Post Veteran


                  • Nov 1999
                  • 1254
                  • UK.
                  • MSOR

                  #68
                  Hi Ged,
                  In the trk file residing in the separate OR folder I have several lines of figures concerning TrackSuperElevation, plus the two tree/road clearance lines and that's all. The main trk file in the route folder contains the full listings, including the 3 lines for the DemoAutoSounds.

                  Hope that helps.

                  Regards,

                  Nick
                  Regards,

                  Nick

                  ( ' boffin0_reprised ' on TikTok )




                  Cyberpower Desktop with AMD Ryzen 5 CPU /. 16GB RAM /. ATI AMD Radeon RX6700 12GB graphics /. Windows 11 Home 64bit /. RailDriver /. Partridge in a pear tree....​

                  Comment

                  • derekmorton
                    5500 Post Veteran



                    • Nov 1999
                    • 5699
                    • Eltham, Victoria, Australia.
                    • ORTS

                    #69
                    Hi Nick,

                    The 3 demoautosounds lines should be in the trk file in the OR folder. They are OR commands only.

                    Comment

                    • baldwin
                      6000 Post Veteran


                      • Nov 1999
                      • 6358
                      • Chippenham, Wiltshire, UK.
                      • ORTS

                      #70
                      It does not matter where the commands are located, if running MSTS it ignores commands it is not coded to read. Open Rails will read its commands from whatever location they are in. The Open Rails route folder is handy to use for locating the signal data files because OR treats them slightly differently there compared to them being in the route root folder.
                      Beer is not a matter of life or death, it is much more serious than that.

                      Comment

                      • slipperman
                        3500 Post Veteran



                        • May 2010
                        • 3787
                        • Worksop, UK
                        • MSOR

                        #71
                        Hi Nick,
                        Based on my previous tests, I found that the DemoAutoSounds parameters only worked for the RUEL route if they were in the route's main .trk file - they did not work if they were only in the OpenRails .trk file. That seems a little odd because, in that location, they work correctly for other routes. Of course, it could be me doing something wrongly, but I don't know what!!

                        Cheers,
                        Ged

                        Comment

                        • niknak
                          1000 Post Veteran


                          • Nov 1999
                          • 1254
                          • UK.
                          • MSOR

                          #72
                          Hi Ged,

                          Who knows? lol. I think the answer is probably 42


                          Thank you also Derek and Mervyn for your contribution.
                          Regards,

                          Nick

                          ( ' boffin0_reprised ' on TikTok )




                          Cyberpower Desktop with AMD Ryzen 5 CPU /. 16GB RAM /. ATI AMD Radeon RX6700 12GB graphics /. Windows 11 Home 64bit /. RailDriver /. Partridge in a pear tree....​

                          Comment

                          • geepster775
                            2500 Post Veteran


                            • Sep 2006
                            • 2846
                            • .
                            • General

                            #73
                            Even with an empty ttype.dat, Ruel has always had curve squeal noises. How were they generated?

                            https://youtu.be/y7o8Vcx0NMs?t=258






                            .
                            Last edited by geepster775; 09-06-2021, 07:56.
                            My Open Rails videos https://www.youtube.com/@lakecities3663/videos

                            Comment

                            • slipperman
                              3500 Post Veteran



                              • May 2010
                              • 3787
                              • Worksop, UK
                              • MSOR

                              #74
                              Hi geepster775,
                              That's a very good question, sir!
                              I can't find the .wav files anywhere! There are 50 .ws files in the World folder with all but 5 using sfx_high_wind.sms which calls sfx_high_wind.wav file which is most definitively not any sort of rail squeal!!

                              However, the main question is, why do the DemoAutoSounds work if the parameters are entered in a full .trk file, whether it's in the route's folder or in the route's OpenRails folder, but not in the 'include' version of the .trk file in the OpenRails folder??

                              I've even looked for 'hidden' files in the RUEL folder but can't see any!

                              Have tested with the latest MG version of OR together with the last stable, unstable and testing versions.

                              Cheers,
                              Ged

                              Comment

                              • geepster775
                                2500 Post Veteran


                                • Sep 2006
                                • 2846
                                • .
                                • General

                                #75
                                The answer is likely in the TS Common Sound folder. Flange squeal was part of their comprehensive rolling stock sound retrofit that also brought us the emergency brake stopping sounds, the train air release 'hissing noise', and the randomized flat spot wheel thumping. And this sound set availability, accepted or discarded by various users, is probably somehow adding confusion to the testing circumstances between different reporting individuals... giving false positives.
                                My Open Rails videos https://www.youtube.com/@lakecities3663/videos

                                Comment

                                Working...