Open Rails x.4220, Monogame 3.7 version
Collapse
X
-
-
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
-
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
-
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.
SteveComment
-
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
-
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
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?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()
OpenRailsLog.zipCheers, 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=smallComment
-
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=smallComment
-
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=smallComment
-
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
-
I tried this tonight & it actually made ORTS look better.Sean Summer
CEO of Blue Ridge Mountains Machine works.Comment
-
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
-
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
-
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.
JohnComment







Comment