Jesteś tutaj

SimSig

Informations

Creator Wiadmości
IgnoredAmbience Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 3674
Wine: System

Feedbacks

Description

A train simulator of modern railway signalling systems in Great Britain, from the point of view of a railway signallerWikipedia. Website.

 Appdb.winehq.org

Screenshots

Miniature

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2020-06-05 17-11)
# Last revision : see changelog
# Wine version used : 5.0.0
# Distribution used to test : Ubuntu 20.04 amd64
# Author : IgnoredAmbience
# PlayOnLinux : 4.3.4
# Script licence : MIT
# Program licence : Retail
#
# 
# TESTED Editions: v4.6.9 (2020-06)
#
# CHANGELOG
# [IgnoredAmbience] (2020-06-05 17-11)
#   Initial version
# [IgnoredAmbience] (2020-06-08 16-30)
#   Set Legacy Train List option by default.
#   Add warning message to ignore installation error.
# [Dadu042] (2020-06-12 15-00)
#   Standardize.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="SimSig"
PREFIX="SimSig"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Cajon Rail LLC" "http://www.simsig.co.uk" "IgnoredAmbience" "$PREFIX"
 
POL_System_TmpCreate "$PREFIX"
 
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "https://www.simsig.co.uk/File/Download/852" "e93c3476785bec701517066498362634"
    INSTALLER="$POL_System_TmpDir/852"
fi
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

# WINEDLLOVERRIDES="mscoree="
POL_Wine_OverrideDLL "" "mscoree"

 
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
POL_Wine "$INSTALLER" "/VERYSILENT" "/NOICON"
 
POL_SetupWindow_message "$(eval_gettext 'The SimSig Updater will now run. At the end of the update, you can ignore any error message telling you that the SimSig System Files are not installed.')" "$TITLE"
 
POL_Wine "C:\\Program Files\\SimSig\\SimSigRefresherC.exe"
POL_Wine_UpdateRegistryPair "HKEY_CURRENT_USER\Software\SimSig\Options" "LegacyTrainList" --dword 1
 
POL_System_TmpDelete
 
POL_Shortcut "SimSigLoader.exe" "$TITLE" "" "" "Game;Simulation;"
 
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Wiadmości
IgnoredAmbience Monday 27 December 2021 at 3:10
IgnoredAmbience Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Wiadmości

Update to SimSig installer version 5.17.2

Differences

@@ -1,15 +1,15 @@
 #!/usr/bin/env playonlinux-bash
-# Date : (2020-06-05 17-11)
+# Date : (2021-12-27 02-00)
 # Last revision : see changelog
-# Wine version used : 5.0.0
-# Distribution used to test : Ubuntu 20.04 amd64
+# Wine version used : 7.0.0-rc1
+# Distribution used to test : Arch Linux
 # Author : IgnoredAmbience
 # PlayOnLinux : 4.3.4
 # Script licence : MIT
 # Program licence : Retail
 #
-# 
-# TESTED Editions: v4.6.9 (2020-06)
+#
+# TESTED Editions: v5.17.2 (2021-12)
 #
 # CHANGELOG
 # [IgnoredAmbience] (2020-06-05 17-11)
@@ -19,22 +19,24 @@
 #   Add warning message to ignore installation error.
 # [Dadu042] (2020-06-12 15-00)
 #   Standardize.
+# [IgnoredAmbience] (2021-12-27 02-00)
+#   Update to Simsig version 5.17.2
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+
 TITLE="SimSig"
 PREFIX="SimSig"
- 
+
 POL_SetupWindow_Init
 POL_Debug_Init
- 
+
 POL_SetupWindow_presentation "$TITLE" "Cajon Rail LLC" "http://www.simsig.co.uk" "IgnoredAmbience" "$PREFIX"
- 
+
 POL_System_TmpCreate "$PREFIX"
- 
+
 POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
- 
+
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
     POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
@@ -42,28 +44,24 @@
 elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
 then
     cd "$POL_System_TmpDir"
