Going beyond the 4 GB of memory
#11
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):
Compilazione64bit.zip (1.8K)
Number of downloads: 471
(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:
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.
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):
Compilazione64bit.zip (1.8K)
Number of downloads: 471
(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:
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
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
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
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
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
and here is a screenshot of the XNA OR version running, more or less at the same point
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.
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
and here is a screenshot of the XNA OR version running, more or less at the same point
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
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.
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
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.
Edward K.
#18
Posted 04 October 2017 - 02:24 PM
#19
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
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
Posted 05 October 2017 - 12:01 AM