Enough of this....

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • longiron
    1000 Post Veteran and Moderator

    • Jan 2007
    • 1453
    • Just south of NYC

    #16
    Originally posted by MP36PH3S
    James are you suggesting something is wrong with the system BIOS?
    What James is saying there's something fundamentally screwed up with your Microsoft software installation, or your system bios, or graphic card driver that Open Rails currently needs to run. Just a stab, what .NET version and update level is on your system?

    Originally posted by MP36PH3S
    Longiron it is not MSTS with a problem. OR will not run but MSTS runs perfectly fine.
    I know I was responding to postings that EVERYONE should install MSTS in some other location than Programs (86) if running vista or win7
    Chris
    "True rail fans have two favorite railroads. The B&O and one other."

    Comment

    • twpol
      Senior Member
      • Oct 2009
      • 434
      • United Kingdom

      #17
      Originally posted by longiron
      What James is saying there's something fundamentally screwed up with your Microsoft software installation, or your system bios, or graphic card driver that Open Rails currently needs to run. Just a stab, what .NET version and update level is on your system?
      Microsoft software is by far the least likely to be the problem here - it's other software that's in the dock.
      James Ross
      Open Rails Management Team
      sigpic

      Comment

      • MP36PH3S
        1000 Post Veteran
        • May 2010
        • 1217
        • Ann Arbor, MI

        #18
        Tried the default Tokyo-Hakone route with the default Series 2000 (this is the newest version of OR):

        Open Rails is starting...
        Version = 0.7.0.905
        Build = 0.0.4362.22137 11/12/2011 12:17
        Logfile = C:\Users\JLiu.DCDS\Desktop\OpenRailsLog.txt
        ------------ ---------- ------------ ---------- ------------ ---------- --------
        Alerter = False
        BrakePipeChargingRate = (registry) 150
        DataLogger = False
        DynamicShadows = (registry) True
        FullScreen = (registry) True
        GraduatedRelease = (registry) True
        Logging = True
        LoggingFilename = OpenRailsLog.txt
        LoggingPath = C:\Users\JLiu.DCDS\Desktop
        MSTSBINSound = (registry) True
        Precipitation = (registry) True
        Profiling = False
        ProfilingFrameCount = 1000
        ScreenshotPath = C:\Users\JLiu.DCDS\Pictures\Open Rails
        ShaderModel = 0
        ShadowAllShapes = False
        ShadowMapBlur = True
        ShadowMapCount = 4
        ShadowMapDistance = 0
        ShadowMapResolution = 1024
        ShowErrorDialogs = True
        SoundDetailLevel = 5
        TrainLights = (registry) True
        UseAdvancedAdhesion = True
        VerticalSync = False
        ViewingDistance = 2000
        ViewingFOV = 45
        WindowGlass = (registry) True
        WindowPosition_Activity = 50, 50
        WindowPosition_Compass = (registry) 50, 0
        WindowPosition_DriverAid = (registry) 100, 100
        WindowPosition_Help = (registry) 50, 50
        WindowPosition_NextStation = (registry) 0, 100
        WindowPosition_Switch = (registry) 0, 50
        WindowPosition_TrackMonitor = (registry) 100, 0
        WindowPosition_TrainOperations = (registry) 50, 50
        WindowSize = (registry) 1920x1200
        Wire = (registry) True
        WorldObjectDensity = 10
        ------------ ---------- ------------ ---------- ------------ ---------- --------
        Mode = Explore
        Path = C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\JAPAN1\PATHS\stmdam.pat
        Consist = C:\Program Files (x86)\Microsoft Games\Train Simulator\TRAINS\CONSISTS\2000std.con
        Time = 12:0
        Season = 0
        Weather = 0
        ------------ ---------- ------------ ---------- ------------ ---------- --------
        Loading TRK TDB SIGCFG DAT ACT RDB CARSPAWN
        Information: OpenAL using device DirectSound
        ENV SIGCFG TTYPE
        Error: System.BadImageFormatException: The file or directory is corrupted and unreadable. (Exception from HRESULT: 0x80070570)
        at System.Runtime.InteropServices.Marshal.ThrowExcept ionForHRInternal(Int32 errorCode, IntPtr errorInfo)
        at System.Management.ManagementScope.InitializeGuts(O bject o)
        at System.Management.ManagementScope.Initialize()
        at System.Management.ManagementObject.Initialize(Bool ean getObject)
        at System.Management.ManagementClass.GetInstances(Enu merationOptions options)
        at System.Management.ManagementClass.GetInstances()
        at ORTS.Viewer3D.UpdateAdapterInformation(GraphicsAda pter graphicsAdapter)
        at ORTS.Viewer3D.GDM_PreparingDeviceSettings(Object sender, PreparingDeviceSettingsEventArgs e)
        at Microsoft.Xna.Framework.GraphicsDeviceManager.OnPr eparingDeviceSettings(Object sender, PreparingDeviceSettingsEventArgs args)
        at Microsoft.Xna.Framework.GraphicsDeviceManager.Crea teDevice(GraphicsDeviceInformation newInfo)
        at Microsoft.Xna.Framework.GraphicsDeviceManager.Chan geDevice(Boolean forceCreate)
        at Microsoft.Xna.Framework.GraphicsDeviceManager.Micr osoft.Xna.Framework.IGraphicsDeviceManager.CreateD evice()
        at Microsoft.Xna.Framework.Game.Run()
        at ORTS.Viewer3D.Run()
        at ORTS.Program.<>c__DisplayClass8.<Start>b__7()
        at ORTS.Program.Start(UserSettings settings, String[] args)
        at ORTS.ORTraceListener.TraceEventInternal(TraceEvent Cache eventCache, String source, TraceEventType eventType, Int32 id, String format, Object[] args)
        at ORTS.ORTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String format, Object[] args)
        at System.Diagnostics.TraceInternal.TraceEvent(TraceE ventType eventType, Int32 id, String format, Object[] args)
        at System.Diagnostics.Trace.TraceError(String format, Object[] args)
        at ORTS.ORTraceListener.WriteLine(Object o)
        at System.Diagnostics.TraceInternal.WriteLine(Object value)
        at System.Diagnostics.Trace.WriteLine(Object value)
        at ORTS.Program.Start(UserSettings settings, String[] args)
        at ORTS.Program.Main(String[] args)
        Writer and Wolverine, among other things.
        Interested in railroad stories? Check out the Fiction vault:
        https://www.trainsim.com/vbts/showth...82#post1882582

        Comment

        • muskokaandtahoe
          3000 Post Veteran

          • Apr 2003
          • 3003
          • Silicon Valley, CA, USA.
          • ORTS

          #19
          If you are willing to poke around a bit more in the innards, google "Process Monitor" + Sysinternals. It should be on a microsoft page. Download and install. There is a tutorial here: http://www.elvastower.com/forums/ind...g-msts-aborts/

          Set it up so it monitors runactivity.exe (instead of train.exe) and start it.

          Then run Open rails again, exactly as you did before. When the game itself becomes visible (not the intro windows), just pause it or kill it and return to the Process Monitor window. Search for "Metra_401". You will probably find several entries... what's going on for the cab view? It might give some clue to what's wrong in the environment.
          Dave Nelson
          sigpic
          Seldom visiting, posting less often that that.

          Comment

          • sniper297
            9500 Post Veteran
            • Nov 1999
            • 9545
            • Union Grove, Wisconsin, USA.
            • General

            #20
            "WindowSize = (registry) 1920x1200"

            Try running in something like 1024x768, see if that works. Dave, if he gets the same symptoms with the default series 2000, I don't think the Metra cabview is the problem.
            sigpic

            Comment

            • muskokaandtahoe
              3000 Post Veteran

              • Apr 2003
              • 3003
              • Silicon Valley, CA, USA.
              • ORTS

              #21
              Originally posted by sniper297
              "WindowSize = (registry) 1920x1200"

              Dave, if he gets the same symptoms with the default series 2000, I don't think the Metra cabview is the problem.
              I don't think the problem is the cabview... I think the cabview just happens to be in-hand when the problem occurs. If he can find the last cabview reference in the Process Monitor* output he might also find something else that explains (or hints at) what is really going on.

              * What process monitor shows is all of the system calls, a lot of which are to the registry. It's a bit different what the OR stack listing.
              Dave Nelson
              sigpic
              Seldom visiting, posting less often that that.

              Comment

              • twpol
                Senior Member
                • Oct 2009
                • 434
                • United Kingdom

                #22
                The error message is unrelated to any content being loaded. It doesn't matter what consists or routes are loaded, the error is independent of them.
                James Ross
                Open Rails Management Team
                sigpic

                Comment

                • MP36PH3S
                  1000 Post Veteran
                  • May 2010
                  • 1217
                  • Ann Arbor, MI

                  #23
                  I have had the same lines pop up every time I ran a MP36 in OR even when it still worked.
                  Sniper followed your suggestion.
                  Open Rails is starting...
                  Version = 0.7.0.905
                  Build = 0.0.4362.22137 11/12/2011 12:17
                  Logfile = C:\Users\JLiu.DCDS\Desktop\OpenRailsLog.txt
                  ------------ ---------- ------------ ---------- ------------ ---------- --------
                  Alerter = False
                  BrakePipeChargingRate = (registry) 150
                  DataLogger = False
                  DynamicShadows = (registry) True
                  FullScreen = (registry) True
                  GraduatedRelease = (registry) True
                  Logging = True
                  LoggingFilename = OpenRailsLog.txt
                  LoggingPath = C:\Users\JLiu.DCDS\Desktop
                  MSTSBINSound = (registry) True
                  Precipitation = (registry) True
                  Profiling = False
                  ProfilingFrameCount = 1000
                  ScreenshotPath = C:\Users\JLiu.DCDS\Pictures\Open Rails
                  ShaderModel = 0
                  ShadowAllShapes = False
                  ShadowMapBlur = True
                  ShadowMapCount = 4
                  ShadowMapDistance = 0
                  ShadowMapResolution = 1024
                  ShowErrorDialogs = True
                  SoundDetailLevel = 5
                  TrainLights = (registry) True
                  UseAdvancedAdhesion = True
                  VerticalSync = False
                  ViewingDistance = 2000
                  ViewingFOV = 45
                  WindowGlass = (registry) True
                  WindowPosition_Activity = 50, 50
                  WindowPosition_Compass = (registry) 50, 0
                  WindowPosition_DriverAid = (registry) 100, 100
                  WindowPosition_Help = (registry) 50, 50
                  WindowPosition_NextStation = (registry) 0, 100
                  WindowPosition_Switch = (registry) 0, 50
                  WindowPosition_TrackMonitor = (registry) 100, 0
                  WindowPosition_TrainOperations = (registry) 50, 50
                  WindowSize = 1024x768
                  Wire = (registry) True
                  WorldObjectDensity = 10
                  ------------ ---------- ------------ ---------- ------------ ---------- --------
                  Mode = Explore
                  Path = C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\JAPAN1\PATHS\stmdam.pat
                  Consist = C:\Program Files (x86)\Microsoft Games\Train Simulator\TRAINS\CONSISTS\series7000.con
                  Time = 12:0
                  Season = 0
                  Weather = 0
                  ------------ ---------- ------------ ---------- ------------ ---------- --------
                  Loading TRK TDB SIGCFG DAT ACT RDB CARSPAWN
                  Warning: Unknown ControlStyle PRESSED in C:\Program Files (x86)\Microsoft Games\Train Simulator\trains\trainset\Series7000\CABVIEW\s7000 .cvf:line 37
                  Warning: Unknown ControlStyle PRESSED in C:\Program Files (x86)\Microsoft Games\Train Simulator\trains\trainset\Series7000\CABVIEW\s7000 .cvf:line 37
                  Information: OpenAL using device DirectSound
                  ENV SIGCFG TTYPE
                  Error: System.BadImageFormatException: The file or directory is corrupted and unreadable. (Exception from HRESULT: 0x80070570)
                  at System.Runtime.InteropServices.Marshal.ThrowExcept ionForHRInternal(Int32 errorCode, IntPtr errorInfo)
                  at System.Management.ManagementScope.InitializeGuts(O bject o)
                  at System.Management.ManagementScope.Initialize()
                  at System.Management.ManagementObject.Initialize(Bool ean getObject)
                  at System.Management.ManagementClass.GetInstances(Enu merationOptions options)
                  at System.Management.ManagementClass.GetInstances()
                  at ORTS.Viewer3D.UpdateAdapterInformation(GraphicsAda pter graphicsAdapter)
                  at ORTS.Viewer3D.GDM_PreparingDeviceSettings(Object sender, PreparingDeviceSettingsEventArgs e)
                  at Microsoft.Xna.Framework.GraphicsDeviceManager.OnPr eparingDeviceSettings(Object sender, PreparingDeviceSettingsEventArgs args)
                  at Microsoft.Xna.Framework.GraphicsDeviceManager.Crea teDevice(GraphicsDeviceInformation newInfo)
                  at Microsoft.Xna.Framework.GraphicsDeviceManager.Chan geDevice(Boolean forceCreate)
                  at Microsoft.Xna.Framework.GraphicsDeviceManager.Micr osoft.Xna.Framework.IGraphicsDeviceManager.CreateD evice()
                  at Microsoft.Xna.Framework.Game.Run()
                  at ORTS.Viewer3D.Run()
                  at ORTS.Program.<>c__DisplayClass8.<Start>b__7()
                  at ORTS.Program.Start(UserSettings settings, String[] args)
                  at ORTS.ORTraceListener.TraceEventInternal(TraceEvent Cache eventCache, String source, TraceEventType eventType, Int32 id, String format, Object[] args)
                  at ORTS.ORTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String format, Object[] args)
                  at System.Diagnostics.TraceInternal.TraceEvent(TraceE ventType eventType, Int32 id, String format, Object[] args)
                  at System.Diagnostics.Trace.TraceError(String format, Object[] args)
                  at ORTS.ORTraceListener.WriteLine(Object o)
                  at System.Diagnostics.TraceInternal.WriteLine(Object value)
                  at System.Diagnostics.Trace.WriteLine(Object value)
                  at ORTS.Program.Start(UserSettings settings, String[] args)
                  at ORTS.Program.Main(String[] args)
                  Writer and Wolverine, among other things.
                  Interested in railroad stories? Check out the Fiction vault:
                  https://www.trainsim.com/vbts/showth...82#post1882582

                  Comment

                  • OTTODAD
                    1
                    • Feb 2001
                    • 32344
                    • England
                    • General

                    #24
                    This appears to use the Japanese Series 7000 trainset which is causing this UNKNOWN error in the Windows style menu of ORTS but not in the original smaller verrsion, my SANTA-FE-EXPLORER also uses.

                    O t t o

                    Comment

                    • longiron
                      1000 Post Veteran and Moderator

                      • Jan 2007
                      • 1453
                      • Just south of NYC

                      #25
                      Originally posted by MP36PH3S
                      I have had the same lines pop up every time I ran a MP36 in OR even when it still worked.

                      Error: System.BadImageFormatException: The file or directory is corrupted and unreadable. (Exception from HRESULT: 0x80070570)
                      at System.Runtime.InteropServices.Marshal.ThrowExcept ionForHRInternal(Int32 errorCode, IntPtr errorInfo)
                      at System.Management.ManagementScope.InitializeGuts(O bject o)
                      at System.Management.ManagementScope.Initialize()
                      at System.Management.ManagementObject.Initialize(Bool ean getObject)
                      at System.Management.ManagementClass.GetInstances(Enu merationOptions options)
                      at System.Management.ManagementClass.GetInstances()
                      at ORTS.Viewer3D.UpdateAdapterInformation(GraphicsAda pter graphicsAdapter)
                      at ORTS.Viewer3D.GDM_PreparingDeviceSettings(Object sender, PreparingDeviceSettingsEventArgs e)
                      at Microsoft.Xna.Framework.GraphicsDeviceManager.OnPr eparingDeviceSettings(Object sender, PreparingDeviceSettingsEventArgs args)
                      at Microsoft.Xna.Framework.GraphicsDeviceManager.Crea teDevice(GraphicsDeviceInformation newInfo)
                      at Microsoft.Xna.Framework.GraphicsDeviceManager.Chan geDevice(Boolean forceCreate)
                      at Microsoft.Xna.Framework.GraphicsDeviceManager.Micr osoft.Xna.Framework.IGraphicsDeviceManager.CreateD evice()
                      Let me try to explain in simple terms what James has already said. It appears that when OR tries to retrieve information it needs about your video card (your graphics adapter!!), something/somewhere - probably 3rd party software - is not allowing what should be basic request & retrieve of system level information. As to what's the root cause? It could be a lot of things.
                      Chris
                      "True rail fans have two favorite railroads. The B&O and one other."

                      Comment

                      • sniper297
                        9500 Post Veteran
                        • Nov 1999
                        • 9545
                        • Union Grove, Wisconsin, USA.
                        • General

                        #26
                        Well, I can duplicate that with the default 7000;



                        Same error message, but it loads and runs fine anyway.



                        I think we've ruled out everything except the mystery error;

                        Error: System.BadImageFormatException: The file or directory is corrupted and unreadable.

                        I'm not seeing that one anywhere, and "The" file or directory, WHICH file or directory is corrupted and unreadable? Figure that out and we can start troubleshooting a specific file or folder.
                        sigpic

                        Comment

                        • sniper297
                          9500 Post Veteran
                          • Nov 1999
                          • 9545
                          • Union Grove, Wisconsin, USA.
                          • General

                          #27
                          You try what I suggested in the other thread?



                          At MP36, quick scan over this thread I don't see system specs anyplace.

                          Model: Dell DXP051
                          CPU: Intel(R) Pentium(R) D CPU 3.40GHz (2 CPUs)
                          Memory: 2046MB RAM
                          Operating System: Windows XP Media Edition (5.1, Build 2600) Service Pack 3
                          DirectX 9.0c (4.09.0000.0904)

                          Video: NVIDIA GeForce 8500 GT 512.0 MB
                          NVIDIA Driver Version: 6.14.0012.8538

                          Sound: SigmaTel Audio
                          sthda.sys Driver Version: 5.10.4823.0000

                          Hard Drive: Western Digital WD5000AAKX-001CA0 462.0 GB

                          * McAfee Anti-virus
                          * McAfee Personal Firewall


                          That's what I got, just now ran a few tests with the Nvidia control panel forcing FSAA or Vsynch on or off, clamping negative LOD bias, changing the number of prerendered frames, in general trying to screw up the settings as badly as possible and Open Rails launches whatever I do. Post your system specs, particularly video card and driver version, maybe we can figure out something from there. At Chris and James, uninstall and reinstall of XNA do any good here?
                          sigpic

                          Comment

                          • muskokaandtahoe
                            3000 Post Veteran

                            • Apr 2003
                            • 3003
                            • Silicon Valley, CA, USA.
                            • ORTS

                            #28
                            Originally posted by MP36PH3S

                            ------------ ---------- ------------ ---------- ------------ ---------- --------
                            Loading TRK TDB SIGCFG DAT ACT RDB CARSPAWN
                            Warning: Unknown ControlStyle PRESSED in C:\Program Files (x86)\Microsoft Games\Train Simulator\trains\trainset\Series7000\CABVIEW\s7000 .cvf:line 37
                            Warning: Unknown ControlStyle PRESSED in C:\Program Files (x86)\Microsoft Games\Train Simulator\trains\trainset\Series7000\CABVIEW\s7000 .cvf:line 37
                            That is completely unrelated to what follows. It's saying OR doesn't yet know how to handle the cab control type of "Pressed". We know about that.



                            This stuff (what you see below) is a completely different issue. It is something that's being thrown by the system back at OR. It's not OR code that's failing (tho there may be something in OR that contributes).

                            Information: OpenAL using device DirectSound
                            ENV SIGCFG TTYPE
                            Error: System.BadImageFormatException: The file or directory is corrupted and unreadable. (Exception from HRESULT: 0x80070570)
                            at System.Runtime.InteropServices.Marshal.ThrowExcept ionForHRInternal(Int32 errorCode, IntPtr errorInfo)
                            at System.Management.ManagementScope.InitializeGuts(O bject o)
                            at System.Management.ManagementScope.Initialize()
                            at System.Management.ManagementObject.Initialize(Bool ean getObject)
                            at System.Management.ManagementClass.GetInstances(Enu merationOptions options)
                            at System.Management.ManagementClass.GetInstances()
                            Dave Nelson
                            sigpic
                            Seldom visiting, posting less often that that.

                            Comment

                            • sniper297
                              9500 Post Veteran
                              • Nov 1999
                              • 9545
                              • Union Grove, Wisconsin, USA.
                              • General

                              #29
                              Well, hold the phone a minute while I move the Captain's posts (SIR!) so we don't get the two gripes confused. This one he (MP36) is saying it won't run at all, since the error looks like it's related to the video card, XNA, or the video card driver we need to know his system specs, driver version, and what DXDIAG is saying about his DirectX files.
                              sigpic

                              Comment

                              • derekmorton
                                5500 Post Veteran



                                • Nov 1999
                                • 5699
                                • Eltham, Victoria, Australia.
                                • ORTS

                                #30
                                Originally posted by sniper297
                                I haven't yet experienced the wonders and joy of Windows 7 / Vista UAC myself yet, but from what I've been reading;
                                Path = C:\Program Files (x86)\Microsoft Games\Train Simulator\
                                Most gamers using vista / win7 agree you should never ever ever install any modifiable game in the \Program Files (x86) folder or you'll constantly be fighting a losing battle with UAC trying to protect that folder from the user.
                                Hi Jim,

                                The problem is not with UAC.
                                Program files only has write permissions for the user "trustedInstaller" which is the user account used by installers.

                                If you want to fix the issue, you need to go through the ownership dance.

                                Or better still, use another directory or drive.


                                Cheers

                                Comment

                                Working...