I am excited about the possibilities that OR is opening up. I have started to experiment to determine how to reduce the reliance, as much as possible on MSTS.
As part of my experimentation I have encountered the following error. It results because I have removed the Global Sound folder (on purpose).
I am trying to identify the file in my test route that is calling the "gen_urb1.wav" file. Is there a way to identify the calling file? Or is the call hard coded into OR?
I have checked (well I think I have) all the sms files in the route and cannot find any calls from them for the "gen_urb1.wav" file.
runactivity.exe : Error : 0 : System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Open Rails Train Simulator\SOUND\gen_urb1.wav'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at ORTS.WAVIrrKlangFileFactory.EnsureStream(String FileName)
at ORTS.WAVFileStream..ctor(String filename)
at ORTS.WAVIrrKlangFileFactory.openFile(String filename)
at IrrKlang.FileFactoryForwarder.createFileReader(Fil eFactoryForwarder* , SByte* filename)
at IrrKlang.ISoundEngine.Play2D(String soundFilename, Boolean playLooped, Boolean startPaused, StreamMode streamMode, Boolean enableSoundEffects)
at IrrKlang.ISoundEngine.Play2D(String soundFilename, Boolean playLooped)
at ORTS.Viewer3D.Initialize(RenderProcess renderProcess)
at ORTS.RenderProcess.Initialize()
at Microsoft.Xna.Framework.Game.Run()
at ORTS.Viewer3D.Run()
at ORTS.Program.<>c__DisplayClass8.<Start>b__7()
at ORTS.Program.Start(IEnumerable`1 options, String[] args)
Thanks
As part of my experimentation I have encountered the following error. It results because I have removed the Global Sound folder (on purpose).
I am trying to identify the file in my test route that is calling the "gen_urb1.wav" file. Is there a way to identify the calling file? Or is the call hard coded into OR?
I have checked (well I think I have) all the sms files in the route and cannot find any calls from them for the "gen_urb1.wav" file.
runactivity.exe : Error : 0 : System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Open Rails Train Simulator\SOUND\gen_urb1.wav'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at ORTS.WAVIrrKlangFileFactory.EnsureStream(String FileName)
at ORTS.WAVFileStream..ctor(String filename)
at ORTS.WAVIrrKlangFileFactory.openFile(String filename)
at IrrKlang.FileFactoryForwarder.createFileReader(Fil eFactoryForwarder* , SByte* filename)
at IrrKlang.ISoundEngine.Play2D(String soundFilename, Boolean playLooped, Boolean startPaused, StreamMode streamMode, Boolean enableSoundEffects)
at IrrKlang.ISoundEngine.Play2D(String soundFilename, Boolean playLooped)
at ORTS.Viewer3D.Initialize(RenderProcess renderProcess)
at ORTS.RenderProcess.Initialize()
at Microsoft.Xna.Framework.Game.Run()
at ORTS.Viewer3D.Run()
at ORTS.Program.<>c__DisplayClass8.<Start>b__7()
at ORTS.Program.Start(IEnumerable`1 options, String[] args)
Thanks




Comment