Elvas Tower: Going beyond the 4 GB of memory - Elvas Tower

Jump to content

  • 32 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Going beyond the 4 GB of memory Rate Topic: -----

#11 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,986
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 27 September 2017 - 11:29 PM

As suggested by James, I tried building the OR projects in AnyCPU mode, and as anticipated, XNA fails.
Here is the build log (sorry for the language, I wrongly installed my Visual Studio in Italian and didn't find a simple way to revert to English):
Attached File  Compilazione64bit.zip (1.8K)
Number of downloads: 464
(The lines where you read "mancata corrispondenza" complain about a missing match between chosen project processor reference and XNA processor reference).
Here is the pop-up when I try starting OR:
Attached Image: Exception.jpg

So replacing XNA would be a great thing. Unfortunately XNA is quite pervasively present in OR, and replacing it is something completely outside my knowledge.

#12 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,986
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 03 October 2017 - 05:50 AM

Following this http://www.elvastowe...post__p__198081 I checked out with SVN gpz's MonoGame OR solution and built it with AnyCPU set. In fact I got no errors and OR does work, so that the 4 GB limit seems to be overcome with MonoGame, and Peter (gpz) really did a remarkable job. Now my question to an expert of versioning: Peter's modified version of OR is related to the OR version x.3503. How can I easily update it to the actual version x.3936 (maintaining Monogame specific changes) without manually checking file-by-file what must be modified and what not?

#13 User is offline   Genma Saotome 

  • Owner Emeritus and Admin
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 15,307
  • Joined: 11-January 04
  • Gender:Male
  • Location:United States
  • Simulator:Open Rails
  • Country:

Posted 03 October 2017 - 10:34 AM

Q: Seeing as Peter did do a monogame conversion -- and it works -- why didn't it become the go-forward release?

#14 User is offline   Serana 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 489
  • Joined: 21-February 13
  • Gender:Male
  • Location:St Cyr l'Ecole (France)
  • Simulator:Open Rails
  • Country:

Posted 03 October 2017 - 01:49 PM

If I remember correctly, there were still some things working properly, but I can't remember what it was.

#15 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,986
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 04 October 2017 - 12:57 PM

Starting from Peter Gulyas work I was able to generate a MonoGame version of the actual release x.3956 of OR.
You can try it yourselves by downloading from here http://www.interazio...56_MonoGame.zip the executable pack, that is a separate OR installation.
You can also download the source pack from here http://www.interazio...arie/Source.zip .
If one has enough RAM memory the problems of limited address space should have gone now, also because I noticed a very strange and special thing: Monogame seems to use much less memory than XNA.
Here is a screenshot of the MonoGame OR version running
Attached Image: Monogame.jpg
and here is a screenshot of the XNA OR version running, more or less at the same point
Attached Image: XNA.jpg

I found out that, in order to run, d3dcompiler_43.dll must be present in windows\System32. My Win10 release hadn't it and I had to copy it from my Win7 release.

Comments welcome.

#16 User is offline   edwardk 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 1,350
  • Joined: 11-December 09
  • Gender:Male
  • Location:Chula Vista, CA
  • Simulator:MSTS
  • Country:

Posted 04 October 2017 - 01:47 PM

This is going to be interesting. I was wondering what the status of this when I first heard about it sometime ago.

Carlo, Do you know if Peter is still working on it?

Edit: I finally noticed the link pointing to the posts made in 2016.


Edward K.

#17 User is offline   edwardk 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 1,350
  • Joined: 11-December 09
  • Gender:Male
  • Location:Chula Vista, CA
  • Simulator:MSTS
  • Country:

Posted 04 October 2017 - 02:06 PM

One warning, I am sure that the above download posted by Carlo is virus free, but Norton just went nuts and declared all of the "dll" files and executables as unsafe and removed them.

Edward K.

#18 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 04 October 2017 - 02:24 PM

View PostCsantucci, on 04 October 2017 - 12:57 PM, said:

Starting from Peter Gulyas work I was able to generate a MonoGame version of the actual release x.3956 of OR.

Impressive! Is it possible to compile it now on Linux, or are other windows dependencies in OR?

#19 User is offline   mirekkr 

  • Hostler
  • Group: Status: Active Member
  • Posts: 91
  • Joined: 18-January 15
  • Simulator:ORTS, MSTS
  • Country:

Posted 04 October 2017 - 02:52 PM

Looks good to me!
With less memory used, it seems (to me) that it runs even smoother: I tried to drive in very detailed area with heavy snow.

Mirek

#20 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,986
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 05 October 2017 - 12:01 AM

View PostGoku, on 04 October 2017 - 02:24 PM, said:

Impressive! Is it possible to compile it now on Linux, or are other windows dependencies in OR?

I don't know. If someone is interested in that, he can check that.

  • 32 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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