HansJansen, on 04 October 2018 - 04:39 AM, said:
I have tried to run your latest ORTS-MG with MG3.7 on my Linux system, but without much success, alas.
The binary package starts running with Wine, up to the point of pressing the Start button; then it vanishes without a trace (:(). If I start it with the mono command (I have installed the latest MonoDevelopment, including the MonoGame V3,7), it comes up with a small window stating it needs .NET Framework 3.5 SP1 and XNA Framework 3.1, and shuts off when I hit the OK button.
The .NET and XNA framework checks are all OpenRails.exe does before starting Menu.exe, so you can skip that and try running Menu.exe directly.
HansJansen, on 04 October 2018 - 04:39 AM, said:
- In Contrib/ActivityEditor/ActivityEditor/ActivityEditor.csproj, changed line
<Compile Include="ActionProperties\ControlStartProperties.designer.cs">
into
<Compile Include="ActionProperties\ControlStartProperties.Designer.cs">
- In Menu.csproj, changed line
<Compile Include="ImportExportSaveForm.designer.cs">
into
<Compile Include="ImportExportSaveForm.Designer.cs">
– Renamed file Orts.Formats.Msts/ACEFile.cs to Orts.Formats.Msts/AceFile.cs
All fixed in X4248, although I am unsure what'll happen for people on Windows with regards "AceFile.cs". Subversion will probably leave it alone, but I believe the rename is correctly in the repo so should propagate to git okay:
https://james-ross.co.uk/temp/orts_159.png
HansJansen, on 04 October 2018 - 04:39 AM, said:
So three occurrences of the case-sensitive nature of Linux, as opposed to Windows.
Maybe you can put these changes into your sources?
They're in the official sources now, so when the next update of the MonoGame version is made they should be included.
HansJansen, on 04 October 2018 - 04:39 AM, said:
After that, when built individually, the following 5 projects produce this error:
The command “echo $Revision: 000 $>Revision.txt
date /t>>Revision.txt
time /t>>Revision.txt exited with code 127. (MSB3073)
– ContentChecker
– Launcher
– Menu
– RunActivity
– TrackViewer
(“Build All” results in the same error for only Launcher, Menu and RunActivity.)
I have no idea how to tackle these errors. Could you point me to possible cause(s)?
It would be nice to at least finish the building of the solution (not to mention running the result!)
I am quite willing to delve further into that problem, should you wish me to do so.
These errors are all caused by code which is included in the project build configuration to ensure the version numbers are reset to 0, to avoid confusion with any official versions.
Inside each project file (.csproj), the code is inside "<PostBuildEvent>". You can just remove it, but be aware that Open Rails may report official version numbers when it shouldn't do. I believe the equivalent code for Linux would be (with the XML escaping needed for the project files):
echo "$Revision: 000 $">Revision.txt
date +%x>>Revision.txt
date +%R>>Revision.txt