Skip to content

Commit 0017b1a

Browse files
committed
Merge branch 'master' into simple-adhesion-axle
2 parents fd2cabb + 041d7ab commit 0017b1a

File tree

37 files changed

+17431
-3236
lines changed

37 files changed

+17431
-3236
lines changed

Source/Contrib/TimetableEditor/about.lfm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ object Form2: TForm2
3838
Width = 97
3939
Alignment = taCenter
4040
AutoSize = True
41-
Caption = 'Version: 1.5.1'
41+
Caption = 'Version: 1.6'
4242
Font.CharSet = ANSI_CHARSET
4343
Font.Height = -16
4444
Font.Name = 'Arial'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
TFORM2.CAPTION=about
22
TFORM2.BUTTON1.CAPTION=close
33
TFORM2.LABEL1.CAPTION=Timetable Editor
4-
TFORM2.STATICTEXT1.CAPTION=Version: 1.5.1
4+
TFORM2.STATICTEXT1.CAPTION=Version: 1.6
55
TFORM2.LABEL2.CAPTION=Open Rails

Source/Contrib/TimetableEditor/languages/contrib.timetableeditor.de.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ msgid "Open Rails"
197197
msgstr ""
198198

199199
#: tform2.statictext1.caption
200-
msgid "Version: 1.5"
200+
msgid "Version: 1.6"
201201
msgstr ""
202202

203203
#: tform3.bitbtn2.caption

Source/Contrib/TimetableEditor/languages/contrib.timetableeditor.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ msgid "Open Rails"
187187
msgstr ""
188188

189189
#: tform2.statictext1.caption
190-
msgid "Version: 1.5"
190+
msgid "Version: 1.6"
191191
msgstr ""
192192

193193
#: tform3.bitbtn2.caption

Source/Contrib/TimetableEditor/languages/contrib.timetableeditor.ru.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ msgid "Open Rails"
197197
msgstr "Open Rails"
198198

199199
#: tform2.statictext1.caption
200-
msgid "Version: 1.5"
201-
msgstr "Версия: 1.5"
200+
msgid "Version: 1.6"
201+
msgstr "Версия: 1.6"
202202

203203
#: tform3.bitbtn2.caption
204204
msgctxt "TFORM3.BITBTN2.CAPTION"

Source/Documentation/Manual/cabs.rst

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -289,21 +289,33 @@ Example::
289289
single: ORTS_PLAYER_DIESEL_ENGINE_STATE
290290

291291
ORTS_PLAYER_DIESEL_ENGINE_STATE: this control respectively selects frames 0,
292-
1, 2, 3 for the player locomotive engine states Stopped, Starting, Running and
293-
Stopping. It is a display-only control.
292+
1, 2, 3 for the player locomotive engine states Stopped, Stopping, Starting and Running. It is a display-only control.
294293

295294
Example::
296295

297-
MultiState (
298-
Type ( ORTS_PLAYER_DIESEL_ENGINE_STATE TRI_STATE)
299-
Position ( 270 446 39 40 )
300-
Graphic ( cd_363_zberace.ace )
301-
NumFrames ( 4 4 1 )
302-
Style ( NONE )
303-
MouseControl ( 1 )
304-
Orientation ( 0 )
305-
DirIncrease ( 1 )
306-
)
296+
MultiStateDisplay (
297+
Type ( ORTS_PLAYER_DIESEL_ENGINE_STATE MULTI_STATE_DISPLAY )
298+
Position ( 140 306 6.5 6.2 )
299+
Graphic ( "engine_state.ace" )
300+
States ( 4 4 1
301+
State (
302+
Style ( 0 )
303+
SwitchVal ( 0 )
304+
)
305+
State (
306+
Style ( 0 )
307+
SwitchVal ( 1 )
308+
)
309+
State (
310+
Style ( 0 )
311+
SwitchVal ( 2 )
312+
)
313+
State (
314+
Style ( 0 )
315+
SwitchVal ( 3 )
316+
)
317+
)
318+
)
307319

308320

309321
.. index::

Source/Documentation/Manual/timetable.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ junction somewhere beyond that station.
11491149
This function will return 'true' if approaching train is to stop at the request stop in order to set down
11501150
passengers, otherwise it returns 'false'.
11511151
Using this function, the state of the signal can be set as required. The signal can be visualized as an
1152-
actual signal, but also, for instance, a passenger figure can be animated to be visual on the plaƞorm
1152+
actual signal, but also, for instance, a passenger figure can be animated to be visual on the platform
11531153
if the train is to stop, and otherwise not be visual.
11541154

