GOG.com - Tropico Reloaded

Informations

Creator Message
TonyFlow

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 9412
Wine: 3.0.3

Feedbacks

Source code

#!/bin/bash
# Date : (2013-08-22 23-00)
# Last revision : 
# Wine version used :
# Distribution used to test : Fedora 19
# Author : TonyFlow
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [TonyFlow] (2013-08-22 23-00)
#   Initial script.
# [Dadu042] (2020-04-19 12:30).
#   Wine 1.4.1 (outdated) -> 3.0.3 (not tested)

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
GOGID="tropico_reloaded"
PREFIX="TropicoReloaded_gog"
WORKING_WINE_VERSION="3.0.3"
 
TITLE="GOG.com - Tropico Reloaded"
SHORTCUT_NAME_1="Tropico 1: Paradise Island"
SHORTCUT_NAME_2="Tropico 2: Pirate Cove"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 1806
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Kalypso / PopTop" "http://www.gog.com/gamecard/$GOGID" "TonyFlow" "$PREFIX"
 
POL_Call POL_GoG_setup "$GOGID" "df2913ef618fd5449cd8e580ee6b7fb0"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_Call POL_GoG_install
 
# GoG work!
Set_OS winxp
 
POL_SetupWindow_VMS "16"
 
 
# The game (Tropico 1) require a cdrom drive
ln -sf / "$WINEPREFIX/dosdevices/p:"
cat <<_EOFINI_ > "$POL_USER_ROOT/tmp/cdrom.reg"
REGEDIT4
 
[HKEY_LOCAL_MACHINE\Software\Wine\Drives]
"P:"="cdrom"
_EOFINI_
# Define the cdrom drive into the registry
POL_Wine regedit.exe "$POL_USER_ROOT/tmp/cdrom.reg"
rm "$POL_USER_ROOT/tmp/cdrom.reg"
 
 
# Doesn't hurt ;)
POL_Wine_reboot
 
# Configure the shortcut
GOGPATH="$GOGROOT/Tropico Reloaded"
POL_Shortcut "Tropico.EXE" "$SHORTCUT_NAME_1" "$SHORTCUT_NAME_1.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME_1" "$GOGPATH/Tropico 1/Manual.pdf"
POL_Shortcut "Tropico2.exe" "$SHORTCUT_NAME_2" "$SHORTCUT_NAME_2.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME_2" "$GOGPATH/Tropico 2/Manual.pdf"
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Sunday 19 April 2020 at 14:45
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,19 +1,25 @@
 #!/bin/bash
 # Date : (2013-08-22 23-00)
-# Last revision : (2013-08-29 18-00)
-# Wine version used : 1.4.1
+# Last revision : 
+# Wine version used :
 # Distribution used to test : Fedora 19
 # Author : TonyFlow
 # Script licence : GPL v.2
 # Program licence : Retail
 # Depend :
- 
+#
+# CHANGELOG
+# [TonyFlow] (2013-08-22 23-00)
+#   Initial script.
+# [Dadu042] (2020-04-19 12:30).
+#   Wine 1.4.1 (outdated) -> 3.0.3 (not tested)
+
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  
 GOGID="tropico_reloaded"
 PREFIX="TropicoReloaded_gog"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="3.0.3"
  
 TITLE="GOG.com - Tropico Reloaded"
 SHORTCUT_NAME_1="Tropico 1: Paradise Island"

New source code

#!/bin/bash
# Date : (2013-08-22 23-00)
# Last revision : 
# Wine version used :
# Distribution used to test : Fedora 19
# Author : TonyFlow
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [TonyFlow] (2013-08-22 23-00)
#   Initial script.
# [Dadu042] (2020-04-19 12:30).
#   Wine 1.4.1 (outdated) -> 3.0.3 (not tested)

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
GOGID="tropico_reloaded"
PREFIX="TropicoReloaded_gog"
WORKING_WINE_VERSION="3.0.3"
 
TITLE="GOG.com - Tropico Reloaded"
SHORTCUT_NAME_1="Tropico 1: Paradise Island"
SHORTCUT_NAME_2="Tropico 2: Pirate Cove"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 1806
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Kalypso / PopTop" "http://www.gog.com/gamecard/$GOGID" "TonyFlow" "$PREFIX"
 
POL_Call POL_GoG_setup "$GOGID" "df2913ef618fd5449cd8e580ee6b7fb0"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_Call POL_GoG_install
 
# GoG work!
Set_OS winxp
 
POL_SetupWindow_VMS "16"
 
 
# The game (Tropico 1) require a cdrom drive
ln -sf / "$WINEPREFIX/dosdevices/p:"
cat <<_EOFINI_ > "$POL_USER_ROOT/tmp/cdrom.reg"
REGEDIT4
 
[HKEY_LOCAL_MACHINE\Software\Wine\Drives]
"P:"="cdrom"
_EOFINI_
# Define the cdrom drive into the registry
POL_Wine regedit.exe "$POL_USER_ROOT/tmp/cdrom.reg"
rm "$POL_USER_ROOT/tmp/cdrom.reg"
 
 
# Doesn't hurt ;)
POL_Wine_reboot
 
# Configure the shortcut
GOGPATH="$GOGROOT/Tropico Reloaded"
POL_Shortcut "Tropico.EXE" "$SHORTCUT_NAME_1" "$SHORTCUT_NAME_1.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME_1" "$GOGPATH/Tropico 1/Manual.pdf"
POL_Shortcut "Tropico2.exe" "$SHORTCUT_NAME_2" "$SHORTCUT_NAME_2.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME_2" "$GOGPATH/Tropico 2/Manual.pdf"
 
POL_SetupWindow_Close
exit 0

Replies

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