-    POL_Download "https://www.simsig.co.uk/File/Download/852" "e93c3476785bec701517066498362634"
-    INSTALLER="$POL_System_TmpDir/852"
+    POL_Download "https://www.simsig.co.uk/File/DownloadSimSig" "70b28d04a935281fa26c67005e3f382b"
+    INSTALLER="$POL_System_TmpDir/DownloadSimSig"
 fi
- 
+
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate
 
 # WINEDLLOVERRIDES="mscoree="
 POL_Wine_OverrideDLL "" "mscoree"
 
- 
-POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
-POL_Wine "$INSTALLER" "/VERYSILENT" "/NOICON"
- 
-POL_SetupWindow_message "$(eval_gettext 'The SimSig Updater will now run. At the end of the update, you can ignore any error message telling you that the SimSig System Files are not installed.')" "$TITLE"
- 
-POL_Wine "C:\\Program Files\\SimSig\\SimSigRefresherC.exe"
 POL_Wine_UpdateRegistryPair "HKEY_CURRENT_USER\Software\SimSig\Options" "LegacyTrainList" --dword 1
- 
+
+POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
+POL_Wine "$INSTALLER"
+
 POL_System_TmpDelete
- 
+
 POL_Shortcut "SimSigLoader.exe" "$TITLE" "" "" "Game;Simulation;"
- 
+
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2021-12-27 02-00)
# Last revision : see changelog
# Wine version used : 7.0.0-rc1
# Distribution used to test : Arch Linux
# Author : IgnoredAmbience
# PlayOnLinux : 4.3.4
# Script licence : MIT
# Program licence : Retail
#
#
# TESTED Editions: v5.17.2 (2021-12)
#
# CHANGELOG
# [IgnoredAmbience] (2020-06-05 17-11)
#   Initial version
# [IgnoredAmbience] (2020-06-08 16-30)
#   Set Legacy Train List option by default.
#   Add warning message to ignore installation error.
# [Dadu042] (2020-06-12 15-00)
#   Standardize.
# [IgnoredAmbience] (2021-12-27 02-00)
#   Update to Simsig version 5.17.2

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="SimSig"
PREFIX="SimSig"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Cajon Rail LLC" "http://www.simsig.co.uk" "IgnoredAmbience" "$PREFIX"

POL_System_TmpCreate "$PREFIX"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "https://www.simsig.co.uk/File/DownloadSimSig" "70b28d04a935281fa26c67005e3f382b"
    INSTALLER="$POL_System_TmpDir/DownloadSimSig"
fi

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

# WINEDLLOVERRIDES="mscoree="
POL_Wine_OverrideDLL "" "mscoree"

POL_Wine_UpdateRegistryPair "HKEY_CURRENT_USER\Software\SimSig\Options" "LegacyTrainList" --dword 1

POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
POL_Wine "$INSTALLER"

POL_System_TmpDelete

POL_Shortcut "SimSigLoader.exe" "$TITLE" "" "" "Game;Simulation;"

POL_SetupWindow_Close
exit

Odpowiedzi

Edytowane przez IgnoredAmbience

Dadu042 Friday 12 June 2020 at 15:07
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,34 +1,40 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2020-06-05 17-11)
-# Last revision : (2020-06-08 16-30)
-# Wine version used : 5.10
-# Distribution used to test : Arch Linux
+# Last revision : see changelog
+# Wine version used : 5.0.0
+# Distribution used to test : Ubuntu 20.04 amd64
 # Author : IgnoredAmbience
 # PlayOnLinux : 4.3.4
 # Script licence : MIT
 # Program licence : Retail
-
+#
+# 
+# TESTED Editions: v4.6.9 (2020-06)
+#
 # CHANGELOG
 # [IgnoredAmbience] (2020-06-05 17-11)
 #   Initial version
 # [IgnoredAmbience] (2020-06-08 16-30)