11551155
Apart from this function, the signal must set two variables :
@@ -1201,7 +1201,7 @@ junction somewhere beyond that station.
12011201
A 'spoiler' indication which shows if the stop is required to set down or pick up, can be shown if the
12021202
Next Station Window is displayed (normally using key F10), by pressing keys ALT+F10.
12031203

1204-
When ALT+F10 is pressed, and the next station is a request stop, a line is displayed at the boƩom of
1204+
When ALT+F10 is pressed, and the next station is a request stop, a line is displayed at the bottom of
12051205
the window showing if stop is required or not.
12061206

12071207
NOTE : this spoiler function is not yet available and will be included later.

Source/Installer/Installer.iss

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
#define DotNETName "Microsoft .NET Framework 4.7.2"
2222

23-
#define MyAppURL "http://openrails.org" ; Not yet HTTPS
23+
#define MyAppURL "https://openrails.org"
2424
#define MyAppSourceURL "http://openrails.org/download/source/"
2525
#define MyAppSupportURL "https://launchpad.net/or"
2626

@@ -31,7 +31,7 @@
3131
#define MyAppDocPath "..\..\Program\Documentation"
3232

3333
#define NetRedistPath "..\..\.NET Framework 4.7.2 web installer"
34-
#define NetRedist "NDP472-KB4054531-Web.exe"
34+
#define NetRedist "ndp472-kb4054531-web.exe" ; Has to be lower-case to match download
3535

