Going beyond the 4 GB of memory
#21
Posted 05 October 2017 - 01:04 AM
Dennis
#22
Posted 05 October 2017 - 06:09 AM
The kit must be unzipped within the "Source" folder of an OR source kit that is checked out with TortoiseSVN. You will get the patch file within "Source" and the Monogame libraries within 3rdPartyLibs\Monogame. You simply execute the patch file with TortoiseSVN and you will have a buildable source version based on Monogame. I will modify the kit only if there are improvements in the Monogame operation of OR (or if some incompatibility arises). So I won't have to update the downloadable source pack any more; however I have the intention to update (not on a one-to-one basis) the downloadable executable pack with the new OR versions.
OR_MG_DevKit_Rev2.zip (1.26MB)
Number of downloads: 455
9/10/17: updated DevKit with release that corrects the rainbow colours of the steam loco exhausts
10/10/17: updated DevKit with release that corrects inital position of OR window and centers full screen
I hope that this transient phase will last few time and that it will be decided that OR Monogame becomes the official OR version.
Patches to correct the few small remaining issues are welcome (in fact the main aim the developer's kit is that one), because in general I won't work on that: I've done the sherpa work, but I'm not able to introduce improvements.
#23
Posted 05 October 2017 - 08:05 AM
Someone has a bad pixellation effect like following one:
Someone gets crash messages like following one:
which says "An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous."
Searching on the Internet, this seems to be the problem
https://docs.microso...access-security
Any ideas?
#24
Posted 06 October 2017 - 06:04 PM
Csantucci, on 05 October 2017 - 06:09 AM, said:
The kit must be unzipped within the "Source" folder of an OR source kit that is checked out with TortoiseSVN. You will get the patch file within "Source" and the Monogame libraries within 3rdPartyLibs\Monogame. You simply execute the patch file with TortoiseSVN and you will have a buildable source version based on Monogame. I will modify the kit only if there are improvements in the Monogame operation of OR (or if some incompatibility arises). So I won't have to update the downloadable source pack any more; however I have the intention to update (not on a one-to-one basis) the downloadable executable pack with the new OR versions.
OR_MG_DevKit.zip
I hope that this transient phase will last few time and that it will be decided that OR Monogame becomes the official OR version.
Patches to correct the few small remaining issues are welcome (in fact the main aim the developer's kit is that one), because in general I won't work on that: I've done the sherpa work, but I'm not able to introduce improvements.
Carlo,
Do you know if the version being used matches with what can be downloaded from the Monogame site? I initially set up Community Edition 2017 with the latest release of Monogame.
Edward K.
#25
Posted 06 October 2017 - 11:27 PM
In the meantime here is the MonoGame version of OR x3957
http://www.interazio...57_Monogame.zip
#26
Posted 07 October 2017 - 02:09 AM
#27
Posted 07 October 2017 - 03:06 AM
I have tried the monogame version and I am getting severe pixellation and what looks like z buffer fighting on track shapes. The pixellation shows through the train models and on some faces of scenery items. Trees and terrtex do not appear to be affected.
Long list of shader warnings in the log file which is attached.
Attached File(s)
-
OpenRailsLog.zip (5.65K)
Number of downloads: 423
#28
Posted 07 October 2017 - 04:03 AM
Error: System.ArgumentException: Długość tablicy docelowej jest niewystarczająca. Sprawdź element destIndex, długość oraz dolną granicę tablicy. w System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) w System.Collections.Generic.List`1.ToArray() w Orts.Viewer3D.TrackSoundSource.UpdateCarOnSwitchAndCurve() w D:\ADRIANA\Carlo\OR_Work\MonoGame_actual\Source\RunActivity\Viewer3D\Sound.cs:wiersz 392 w Orts.Viewer3D.TrackSoundSource.Update() w D:\ADRIANA\Carlo\OR_Work\MonoGame_actual\Source\RunActivity\Viewer3D\Sound.cs:wiersz 330 w Orts.Viewer3D.Processes.SoundProcess.Sound() w D:\ADRIANA\Carlo\OR_Work\MonoGame_actual\Source\RunActivity\Viewer3D\Processes\SoundProcess.cs:wiersz 185 w Orts.Viewer3D.Processes.SoundProcess.DoSound() w D:\ADRIANA\Carlo\OR_Work\MonoGame_actual\Source\RunActivity\Viewer3D\Processes\SoundProcess.cs:wiersz 116 w Orts.Viewer3D.Processes.SoundProcess.SoundThread() w D:\ADRIANA\Carlo\OR_Work\MonoGame_actual\Source\RunActivity\Viewer3D\Processes\SoundProcess.cs:wiersz 100 w System.Threading.ThreadHelper.ThreadStart_Context(Object state) w System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) w System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) w System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) w System.Threading.ThreadHelper.ThreadStart()
"Długość tablicy docelowej jest niewystarczająca. Sprawdź element destIndex, długość oraz dolną granicę tablicy." means 'The length of the target array is insufficient. Check destIndex element, length and lower limit of the array.'
It happens when a middle of a train (3 engines and 38 cars - so quite long) is crossing 3rd or 4th switch after game start. I am using DemoAutoSound provided by Carlo (with some minor tweaks). Log attached.
EDIT: Problem vanished when I removed ORTS switch and curve commands from .trk file. Of course XNA version of OR works fine with this command present.
Attached File(s)
-
OpenRailsLog.txt (67.09K)
Number of downloads: 405
#29
Posted 07 October 2017 - 10:57 AM
yes, the pixellation issue is probably the most serious one, and it occurs to many people. Issue is present also in gpz's original version.
#30
Posted 07 October 2017 - 11:22 AM