SimSig

Informations

Créateur Messages
IgnoredAmbience Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 3734
Wine: System

Retours d'expérience

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

Captures d'écran

Miniature

Code source

#!/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:

Contribuer
Membre Messages
IgnoredAmbience Lundi 27 Décembre 2021 à 3:10
IgnoredAmbience Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Edité par IgnoredAmbience

Dadu042 Vendredi 12 Juin 2020 à 15:07
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

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

Nouveau code source

#!/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

Réponses

IgnoredAmbience Lundi 8 Juin 2020 à 17:28
IgnoredAmbience Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

Jeudi 11 Juin 2020 à 22:18
Approved.

Edité par IgnoredAmbience

IgnoredAmbience Vendredi 5 Juin 2020 à 21:05
IgnoredAmbience Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

Edité par 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