-#   Set Legacy Train List option by default. Add warning message to ignore installation error.
+#   Set Legacy Train List option by default.
+#   Add warning message to ignore installation error.
+# [Dadu042] (2020-06-12 15-00)
+#   Standardize.
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="SimSig"
 PREFIX="SimSig"
-
+ 
 POL_SetupWindow_Init
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "Cajon Rail LLC" "http://www.simsig.co.uk" "IgnoredAmbience" "$PREFIX"
-
+ 
 POL_System_TmpCreate "$PREFIX"
-
+ 
 POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
-
+ 
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
     POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
@@ -39,22 +45,25 @@
     POL_Download "https://www.simsig.co.uk/File/Download/852" "e93c3476785bec701517066498362634"
     INSTALLER="$POL_System_TmpDir/852"
 fi
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
-WINEDLLOVERRIDES="mscoree=" POL_Wine_PrefixCreate
+POL_Wine_PrefixCreate
+
+# WINEDLLOVERRIDES="mscoree="
 POL_Wine_OverrideDLL "" "mscoree"
 
+ 
 POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
 POL_Wine "$INSTALLER" "/VERYSILENT" "/NOICON"
-
+ 
 POL_SetupWindow_message "$(eval_gettext 'The SimSig Updater will now run. At the end of the update, you can ignore any error message telling you that the SimSig System Files are not installed.')" "$TITLE"
-
+ 
 POL_Wine "C:\\Program Files\\SimSig\\SimSigRefresherC.exe"
 POL_Wine_UpdateRegistryPair "HKEY_CURRENT_USER\Software\SimSig\Options" "LegacyTrainList" --dword 1
-
+ 
 POL_System_TmpDelete
-
+ 
 POL_Shortcut "SimSigLoader.exe" "$TITLE" "" "" "Game;Simulation;"
-
+ 
 POL_SetupWindow_Close
-exit
+exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2020-06-05 17-11)
# Last revision : see changelog
# Wine version used : 5.0.0
# Distribution used to test : Ubuntu 20.04 amd64
# Author : IgnoredAmbience
# PlayOnLinux : 4.3.4
# Script licence : MIT
# Program licence : Retail
#
# 
# TESTED Editions: v4.6.9 (2020-06)
#
# CHANGELOG
# [IgnoredAmbience] (2020-06-05 17-11)
#   Initial version
# [IgnoredAmbience] (2020-06-08 16-30)
#   Set Legacy Train List option by default.
#   Add warning message to ignore installation error.
# [Dadu042] (2020-06-12 15-00)
#   Standardize.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="SimSig"
PREFIX="SimSig"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Cajon Rail LLC" "http://www.simsig.co.uk" "IgnoredAmbience" "$PREFIX"
 
POL_System_TmpCreate "$PREFIX"
 
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "https://www.simsig.co.uk/File/Download/852" "e93c3476785bec701517066498362634"
    INSTALLER="$POL_System_TmpDir/852"
fi
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

# WINEDLLOVERRIDES="mscoree="
POL_Wine_OverrideDLL "" "mscoree"

 
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
POL_Wine "$INSTALLER" "/VERYSILENT" "/NOICON"
 
POL_SetupWindow_message "$(eval_gettext 'The SimSig Updater will now run. At the end of the update, you can ignore any error message telling you that the SimSig System Files are not installed.')" "$TITLE"
 
POL_Wine "C:\\Program Files\\SimSig\\SimSigRefresherC.exe"
POL_Wine_UpdateRegistryPair "HKEY_CURRENT_USER\Software\SimSig\Options" "LegacyTrainList" --dword 1
 
POL_System_TmpDelete
 
POL_Shortcut "SimSigLoader.exe" "$TITLE" "" "" "Game;Simulation;"
 
POL_SetupWindow_Close
exit

Odpowiedzi

