Elvas Tower: OpenRails and Monogame - Elvas Tower

Jump to content

  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

OpenRails and Monogame Installation Process? Rate Topic: -----

#11 User is offline   Weichenpfleger 

  • Apprentice
  • Group: Posts: Dispatcher
  • Posts: 14
  • Joined: 31-August 12
  • Simulator:MSTS; OR
  • Country:

Posted 25 June 2019 - 02:58 AM

@ perpetualKid

Unfortunately Windows knows every attempt to install .NET.
off. I copied the error report from Windows:

"Application Error
Name of the faulty application: RunActivity.exe, Version: 0.0.6987.41017, Timestamp: 0x5c69d664
Name of the faulty module: KERNELBASE.dll, Version: 10.0.18362.145, Timestamp: 0xef881ca4
Exception code: 0xe0434352
Error offset: 0x00000000000003a839
ID of the faulty process: 0x2ee8
Start time of the faulty application: 0x01d52b4235f037d5
Path of the incorrect application: E:\MG64_OPENRAILS\RunActivity.exe
Path of the faulty module: C:\WINDOWS\System32\KERNELBASE.dll
Report identifier: 9962a9e2-dafa-47aa-bca7-b2f4b1a7be7d

.NET Runtime
Application: RunActivity.exe
Framework version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception information: System.badImageFormatException
for location.Viewer3D.OpenAL.alcOpenDevice(System.String)
for location.Viewer3D.OpenAL.Initialize()
at location.Viewer3D.Processes.SoundProcess.SoundThread()
for System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
with System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
for System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
for System.Threading.ThreadHelper.ThreadStart()"

Thank you very much for your efforts.

Weichenpfleger



Translated with www.DeepL.com/Translator

#12 User is offline   perpetualKid 

  • Fireman
  • Group: Posts: Active Member
  • Posts: 190
  • Joined: 10-June 18
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 25 June 2019 - 04:10 AM

View PostWeichenpfleger, on 25 June 2019 - 02:58 AM, said:

Exception information: System.badImageFormatException
for location.Viewer3D.OpenAL.alcOpenDevice(System.String)
for location.Viewer3D.OpenAL.Initialize()


looks like either your OAL installation is corrupt, or doesn't find the correct OAL version for 64bit (assuming you are running a 64bit OS).

#13 User is offline   perpetualKid 

  • Fireman
  • Group: Posts: Active Member
  • Posts: 190
  • Joined: 10-June 18
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 25 June 2019 - 10:28 PM

For what it's worth, I have now build a new package based on .NET 4.8, which includes all the latest changes both from official OR as well from Carlos OR NewYear MG up to Rev 27

https://github.com/p...g/144-d77821976

OpenAL is no longer needed to be installed separately but comes as part of the package now.



#14 User is offline   Weichenpfleger 

  • Apprentice
  • Group: Posts: Dispatcher
  • Posts: 14
  • Joined: 31-August 12
  • Simulator:MSTS; OR
  • Country:

Posted 26 June 2019 - 02:20 AM

@ perpetualKid

Thanks for the new version.
It now works again.

But when you call the program a "SystemNullReferenceException" occurs:
Information about calling JIT debugging
instead of this dialog box can be found at the end of this message.

****************** Exception text ******************
System.NullReferenceException: The object reference was not set to an object instance.
for ORTS.MainForm.<>c.<LoadLocomotiveListAsync>b__104_1(Consist c)
for System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
for System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
for System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
for ORTS.MainForm.<LoadLocomotiveListAsync>d__104.MoveNext()
--- End of stack monitoring from the previous location where the exception was raised ---
for System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
for ORTS.MainForm.<ComboBoxFolder_SelectedIndexChanged>d__64.MoveNext()
--- End of stack monitoring from the previous location where the exception was raised ---
for System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

The OpenRailsLog is unobtrusive.

Thank you for your effort.

greetings


Weichenpfleger

#15 User is offline   farrmp 

  • Hostler
  • Group: Posts: Active Member
  • Posts: 84
  • Joined: 09-July 09
  • Gender:Male
  • Location:San Diego, CA
  • Simulator:OpenRails/MSTS
  • Country:

Posted 27 June 2019 - 10:29 AM

View PostperpetualKid, on 25 June 2019 - 10:28 PM, said:

