Open Rails x.4220, Monogame 3.7 version

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

    • May 2010
    • 212

    #46
    Originally posted by Shrey01
    This time I am posting with screenshot Same problem persisting Please help me as I am tired of this error now its not getting solved [ATTACH=CONFIG]75246[/ATTACH]
    In your screenshot there is a pulldown menu "View problem details", what does it say?
    I would suggest you do another screenshot with those details...they are VERY IMPORTANT to help you.

    Comment

    • EldoradoRailroad
      Senior Member

      • May 2010
      • 212

      #47
      Originally posted by vince1234
      [ATTACH=CONFIG]75247[/ATTACH]

      I'm so lost because I have no idea why it's trying to grab stuff from D drive. I downloaded the same mono version that everyone else did and they aren't having problems.
      First, thanks for posting an explicit error report..this is what is needed. Now..look at post #23..item f). What version of windows are you using? Some versions of windows may not have the file in question. If you have not noticed, the error you are getting is caused by a missing file called "d3dcompiler_47.dll". This file is NOT re-distributed with the Monogame version of ORTS. So you will have to track it down.

      This might help you:

      Comment

      • EldoradoRailroad
        Senior Member

        • May 2010
        • 212

        #48
        Originally posted by =FI=Ghost
        I run ORTS on my ASUS laptop with Intel Core I5-7200u and NVIDIA GEFORCE 940mx. When I try to run the Monogame version, I get extremely low FPS. Am I missing something or?
        In post #23, item b) I said..super-duper laptop.. I think that means an i7 with a more recent GPU! But for a start, I would disable dynamic shadows and see if that makes a difference. Post #23 mentions a few caveats that may hinder the performance you want. In my case, I have never used ORTS (XNA or Monogame) on a laptop, only on a much more powerful desktop (i7 & Nvidia 1080ti).

        Comment

        • EldoradoRailroad
          Senior Member

          • May 2010
          • 212

          #49
          Originally posted by Shawmut

          And as with the XNA version, you get better results on an SSD rather than a spinning drive ...
          David,

          This is not really what I meant, yes of course an SSD helps with loading speed, but the OOM is caused by loading shapes/textures that are in excess of what the 32 bit program can handle. This is very evident when your activity is on a single tile (switching activity) and you have A LOT of DIFFERENT consists/rolling stock passing through. The Monogame version appears to be better at using far less memory, meaning that an out of memory error (OOM) will occur less frequently.

          Steve

          Comment

          • DirtyRam
            Senior Member

            • May 2010
            • 107
            • Northwest Lake Ontario
            • North - North American
            • General

            #50
            Yes, I see that. In post #41 Haverfordwest put the link to the post #23 in there, and it works, when I just tried it.

            Comment

            • R. Steele
              3500 Post Veteran

              • Feb 2013
              • 3928
              • known universe
              • ORTS

              #51
              Got an error which caused OR to crash...MG X4222, I have ReShade_Setup_3.4.1.exe installed, which has been working in other versions of monogame with no problems.

              Relevant portion of log
              Code:
              Error: System.NullReferenceException: Object reference not set to an instance of an object.
                 at Orts.Viewer3D.SceneryShader.set_OverlayScale(Single value) in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\RunActivity\Viewer3D\Shaders.cs:line 257
                 at Orts.Viewer3D.TerrainMaterial.SetState(GraphicsDevice graphicsDevice, Material previousMaterial) in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\RunActivity\Viewer3D\Terrain.cs:line 526
                 at Orts.Viewer3D.TerrainSharedMaterial.SetState(GraphicsDevice graphicsDevice, Material previousMaterial) in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\RunActivity\Viewer3D\Terrain.cs:line 572
                 at Orts.Viewer3D.RenderFrame.DrawSequences(GraphicsDevice graphicsDevice, Boolean logging) in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\RunActivity\Viewer3D\RenderFrame.cs:line 848
                 at Orts.Viewer3D.RenderFrame.DrawSimple(GraphicsDevice graphicsDevice, Boolean logging) in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\RunActivity\Viewer3D\RenderFrame.cs:line 777
                 at Orts.Viewer3D.RenderFrame.Draw(GraphicsDevice graphicsDevice) in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\RunActivity\Viewer3D\RenderFrame.cs:line 682
                 at Orts.Viewer3D.Processes.RenderProcess.Draw() in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\RunActivity\Viewer3D\Processes\RenderProcess.cs:line 332
                 at Orts.Viewer3D.Processes.Game.Draw(GameTime gameTime) in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\RunActivity\Viewer3D\Processes\Game.cs:line 134
                 at Microsoft.Xna.Framework.Game.DoDraw(GameTime gameTime)
                 at Microsoft.Xna.Framework.Game.Tick()
                 at MonoGame.Framework.WinFormsGameWindow.TickOnIdle(Object sender, EventArgs e)
                 at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
                 at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
                 at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
                 at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
                 at System.Windows.Forms.Application.Run(Form mainForm)
                 at MonoGame.Framework.WinFormsGameWindow.RunLoop()
                 at MonoGame.Framework.WinFormsGamePlatform.RunLoop()
                 at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
                 at Microsoft.Xna.Framework.Game.Run()
                 at Orts.Program.Main(String[] args) in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\RunActivity\Program.cs:line 49
              
              
              Information: Game.PopState()
              Complete Log here ( and does anyone know for sure if I have to repair the NET framework performance counters? I looked at the instructions at MS...geeze, maybe beyond my pay grade, or at least willingness to learn how to...do they really expect common users to do this?
              OpenRailsLog.zip
              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

              • R. Steele
                3500 Post Veteran

                • Feb 2013
                • 3928
                • known universe
                • ORTS

                #52
                Ignore problem...I found it, I had accidentally copied an entire Content folder from another MG version, now I know you cannot do that.

                Although, I would appreciate an answer about the necessity of repairing the NET framework performance counters.
                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

                • R. Steele
                  3500 Post Veteran

                  • Feb 2013
                  • 3928
                  • known universe
                  • ORTS

                  #53
                  I did find some reshade profiles for TS 2018, I plugged one in for MG ver 4222, it looks pretty good. I know people where saying that they couldn't find profiles for OpenRails, try some of the profiles for the other train sims, you might be surprised.
                  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

                  • erielackawanna
                    Senior Member
                    • Nov 1999
                    • 245
                    • Jct of the NS Southern Tier an, New York.

                    #54
                    Hi,

                    I wonder why I'm seeing intense flickering of shapes and jagged lines in OR v4273. Interestingly, the shapes do not flicker and lines appear smoother in OR Monogame. I adjusted the settings in Nvidia Inspector to try to stop the flickering and smooth the jagged lines, but that didn't fix these issues.

                    Comment

                    • bwbrgb
                      Senior Member
                      • Jun 2004
                      • 441
                      • Ontario, Canada
                      • General

                      #55
                      Is the problem on all routes or just some of them ?

                      Comment

                      • Shortliner
                        New Member
                        • Dec 2007
                        • 0
                        • Concord, NC

                        #56
                        Originally posted by R. Steele
                        I did find some reshade profiles for TS 2018, I plugged one in for MG ver 4222, it looks pretty good. I know people where saying that they couldn't find profiles for OpenRails, try some of the profiles for the other train sims, you might be surprised.
                        I tried this tonight & it actually made ORTS look better.
                        Sean Summer
                        CEO of Blue Ridge Mountains Machine works.

                        Comment

                        • erielackawanna
                          Senior Member
                          • Nov 1999
                          • 245
                          • Jct of the NS Southern Tier an, New York.

                          #57
                          Hi Bwbrgb,

                          I only have one route installed. That is a route project. I may install other routes to check if the flashing textures and jagged lines also occur on those routes in OR.

                          Comment

                          • Shrey01
                            New Member
                            • Sep 2017
                            • 4

                            #58
                            Anyone can share the latest version of Openrails monogame I am not getting the link

                            Comment

                            • longiron
                              1000 Post Veteran and Moderator

                              • Jan 2007
                              • 1453
                              • Just south of NYC

                              #59
                              A new unofficial release of OR Monogame is available.

                              The download link is http://www.interazioni-educative.it/...NewYear_MG.zip
                              Also the related dev kit is available at http://www.interazioni-educative.it/..._MG_DevKit.zip.

                              This release is based on the standard OR x.4334, plus the adaptations to Monogame, plus:
                              - addition of track sounds in the sound debug window
                              - change of the font family and dimension for the digital displays in 2D cabs
                              - new trainspotter camera, started with Shift-4, which places itself at railroad crossings and platforms, if present
                              - F5 HUD scrolling
                              - management of up to 4 pantographs
                              - management of location events triggered by AI trains
                              - correction of calculation of station stops in a specific case.
                              Chris
                              "True rail fans have two favorite railroads. The B&O and one other."

                              Comment

                              • cn bala
                                1000 Post Veteran
                                • Jun 2005
                                • 1213
                                • north of United States

                                #60
                                Right now I have Open Rails X1.3.1.25-g39999d40 program in my desktop and would like to try with OR Monogame on my desktop. My question is that should I install the Open Rails Monogame first then uninstall the other with Open Rails X1.3.1.25-g39999d40. Or leave this and move over to another drive. In case I don't like Open Rails Monogame program.

                                John

                                Comment

                                Working...