GOG.com - RollerCoaster Tycoon 2

Informations

Creator Message
petch

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 42881
Wine:

Feedbacks

Description

English: Manage amusement parks, from setting prices to designing your own rollercoasters!
(updated for GOG installer v2)

Français : Gérez des parcs d'attractions, depuis le choix des prix jusqu'au design de vos propres montagnes russes !
(mis à jour pour l'installeur GOG v2)

Screenshots

Miniature

Source code

#!/bin/bash
# Date : (2012-11-23 21-22)
# Last revision : 
# Wine version used : 1.4.1, 1.6.2, 1.9.3
# Distribution used to test : Arch Linux
# Author : Pierre Etchemaite pe-pol@concept-micro.com, Buck Shockley darkwingbuck13@gmail.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2012-11-23 21-22)
#   Initial script.
# [Pierre Etchemaite] (2016-02-18 13-09)
#   Script updated for GOG's installer v2 ?.
# [Dadu042] (2020-04-22 21:00).
#   Wine 1.9.3 (outdated) -> system.
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="rollercoaster_tycoon_2"
PREFIX="RollerCoasterTycoon2_gog"
WORKING_WINE_VERSION=""

TITLE="GOG.com - RollerCoaster Tycoon 2"
SHORTCUT_NAME="RollerCoaster Tycoon 2: Triple Thrill Pack"

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 1481
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Chris Sawyer Productions / Atari" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "40c7dee00c3451ac0d484df0e384f22e"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "64"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "RCT2.EXE" "$SHORTCUT_NAME" "" "" "Game;Simulation;" # "$SHORTCUT_NAME.png"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/RollerCoaster Tycoon 2 Triple Thrill Pack/manual.pdf"
# C:\GOG Games\RollerCoaster Tycoon 2 Triple Thrill Pack\readme.txt

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribute
Member Message
andykimpe Friday 21 October 2022 at 16:52
andykimpe Anonymous

Warning

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

Differences

@@ -15,13 +15,21 @@
 #   Script updated for GOG's installer v2 ?.
 # [Dadu042] (2020-04-22 21:00).
 #   Wine 1.9.3 (outdated) -> system.
+# [andykimpe] (2022-10-21).
+#   Wine system -> 7.0.
+#   add local or download method install
+#   add select install language for download
  
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="rollercoaster_tycoon_2"
+BASENAME="setup_$GOGID"
+INDEX=0
+PIECES="$#"
+BASEURL="https://secure.gog.com/downlink"
 PREFIX="RollerCoasterTycoon2_gog"
-WORKING_WINE_VERSION=""
+WORKING_WINE_VERSION="7.0"
 
 TITLE="GOG.com - RollerCoaster Tycoon 2"
 SHORTCUT_NAME="RollerCoaster Tycoon 2: Triple Thrill Pack"
@@ -34,7 +42,104 @@
 
 POL_SetupWindow_presentation "$TITLE" "Chris Sawyer Productions / Atari" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
 
-POL_Call POL_GoG_setup "$GOGID" "40c7dee00c3451ac0d484df0e384f22e"
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+
+if [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
+POL_SetupWindow_menu "select your language for your game" "$TITLE" "English~French~Spanish~Italian~Deutch~Russian" "~"
+
+if [ "$APP_ANSWER" == "English" ]; then
+MD5="0a09b235c29e7fe99109eaccf3f0dd87"
+INDEXPREFIX="en1installer"
+elif [ "$APP_ANSWER" == "French" ]; then
+MD5="61016b4ea22a548d24ed0bd737084787"
+INDEXPREFIX="fr1installer"
+elif [ "$APP_ANSWER" == "Spanish" ]; then
+MD5="a9bfd01c03e3fb46bd4c8f046551395d"
+INDEXPREFIX="es1installer"
+elif [ "$APP_ANSWER" == "Italian" ]; then
+MD5="9192fbc6d275d1b849f98e2520eee3fd"
+INDEXPREFIX="it1installer"
+elif [ "$APP_ANSWER" == "Deutch" ]; then
+MD5="58f6c84707ebb2fab4b5b227823a366b"
+INDEXPREFIX="de1installer"
+elif [ "$APP_ANSWER" == "Rusian" ]; then
+MD5="08f262833b4aa06b400e795a17f21a4f"
+INDEXPREFIX="ru1installer"
+fi
+GOG_REPO="$(POL_Config_Read GOG_REPO)"
+if [ -z "$GOG_REPO" ]; then
+        POL_SetupWindow_textbox "$(eval_gettext 'In what directory do you want to download GOG files?')" "$TITLE" "$POL_USER_ROOT/tmp/"
+        GOG_REPO="$APP_ANSWER"
+        POL_Config_Write GOG_REPO "$GOG_REPO"
+fi
+local ALREADY_IN_SESSION="$GOG_LOGIN"
+[ "$ALREADY_IN_SESSION" ] || POL_Call POL_GoG_login
+  
+# Download
+[ -d "$GOG_REPO" ] || mkdir -p "$GOG_REPO"
+cd "$GOG_REPO" || cd "$POL_USER_ROOT/tmp/"
+POL_Debug_Message "Will download into $PWD"
+  
+download_piece ()
+{
+local GOGID="rollercoaster_tycoon_2"
+        # 1: URL
+        # 2: filename
+        # 3: MD5 hash
+        # 4: Title
+  
+        # Failed piece from previous download, maybe reference MD5 was corrected?
+        local FAILEDPIECE="$2.failed"
+        if [ -n "$3" -a ! -e "$2" -a -e "$FAILEDPIECE" ]; then
+                POL_SetupWindow_wait "$(eval_gettext 'Checking piece integrity...')" "$4"
+                if [ "$(POL_MD5_file $FAILEDPIECE)" = "$3" ]; then
+                        mv "$FAILEDPIECE" "$2"
+                fi
+        fi
+  
+        [ -e "$2" ] && return
+  
+        local TMPPIECE="$2.part"
+        while true; do
+                POL_System_wget "$1" "$4" --referer=https://www.gog.com/ --no-check-certificate --keep-session-cookies --load-cookies="$COOKIES_FINAL" --save-cookies="$COOKIES_FINAL" --continue -O "$TMPPIECE"
+  
+                POL_SetupWindow_wait "$(eval_gettext 'Checking piece integrity...')" "$4"
+                if [ ! -e "$TMPPIECE" ]; then
+                        GOGDMSG="$(eval_gettext 'Download failed')"
+                elif [ -n "$3" ] && [ "$(POL_MD5_file $TMPPIECE)" != "$3" ]; then
+                        GOGDMSG="$(eval_gettext 'Download seems to be corrupted')\n$(eval_gettext 'The file could also have been updated. If the problem persists, consider reporting the issue so that the script can be adjusted.')"
+                        mv "$TMPPIECE" "$FAILEDPIECE"
+                else
+                        # Success
+                        mv "$TMPPIECE" "$2"
+                        [ -e "$FAILEDPIECE" ] && rm "$FAILEDPIECE"
+                        break
+                fi
+  
+                POL_SetupWindow_question "$GOGDMSG\n$(eval_gettext 'Retry?')" "$TITLE"
+                [ "$APP_ANSWER" = "TRUE" ] || POL_Debug_Fatal "$GOGDMSG"
+        done
+}
+  
+download_piece "$BASEURL/$GOGID/${INDEXPREFIX}$INDEX" "$BASENAME.exe" "$MD5" "$BASENAME (1/$PIECES)"
+  
+if [ $PIECES -gt 1 ]; then
+        local n=2
+        while [ $n -le $PIECES ]; do
+                download_piece "$BASEURL/$GOGID/${INDEXPREFIX}$((INDEX+n-1))" "$BASENAME-$((n-1)).bin" "${!n}" "$BASENAME ($n/$PIECES)"
+                let n=$((n+1))
+        done
+fi
+  
+# If we were already in session, it's caller responsability to close it
+[ "$ALREADY_IN_SESSION" ] || POL_Call POL_GoG_logout
+  
+POL_GoG_downloaded="True"
+POL_GoG_location="$PWD/$BASENAME.exe"
+else
+    POL_Call POL_GoG_setup "$GOGID" "$MD5"
+fi
+
 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
@@ -56,4 +161,4 @@
 
 POL_SetupWindow_Close
 
-exit 0
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2012-11-23 21-22)
# Last revision : 
# Wine version used : 1.4.1, 1.6.2, 1.9.3
# Distribution used to test : Arch Linux
# Author : Pierre Etchemaite pe-pol@concept-micro.com, Buck Shockley darkwingbuck13@gmail.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2012-11-23 21-22)
#   Initial script.
# [Pierre Etchemaite] (2016-02-18 13-09)
#   Script updated for GOG's installer v2 ?.
# [Dadu042] (2020-04-22 21:00).
#   Wine 1.9.3 (outdated) -> system.
# [andykimpe] (2022-10-21).
#   Wine system -> 7.0.
#   add local or download method install
#   add select install language for download
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="rollercoaster_tycoon_2"
BASENAME="setup_$GOGID"
INDEX=0
PIECES="$#"
BASEURL="https://secure.gog.com/downlink"
PREFIX="RollerCoasterTycoon2_gog"
WORKING_WINE_VERSION="7.0"

TITLE="GOG.com - RollerCoaster Tycoon 2"
SHORTCUT_NAME="RollerCoaster Tycoon 2: Triple Thrill Pack"

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 1481
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Chris Sawyer Productions / Atari" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
POL_SetupWindow_menu "select your language for your game" "$TITLE" "English~French~Spanish~Italian~Deutch~Russian" "~"

if [ "$APP_ANSWER" == "English" ]; then
MD5="0a09b235c29e7fe99109eaccf3f0dd87"
INDEXPREFIX="en1installer"
elif [ "$APP_ANSWER" == "French" ]; then
MD5="61016b4ea22a548d24ed0bd737084787"
INDEXPREFIX="fr1installer"
elif [ "$APP_ANSWER" == "Spanish" ]; then
MD5="a9bfd01c03e3fb46bd4c8f046551395d"
INDEXPREFIX="es1installer"
elif [ "$APP_ANSWER" == "Italian" ]; then
MD5="9192fbc6d275d1b849f98e2520eee3fd"
INDEXPREFIX="it1installer"
elif [ "$APP_ANSWER" == "Deutch" ]; then
MD5="58f6c84707ebb2fab4b5b227823a366b"
INDEXPREFIX="de1installer"
elif [ "$APP_ANSWER" == "Rusian" ]; then
MD5="08f262833b4aa06b400e795a17f21a4f"
INDEXPREFIX="ru1installer"
fi
GOG_REPO="$(POL_Config_Read GOG_REPO)"
if [ -z "$GOG_REPO" ]; then
        POL_SetupWindow_textbox "$(eval_gettext 'In what directory do you want to download GOG files?')" "$TITLE" "$POL_USER_ROOT/tmp/"
        GOG_REPO="$APP_ANSWER"
        POL_Config_Write GOG_REPO "$GOG_REPO"
fi
local ALREADY_IN_SESSION="$GOG_LOGIN"
[ "$ALREADY_IN_SESSION" ] || POL_Call POL_GoG_login
  
# Download
[ -d "$GOG_REPO" ] || mkdir -p "$GOG_REPO"
cd "$GOG_REPO" || cd "$POL_USER_ROOT/tmp/"
POL_Debug_Message "Will download into $PWD"
  
download_piece ()
{
local GOGID="rollercoaster_tycoon_2"
        # 1: URL
        # 2: filename
        # 3: MD5 hash
        # 4: Title
  
        # Failed piece from previous download, maybe reference MD5 was corrected?
        local FAILEDPIECE="$2.failed"
        if [ -n "$3" -a ! -e "$2" -a -e "$FAILEDPIECE" ]; then
                POL_SetupWindow_wait "$(eval_gettext 'Checking piece integrity...')" "$4"
                if [ "$(POL_MD5_file $FAILEDPIECE)" = "$3" ]; then
                        mv "$FAILEDPIECE" "$2"
                fi
        fi
  
        [ -e "$2" ] && return
  
        local TMPPIECE="$2.part"
        while true; do
                POL_System_wget "$1" "$4" --referer=https://www.gog.com/ --no-check-certificate --keep-session-cookies --load-cookies="$COOKIES_FINAL" --save-cookies="$COOKIES_FINAL" --continue -O "$TMPPIECE"
  
                POL_SetupWindow_wait "$(eval_gettext 'Checking piece integrity...')" "$4"
                if [ ! -e "$TMPPIECE" ]; then
                        GOGDMSG="$(eval_gettext 'Download failed')"
                elif [ -n "$3" ] && [ "$(POL_MD5_file $TMPPIECE)" != "$3" ]; then
                        GOGDMSG="$(eval_gettext 'Download seems to be corrupted')\n$(eval_gettext 'The file could also have been updated. If the problem persists, consider reporting the issue so that the script can be adjusted.')"
                        mv "$TMPPIECE" "$FAILEDPIECE"
                else
                        # Success
                        mv "$TMPPIECE" "$2"
                        [ -e "$FAILEDPIECE" ] && rm "$FAILEDPIECE"
                        break
                fi
  
                POL_SetupWindow_question "$GOGDMSG\n$(eval_gettext 'Retry?')" "$TITLE"
                [ "$APP_ANSWER" = "TRUE" ] || POL_Debug_Fatal "$GOGDMSG"
        done
}
  
download_piece "$BASEURL/$GOGID/${INDEXPREFIX}$INDEX" "$BASENAME.exe" "$MD5" "$BASENAME (1/$PIECES)"
  
if [ $PIECES -gt 1 ]; then
        local n=2
        while [ $n -le $PIECES ]; do
                download_piece "$BASEURL/$GOGID/${INDEXPREFIX}$((INDEX+n-1))" "$BASENAME-$((n-1)).bin" "${!n}" "$BASENAME ($n/$PIECES)"
                let n=$((n+1))
        done
fi
  
# If we were already in session, it's caller responsability to close it
[ "$ALREADY_IN_SESSION" ] || POL_Call POL_GoG_logout
  
POL_GoG_downloaded="True"
POL_GoG_location="$PWD/$BASENAME.exe"
else
    POL_Call POL_GoG_setup "$GOGID" "$MD5"
fi


POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "64"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "RCT2.EXE" "$SHORTCUT_NAME" "" "" "Game;Simulation;" # "$SHORTCUT_NAME.png"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/RollerCoaster Tycoon 2 Triple Thrill Pack/manual.pdf"
# C:\GOG Games\RollerCoaster Tycoon 2 Triple Thrill Pack\readme.txt

POL_SetupWindow_Close

exit 0

Replies

Dadu042 Wednesday 22 April 2020 at 22:04
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,19 +1,27 @@
 #!/bin/bash
 # Date : (2012-11-23 21-22)
-# Last revision : (2016-02-18 13-09)
+# Last revision : 
 # Wine version used : 1.4.1, 1.6.2, 1.9.3
 # Distribution used to test : Arch Linux
 # Author : Pierre Etchemaite pe-pol@concept-micro.com, Buck Shockley darkwingbuck13@gmail.com
 # Script licence : GPL v.2
 # Program licence : Retail
 # Depend :
-
+#
+# CHANGELOG
+# [Pierre Etchemaite] (2012-11-23 21-22)
+#   Initial script.
+# [Pierre Etchemaite] (2016-02-18 13-09)
+#   Script updated for GOG's installer v2 ?.
+# [Dadu042] (2020-04-22 21:00).
+#   Wine 1.9.3 (outdated) -> system.
+ 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="rollercoaster_tycoon_2"
 PREFIX="RollerCoasterTycoon2_gog"
-WORKING_WINE_VERSION="1.9.3"
+WORKING_WINE_VERSION=""
 
 TITLE="GOG.com - RollerCoaster Tycoon 2"
 SHORTCUT_NAME="RollerCoaster Tycoon 2: Triple Thrill Pack"

New source code

#!/bin/bash
# Date : (2012-11-23 21-22)
# Last revision : 
# Wine version used : 1.4.1, 1.6.2, 1.9.3
# Distribution used to test : Arch Linux
# Author : Pierre Etchemaite pe-pol@concept-micro.com, Buck Shockley darkwingbuck13@gmail.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2012-11-23 21-22)
#   Initial script.
# [Pierre Etchemaite] (2016-02-18 13-09)
#   Script updated for GOG's installer v2 ?.
# [Dadu042] (2020-04-22 21:00).
#   Wine 1.9.3 (outdated) -> system.
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="rollercoaster_tycoon_2"
PREFIX="RollerCoasterTycoon2_gog"
WORKING_WINE_VERSION=""

TITLE="GOG.com - RollerCoaster Tycoon 2"
SHORTCUT_NAME="RollerCoaster Tycoon 2: Triple Thrill Pack"

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 1481
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Chris Sawyer Productions / Atari" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "40c7dee00c3451ac0d484df0e384f22e"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "64"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "RCT2.EXE" "$SHORTCUT_NAME" "" "" "Game;Simulation;" # "$SHORTCUT_NAME.png"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/RollerCoaster Tycoon 2 Triple Thrill Pack/manual.pdf"
# C:\GOG Games\RollerCoaster Tycoon 2 Triple Thrill Pack\readme.txt

POL_SetupWindow_Close

exit 0

Replies

Daven Thursday 29 March 2018 at 19:34
Daven Anonymous

Message

This game works apart from when I run it there is no sound. Could anyone advise on this?

There is sound on my laptop and sound is enabled in the game.

Replies

piratmartin Monday 20 February 2017 at 13:44
piratmartin Anonymous

Message

I buy on gog ROLLERCOASTER TYCOON 2: TRIPLE THRILL PACK, install it, and game work.

Replies

DrDoctor Thursday 18 February 2016 at 19:14
DrDoctor Anonymous

Warning

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

Message

Wine 1.6.2 will not run on Arch, it will give driver errors.

-----------
[02/17/16 15:05:15] - Running wine-1.6.2 wineboot (Working directory : /home/buck/.PlayOnLinux/tmp)
[02/17/16 15:05:17] - Running wine-1.6.2 winepath -u C:\\users\\buck\\Desktop (Working directory : /home/buck/.local/share/applications)
/home/buck/.PlayOnLinux//wineprefix/RollerCoasterTycoon2_gog/dosdevices/c:/users/buck/Desktop
[02/17/16 15:05:21] - Running wine-1.6.2 RCT2.EXE (Working directory : /home/buck/.PlayOnLinux/wineprefix/RollerCoasterTycoon2_gog/drive_c/GOG Games/RollerCoaster Tycoon 2 Triple Thrill Pack)
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  316
  Current serial number in output stream:  320

I've upped the Wine version to 1.9.3.

 

Differences

@@ -1,9 +1,9 @@
 #!/bin/bash
 # Date : (2012-11-23 21-22)
-# Last revision : (2014-11-02 23-25)
-# Wine version used : 1.4.1, 1.6.2
-# Distribution used to test : Debian Sid (Unstable)
-# Author : Pierre Etchemaite pe-pol@concept-micro.com
+# Last revision : (2016-02-18 13-09)
+# Wine version used : 1.4.1, 1.6.2, 1.9.3
+# Distribution used to test : Arch Linux
+# Author : Pierre Etchemaite pe-pol@concept-micro.com, Buck Shockley darkwingbuck13@gmail.com
 # Script licence : GPL v.2
 # Program licence : Retail
 # Depend :
@@ -13,7 +13,7 @@
 
 GOGID="rollercoaster_tycoon_2"
 PREFIX="RollerCoasterTycoon2_gog"
-WORKING_WINE_VERSION="1.6.2"
+WORKING_WINE_VERSION="1.9.3"
 
 TITLE="GOG.com - RollerCoaster Tycoon 2"
 SHORTCUT_NAME="RollerCoaster Tycoon 2: Triple Thrill Pack"

New source code

#!/bin/bash
# Date : (2012-11-23 21-22)
# Last revision : (2016-02-18 13-09)
# Wine version used : 1.4.1, 1.6.2, 1.9.3
# Distribution used to test : Arch Linux
# Author : Pierre Etchemaite pe-pol@concept-micro.com, Buck Shockley darkwingbuck13@gmail.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

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

GOGID="rollercoaster_tycoon_2"
PREFIX="RollerCoasterTycoon2_gog"
WORKING_WINE_VERSION="1.9.3"

TITLE="GOG.com - RollerCoaster Tycoon 2"
SHORTCUT_NAME="RollerCoaster Tycoon 2: Triple Thrill Pack"

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 1481
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Chris Sawyer Productions / Atari" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "40c7dee00c3451ac0d484df0e384f22e"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "64"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "RCT2.EXE" "$SHORTCUT_NAME" "" "" "Game;Simulation;" # "$SHORTCUT_NAME.png"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/RollerCoaster Tycoon 2 Triple Thrill Pack/manual.pdf"
# C:\GOG Games\RollerCoaster Tycoon 2 Triple Thrill Pack\readme.txt

POL_SetupWindow_Close

exit 0

Replies

straemer Friday 28 November 2014 at 4:16
straemer Anonymous

Message

Installation fails with error:

Internal error: Expression error 'Runtime Error (at 16:21):

Access violation at addres 00001F70. Read of address 00001F70.'

Replies

petch Monday 3 November 2014 at 0:24
petch

Warning

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

Message

Upgrade Wine to version 1.6.2 (#3735)

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : (2012-11-23 21-22)
-# Last revision : (2013-04-27 19-12)
-# Wine version used : 1.4.1
+# Last revision : (2014-11-02 23-25)
+# Wine version used : 1.4.1, 1.6.2
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
 # Script licence : GPL v.2
@@ -13,7 +13,7 @@
 
 GOGID="rollercoaster_tycoon_2"
 PREFIX="RollerCoasterTycoon2_gog"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="1.6.2"
 
 TITLE="GOG.com - RollerCoaster Tycoon 2"
 SHORTCUT_NAME="RollerCoaster Tycoon 2: Triple Thrill Pack"

New source code

#!/bin/bash
# Date : (2012-11-23 21-22)
# Last revision : (2014-11-02 23-25)
# Wine version used : 1.4.1, 1.6.2
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

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

GOGID="rollercoaster_tycoon_2"
PREFIX="RollerCoasterTycoon2_gog"
WORKING_WINE_VERSION="1.6.2"

TITLE="GOG.com - RollerCoaster Tycoon 2"
SHORTCUT_NAME="RollerCoaster Tycoon 2: Triple Thrill Pack"

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 1481
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Chris Sawyer Productions / Atari" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "40c7dee00c3451ac0d484df0e384f22e"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "64"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "RCT2.EXE" "$SHORTCUT_NAME" "" "" "Game;Simulation;" # "$SHORTCUT_NAME.png"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/RollerCoaster Tycoon 2 Triple Thrill Pack/manual.pdf"
# C:\GOG Games\RollerCoaster Tycoon 2 Triple Thrill Pack\readme.txt

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