For what it's worth, I have now build a new package based on .NET 4.8, which includes all the latest changes both from official OR as well from Carlos OR NewYear MG up to Rev 27

https://github.com/p.../1.3.1_RD_Rev27

OpenAL is no longer needed to be installed separately but comes as part of the package now.




Thank you very much for the update and for all the work you do! Your implementation of the RailDriver interface is wonderful and just about all anyone could want for RailDriver. I hope this will be incorporated into the mainstream soon. (At least the MonoGame fork.)
I do have a question. I have been using the ReShade Graphic Enhancer for some time now. It doesn't seem to work with the 64 Bit version of Open Rails-MG. Does anyone have any idea why? (32 bit Only?)

Paul

#16 User is offline   perpetualKid 

  • Fireman
  • Group: Posts: Active Member
  • Posts: 190
  • Joined: 10-June 18
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 28 June 2019 - 06:01 AM

View PostWeichenpfleger, on 26 June 2019 - 02:20 AM, said:

But when you call the program a "SystemNullReferenceException" occurs:
Information about calling JIT debugging
instead of this dialog box can be found at the end of this message.

****************** Exception text ******************
System.NullReferenceException: The object reference was not set to an object instance.
for ORTS.MainForm.<>c.<LoadLocomotiveListAsync>b__104_1(Consist c)
for System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
for System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
for System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
for ORTS.MainForm.<LoadLocomotiveListAsync>d__104.MoveNext()
--- End of stack monitoring from the previous location where the exception was raised ---
for System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
for ORTS.MainForm.<ComboBoxFolder_SelectedIndexChanged>d__64.MoveNext()
--- End of stack monitoring from the previous location where the exception was raised ---
for System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()



I've done some more testing but can't reliably reproduce the issue. I've added some more error handling although.

https://github.com/p...g/144-d77821976
For convenience, this includes now a separate updater channel to get notified of further updates in this version of ORMG RD

#17 User is offline   Weichenpfleger 

  • Apprentice
  • Group: Posts: Dispatcher
  • Posts: 14
  • Joined: 31-August 12
  • Simulator:MSTS; OR
  • Country:

Posted 12 July 2019 - 04:12 AM

I have installed the new revision (revision: 1.3.1-164-49d0be0c5) with the updater and
discovered that on the departure of an
The graphic representation does not
is moved, so that optically the
The train stops.
The previous revision (1.3.1-162-f15acdde4) is working fine.

Greetings

Weichenpfleger

#18 User is offline   perpetualKid 

  • Fireman
  • Group: Posts: Active Member
  • Posts: 190
  • Joined: 10-June 18
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 16 July 2019 - 05:41 AM

View PostWeichenpfleger, on 12 July 2019 - 04:12 AM, said:

I have installed the new revision (revision: 1.3.1-164-49d0be0c5) with the updater and
discovered that on the departure of an
The graphic representation does not
is moved, so that optically the
The train stops.
The previous revision (1.3.1-162-f15acdde4) is working fine.

Greetings

Weichenpfleger




I've added a fix which is available through the updater (166-8665ce4cf).
If you still find objects which are supposed to move but where the visible representation does not update, let me know. My GH repo is also open for bug reports.

#19 User is offline   perpetualKid 

  • Fireman
  • Group: Posts: Active Member
  • Posts: 190
  • Joined: 10-June 18
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 16 July 2019 - 05:44 AM

View Postfarrmp, on 27 June 2019 - 10:29 AM, said:

Thank you very much for the update and for all the work you do! Your implementation of the RailDriver interface is wonderful and just about all anyone could want for RailDriver. I hope this will be incorporated into the mainstream soon. (At least the MonoGame fork.)
I do have a question. I have been using the ReShade Graphic Enhancer for some time now. It doesn't seem to work with the 64 Bit version of Open Rails-MG. Does anyone have any idea why? (32 bit Only?)

Paul


I haven't looked at ReShade so far, but I'll give it a try to see if there's anything related to 64bit-mode.

#20 User is offline   Weichenpfleger 

  • Apprentice
  • Group: Posts: Dispatcher
  • Posts: 14
  • Joined: 31-August 12
  • Simulator:MSTS; OR
  • Country:

Posted 16 July 2019 - 06:48 AM