IgnoredAmbience Monday 8 June 2020 at 17:28
IgnoredAmbience Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,60 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2020-06-05 17-11)
+# Last revision : (2020-06-08 16-30)
+# Wine version used : 5.10
+# Distribution used to test : Arch Linux
+# Author : IgnoredAmbience
+# PlayOnLinux : 4.3.4
+# Script licence : MIT
+# Program licence : Retail
+
+# CHANGELOG
+# [IgnoredAmbience] (2020-06-05 17-11)
+#   Initial version
+# [IgnoredAmbience] (2020-06-08 16-30)
+#   Set Legacy Train List option by default. Add warning message to ignore installation error.
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="SimSig"
+PREFIX="SimSig"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "Cajon Rail LLC" "http://www.simsig.co.uk" "IgnoredAmbience" "$PREFIX"
+
+POL_System_TmpCreate "$PREFIX"
+
+POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
+
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$POL_System_TmpDir"
+    POL_Download "https://www.simsig.co.uk/File/Download/852" "e93c3476785bec701517066498362634"
+    INSTALLER="$POL_System_TmpDir/852"
+fi
+
+POL_Wine_SelectPrefix "$PREFIX"
+WINEDLLOVERRIDES="mscoree=" POL_Wine_PrefixCreate
+POL_Wine_OverrideDLL "" "mscoree"
+
+POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
+POL_Wine "$INSTALLER" "/VERYSILENT" "/NOICON"
+
+POL_SetupWindow_message "$(eval_gettext 'The SimSig Updater will now run. At the end of the update, you can ignore any error message telling you that the SimSig System Files are not installed.')" "$TITLE"
+
+POL_Wine "C:\\Program Files\\SimSig\\SimSigRefresherC.exe"
+POL_Wine_UpdateRegistryPair "HKEY_CURRENT_USER\Software\SimSig\Options" "LegacyTrainList" --dword 1
+
+POL_System_TmpDelete
+
+POL_Shortcut "SimSigLoader.exe" "$TITLE" "" "" "Game;Simulation;"
+
+POL_SetupWindow_Close
+exit

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2020-06-05 17-11)
# Last revision : (2020-06-08 16-30)
# Wine version used : 5.10
# Distribution used to test : Arch Linux
# Author : IgnoredAmbience
# PlayOnLinux : 4.3.4
# Script licence : MIT
# Program licence : Retail

# CHANGELOG
# [IgnoredAmbience] (2020-06-05 17-11)
#   Initial version
# [IgnoredAmbience] (2020-06-08 16-30)
#   Set Legacy Train List option by default. Add warning message to ignore installation error.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="SimSig"
PREFIX="SimSig"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Cajon Rail LLC" "http://www.simsig.co.uk" "IgnoredAmbience" "$PREFIX"

POL_System_TmpCreate "$PREFIX"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "https://www.simsig.co.uk/File/Download/852" "e93c3476785bec701517066498362634"
    INSTALLER="$POL_System_TmpDir/852"
fi

POL_Wine_SelectPrefix "$PREFIX"
WINEDLLOVERRIDES="mscoree=" POL_Wine_PrefixCreate
POL_Wine_OverrideDLL "" "mscoree"

POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
POL_Wine "$INSTALLER" "/VERYSILENT" "/NOICON"

POL_SetupWindow_message "$(eval_gettext 'The SimSig Updater will now run. At the end of the update, you can ignore any error message telling you that the SimSig System Files are not installed.')" "$TITLE"

POL_Wine "C:\\Program Files\\SimSig\\SimSigRefresherC.exe"
POL_Wine_UpdateRegistryPair "HKEY_CURRENT_USER\Software\SimSig\Options" "LegacyTrainList" --dword 1

POL_System_TmpDelete

POL_Shortcut "SimSigLoader.exe" "$TITLE" "" "" "Game;Simulation;"

POL_SetupWindow_Close
exit

Odpowiedzi

Thursday 11 June 2020 at 22:18
Approved.

Edytowane przez IgnoredAmbience

