Is There ANY Way of Reverting Back to Default Settings in Options?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kuckoo
    Senior Member
    • May 2021
    • 106

    #1

    Is There ANY Way of Reverting Back to Default Settings in Options?

    Where on earth is the user options settings stored lol? Keep deleting the old and updating OR-Testing version but new installs keep using previous custom settings.

    Just want to set things back to the new default before making changes again but I don't see any way of doing that, and I haven't been able to find the file where options are stored so it can be deleted to this end.

    Thanks.
    "My dog got loose once, what I did was show him his leash & he came running back, thinking it was time for a walk - stupid dog."
  • trainmanaustin
    Senior Member
    • Oct 2004
    • 126
    • Helena, MT

    #2
    I want to say that you can refer to the manual as it states what the default value of all the settings are.

    Sent from my SM-G988U using Tapatalk

    Comment

    • Kuckoo
      Senior Member
      • May 2021
      • 106

      #3
      Fair enough, though I prefer navigating to and deleting the file, rather than going through and manually checking every page and click-box. Maybe I'm spoiled, but I'm used to starting new installs with clean settings and simply deleting user configs is usually the best way of doing that IMO.

      Besides, I hope it's not asking much just knowing where user setting config files are kept anyway.

      Thanks.
      "My dog got loose once, what I did was show him his leash & he came running back, thinking it was time for a walk - stupid dog."

      Comment

      • geepster775
        2500 Post Veteran


        • Sep 2006
        • 2846
        • .
        • General

        #4
        Settings are maintained in the registry. Run Regedt32.exe

        Under HKEYCurrentUser/Software. Delete the Open Rails key.

        Then reinstall OR as if it were a new installation.

        Also clean out C:\users\{username}\Appdata\Roaming\OpenRails
        My Open Rails videos https://www.youtube.com/@lakecities3663/videos

        Comment

        • Kuckoo
          Senior Member
          • May 2021
          • 106

          #5
          Originally posted by geepster775
          Settings are maintained in the registry. Run Regedt32.exe

          Under HKEYCurrentUser/Software. Delete the Open Rails key.

          Then reinstall OR as if it were a new installation.

          Also clean out C:\users\{username}\Appdata\Roaming\OpenRails

          Thank you.
          Never would have thought to check the registry. Busy looking for a dat, cfg, etc file.

          Been clearing out the OR Roaming folder regularly, too. Thx!
          "My dog got loose once, what I did was show him his leash & he came running back, thinking it was time for a walk - stupid dog."

          Comment

          • R. Steele
            3500 Post Veteran

            • Feb 2013
            • 3928
            • known universe
            • ORTS

            #6
            There was some discussion about having a config file for user settings...I wonder what happened to that idea? Also why the registry instead of a config file?
            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

            • derekmorton
              5500 Post Veteran



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

              #7
              Originally posted by R. Steele
              There was some discussion about having a config file for user settings...I wonder what happened to that idea? Also why the registry instead of a config file?

              Cause it's windows and it's easier. :-)

              You can use an ini file and the program checks for it first.
              Last edited by derekmorton; 06-13-2021, 16:17. Reason: extra information

              Comment

              • Kuckoo
                Senior Member
                • May 2021
                • 106

                #8
                Originally posted by R. Steele
                There was some discussion about having a config file for user settings...I wonder what happened to that idea? Also why the registry instead of a config file?
                I may be off here but I'm guessing it helps with the Enable Webserver option in the testing version of OR as it enables the use of admin templates, basically pre-made web page layouts.
                "My dog got loose once, what I did was show him his leash & he came running back, thinking it was time for a walk - stupid dog."

                Comment

                • derekmorton
                  5500 Post Veteran



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

                  #9
                  No the webserver is for multiplayer only

                  Comment

                  • Kuckoo
                    Senior Member
                    • May 2021
                    • 106

                    #10
                    Originally posted by derekmorton
                    No the webserver is for multiplayer only
                    I've actually used the webserver in single player. It's for sending F4 and Alt-F4, Shift+Alt-F4 information to another device (phone, second PC, etc). Think you can show the dispatch window and other info as well. It's a cool feature, since you can display all the detailed information without obscuring the view on the machine running the sim. Just need to know the IP of the sim machine and assign a port number, and type in the url on the other machine. It's described in the online testing manual.
                    "My dog got loose once, what I did was show him his leash & he came running back, thinking it was time for a walk - stupid dog."

                    Comment

                    • R. Steele
                      3500 Post Veteran

                      • Feb 2013
                      • 3928
                      • known universe
                      • ORTS

                      #11
                      Originally posted by derekmorton
                      Cause it's windows and it's easier. :-)

                      You can use an ini file and the program checks for it first.
                      Derek, I've never been able to get the ".ini" file to work for me, guess I'll have to reread the threads and manual about that.
                      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

                      • derekmorton
                        5500 Post Veteran



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

                        #12
                        My 2 ini files
                        Attached Files

                        Comment

                        • R. Steele
                          3500 Post Veteran

                          • Feb 2013
                          • 3928
                          • known universe
                          • ORTS

                          #13
                          Thanks, however, the problem I have is with the placement of the "OpenRails" folder, in which the blank ini file resides. I know OR will write all the settings to this file when it loads, if it finds it in the correct place.

                          My problem could arise from the fact that I have not ever used the updater function of OR, preferring the download the versions I use directly, if that has any bearing on the issue. Fact is, whenever I've tried this...the file does not generated by OR, so I must be doing something incorrectly. Not a big deal Derek, this is so off topic, so if you have the time, PM or email me. Thanks. Gerry
                          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...