Map window gone. Again.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • OSRFan
    Member
    • Oct 2024
    • 61
    • Canada
    • General

    #1

    Map window gone. Again.

    Recently, I posted about losing my map window in ORTS. I solved it by updating to the newest testing version. Today, OR updated to the latest test version (Open.Rails.T1.5.1-1435-ge5b84141d), et voila, the map window is again gone. If I key in <crtl> + 9, my system tells me there is a map window, but it will not display.

    I have currently solved it by going back to stable version 1.5.1
  • R. Steele
    3500 Post Veteran

    • Feb 2013
    • 3928
    • known universe
    • ORTS

    #2
    This problem was discussed at Elvas in a thread started by niknak -- also a member here. I quote some relevant posts:

    Hi Niknak,
    The registry values for the map window can be found at "HKEY_CURRENT_USER\Software\OpenRails\ORTS\Map _Map Viewer". Recently I also had a problem with the map window. It did not appear anymore after using the (Ctrl+9) command. 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
    When I press on the minimise button on the map view, runactivity.exe will change the registry values to -32000, -32000. Menu.exe will later write those values back into the registry, not sure when menu.exe makes those changes as I ran out of time to test it further.

    Thanks uli and marek!
    Here I have prepared a patch for ORNYMG 160 that does not write to the registry in case of the couple of -32000 (which indeed are present when one minimizes the map window, as marek says). It seems to work here.
    [attachment=134283:RunActivity.zip]
    If it is confirmed to work I'll apply it to ORNYMG and will create a PR for the official OR.
    Carlo then posted that the fix was included in ORNYMG 160.1
    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

    • OSRFan
      Member
      • Oct 2024
      • 61
      • Canada
      • General

      #3
      Thanks Gerry. I had just found that thread and was reading it. You've saved me some time. The only question now is how do I access my registry?

      Comment

      • R. Steele
        3500 Post Veteran

        • Feb 2013
        • 3928
        • known universe
        • ORTS

        #4
        Originally posted by OSRFan
        The only question now is how do I access my registry?
        regedit.jpg

        PLEASE, if you've never used the registry ... BE VERY CAREFUL
        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

        • OSRFan
          Member
          • Oct 2024
          • 61
          • Canada
          • General

          #5
          As I am very reluctant to tinker around with my registry, I was happy to find this on the ET forum:

          "I got some progress. Once OR running and Ctrl-9 pressed, I click on the icon of the map window in the application bar, and set it to full screen. The map window appears in full screen. I close OR and restart it. After CTRl-9 pressed, the map window appears and may also be reduced to a window."

          Having followed these steps, the map window is working. Should it go walkabout again, I know how to find it.

          Comment

          • R. Steele
            3500 Post Veteran

            • Feb 2013
            • 3928
            • known universe
            • ORTS

            #6
            Excellent -- thanks for posting that -- I'm sure it will prove helpful to others.
            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

            • OSRFan
              Member
              • Oct 2024
              • 61
              • Canada
              • General

              #7
              An update for anyone dealing with map window issues. Once I got the map window working, it would only open in full screen mode. I resized it to a window, and after doing this four or five times, it now opens as a window, not full screen.

              Comment

              Working...