IgnoredAmbience Friday 5 June 2020 at 21:05
IgnoredAmbience Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,60 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2020-06-05 17-11)
+# Last revision : (2020-06-08 16-30)
+# Wine version used : 5.10
+# Distribution used to test : Arch Linux
+# Author : IgnoredAmbience
+# PlayOnLinux : 4.3.4
+# Script licence : MIT
+# Program licence : Retail
+
+# CHANGELOG
+# [IgnoredAmbience] (2020-06-05 17-11)
+#   Initial version
+# [IgnoredAmbience] (2020-06-08 16-30)
+#   Set Legacy Train List option by default. Add warning message to ignore installation error.
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="SimSig"
+PREFIX="SimSig"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "Cajon Rail LLC" "http://www.simsig.co.uk" "IgnoredAmbience" "$PREFIX"
+
+POL_System_TmpCreate "$PREFIX"
+
+POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
+
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$POL_System_TmpDir"
+    POL_Download "https://www.simsig.co.uk/File/Download/852" "e93c3476785bec701517066498362634"
+    INSTALLER="$POL_System_TmpDir/852"
+fi
+
+POL_Wine_SelectPrefix "$PREFIX"
+WINEDLLOVERRIDES="mscoree=" POL_Wine_PrefixCreate
+POL_Wine_OverrideDLL "" "mscoree"
+
+POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
+POL_Wine "$INSTALLER" "/VERYSILENT" "/NOICON"
+
+POL_SetupWindow_message "$(eval_gettext 'The SimSig Updater will now run. At the end of the update, you can ignore any error message telling you that the SimSig System Files are not installed.')" "$TITLE"
+
+POL_Wine "C:\\Program Files\\SimSig\\SimSigRefresherC.exe"
+POL_Wine_UpdateRegistryPair "HKEY_CURRENT_USER\Software\SimSig\Options" "LegacyTrainList" --dword 1
+
+POL_System_TmpDelete
+
+POL_Shortcut "SimSigLoader.exe" "$TITLE" "" "" "Game;Simulation;"
+
+POL_SetupWindow_Close
+exit

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2020-06-05 17-11)
# Last revision : (2020-06-08 16-30)
# Wine version used : 5.10
# Distribution used to test : Arch Linux
# Author : IgnoredAmbience
# PlayOnLinux : 4.3.4
# Script licence : MIT
# Program licence : Retail

# CHANGELOG
# [IgnoredAmbience] (2020-06-05 17-11)
#   Initial version
# [IgnoredAmbience] (2020-06-08 16-30)
#   Set Legacy Train List option by default. Add warning message to ignore installation error.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="SimSig"
PREFIX="SimSig"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Cajon Rail LLC" "http://www.simsig.co.uk" "IgnoredAmbience" "$PREFIX"

POL_System_TmpCreate "$PREFIX"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "https://www.simsig.co.uk/File/Download/852" "e93c3476785bec701517066498362634"
    INSTALLER="$POL_System_TmpDir/852"
fi

POL_Wine_SelectPrefix "$PREFIX"
WINEDLLOVERRIDES="mscoree=" POL_Wine_PrefixCreate
POL_Wine_OverrideDLL "" "mscoree"

POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
POL_Wine "$INSTALLER" "/VERYSILENT" "/NOICON"

POL_SetupWindow_message "$(eval_gettext 'The SimSig Updater will now run. At the end of the update, you can ignore any error message telling you that the SimSig System Files are not installed.')" "$TITLE"

POL_Wine "C:\\Program Files\\SimSig\\SimSigRefresherC.exe"
POL_Wine_UpdateRegistryPair "HKEY_CURRENT_USER\Software\SimSig\Options" "LegacyTrainList" --dword 1

POL_System_TmpDelete

POL_Shortcut "SimSigLoader.exe" "$TITLE" "" "" "Game;Simulation;"

POL_SetupWindow_Close
exit

Odpowiedzi

Edytowane przez IgnoredAmbience

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com