3636
[Setup]
3737
; NOTE: The value of AppId uniquely identifies this application.
@@ -50,20 +50,26 @@ DefaultDirName ={commonpf}\{#MyAppName}
5050
DefaultGroupName={#MyAppName}
5151
AllowNoIcons =yes
5252
LicenseFile ={#MyAppProgPath}\Copying.txt
53-
InfoBeforeFile ={#MyAppProgPath}\Prerequisites.txt
53+
InfoBeforeFile ={#MyAppProgPath}\Prerequisites.txt
5454
InfoAfterFile ={#MyAppProgPath}\Readme.txt
5555

56-
; Remove the following line to run in administrative install mode (install for all users.)
57-
; PrivilegesRequired=lowest ; Cannot create the directory C:\Program Files\Open Rails
56+
; Prompt for a destination folder
57+
DisableDirPage =no
58+
; 32-bit is the default, installing in "Program Files (x86)" on 64-bit Windows. "x64compatible" uses Program Files on 64-bit Windows
59+
ArchitecturesInstallIn64BitMode =x64compatible
60+
61+
; Default is admin install mode.
62+
; Comment in the following line to run in non-administrative install mode, but that cannot create the directory C:\Program Files\Open Rails
63+
; PrivilegesRequired=lowest
5864

5965
Compression =lzma
6066
SolidCompression=yes
61-
WizardStyle=modern
67+
WizardStyle =modern
6268
Uninstallable =yes
63-
UninstallDisplayIcon={app}\{#MyAppExeName}
64-
OutputBaseFilename=OpenRailsSetup
69+
UninstallDisplayIcon ={app}\{#MyAppExeName}
70+
OutputBaseFilename =OpenRailsSetup
6571

66-
; Windows 7 SP1
72+
; Windows 7 SP1 Correct value, so ignore final warning message from Build > Compile
6773
MinVersion =6.1sp1
6874

6975
[Languages]
@@ -79,7 +85,7 @@ Name: "finnish"; MessagesFile: "compiler:Languages\Finnish.isl"
7985
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
8086
Name: "german"; MessagesFile: "compiler:Languages\German.isl"
8187
Name: "hebrew"; MessagesFile: "compiler:Languages\Hebrew.isl"
82-
Name: "icelandic"; MessagesFile: "compiler:Languages\Icelandic.isl"
88+
;Name: "icelandic"; MessagesFile: "compiler:Languages\Icelandic.isl"
8389
Name: "italian"; MessagesFile: "compiler:Languages\Italian.isl"
8490
Name: "japanese"; MessagesFile: "compiler:Languages\Japanese.isl"
8591
Name: "norwegian"; MessagesFile: "compiler:Languages\Norwegian.isl"

Source/Installer/Using the installer scripts.txt

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
Using the installer scripts.txt
2-
Last updated: 2022-08-21 by Chris Jakeman
2+
Last updated: 2025-06-21 by Chris Jakeman
33

4-
1. If you wish to update the version name from "1.5", then edit the line
5-
#define MyAppVersion "1.5"
4+
Compiling the scripts and data files on your own PC and testing them there or on a virtual machine
5+
==================================================================================================
6+
7+
1. If you wish to update the version name from "1.6", then edit the line
8+
#define MyAppVersion "1.6"
69
in the file
710
Source\Installer\Version.iss
811
and update the Release number and date in:
912
Source\RunActivity\Readme.txt
1013
and in
1114
Source\RunActivity\Prerequisites.txt
1215

16+
The text in these documents is shown by the Installer to the user, so check this is still up to date.
17+
1318
2. Download and install Inno Setup from http://www.jrsoftware.org/isdl.php
14-
Initial trials (Apr 2014) used v5.5.4. Open Rails v1.5 uses 6.1.2
19+
Initial trials (Apr 2014) used v5.5.4. Open Rails v1.6 uses 6.4.3
1520

16-
3. Download Microsoft .NET Framework 4.7.2 web installer for Windows from:
21+
3. Download Microsoft .NET Framework 4.7.2 web installer package for Windows from:
1722
https://support.microsoft.com/en-us/topic/microsoft-net-framework-4-7-2-web-installer-for-windows-dda5cddc-b85e-545d-8d4a-d213349b7775
1823
and save in
1924
<A>\.NET Framework 4.7.2 web installer\ndp472-kb4054531-web.exe
@@ -23,28 +28,31 @@ Initial trials (Apr 2014) used v5.5.4. Open Rails v1.5 uses 6.1.2
2328
From Source\Installer, copy OpenRails.iss and Version.iss into <A>\Temp\Installer
2429

2530
5. Repeat the following as often as required:
26-
A. Download OR zip file from https://github.com/openrails/openrails/releases, choose the latest (i.e. pre-release) version, open the Assets concertina and pick OpenRails-Stable.zip
31+
A. Download OR zip file from https://github.com/openrails/openrails/releases, choose the latest (i.e. pre-release) version, open the Assets concertina and pick Open Rails <version>.zip where <version> is something like "1.6-rc2"
2732

2833
B. Unzip into folder
29-
<A>\Open Rails\Program\
34+
<A>\Program\
3035

3136
C. Remove
32-
<A>\Open Rails\Program\Updater.ini
37+
<A>\Program\Updater.ini
3338
as James Ross advises because the updater cannot update an installed version yet.
3439

35-
D. Download source from https://github.com/openrails/openrails/releases, choose the latest (i.e. pre-release) version, open the Assets concertina and pick Source code (openrails-1.5-rc1.zip) and extract the folder Source\Documentation.
40+
D. Download source from https://github.com/openrails/openrails/releases, choose the latest (i.e. pre-release) version, open the Assets concertina and pick Source code Open Rails <version> Source.zip where <version> is something like "1.6-rc2" and extract the folder Source\Documentation.
3641

3742
E. Copy contents into folder
38-
<A>\Open Rails\Program\Documentation\
43+
<A>\Program\Documentation\
44+
45+
F. If you made changes to Source\RunActivity\Readme.txt or Source\RunActivity\Prerequisites.txt in Step 1, then
46+
copy them to <A>\Program\ to overwrite the downloaded files.
3947

40-
F. Use Inno Setup > Build > Compile to compile the installer script
48+
G. Use Inno Setup Compiler > Build > Compile to compile the installer script
4149
<A>\Temp\Installer\Installer.iss
4250
and generate the Open Rails Installer
4351

44-
G. The generated file will be found in <A>\Temp\Installer\Output\OpenRailsSetup.exe
52+
H. The generated file will be found in <A>\Temp\Installer\Output\OpenRailsSetup.exe
4553

4654
6. Test the installer by building Virtual Machines with a fresh copy of Windows.
47-
Open Rails v1.5 is compatible with Windows from 7 (SP1) to 11 and, hopefully, beyond.
55+
Open Rails v1.6 is compatible with Windows from 7 (SP1) to 11 and, hopefully, beyond.
4856

4957
Arrange for the VM to have Internet access and a shared folder.
5058
Copy OpenRailsSetup.exe to the shared folder.

Source/Installer/Version.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define MyAppVersion "1.5"
1+
#define MyAppVersion "1.6"

0 commit comments

Comments
 (0)