Skip to content

Commit 136fbc0

Browse files
author
Chris Jakeman
committed
Removes Large-Address-Aware option
from Menu.exe, Manual.pdf and Build.cmd
1 parent 686a7a3 commit 136fbc0

File tree

6 files changed

+47
-107
lines changed

6 files changed

+47
-107
lines changed

Build.cmd

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,6 @@ REM Run unit tests (9009 means XUnit itself wasn't found, which is an error).
109109
xunit.console.x86 Program\Tests.dll -nunit xunit.xml
110110
IF "%ERRORLEVEL%" == "9009" GOTO :error
111111

112-
CALL :copy "Program\RunActivity.exe" "Program\RunActivityLAA.exe" || GOTO :error
113-
editbin /NOLOGO /LARGEADDRESSAWARE "Program\RunActivityLAA.exe" || GOTO :error
114-
CALL :copy "Program\RunActivity.exe.config" "Program\RunActivityLAA.exe.config" || GOTO :error
115-
ECHO Created large address aware version of RunActivity.exe.
116-
117112
REM Copy the web content
118113
ROBOCOPY /MIR /NJH /NJS "Source\RunActivity\Viewer3D\WebServices\Web" "Program\Content\Web"
119114
IF %ERRORLEVEL% GEQ 8 GOTO :error
-70.1 KB
Loading

Source/Documentation/Manual/options.rst

Lines changed: 24 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,30 @@ sometimes use a view other than the cabview to follow the train, and
3232
therefore will not see the alerter warning, selecting the related option
3333
*Also in external views* enables the alerter in those views as well.
3434

35+
36+
.. _options-control-confirmations:
37+
Control confirmations
38+
---------------------
39+
40+
Following MSTS practice, whenever you make adjustments to the train
41+
controls (e.g. open the throttle) OR briefly shows a message near the
42+
bottom of the screen.
43+
44+
.. image:: images/options-confirmations.png
45+
46+
This is helpful for operations that don't have visible feedback and also
47+
allows you to control the train without being in the cab.
48+
49+
Uncheck this option if you prefer to monitor your cab instruments and
50+
don't want to see these messages.
51+
52+
OR uses the same message scheme for system messages such as "Game saved"
53+
or "Replay ended" but you cannot suppress these system messages.
54+
55+
Control confirmations can also be toggled on and off at runtime using the
56+
key combination Ctrl-Alt-F10.
57+
58+
3559
.. _options-map-window:
3660

3761
Map window
@@ -57,40 +81,6 @@ speaking, operating with the option checked is equivalent to passenger
5781
standard and unchecked is equivalent to freight standard. A complete
5882
description of this option can be found :ref:`here <physics-braking>`.
5983

60-
Large address aware binaries
61-
----------------------------
62-
63-
It is suggested to leave this option checked. When it is unchecked, Open
64-
Rails can use a maximum of 2 GB of RAM. When it is checked, the maximum is
65-
4 GB for 64-bit Windows systems, and 2 or 3 GB for 32-bit Windows systems.
66-
To increase the maximum RAM used by OR in 32-bit Windows systems from 2 to
67-
3 GB see the information found `here <http://knowledge.autodesk.com/
68-
support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/
69-
How-to-enable-a-3GB-switch-on-Windows-Vista-Windows-7-or-Windows-XP-s.html>`_.
70-
71-
Take note that the RAM increase from 2 to 3 GB in 32-bit systems can slow
72-
down computer operation when not using OR.
73-
74-
Control confirmations
75-
---------------------
76-
77-
Following MSTS practice, whenever you make adjustments to the train
78-
controls (e.g. open the throttle) OR briefly shows a message near the
79-
bottom of the screen.
80-
81-
.. image:: images/options-confirmations.png
82-
83-
This is helpful for operations that don't have visible feedback and also
84-
allows you to control the train without being in the cab.
85-
86-
Uncheck this option if you prefer to monitor your cab instruments and
87-
don't want to see these messages.
88-
89-
OR uses the same message scheme for system messages such as "Game saved"
90-
or "Replay ended" but you cannot suppress these system messages.
91-
92-
Control confirmations can also be toggled on and off at runtime using the
93-
key combination Ctrl-Alt-F10.
9484

9585

9686
.. _options-retainers:

Source/Menu/MainForm.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,7 @@ internal string RunActivityProgram
7777
{
7878
get
7979
{
80-
var programNormal = System.IO.Path.Combine(Application.StartupPath, "RunActivity.exe");
81-
var programLAA = System.IO.Path.Combine(Application.StartupPath, "RunActivityLAA.exe");
82-
if (Settings.UseLargeAddressAware && File.Exists(programLAA))
83-
return programLAA;
84-
return programNormal;
80+
return System.IO.Path.Combine(Application.StartupPath, "RunActivity.exe");
8581
}
8682
}
8783

@@ -184,7 +180,6 @@ void MainForm_Shown(object sender, EventArgs e)
184180
"OpenRails.exe",
185181
"Menu.exe",
186182
"RunActivity.exe",
187-
"RunActivityLAA.exe",
188183
"Updater.exe",
189184
};
190185
var tools = new List<ToolStripItem>();

0 commit comments

Comments
 (0)