Thanks for the answer.

The problem is the display with camera 5.
When the "Inside.s" is called as an additional file,
she won't be moved.

Greetings

Weichenpfleger

#21 User is offline   ckawahara 

  • Member since Nov. 2003
  • Group: Status: R.I.P. or just Retired
  • Posts: 2,376
  • Joined: 22-November 03
  • Gender:Male
  • Location:SP Pomona Div. MP 520.2
  • Simulator:MSTS, OR
  • Country:

Posted 31 July 2019 - 09:33 AM

Being a Raildriver user and not familiar with the ins and outs of the code, why can't the four "unstable" versions of OR be combined into a single "unstable" version (OR Testing, OR Testing Unstable, OR New Year MG, and OR MG Raildriver). Or at least combine the Monogame variants?

#22 User is offline   James Ross 

  • Open Rails Developer
  • Group: Posts: Elite Member
  • Posts: 5,514
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 03 August 2019 - 07:02 AM

View Postckawahara, on 31 July 2019 - 09:33 AM, said:

Being a Raildriver user and not familiar with the ins and outs of the code, why can't the four "unstable" versions of OR be combined into a single "unstable" version (OR Testing, OR Testing Unstable, OR New Year MG, and OR MG Raildriver). Or at least combine the Monogame variants?

There are three official versions of Open Rails:

  • Stable (1.3.1.4328, on openrails.org)
  • Testing (X1.3.1-72-g2db3f076, on openrails.org)
  • Unstable (U2019.07.29-1921, on james-ross.co.uk)

Each level down includes more new code, which may have had less testing and be more buggy, but also contains new features and improvements. Only the third one in the list is called "unstable".

Additionally, other people have made their own unofficial versions of Open Rails:

  • OR New Year MG - similar to the latest Unstable but with even more new code
  • ORTS MG RD "Ultimate" - similar to OR New Year MG but with a new RailDriver implementation

In terms of merging versions together, I do not think we want less than the three official versions - they now provide a good balance of stability and latest features. The new format for the official unstable version means it will actually be less stable than, but also contain more features than, the testing version.

As for the unofficial versions, we are putting a lot of effort into bringing their features and bug fixes into the official versions, but it's not a straightforward task. The people maintaining the unofficial versions, and those contributing features to them, have their own motivations and we all need to get things aligned so that as much as possible can become official.

Whilst it is not ideal for people trying to choose a version, this is the nature and a key benefit of open source - anyone can take the code and make their own version, with whatever changes the like. What we in ORMT are trying to do, is to make it as attractive as possible for putting code in the official versions on openrails.org. Progress is being made but the unofficial versions will not (and should not) disappear overnight.

#23 User is offline   ckawahara 

  • Member since Nov. 2003
  • Group: Status: R.I.P. or just Retired
  • Posts: 2,376
  • Joined: 22-November 03
  • Gender:Male
  • Location:SP Pomona Div. MP 520.2
  • Simulator:MSTS, OR
  • Country:

Posted 03 August 2019 - 08:22 AM

Thank you James.

Looking forward to the inclusion of Raildriver support in the future. It's the build I use the most.

#24 User is offline   perpetualKid 

  • Fireman
  • Group: Posts: Active Member
  • Posts: 190
  • Joined: 10-June 18
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 06 August 2019 - 12:49 AM

View Postckawahara, on 31 July 2019 - 09:33 AM, said:

Being a Raildriver user and not familiar with the ins and outs of the code, why can't the four "unstable" versions of OR be combined into a single "unstable" version (OR Testing, OR Testing Unstable, OR New Year MG, and OR MG Raildriver). Or at least combine the Monogame variants?


beyond what James mentioned, one may also see OR MG Raildriver as the most complete/advanced option. It includes all the changes from Carlos OR "New Year" MG, as well the changes from official OR unstable, along with many other changes not available in any other version.

#25 User is offline   EricF 

  • Fireman
  • Group: Posts: Active Member
  • Posts: 217
  • Joined: 07-December 11
  • Gender:Male
  • Location:New England
  • Simulator:Open Rails / Sometimes MSTS
  • Country:

Posted 06 August 2019 - 06:33 AM

Thank you for your work on this version -- it's good to see OR evolving and modernizing!

  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users