Hi Folks,
As discussed previously - I believe there is a known issue when attempting to use Track Viewer with Monogame on Win10x64 - it doesn't work...
In the past I maintained two separate instances of ORTS - just so I could use Track Viewer...
Now - since Monogame is included with the production (experimental) version of ORTS - I was just wondering what folks in a similar position are doing ?
I don't really want to keep switching my production version of ORTS - back and forth - redownloading all the files - every time I want to use Track Viewer...
Can I save just the files needed to run Track Viewer in XNA - save them somewhere else - then use that - or is the issue the fact that I have Monogame loaded ?
Do I need the entire ORTS XNA infrastructure to use Track Viewer - or just the Track Viewer executable ?
Any thoughts appreciated...
Thanks...
Regards,
Scott
Page 1 of 1
Win10x64 Monogame Compatability
#2
Posted 05 October 2019 - 10:57 AM
scottb613, on 05 October 2019 - 07:44 AM, said:
Hi Folks,
As discussed previously - I believe there is a known issue when attempting to use Track Viewer with Monogame on Win10x64 - it doesn't work...
In the past I maintained two separate instances of ORTS - just so I could use Track Viewer...
Now - since Monogame is included with the production (experimental) version of ORTS - I was just wondering what folks in a similar position are doing ?
I don't really want to keep switching my production version of ORTS - back and forth - redownloading all the files - every time I want to use Track Viewer...
Can I save just the files needed to run Track Viewer in XNA - save them somewhere else - then use that - or is the issue the fact that I have Monogame loaded ?
Do I need the entire ORTS XNA infrastructure to use Track Viewer - or just the Track Viewer executable ?
Any thoughts appreciated...
Thanks...
Regards,
Scott
As discussed previously - I believe there is a known issue when attempting to use Track Viewer with Monogame on Win10x64 - it doesn't work...
In the past I maintained two separate instances of ORTS - just so I could use Track Viewer...
Now - since Monogame is included with the production (experimental) version of ORTS - I was just wondering what folks in a similar position are doing ?
I don't really want to keep switching my production version of ORTS - back and forth - redownloading all the files - every time I want to use Track Viewer...
Can I save just the files needed to run Track Viewer in XNA - save them somewhere else - then use that - or is the issue the fact that I have Monogame loaded ?
Do I need the entire ORTS XNA infrastructure to use Track Viewer - or just the Track Viewer executable ?
Any thoughts appreciated...
Thanks...
Regards,
Scott
what issues are you seeing? Trackviewer runs just fine for me, on different W10x64 systems as well other systems, both in the Unstable+Monogame version and my own experimental port.
Can you describe the issues, some screenshots or logs?
#3
Posted 05 October 2019 - 11:48 AM
perpetualKid, on 05 October 2019 - 10:57 AM, said:
what issues are you seeing? Trackviewer runs just fine for me, on different W10x64 systems as well other systems, both in the Unstable+Monogame version and my own experimental port.
Can you describe the issues, some screenshots or logs?
Can you describe the issues, some screenshots or logs?
Hi Folks,
I thought we spoke of this a while back - as others reported having the issue and the developer responded he didn't have Win10 so he had no way of testing this for himself and therefore was unable to fix it...
It wasn't just me...
I've been searching but I can't find the post...
The very first indication is that you get artifacts in the menu system - as displayed below - the menu systems doesn't work smoothly and opens sporadically... Then once you do manage to get a route open - it crashes very briefly after that...
Happens with all routes...
I had none of these issues with the XNA version...
Thanks for your interest....
Image1.jpg (451K)
Number of downloads: 14
Image2.jpg (2MB)
Number of downloads: 17
Oh - here's the contents of the crash:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** SharpDX.SharpDXException: HRESULT: [0x887A0001], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_INVALID_CALL/InvalidCall], Message: The application made a call that is invalid. Either the parameters of the call or the state of some object was incorrect. Enable the D3D debug layer in order to see details via debug messages. at SharpDX.Result.CheckError() at SharpDX.DXGI.SwapChain.ResizeBuffers(Int32 bufferCount, Int32 width, Int32 height, Format newFormat, SwapChainFlags swapChainFlags) at Microsoft.Xna.Framework.Graphics.GraphicsDevice.CreateSizeDependentResources() at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Reset() at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Reset(PresentationParameters presentationParameters) at Microsoft.Xna.Framework.GraphicsDeviceManager.ApplyChanges() at MonoGame.Framework.WinFormsGameWindow.UpdateBackBufferSize() at MonoGame.Framework.WinFormsGameWindow.OnResize(Object sender, EventArgs eventArgs) at System.Windows.Forms.Control.OnResize(EventArgs e) at System.Windows.Forms.Form.OnResize(EventArgs e) at System.Windows.Forms.Control.OnSizeChanged(EventArgs e) at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight) at System.Windows.Forms.Control.UpdateBounds() at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at Microsoft.Xna.Framework.Windows.WinFormsGameForm.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.4010.0 built by: NET48REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- Contrib.TrackViewer Assembly Version: 0.0.7216.10324 Win32 Version: 2019.10.04.0436 CodeBase: file:///M:/Program%20Files%20(x86)/Open%20Rails/Contrib.TrackViewer.exe ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- MonoGame.Framework Assembly Version: 3.7.1.189 Win32 Version: 3.7.1.189 CodeBase: file:///M:/Program%20Files%20(x86)/Open%20Rails/MonoGame.Framework.DLL ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- ORTS.Common Assembly Version: 0.0.7216.10311 Win32 Version: 2019.10.04.0436 CodeBase: file:///M:/Program%20Files%20(x86)/Open%20Rails/ORTS.Common.DLL ---------------------------------------- PresentationCore Assembly Version: 4.0.0.0 Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll ---------------------------------------- WindowsBase Assembly Version: 4.0.0.0 Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll ---------------------------------------- SharpDX Assembly Version: 4.0.1.0 Win32 Version: 4.0.1 CodeBase: file:///M:/Program%20Files%20(x86)/Open%20Rails/SharpDX.DLL ---------------------------------------- System.Runtime Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll ---------------------------------------- SharpDX.XAudio2 Assembly Version: 4.0.1.0 Win32 Version: 4.0.1 CodeBase: file:///M:/Program%20Files%20(x86)/Open%20Rails/SharpDX.XAudio2.DLL ---------------------------------------- System.Threading Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Threading/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Threading.dll ---------------------------------------- System.Collections Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Collections/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Collections.dll ---------------------------------------- System.Runtime.InteropServices Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.InteropServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.InteropServices.dll ---------------------------------------- System.Reflection Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Reflection/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Reflection.dll ---------------------------------------- System.Reflection.Extensions Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Reflection.Extensions/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Reflection.Extensions.dll ---------------------------------------- SharpDX.DXGI Assembly Version: 4.0.1.0 Win32 Version: 4.0.1 CodeBase: file:///M:/Program%20Files%20(x86)/Open%20Rails/SharpDX.DXGI.DLL ---------------------------------------- SharpDX.Direct3D11 Assembly Version: 4.0.1.0 Win32 Version: 4.0.1 CodeBase: file:///M:/Program%20Files%20(x86)/Open%20Rails/SharpDX.Direct3D11.DLL ---------------------------------------- PresentationFramework Assembly Version: 4.0.0.0 Win32 Version: 4.8.4001.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll ---------------------------------------- System.Xaml Assembly Version: 4.0.0.0 Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll ---------------------------------------- ORTS.Menu Assembly Version: 0.0.7216.10319 Win32 Version: 2019.10.04.0436 CodeBase: file:///M:/Program%20Files%20(x86)/Open%20Rails/ORTS.Menu.DLL ---------------------------------------- ORTS.Content Assembly Version: 0.0.7216.10312 Win32 Version: 2019.10.04.0436 CodeBase: file:///M:/Program%20Files%20(x86)/Open%20Rails/ORTS.Content.DLL ---------------------------------------- RunActivity Assembly Version: 0.0.7216.10316 Win32 Version: 2019.10.04.0436 CodeBase: file:///M:/Program%20Files%20(x86)/Open%20Rails/RunActivity.EXE ---------------------------------------- GNU.Gettext Assembly Version: 1.1.7017.24626 Win32 Version: 1.0.0.0 CodeBase: file:///M:/Program%20Files%20(x86)/Open%20Rails/GNU.Gettext.DLL ---------------------------------------- ORTS.Settings Assembly Version: 0.0.7216.10311 Win32 Version: 2019.10.04.0436 CodeBase: file:///M:/Program%20Files%20(x86)/Open%20Rails/ORTS.Settings.DLL ---------------------------------------- WindowsFormsIntegration Assembly Version: 4.0.0.0 Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll ---------------------------------------- PresentationFramework.Aero2 Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero2/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero2.dll ---------------------------------------- Microsoft.GeneratedCode Assembly Version: 1.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- PresentationFramework-SystemXml Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXml/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXml.dll ---------------------------------------- UIAutomationTypes Assembly Version: 4.0.0.0 Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll ---------------------------------------- UIAutomationProvider Assembly Version: 4.0.0.0 Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll ---------------------------------------- Orts.Simulation Assembly Version: 0.0.7216.10313 Win32 Version: 2019.10.04.0436 CodeBase: file:///M:/Program%20Files%20(x86)/Open%20Rails/Orts.Simulation.DLL ---------------------------------------- Orts.Formats.Msts Assembly Version: 0.0.7216.10311 Win32 Version: 2019.10.04.0436 CodeBase: file:///M:/Program%20Files%20(x86)/Open%20Rails/Orts.Formats.Msts.DLL ---------------------------------------- Orts.Parsers.Msts Assembly Version: 0.0.7216.10310 Win32 Version: 2019.10.04.0436 CodeBase: file:///M:/Program%20Files%20(x86)/Open%20Rails/Orts.Parsers.Msts.DLL ---------------------------------------- System.IO Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IO/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.IO.dll ---------------------------------------- System.Globalization Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Globalization/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Globalization.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
Regards,
Scott
#4
Posted 21 October 2019 - 02:48 AM
Hi Folks,
We've narrowed the true cause of the issue with Track Viewer down to ReShade - instead of Monogame or OS related - remove ReShade and Track Viewer works fine with Monogame...
If anyone needs help with a simple bat to make it easier to run Track Viewer with ReShade until someone provides a more elegant fix - the script below simply disables the ReShade dll - runs Track Viewer - then enables the ReShade dll when you close Track Viewer...
You need to create your own bat file from the contents below while modifying the 2nd line - “set orts_home” - to reflect your path to ORTS and it should work just fine... Your new bat file can be placed anywhere...
ORTS needs to be closed in order to use this...
Just double click on the bat file you create to launch Track Viewer...
Regards,
Scott
We've narrowed the true cause of the issue with Track Viewer down to ReShade - instead of Monogame or OS related - remove ReShade and Track Viewer works fine with Monogame...
If anyone needs help with a simple bat to make it easier to run Track Viewer with ReShade until someone provides a more elegant fix - the script below simply disables the ReShade dll - runs Track Viewer - then enables the ReShade dll when you close Track Viewer...
You need to create your own bat file from the contents below while modifying the 2nd line - “set orts_home” - to reflect your path to ORTS and it should work just fine... Your new bat file can be placed anywhere...
ORTS needs to be closed in order to use this...
Just double click on the bat file you create to launch Track Viewer...
@echo off set orts_home=M:\Program Files (x86)\Open Rails\ set orts_reshade="%orts_home%dxgi.dll" set orts_hold="%orts_home%HOLD\dxgi.dll" set track_viewer="%orts_home%Contrib.TrackViewer.exe" mkdir "%orts_home%HOLD" move %orts_reshade% %orts_hold% %track_viewer% move %orts_hold% %orts_reshade%
Regards,
Scott
#5
Posted 21 October 2019 - 12:06 PM
Would it be easier to simply make a copy of the OR installation, remove dxgi.dll, and use that install for track viewer (TV)? It's not like TV changes that often so the copy need not be updated before TV changes again.
Page 1 of 1