Open Rails 1.6 Shows red box on screen instead of map.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RobGuru
    Senior Member

    • Jun 2020
    • 283
    • USA
    • MSOR

    #1

    Open Rails 1.6 Shows red box on screen instead of map.

    Hi everyone.

    When I bring up the map window a red box shows up on the screen border instead of the map.
    Is there a way to fix it?
  • uli2
    Senior Member
    • Jan 2008
    • 503
    • Berlin/Germany
    • MSOR

    #2
    Probably the position values for the map window in the registry have changed inadvertently on your PC. Recently I also had a problem with the map window. It did not appear anymore after using the (Ctrl+9) command. The registry values for the map window can be found at "HKEY_CURRENT_USER\Software\OpenRails\ORTS\Map_Map Viewer". It turned out that somehow my registry values for the map window had changed to "-32000,-32000,600,400". The first two numbers determine the position of the map window (X, Y). "-32000,-32000" are widely beyond my screen. That was the reason why I could not see the map window anymore. You could check your values for the map window in the registry. My current numbers after fixing the problem with the "invisible" map window are "820,31,1020,855".
    Uli

    Comment

    • RobGuru
      Senior Member

      • Jun 2020
      • 283
      • USA
      • MSOR

      #3
      Thanks!

      Comment

      • c44d9w
        Member
        • May 2010
        • 58

        #4
        The red border indicates that the simulation window is not in focus, and thus does not receive keyboard commands. It is really helpful when you have multiple monitors.

        Comment

        • crabby541
          New Member
          • Jan 2024
          • 5
          • Oregon
          • ORTS

          #5
          I was having issues with v 1.6 map window also. I changed the registry values to 820,31,1020,855 and this corrected the issue. Thank you, Uli2 for the fix!

          Comment

          • gates5of1
            Senior Member

            • Feb 2011
            • 139
            • Woodbridge Va.

            #6
            where do you go to find the registry to correct the problem? and do you just type in the corrections or what?

            Comment

            • c44d9w
              Member
              • May 2010
              • 58

              #7
              You change the registry using a program called regedit (registry editor). This requires caution, as inadvertently changing a system entry could cause serious problems. To start regedit:
              • Press and hold the Windows key, then press the R key -- this brings up the Run dialog
              • Enter "regedit" into the box with the label "Open", then click OK
              • In the security prompt, click "Yes" to allow regedit to make changes
              Now you should have the regedit window open. The next step is to search for the OpenRails Map Viewer entry in the Current User section:
              • With the regedit window in focus, press Ctrl-F (or used the Edit menu and click Find)
              • Enter "Map_MapViewer" into the "Find what:" box, and click Find Next. This may take a while. Note the underscore between the first and second "Map", and the absence of a space in "MapViewer".
              • Verify (at the top left) that the found entry is in the HKEY_CURRENT_USER section. If not, use F3 to search again.
              Lastly, edit the value of the Map_MapViewer entry:
              • Click on the "Map_MapViewer" row on the right side of the regedit window to select the entry
              • Right-click the entry and click "Modify...", or use the Edit menu and select Modify
              • In the Edit popup, enter the desired value, and click OK
              That is all. You can exit the registry editor.

              An earlier response had "820,31,1020,855" as a working value. Mine is "157,52,1623,978". The first two numbers are the offset of the window, the second two are the size.

              You could use that Favorites menu to add the ORTS key as a favorite. That makes it easier to find next time.

              See also: https://www.wikihow.com/Use-Regedit

              Comment

              • kapitaen
                Senior Member

                • May 2010
                • 331
                • Germany
                • German + a little bit English
                • MSOR

                #8
                Some users have created an openrails.ini file, as I have. Editing is much easier here.

                Screen Shot 11-26-25 at 08.47 AM.jpg
                Jan

                Comment

                • c44d9w
                  Member
                  • May 2010
                  • 58

                  #9
                  The testing and unstable versions (ie. post 1.6) have a contributed tool to copy the existing settings from the registry into a new INI file. See the Tools button in the main menu, or use the command line.

                  Code:
                  Contrib.SettingsExporter REG INI

                  Comment

                  • bertwise
                    Member

                    • Jul 2007
                    • 83
                    • .

                    #10
                    Originally posted by c44d9w
                    The testing and unstable versions (ie. post 1.6) have a contributed tool to copy the existing settings from the registry into a new INI file. See the Tools button in the main menu, or use the command line.

                    Code:
                    Contrib.SettingsExporter REG INI
                    Can this be used with stable version 1.5?

                    Bert

                    Comment

                    • c44d9w
                      Member
                      • May 2010
                      • 58

                      #11
                      Originally posted by bertwise
                      Can this be used with stable version 1.5?
                      Unfortunately not. Creating the exporter required some changes to the base software. These are not in 1.5.

                      Comment

                      • bertwise
                        Member

                        • Jul 2007
                        • 83
                        • .

                        #12
                        Thanks for confirming.

                        Comment

                        • Ogprodigy187
                          New Member
                          • Jul 2024
                          • 1
                          • General

                          #13
                          Hello, I also had the same problem and I followed the instructions in the messages above. Everything worked until the step where you have to replace the value in MAP_MAPVIEWER. When I modified and then ran the program, the previous value reverted to its original position. So I deleted MAP_MAPVIEWER and it worked.

                          Comment

                          Working...