RollerCoaster Tycoon 3

Informations

Créateur Messages
MTres19 Anonymous

Attention

This installer is a beta script. It means that it might not work as expected

Informations

Plate-formes :
Téléchargements : 8123
Wine: 4.0

Retours d'expérience

Description

Overcome ecomomic barriers and create a successful rollercoaster park, 2004. Wikipedia.

PCGamingWiki, Appdb.winehq.org

Code source

#!/bin/bash
# Date : (2019-04-14 20-52)
# Last revision : (2019-04-26 22-13)
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux v4.3.4
#
# Tested : (European, 10 languages, 2 CD-ROMs) CD v1.1 ? (data2.cab : february 2005).
# Game released with DirectX 9.
#
# Known issues :
# - No musics (because of .WMA format). Note: you may convert them to MP3 then modify the filenames in 'MusicGenre.txt'.
# - Resolutions availables are only 800x600 and 1024x768 (no 1366x768).
# - The file Options.txt (settings) seems never been saved by the game.
# - DRM does not always recognize the CD-ROM #1 (see below).

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

TITLE="RollerCoaster Tycoon 3"
PREFIX="RollerCoaster_Tycoon_3"
WORKING_WINE_VERSION="4.0"
AUTHOR="Dadu042"
EDITOR="Frontier Developments"
GAME_URL="https://en.wikipedia.org/wiki/RollerCoaster_Tycoon_3"

Set_OS "winxp"


POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2493
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

# No (.WMA) musics played even with this function :
# POL_Call POL_Install_DirectShowFiltersFix



POL_SetupWindow_InstallMethod "LOCAL,CD"

if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
else
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "RCT3.ico"        
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "install.exe"
        cd "$POL_System_TmpDir"
fi

POL_Shortcut "rct3.exe" "$TITLE" ""

#############################################
# Link to the user manual (multi languages) #
#############################################
POL_SetupWindow_menu "$(eval_gettext 'Which language version of the game do you have installed ?')" "$TITLE" "DAN~DEU~ESP~FRA~GBR~ITA~NLD" "~"
POL_Shortcut_Document "$TITLE" "RCT3_MANUAL_$APP_ANSWER.pdf"

#################
# About the DRM #
#################
# Following line not required because the CDs DRM is compatible with Wine 4.0.
# POL_Call POL_Function_NoCDWarning
POL_SetupWindow_message "About this game's DRM (anticopy): When launching a game session, the DRM sometimes does not recognize the original CD-ROM #1. Workaround: eject it then reinsert it." "$TITLE"


POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Vendredi 26 Avril 2019 à 23:01
Dadu042

Information

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

Messages

Totally new script. Tested by me.

Differences

@@ -1,39 +1,84 @@
 #!/bin/bash
-# Date: 2015-4-2
-# Last revision: 2015-11-26
-# Wine version used: 1.8-rc1
-# Distribution used to test: Kubuntu 15.10 (amd64)
-# Author: MTres19
+# Date : (2019-04-14 20-52)
+# Last revision : (2019-04-26 22-13)
+# Wine version used : see below
+# Distribution used to test : Ubuntu 18.04 x64
+# Script licence : GPL3
+# Program licence : Retail
+# Playonlinux v4.3.4
+#
+# Tested : (European, 10 languages, 2 CD-ROMs) CD v1.1 ? (data2.cab : february 2005).
+# Game released with DirectX 9.
+#
+# Known issues :
+# - No musics (because of .WMA format). Note: you may convert them to MP3 then modify the filenames in 'MusicGenre.txt'.
+# - Resolutions availables are only 800x600 and 1024x768 (no 1366x768).
+# - The file Options.txt (settings) seems never been saved by the game.
+# - DRM does not always recognize the CD-ROM #1 (see below).
 
-[ "$PLAYONLINUX" = "" ] && exit 0
+[ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
-PREFIX="RollerCoaster_Tycoon_3"
 TITLE="RollerCoaster Tycoon 3"
-WINEVERSION="1.8-rc1"
+PREFIX="RollerCoaster_Tycoon_3"
+WORKING_WINE_VERSION="4.0"
+AUTHOR="Dadu042"
+EDITOR="Frontier Developments"
+GAME_URL="https://en.wikipedia.org/wiki/RollerCoaster_Tycoon_3"
+
+Set_OS "winxp"
+
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2493
 POL_Debug_Init
-
-POL_SetupWindow_presentation "$TITLE" "Frontier Developments, Ltd. & Atari, Inc." "frontier.co.uk" "MTres19" "$PREFIX"
-
+  
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86"
-POL_Wine_PrefixCreate "$WINEVERSION"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_TmpCreate "$TITLE"
+
+# No (.WMA) musics played even with this function :
+# POL_Call POL_Install_DirectShowFiltersFix
 
-POL_Call POL_Install_DirectShowFiltersFix
 
-POL_SetupWindow_cdrom
-RCT3SETUP="$CDROM/setup.exe"
-POL_Wine_InstallCDROM "d"
-POL_SetupWindow_check_cdrom "RCT3.ico" "RCT3.dat" "readme.txt"
-POL_Wine "$RCT3SETUP"
 
-POL_Wine_reboot
+POL_SetupWindow_InstallMethod "LOCAL,CD"
+
+if [ "$INSTALL_METHOD" == "LOCAL" ]; then
+        cd "$HOME"
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+        SETUP_EXE="$APP_ANSWER"
+        POL_Wine start /unix "$SETUP_EXE"
+        POL_Wine_WaitExit "$TITLE"
+        cd "$POL_System_TmpDir"
+else
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "RCT3.ico"	
+        POL_Wine start /unix "$CDROM/setup.exe"
+        POL_Wine_WaitExit "install.exe"
+        cd "$POL_System_TmpDir"
+fi
+
+POL_Shortcut "rct3.exe" "$TITLE" ""
+
+#############################################
+# Link to the user manual (multi languages) #
+#############################################
+POL_SetupWindow_menu "$(eval_gettext 'Which language version of the game do you have installed ?')" "$TITLE" "DAN~DEU~ESP~FRA~GBR~ITA~NLD" "~"
+POL_Shortcut_Document "$TITLE" "RCT3_MANUAL_$APP_ANSWER.pdf"
+
+#################
+# About the DRM #
+#################
+# Following line not required because the CDs DRM is compatible with Wine 4.0.
+# POL_Call POL_Function_NoCDWarning
+POL_SetupWindow_message "About this game's DRM (anticopy): When launching a game session, the DRM sometimes does not recognize the original CD-ROM #1. Workaround: eject it then reinsert it." "$TITLE"
 
-POL_Shortcut "$PROGRAMFILES/Atari/RollerCoaster Tycoon 3/RCT3.exe" "RollerCoaster Tycoon 3"
 
+POL_System_TmpDelete
 POL_SetupWindow_Close
-exit 0
\ No newline at end of file
+exit 0

Nouveau code source

#!/bin/bash
# Date : (2019-04-14 20-52)
# Last revision : (2019-04-26 22-13)
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux v4.3.4
#
# Tested : (European, 10 languages, 2 CD-ROMs) CD v1.1 ? (data2.cab : february 2005).
# Game released with DirectX 9.
#
# Known issues :
# - No musics (because of .WMA format). Note: you may convert them to MP3 then modify the filenames in 'MusicGenre.txt'.
# - Resolutions availables are only 800x600 and 1024x768 (no 1366x768).
# - The file Options.txt (settings) seems never been saved by the game.
# - DRM does not always recognize the CD-ROM #1 (see below).

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

TITLE="RollerCoaster Tycoon 3"
PREFIX="RollerCoaster_Tycoon_3"
WORKING_WINE_VERSION="4.0"
AUTHOR="Dadu042"
EDITOR="Frontier Developments"
GAME_URL="https://en.wikipedia.org/wiki/RollerCoaster_Tycoon_3"

Set_OS "winxp"


POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2493
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

# No (.WMA) musics played even with this function :
# POL_Call POL_Install_DirectShowFiltersFix



POL_SetupWindow_InstallMethod "LOCAL,CD"

if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
else
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "RCT3.ico"        
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "install.exe"
        cd "$POL_System_TmpDir"
fi

POL_Shortcut "rct3.exe" "$TITLE" ""

#############################################
# Link to the user manual (multi languages) #
#############################################
POL_SetupWindow_menu "$(eval_gettext 'Which language version of the game do you have installed ?')" "$TITLE" "DAN~DEU~ESP~FRA~GBR~ITA~NLD" "~"
POL_Shortcut_Document "$TITLE" "RCT3_MANUAL_$APP_ANSWER.pdf"

#################
# About the DRM #
#################
# Following line not required because the CDs DRM is compatible with Wine 4.0.
# POL_Call POL_Function_NoCDWarning
POL_SetupWindow_message "About this game's DRM (anticopy): When launching a game session, the DRM sometimes does not recognize the original CD-ROM #1. Workaround: eject it then reinsert it." "$TITLE"


POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

MTres19 Jeudi 17 Décembre 2015 à 4:13
MTres19 Anonymous

Warning

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

Messages

I misspelled POL_Wine_InstallCDROM...

Differences

@@ -27,7 +27,7 @@
 
 POL_SetupWindow_cdrom
 RCT3SETUP="$CDROM/setup.exe"
-POL_Wine_InstalCDROM "d"
+POL_Wine_InstallCDROM "d"
 POL_SetupWindow_check_cdrom "RCT3.ico" "RCT3.dat" "readme.txt"
 POL_Wine "$RCT3SETUP"
 

Nouveau code source

#!/bin/bash
# Date: 2015-4-2
# Last revision: 2015-11-26
# Wine version used: 1.8-rc1
# Distribution used to test: Kubuntu 15.10 (amd64)
# Author: MTres19

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

PREFIX="RollerCoaster_Tycoon_3"
TITLE="RollerCoaster Tycoon 3"
WINEVERSION="1.8-rc1"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2493
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Frontier Developments, Ltd. & Atari, Inc." "frontier.co.uk" "MTres19" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Install_DirectShowFiltersFix

POL_SetupWindow_cdrom
RCT3SETUP="$CDROM/setup.exe"
POL_Wine_InstallCDROM "d"
POL_SetupWindow_check_cdrom "RCT3.ico" "RCT3.dat" "readme.txt"
POL_Wine "$RCT3SETUP"

POL_Wine_reboot

POL_Shortcut "$PROGRAMFILES/Atari/RollerCoaster Tycoon 3/RCT3.exe" "RollerCoaster Tycoon 3"

POL_SetupWindow_Close
exit 0

Réponses

MTres19 Vendredi 11 Décembre 2015 à 23:14
MTres19 Anonymous

Warning

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

Messages

Adds POL_SetupWindow_SetID, since petch's update seems to have been missed.

Also add POL_Wine_InstallCDROM, to hopefully support DRM protection (no guarentees---I can't test this since my CD doesn't have DRM, and Wine probably doesn't support it anyway, but it's a slight bit of future-proofing.)

Differences

@@ -14,6 +14,7 @@
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 POL_SetupWindow_Init
+POL_SetupWindow_SetID 2493
 POL_Debug_Init
 
 POL_SetupWindow_presentation "$TITLE" "Frontier Developments, Ltd. & Atari, Inc." "frontier.co.uk" "MTres19" "$PREFIX"
@@ -26,6 +27,7 @@
 
 POL_SetupWindow_cdrom
 RCT3SETUP="$CDROM/setup.exe"
+POL_Wine_InstalCDROM "d"
 POL_SetupWindow_check_cdrom "RCT3.ico" "RCT3.dat" "readme.txt"
 POL_Wine "$RCT3SETUP"
 

Nouveau code source

#!/bin/bash
# Date: 2015-4-2
# Last revision: 2015-11-26
# Wine version used: 1.8-rc1
# Distribution used to test: Kubuntu 15.10 (amd64)
# Author: MTres19

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

PREFIX="RollerCoaster_Tycoon_3"
TITLE="RollerCoaster Tycoon 3"
WINEVERSION="1.8-rc1"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2493
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Frontier Developments, Ltd. & Atari, Inc." "frontier.co.uk" "MTres19" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Install_DirectShowFiltersFix

POL_SetupWindow_cdrom
RCT3SETUP="$CDROM/setup.exe"
POL_Wine_InstalCDROM "d"
POL_SetupWindow_check_cdrom "RCT3.ico" "RCT3.dat" "readme.txt"
POL_Wine "$RCT3SETUP"

POL_Wine_reboot

POL_Shortcut "$PROGRAMFILES/Atari/RollerCoaster Tycoon 3/RCT3.exe" "RollerCoaster Tycoon 3"

POL_SetupWindow_Close
exit 0

Réponses

petch Vendredi 4 Décembre 2015 à 23:13
petch

Warning

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

Messages

Add POL_SetupWindow_SetID

Differences

@@ -14,6 +14,7 @@
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 POL_SetupWindow_Init
+POL_SetupWindow_SetID 2493
 POL_Debug_Init
 
 POL_SetupWindow_presentation "$TITLE" "Frontier Developments, Ltd. & Atari, Inc." "frontier.co.uk" "MTres19" "$PREFIX"

Nouveau code source

#!/bin/bash
# Date: 2015-4-2
# Last revision: 2015-11-26
# Wine version used: 1.8-rc1
# Distribution used to test: Kubuntu 15.10 (amd64)
# Author: MTres19

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

PREFIX="RollerCoaster_Tycoon_3"
TITLE="RollerCoaster Tycoon 3"
WINEVERSION="1.8-rc1"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2493
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Frontier Developments, Ltd. & Atari, Inc." "frontier.co.uk" "MTres19" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Install_DirectShowFiltersFix

POL_SetupWindow_cdrom
RCT3SETUP="$CDROM/setup.exe"
POL_SetupWindow_check_cdrom "RCT3.ico" "RCT3.dat" "readme.txt"
POL_Wine "$RCT3SETUP"

POL_Wine_reboot

POL_Shortcut "$PROGRAMFILES/Atari/RollerCoaster Tycoon 3/RCT3.exe" "RollerCoaster Tycoon 3"

POL_SetupWindow_Close
exit 0

Réponses

MTres19 Vendredi 27 Novembre 2015 à 4:04
MTres19 Anonymous

Warning

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

Messages

Complete overhaul of the script---none of the current POL_Calls are necessary, and replace Media Player Codec Pack and VLC with POL_Call POL_Install_DirectShowFiltersFix, as well as update to Wine 1.8-rc1, removal of temporary directory. Also switched to PNG format for top installer image, since the JPG has a black background.

Differences

@@ -1,71 +1,37 @@
 #!/bin/bash
-# Date : (2015-4-2 12:29 PM)
-# Last revision : (2015-7-30 8:50 PM)
-# Wine version used : 1.6.2
-# Distribution used to test : Debian GNU/Linux 8.1 "Jessie" (Stable)
-# Author : MTres19
+# Date: 2015-4-2
+# Last revision: 2015-11-26
+# Wine version used: 1.8-rc1
+# Distribution used to test: Kubuntu 15.10 (amd64)
+# Author: MTres19
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 PREFIX="RollerCoaster_Tycoon_3"
 TITLE="RollerCoaster Tycoon 3"
-WINEVERSION="1.6.2"
-
-POL_System_TmpCreate "RCT3"
-cd "$POL_System_TmpDir"
-
-POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+WINEVERSION="1.8-rc1"
 
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 POL_SetupWindow_Init
-
 POL_Debug_Init
 
-POL_System_SetArch "x86"
-
 POL_SetupWindow_presentation "$TITLE" "Frontier Developments, Ltd. & Atari, Inc." "frontier.co.uk" "MTres19" "$PREFIX"
 
 POL_Wine_SelectPrefix "$PREFIX"
-
+POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WINEVERSION"
 
-POL_Call POL_Install_devenum
-POL_Call POL_Install_dinput
-POL_Call POL_Install_dinput8
-POL_Call POL_Install_directmusic
-POL_Call POL_Install_dsound
-POL_Call POL_Install_dxfullsetup
-POL_Call POL_Install_wmpcodecs
-POL_Call POL_Install_wmp10
-
-POL_Download "http://videolan.mirrors.hivelocity.net/vlc/2.2.1/win32/vlc-2.2.1-win32.exe" "b8c997e772be343e1664fee14c1fb9b7"
-
-POL_Wine vlc-2.2.1-win32.exe /L=1033 /S
-
-POL_Download "http://download.mediaplayercodecpack.com/files/oc-tb/media.player.codec.pack.v4.3.8.setup.exe" "1d77d0ce387802476fb0de705ad5a389"
-
-POL_SetupWindow_message "$(eval_gettext 'Choose Detailed Installation for Media Player Codec Pack to avoid a useless systray icon.')" "$TITLE"
-
-POL_Wine "media.player.codec.pack.v4.3.8.setup.exe"
-
-POL_Wine_reboot
+POL_Call POL_Install_DirectShowFiltersFix
 
 POL_SetupWindow_cdrom
-
 RCT3SETUP="$CDROM/setup.exe"
-
 POL_SetupWindow_check_cdrom "RCT3.ico" "RCT3.dat" "readme.txt"
-
-POL_SetupWindow_message "$(eval_gettext 'The RCT3 installer will start when you click Next. Do not attempt to register your game.')" "$TITLE"
-
 POL_Wine "$RCT3SETUP"
 
 POL_Wine_reboot
 
-POL_System_TmpDelete
-
 POL_Shortcut "$PROGRAMFILES/Atari/RollerCoaster Tycoon 3/RCT3.exe" "RollerCoaster Tycoon 3"
 
 POL_SetupWindow_Close
-
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date: 2015-4-2
# Last revision: 2015-11-26
# Wine version used: 1.8-rc1
# Distribution used to test: Kubuntu 15.10 (amd64)
# Author: MTres19

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

PREFIX="RollerCoaster_Tycoon_3"
TITLE="RollerCoaster Tycoon 3"
WINEVERSION="1.8-rc1"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Frontier Developments, Ltd. & Atari, Inc." "frontier.co.uk" "MTres19" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Install_DirectShowFiltersFix

POL_SetupWindow_cdrom
RCT3SETUP="$CDROM/setup.exe"
POL_SetupWindow_check_cdrom "RCT3.ico" "RCT3.dat" "readme.txt"
POL_Wine "$RCT3SETUP"

POL_Wine_reboot

POL_Shortcut "$PROGRAMFILES/Atari/RollerCoaster Tycoon 3/RCT3.exe" "RollerCoaster Tycoon 3"

POL_SetupWindow_Close
exit 0

Réponses

MTres19 Lundi 3 Aoüt 2015 à 17:05
MTres19 Anonymous

Messages

Could an admin please inspect my update from July 31? The update is necessary for the script to function properly, due to some changes with the Media Player Codec Pack installler.

Réponses

Anonymous
Dimanche 30 Aoüt 2015 à 19:05
i can not run it he say: please insert th original disc.
Anonymous
Lundi 31 Aoüt 2015 à 2:45
Yes, I am aware of this. My copy is the DRM-free version, which doesn't require the disk to be inserted for the game to run. If it allows you to install it, there are ways to avoid the DRM systems, but these are probably not strictly legal wherever you happen to live. I believe that GOG.com sells DRM-free versions of games, and their installer would probably allow you to run the game. See the very bottom of this page: http://wiki.playonlinux.com/index.php/First_Use
Anonymous
Lundi 31 Aoüt 2015 à 2:48
Here is the link on GOG: http://www.gog.com/game/rollercoaster_tycoon_3
deri82 Vendredi 31 Juillet 2015 à 6:28
deri82 Anonymous

Messages

I dont have this game, I cant help. But the installer script includes huge amount of different overrides. That's not good. Wine shouldnt be in that bad shape. You set 1.6.2 as the basic wine version but I would suggest you to try 1.7 series or 1.7-staging. Consider the fact that 1.6.2 has been there around 2 years with no updates. No bug fixes. But development version gets every 2 weeks a new release.

Réponses

Anonymous
Vendredi 31 Juillet 2015 à 17:45
I'm sorry, but this game needs DirectX, and I'm pretty sure that the full DirectX 9 is better than Wine's implementation. I'll run some tests, though. As for Wine 1.7.x, I have tried it, and it doesn't fix any problems. And, last time I checked, my method was the only one which did not result in a completely silent game. Without both the codec pack and VLC, there is no sound except button clicks. Without WMP, it would try (and likely fail) to install it itself, since WMP is packaged with RCT3. Wine is not perfect, and that is precisely why PlayOnLinux and its scripts are necessary. Many scripts draw in lots of overrides, and the more complicated the game, the more there usually are. I will, however, run some tests without native DirectX and Wine 1.7.47.
Anonymous
Vendredi 31 Juillet 2015 à 20:47
I've tested the script with Wine 1.7.48-staging and no DirectX dependencies. The game begins to start OK, then exits leaving a blank white window open. The dependencies seem perfectly necessary to me, but if you would like to buy the game and perform tests yourself, I would be glad for any results you receive. Thank you.
Anonymous
Vendredi 31 Juillet 2015 à 21:43
You can open a bug report about it for wine-staging to get it fixed.You can use POL and wine-staging to do that. Here is the bug tracker https://bugs.wine-staging.com/enter_bug.cgi
Anonymous
Vendredi 31 Juillet 2015 à 21:55
I' m sorry, but I can't wait around for someone to fix this. DirectX is a huge library, and I'm sure is still being actively worked on by WineHQ. Wine was deliberately designed to be compatible with native components, and so that is what I will stay with for the time being. You are welcome to report the bug yourself, but I don't think it will be accepted, since PlayOnLinux is involved. See https://www.playonlinux.com/en/topic-11583-Is_WineHQ_anti_Playonlinux.html In any case, PlayOnLinux is meant to be a system to get programs working, not a testing ground for Wine.
Anonymous
Vendredi 31 Juillet 2015 à 23:48
The original bug report is submiting it to winehq bugzilla, not staging. It's not the same thing
MTres19 Vendredi 31 Juillet 2015 à 2:52
MTres19 Anonymous

Warning

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

Messages

- Media Player Codec Pack v4.3.8

- Exit with exit code 0

- Removed unnecessary ending success message

- Removed unnecessary change-directory command

Differences

@@ -1,8 +1,8 @@
 #!/bin/bash
 # Date : (2015-4-2 12:29 PM)
-# Last revision : (2015-4-6 3:47 PM)
+# Last revision : (2015-7-30 8:50 PM)
 # Wine version used : 1.6.2
-# Distribution used to test : Debian GNU/Linux 7.8 (Stable)
+# Distribution used to test : Debian GNU/Linux 8.1 "Jessie" (Stable)
 # Author : MTres19
 
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -23,7 +23,7 @@
 
 POL_System_SetArch "x86"
 
-POL_SetupWindow_presentation "$TITLE" "Frontier Developments, Ltd. & Atari, Inc." "frontier.co.uk" "$(eval_gettext 'MTres19 \n \n RollerCoaster Tycoon 3 might not run without proprietary graphics drivers. This may depend on your hardware.')" "$PREFIX"
+POL_SetupWindow_presentation "$TITLE" "Frontier Developments, Ltd. & Atari, Inc." "frontier.co.uk" "MTres19" "$PREFIX"
 
 POL_Wine_SelectPrefix "$PREFIX"
 
@@ -42,11 +42,11 @@
 
 POL_Wine vlc-2.2.1-win32.exe /L=1033 /S
 
-POL_Download "http://download.mediaplayercodecpack.com/files/sp-tb/media.player.codec.pack.v4.3.6.setup.exe" "4c3efa570628feb2af7d677a53bad349"
+POL_Download "http://download.mediaplayercodecpack.com/files/oc-tb/media.player.codec.pack.v4.3.8.setup.exe" "1d77d0ce387802476fb0de705ad5a389"
 
-POL_SetupWindow_message "$(eval_gettext 'A word of warning about Media Player Codec Pack: If you choose Easy Installation, you will get a pretty-much useless systray icon. You can disable it from the menu that appears upon right-clicking it, but to avoid this complication, choose 'Detailed Installation,' and choose not to install the systray icon. Click next to install Media Player Codec Pack.')" "$TITLE"
+POL_SetupWindow_message "$(eval_gettext 'Choose Detailed Installation for Media Player Codec Pack to avoid a useless systray icon.')" "$TITLE"
 
-POL_Wine media.player.codec.pack.v4.3.6.setup.exe
+POL_Wine "media.player.codec.pack.v4.3.8.setup.exe"
 
 POL_Wine_reboot
 
@@ -62,14 +62,10 @@
 
 POL_Wine_reboot
 
-cd $POL_USER_ROOT
-
 POL_System_TmpDelete
 
 POL_Shortcut "$PROGRAMFILES/Atari/RollerCoaster Tycoon 3/RCT3.exe" "RollerCoaster Tycoon 3"
 
-POL_SetupWindow_message "$(eval_gettext 'Thank you for using this script. RollerCoaster Tycoon 3 was successfully installed and should work satisfactorily. You may remove the installer disk now. RCT3 may take a while to open, and during this time, you may see random junk on your screen. This should go away after less then a minute, and RollerCoaster Tycoon 3 will start.')" "$TITLE - $(eval_gettext 'Successfully Installed')"
-
 POL_SetupWindow_Close
 
-exit
\ No newline at end of file
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2015-4-2 12:29 PM)
# Last revision : (2015-7-30 8:50 PM)
# Wine version used : 1.6.2
# Distribution used to test : Debian GNU/Linux 8.1 "Jessie" (Stable)
# Author : MTres19

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

PREFIX="RollerCoaster_Tycoon_3"
TITLE="RollerCoaster Tycoon 3"
WINEVERSION="1.6.2"

POL_System_TmpCreate "RCT3"
cd "$POL_System_TmpDir"

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_Debug_Init

POL_System_SetArch "x86"

POL_SetupWindow_presentation "$TITLE" "Frontier Developments, Ltd. & Atari, Inc." "frontier.co.uk" "MTres19" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"

POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Install_devenum
POL_Call POL_Install_dinput
POL_Call POL_Install_dinput8
POL_Call POL_Install_directmusic
POL_Call POL_Install_dsound
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_wmpcodecs
POL_Call POL_Install_wmp10

POL_Download "http://videolan.mirrors.hivelocity.net/vlc/2.2.1/win32/vlc-2.2.1-win32.exe" "b8c997e772be343e1664fee14c1fb9b7"

POL_Wine vlc-2.2.1-win32.exe /L=1033 /S

POL_Download "http://download.mediaplayercodecpack.com/files/oc-tb/media.player.codec.pack.v4.3.8.setup.exe" "1d77d0ce387802476fb0de705ad5a389"

POL_SetupWindow_message "$(eval_gettext 'Choose Detailed Installation for Media Player Codec Pack to avoid a useless systray icon.')" "$TITLE"

POL_Wine "media.player.codec.pack.v4.3.8.setup.exe"

POL_Wine_reboot

POL_SetupWindow_cdrom

RCT3SETUP="$CDROM/setup.exe"

POL_SetupWindow_check_cdrom "RCT3.ico" "RCT3.dat" "readme.txt"

POL_SetupWindow_message "$(eval_gettext 'The RCT3 installer will start when you click Next. Do not attempt to register your game.')" "$TITLE"

POL_Wine "$RCT3SETUP"

POL_Wine_reboot

POL_System_TmpDelete

POL_Shortcut "$PROGRAMFILES/Atari/RollerCoaster Tycoon 3/RCT3.exe" "RollerCoaster Tycoon 3"

POL_SetupWindow_Close

exit 0

Réponses

MTres19 Mercredi 20 Mai 2015 à 23:14
MTres19 Anonymous

Warning

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

Messages

Update:

- VLC 2.2.1

- Silent install of VLC

mono210 is unnecessary

Differences

@@ -37,11 +37,10 @@
 POL_Call POL_Install_dxfullsetup
 POL_Call POL_Install_wmpcodecs
 POL_Call POL_Install_wmp10
-POL_Call POL_Install_mono210
 
-POL_Download "http://videolan.mirrors.hivelocity.net/vlc/2.2.0/win32/vlc-2.2.0-win32.exe" "d79108c6128a2c93e42a77f88c2f6d16"
+POL_Download "http://videolan.mirrors.hivelocity.net/vlc/2.2.1/win32/vlc-2.2.1-win32.exe" "b8c997e772be343e1664fee14c1fb9b7"
 
-POL_Wine vlc-2.2.0-win32.exe
+POL_Wine vlc-2.2.1-win32.exe /L=1033 /S
 
 POL_Download "http://download.mediaplayercodecpack.com/files/sp-tb/media.player.codec.pack.v4.3.6.setup.exe" "4c3efa570628feb2af7d677a53bad349"
 

Nouveau code source

#!/bin/bash
# Date : (2015-4-2 12:29 PM)
# Last revision : (2015-4-6 3:47 PM)
# Wine version used : 1.6.2
# Distribution used to test : Debian GNU/Linux 7.8 (Stable)
# Author : MTres19

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

PREFIX="RollerCoaster_Tycoon_3"
TITLE="RollerCoaster Tycoon 3"
WINEVERSION="1.6.2"

POL_System_TmpCreate "RCT3"
cd "$POL_System_TmpDir"

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_Debug_Init

POL_System_SetArch "x86"

POL_SetupWindow_presentation "$TITLE" "Frontier Developments, Ltd. & Atari, Inc." "frontier.co.uk" "$(eval_gettext 'MTres19 \n \n RollerCoaster Tycoon 3 might not run without proprietary graphics drivers. This may depend on your hardware.')" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"

POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Install_devenum
POL_Call POL_Install_dinput
POL_Call POL_Install_dinput8
POL_Call POL_Install_directmusic
POL_Call POL_Install_dsound
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_wmpcodecs
POL_Call POL_Install_wmp10

POL_Download "http://videolan.mirrors.hivelocity.net/vlc/2.2.1/win32/vlc-2.2.1-win32.exe" "b8c997e772be343e1664fee14c1fb9b7"

POL_Wine vlc-2.2.1-win32.exe /L=1033 /S

POL_Download "http://download.mediaplayercodecpack.com/files/sp-tb/media.player.codec.pack.v4.3.6.setup.exe" "4c3efa570628feb2af7d677a53bad349"

POL_SetupWindow_message "$(eval_gettext 'A word of warning about Media Player Codec Pack: If you choose Easy Installation, you will get a pretty-much useless systray icon. You can disable it from the menu that appears upon right-clicking it, but to avoid this complication, choose 'Detailed Installation,' and choose not to install the systray icon. Click next to install Media Player Codec Pack.')" "$TITLE"

POL_Wine media.player.codec.pack.v4.3.6.setup.exe

POL_Wine_reboot

POL_SetupWindow_cdrom

RCT3SETUP="$CDROM/setup.exe"

POL_SetupWindow_check_cdrom "RCT3.ico" "RCT3.dat" "readme.txt"

POL_SetupWindow_message "$(eval_gettext 'The RCT3 installer will start when you click Next. Do not attempt to register your game.')" "$TITLE"

POL_Wine "$RCT3SETUP"

POL_Wine_reboot

cd $POL_USER_ROOT

POL_System_TmpDelete

POL_Shortcut "$PROGRAMFILES/Atari/RollerCoaster Tycoon 3/RCT3.exe" "RollerCoaster Tycoon 3"

POL_SetupWindow_message "$(eval_gettext 'Thank you for using this script. RollerCoaster Tycoon 3 was successfully installed and should work satisfactorily. You may remove the installer disk now. RCT3 may take a while to open, and during this time, you may see random junk on your screen. This should go away after less then a minute, and RollerCoaster Tycoon 3 will start.')" "$TITLE - $(eval_gettext 'Successfully Installed')"

POL_SetupWindow_Close

exit

Réponses

petch Mardi 7 Avril 2015 à 19:13
petch

Warning

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

Messages

POL_GetSetupImages: use hosted images

Differences

@@ -8,15 +8,15 @@
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
-POL_System_TmpCreate "RCT3"
-cd "$POL_System_TmpDir"
-
-POL_GetSetupImages "https://90114f04992d1df3ad1c1502d30bbca45b6301ba-www.googledrive.com/host/0B_iE50uqUIIbTVI5NjBZMGFBN1U" "https://dc1c8da66a876b314ba0ff52b91b2d5721d0baf0-www.googledrive.com/host/0B_iE50uqUIIbZmZuUTNZeXcwdzA" "$POL_System_TmpDir/RCT3"
-
 PREFIX="RollerCoaster_Tycoon_3"
 TITLE="RollerCoaster Tycoon 3"
 WINEVERSION="1.6.2"
 
+POL_System_TmpCreate "RCT3"
+cd "$POL_System_TmpDir"
+
+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_Debug_Init

Nouveau code source

#!/bin/bash
# Date : (2015-4-2 12:29 PM)
# Last revision : (2015-4-6 3:47 PM)
# Wine version used : 1.6.2
# Distribution used to test : Debian GNU/Linux 7.8 (Stable)
# Author : MTres19

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

PREFIX="RollerCoaster_Tycoon_3"
TITLE="RollerCoaster Tycoon 3"
WINEVERSION="1.6.2"

POL_System_TmpCreate "RCT3"
cd "$POL_System_TmpDir"

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_Debug_Init

POL_System_SetArch "x86"

POL_SetupWindow_presentation "$TITLE" "Frontier Developments, Ltd. & Atari, Inc." "frontier.co.uk" "$(eval_gettext 'MTres19 \n \n RollerCoaster Tycoon 3 might not run without proprietary graphics drivers. This may depend on your hardware.')" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"

POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Install_devenum
POL_Call POL_Install_dinput
POL_Call POL_Install_dinput8
POL_Call POL_Install_directmusic
POL_Call POL_Install_dsound
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_wmpcodecs
POL_Call POL_Install_wmp10
POL_Call POL_Install_mono210

POL_Download "http://videolan.mirrors.hivelocity.net/vlc/2.2.0/win32/vlc-2.2.0-win32.exe" "d79108c6128a2c93e42a77f88c2f6d16"

POL_Wine vlc-2.2.0-win32.exe

POL_Download "http://download.mediaplayercodecpack.com/files/sp-tb/media.player.codec.pack.v4.3.6.setup.exe" "4c3efa570628feb2af7d677a53bad349"

POL_SetupWindow_message "$(eval_gettext 'A word of warning about Media Player Codec Pack: If you choose Easy Installation, you will get a pretty-much useless systray icon. You can disable it from the menu that appears upon right-clicking it, but to avoid this complication, choose 'Detailed Installation,' and choose not to install the systray icon. Click next to install Media Player Codec Pack.')" "$TITLE"

POL_Wine media.player.codec.pack.v4.3.6.setup.exe

POL_Wine_reboot

POL_SetupWindow_cdrom

RCT3SETUP="$CDROM/setup.exe"

POL_SetupWindow_check_cdrom "RCT3.ico" "RCT3.dat" "readme.txt"

POL_SetupWindow_message "$(eval_gettext 'The RCT3 installer will start when you click Next. Do not attempt to register your game.')" "$TITLE"

POL_Wine "$RCT3SETUP"

POL_Wine_reboot

cd $POL_USER_ROOT

POL_System_TmpDelete

POL_Shortcut "$PROGRAMFILES/Atari/RollerCoaster Tycoon 3/RCT3.exe" "RollerCoaster Tycoon 3"

POL_SetupWindow_message "$(eval_gettext 'Thank you for using this script. RollerCoaster Tycoon 3 was successfully installed and should work satisfactorily. You may remove the installer disk now. RCT3 may take a while to open, and during this time, you may see random junk on your screen. This should go away after less then a minute, and RollerCoaster Tycoon 3 will start.')" "$TITLE - $(eval_gettext 'Successfully Installed')"

POL_SetupWindow_Close

exit

Réponses

MTres19 Mardi 7 Avril 2015 à 15:31
MTres19 Anonymous

Messages

Here are three screenshots:

https://29517f53de5b64966e434f766c46fb8c72e7bb84.googledrive.com/secure/AAyT6L9jzHzwCI0IHaTLsA1O-eLU34aSIgy-4I5KmZMG-ppWinjUJFF1IoQ1m8vvglNy3pl0aHVB-3JWKSYcd0KAKdAMOq1RU3qQhtQ8UnMlEz1ZBJDR66PeQpRboWpEIJearSyuHMMwZWsBZfeOFdp5t7ZgmdlM27QUIR9YKR3Bk73mUmPkyh4Xj4sq0nJr98V9XSRwQbYC2gE71E8FUDrJLQ0HD6Aiki2I93NbgYvjkZsfQSvzWlYtdBXbgNb9qxYAV_eoweU9qLF0Vf-RK_RD0tnhK2lvEEPZrT-DgahSNTct9qwQeSDCe0xnhCG8M4DEtyGYjECcWTlOZunusf6Ezg4ph9mJmAskVX-4L8yuGu8NEI8wiZ5g2aAgBjBMqH-ryoz13D5WIqZYVW4i2TbpHGRHfFb5AIRQpafVReLSaSJ2c3xplXKNzYVD6YGsGsV859MjLoW42RoL13vsdXYNX2v_WMTQ9a-NpX77ZmHZrsDHX1W5IVHvESskdTEfJXLkGNYQimwnq1JIefABDIVCnmEck8MOiQ==/host/0B_iE50uqUIIbMlJnemhnVmU4WVU

f977325f71d0306ea768f63be924082773efe1c6.googledrive.com/secure/AAyT6L-Xt4p2qH4Lm-KLTsiSqJjoUhvHdhHHsB0V_EF3gzMWzUJY_m0qVxUK9cVw0qgLaSAOo5zO_OoXmL79ecJfZtJEG6qcretLQa1Eil_fWIFLuknl_jIifAAIzLPypMqD8KN3OWouEN6ipqJep8IB2iqimm0lZEEt_Udr0yGCRihimUS_p7BCsZ1--2y92JGDcTq-pYOLDdKVhSbpF5NKo87kBPa3m2JP-JrM_C05ukVAGUlIK1WP0INzoDpocevwexAdWiLY8K_0BtZWICfVNCIWsrmrXiHt1Z3l2hxGDr1ABQAleLMAauNEHdzIo2u-WEsbyOj8pTwnIJZVDWnAa33ih5C8OTIA1OBOnDC9KS7Z_-Y5flRh9R6fS14h2AabwiuY5Sgu5aLqKdgH15EScWsxOs1e0wFSTPgk4qu3qHeLp8OSxwYTj3I9TGyRLXiASKa2C76nrwcLWNrF0oXJAjI0vKOkydjYAMpUy1ttES2AF_DEDDTOKd1MtLAKOWxSXKTxuaim9tfsEbPLLrs7V-aZVTrPCw==/host/0B_iE50uqUIIbWjRraXhocUdSR0U

https://aec5627fb82096dc89c83c39e4fd0edb62cec063.googledrive.com/secure/AAyT6L_M5Fy9x64EUcslhGwLX3mZx7pidTdz5_Nsb5mvm9dNhyeEoXZKIPRlyhaHzOW88eqaGVgtoIy_J-kp4XtV1UDy3Viee5e4X5GuLzUlaUmcD1tFQdPcI1lw4xuPy-lTMrR_XRs_Y4TuPwj5a1nl06vVocgKqMZ4vXe8Bex67EhetJDYr56fJeeK5an0SEC602aaugbCGgbDSfJXBHIq3eJJ594dFyVij0sqK4VpRQ5zp2n5ZNPbQsKRisApYKyWA_5bZCM1vPe7lCXk-kUArYC7kd90uY5-1oPmdHiRev2G9CCJrLS-FC7osXrTPC5wrm7k0VA0bORCe9JfgbOeQIKsrb5YrvAG_H0WxQRNmQnQcmsr52PcAeypaIs4a_hon6D5cyx8E_o4CAQU3XJygMeLFCf5ifdyKuFfTYOlJKLSh9AMRLF_PG2gStRtbwUThoL94CTVuPrKsCTryQoXYldV8RH-6A5aoIbHMGLESuvELD5fFanT3gDxl0lWes46tB8w9meM08cc-M1Is_8GnARIiD3xCg==/host/0B_iE50uqUIIbcVJOenN1S0ZUcWM

Réponses

Mardi 7 Avril 2015 à 19:04
none of those links work for me
Anonymous
Mercredi 8 Avril 2015 à 4:27
Hmm... I don't think I got a 404 before, but anyway, these links should work:
Anonymous
Mercredi 8 Avril 2015 à 4:31
googledrive.com/host/0B_iE50uqUIIbMlJnemhnVmU4WVU googledrive.com/host/0B_iE50uqUIIbWjRraXhocUdSR0U googledrive.com/host/0B_iE50uqUIIbcVJOenN1S0ZUcWM
MTres19 Mardi 7 Avril 2015 à 2:21
MTres19 Anonymous

Warning

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

Messages

I have simplified the script and cleaned it up considerably, and have used eval_gettext to support translation. Here are also the two icons for use on the website and for the installed program icon:

RollerCoaster Tycoon 3-22x22.png

RollerCoaster Tycoon 3-48x48.png

The top.png and left.png images are included in the script with POL_GetSetupImages.

Differences

@@ -0,0 +1,76 @@
+#!/bin/bash
+# Date : (2015-4-2 12:29 PM)
+# Last revision : (2015-4-6 3:47 PM)
+# Wine version used : 1.6.2
+# Distribution used to test : Debian GNU/Linux 7.8 (Stable)
+# Author : MTres19
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+POL_System_TmpCreate "RCT3"
+cd "$POL_System_TmpDir"
+
+POL_GetSetupImages "https://90114f04992d1df3ad1c1502d30bbca45b6301ba-www.googledrive.com/host/0B_iE50uqUIIbTVI5NjBZMGFBN1U" "https://dc1c8da66a876b314ba0ff52b91b2d5721d0baf0-www.googledrive.com/host/0B_iE50uqUIIbZmZuUTNZeXcwdzA" "$POL_System_TmpDir/RCT3"
+
+PREFIX="RollerCoaster_Tycoon_3"
+TITLE="RollerCoaster Tycoon 3"
+WINEVERSION="1.6.2"
+
+POL_SetupWindow_Init
+
+POL_Debug_Init
+
+POL_System_SetArch "x86"
+
+POL_SetupWindow_presentation "$TITLE" "Frontier Developments, Ltd. & Atari, Inc." "frontier.co.uk" "$(eval_gettext 'MTres19 \n \n RollerCoaster Tycoon 3 might not run without proprietary graphics drivers. This may depend on your hardware.')" "$PREFIX"
+
+POL_Wine_SelectPrefix "$PREFIX"
+
+POL_Wine_PrefixCreate "$WINEVERSION"
+
+POL_Call POL_Install_devenum
+POL_Call POL_Install_dinput
+POL_Call POL_Install_dinput8
+POL_Call POL_Install_directmusic
+POL_Call POL_Install_dsound
+POL_Call POL_Install_dxfullsetup
+POL_Call POL_Install_wmpcodecs
+POL_Call POL_Install_wmp10
+POL_Call POL_Install_mono210
+
+POL_Download "http://videolan.mirrors.hivelocity.net/vlc/2.2.0/win32/vlc-2.2.0-win32.exe" "d79108c6128a2c93e42a77f88c2f6d16"
+
+POL_Wine vlc-2.2.0-win32.exe
+
+POL_Download "http://download.mediaplayercodecpack.com/files/sp-tb/media.player.codec.pack.v4.3.6.setup.exe" "4c3efa570628feb2af7d677a53bad349"
+
+POL_SetupWindow_message "$(eval_gettext 'A word of warning about Media Player Codec Pack: If you choose Easy Installation, you will get a pretty-much useless systray icon. You can disable it from the menu that appears upon right-clicking it, but to avoid this complication, choose 'Detailed Installation,' and choose not to install the systray icon. Click next to install Media Player Codec Pack.')" "$TITLE"
+
+POL_Wine media.player.codec.pack.v4.3.6.setup.exe
+
+POL_Wine_reboot
+
+POL_SetupWindow_cdrom
+
+RCT3SETUP="$CDROM/setup.exe"
+
+POL_SetupWindow_check_cdrom "RCT3.ico" "RCT3.dat" "readme.txt"
+
+POL_SetupWindow_message "$(eval_gettext 'The RCT3 installer will start when you click Next. Do not attempt to register your game.')" "$TITLE"
+
+POL_Wine "$RCT3SETUP"
+
+POL_Wine_reboot
+
+cd $POL_USER_ROOT
+
+POL_System_TmpDelete
+
+POL_Shortcut "$PROGRAMFILES/Atari/RollerCoaster Tycoon 3/RCT3.exe" "RollerCoaster Tycoon 3"
+
+POL_SetupWindow_message "$(eval_gettext 'Thank you for using this script. RollerCoaster Tycoon 3 was successfully installed and should work satisfactorily. You may remove the installer disk now. RCT3 may take a while to open, and during this time, you may see random junk on your screen. This should go away after less then a minute, and RollerCoaster Tycoon 3 will start.')" "$TITLE - $(eval_gettext 'Successfully Installed')"
+
+POL_SetupWindow_Close
+
+exit
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2015-4-2 12:29 PM)
# Last revision : (2015-4-6 3:47 PM)
# Wine version used : 1.6.2
# Distribution used to test : Debian GNU/Linux 7.8 (Stable)
# Author : MTres19

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

POL_System_TmpCreate "RCT3"
cd "$POL_System_TmpDir"

POL_GetSetupImages "https://90114f04992d1df3ad1c1502d30bbca45b6301ba-www.googledrive.com/host/0B_iE50uqUIIbTVI5NjBZMGFBN1U" "https://dc1c8da66a876b314ba0ff52b91b2d5721d0baf0-www.googledrive.com/host/0B_iE50uqUIIbZmZuUTNZeXcwdzA" "$POL_System_TmpDir/RCT3"

PREFIX="RollerCoaster_Tycoon_3"
TITLE="RollerCoaster Tycoon 3"
WINEVERSION="1.6.2"

POL_SetupWindow_Init

POL_Debug_Init

POL_System_SetArch "x86"

POL_SetupWindow_presentation "$TITLE" "Frontier Developments, Ltd. & Atari, Inc." "frontier.co.uk" "$(eval_gettext 'MTres19 \n \n RollerCoaster Tycoon 3 might not run without proprietary graphics drivers. This may depend on your hardware.')" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"

POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Install_devenum
POL_Call POL_Install_dinput
POL_Call POL_Install_dinput8
POL_Call POL_Install_directmusic
POL_Call POL_Install_dsound
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_wmpcodecs
POL_Call POL_Install_wmp10
POL_Call POL_Install_mono210

POL_Download "http://videolan.mirrors.hivelocity.net/vlc/2.2.0/win32/vlc-2.2.0-win32.exe" "d79108c6128a2c93e42a77f88c2f6d16"

POL_Wine vlc-2.2.0-win32.exe

POL_Download "http://download.mediaplayercodecpack.com/files/sp-tb/media.player.codec.pack.v4.3.6.setup.exe" "4c3efa570628feb2af7d677a53bad349"

POL_SetupWindow_message "$(eval_gettext 'A word of warning about Media Player Codec Pack: If you choose Easy Installation, you will get a pretty-much useless systray icon. You can disable it from the menu that appears upon right-clicking it, but to avoid this complication, choose 'Detailed Installation,' and choose not to install the systray icon. Click next to install Media Player Codec Pack.')" "$TITLE"

POL_Wine media.player.codec.pack.v4.3.6.setup.exe

POL_Wine_reboot

POL_SetupWindow_cdrom

RCT3SETUP="$CDROM/setup.exe"

POL_SetupWindow_check_cdrom "RCT3.ico" "RCT3.dat" "readme.txt"

POL_SetupWindow_message "$(eval_gettext 'The RCT3 installer will start when you click Next. Do not attempt to register your game.')" "$TITLE"

POL_Wine "$RCT3SETUP"

POL_Wine_reboot

cd $POL_USER_ROOT

POL_System_TmpDelete

POL_Shortcut "$PROGRAMFILES/Atari/RollerCoaster Tycoon 3/RCT3.exe" "RollerCoaster Tycoon 3"

POL_SetupWindow_message "$(eval_gettext 'Thank you for using this script. RollerCoaster Tycoon 3 was successfully installed and should work satisfactorily. You may remove the installer disk now. RCT3 may take a while to open, and during this time, you may see random junk on your screen. This should go away after less then a minute, and RollerCoaster Tycoon 3 will start.')" "$TITLE - $(eval_gettext 'Successfully Installed')"

POL_SetupWindow_Close

exit

Réponses

Anonymous
Mardi 7 Avril 2015 à 17:33
Also, contrary to the information provided on my RCT3 disk, the CD is NOT required to be placed in the drive for the program to run. I was also not prompted for a CD key when installing.
MTres19 Samedi 4 Avril 2015 à 14:19
MTres19 Anonymous

Warning

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

Messages

This script installs all the required dependancy libraries necessary into the Wineprefix, and guides the user through the process with detailed instructions.

Differences

@@ -0,0 +1,232 @@
+#!/bin/bash
+# 
+# Script by MTres19 with some components from massimiliano0790's script.
+# I disclaim all liability from anything that might happen as a result of your use of this script.
+# 
+# You may share, distribute and modify this script to fit your needs, but you may not take credit for it.
+# 
+# Completed March 31, 2015
+# 
+# Tested on Debian GNU/Linux 7.8 64-bit. AMD Phenom X4 9750 Processer, AMD/ATI Radeon HD 3200 Graphics. ~6 GB RAM. Dell Inspiron 546.
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+# Create the temporary directory and move to it
+POL_System_TmpCreate "RCT3"
+cd "$POL_System_TmpDir"
+
+# Make some variables
+WINEPREFIX="RCT3"
+TITLE="RollerCoaster Tycoon 3"
+WINDOWTITLE="Frontier/Atari's RollerCoaster Tycoon 3"
+
+# Open the installer window
+POL_SetupWindow_Init
+
+# Start the debugger
+POL_Debug_Init
+
+# Set Wine Architecture to x86
+POL_System_SetArch "x86"
+
+# Give some information about the script and RollerCoaster Tycoon 3
+POL_SetupWindow_free_presentation "RollerCoaster Tycoon 3" "Thank you for choosing this script to install RollerCoaster Tycoon 3. RCT3 was created by Chris Sawyer and Frontier Developments, and was published by Atari. Unfortunately, Linux users are not considered a very large clientelle, and consequentially no Linux version of RollerCoaster Tycoon 3 was ever produced. However, thanks to the teams at WineHQ and PlayOnLinux, you should be able to almost painlessly run RollerCoaster Tycoon 3 on Linux with help of this script. I give credit to massimiliano0790, because some parts of this script use ideas from his. However, I have included in this script support for newer versions of the Wine Compatability Layer and my own fix to the lack of sound which seems to plague RCT3 on Wine, at least from what I've seen on forums. BY CONTINUING TO USE THIS SCRIPT, YOU ACKNOWLEDGE THAT I AM NOT RESPONSIBLE FOR ANYTHING THAT MAY RESULT FROM YOUR USE OF THIS SCRIPT."
+
+# Request user's preferred Wine version
+POL_SetupWindow_menu "What Wine version would you like to use? Wine 1.6.2 is 'stable'." "$WINDOWTITLE - Choose Wine version" "1.6.2 (stable, tested with RCT3)|1.7.39 (Just out of the oven - I mean, CPU)|1.4.1 (Ultra-stable - Debian standards)" "|"
+
+# Notifiy the user that the Wineprefix is being created
+POL_SetupWindow_wait "Please be patient. The Wineprefix is being created..." "$WINDOWTITLE - Create Wineprefix"
+
+# Send this value to a different variable, before it's overwritten
+RAWWINECHOICE="$APP_ANSWER"
+
+# Convert English to POL-Readable numbers
+if [ "$RAWWINECHOICE" = "1.6.2 (stable, tested with RCT3)" ]
+then
+	WINEVERSION="1.6.2"
+	# Search for Wine 1.6.2 in user's POL directory
+	WINEVERSIONAVAILABLE=ls $REPERTOIRE/wine/linux-x86 | grep 1.6.2
+elif ["$RAWWINECHOICE" = "1.7.39 (Just out of the oven - I mean, CPU)"
+then
+	WINEVERSION="1.7.39"
+	# Search for Wine 1.7.39 in user's POL directory
+	WINEVERSIONAVAILABLE=ls $REPERTOIRE/wine/linux-x86 | grep 1.7.39
+elif ["$RAWWINECHOICE" = "1.4.1 (Ultra-stable - Debian standards)"
+then
+	WINEVERSION="1.4.1"
+	# Search for Wine 1.4.1 in user's POL directory
+	WINEVERSIONAVAILABLE=ls $REPERTOIRE/wine/linux-x86 | grep 1.4.1
+fi
+
+# Install specified Wine version if not already installed
+if [ "$WINEVERSIONAVAILABLE" != "$WINEVERSION" ]
+then
+	POL_Wine_InstallVersion "$WINEVERSION"
+fi
+
+# Select RCT3 Wineprefix
+POL_Wine_SelectPrefix "$WINEPREFIX"
+
+# Create a Wineprefix with the specified Wine version
+POL_Wine_PrefixCreate "$WINEVERSION"
+
+# Notify the user that dependancies are being installed
+POL_SetupWindow_wait "Dependency Libraries are installing. Please wait..." "$WINDOWTITLE - Installing Dependencies"
+
+# Install dependancies
+POL_Call POL_Install_d3dx9
+POL_Call POL_Install_d3dx10
+POL_Call POL_Install_d3dx11
+POL_Call POL_Install_devenum
+POL_Call POL_Install_dinput
+POL_Call POL_Install_dinput8
+POL_Call POL_Install_directmusic
+POL_Call POL_Install_directplay
+POL_Call POL_Install_directx9
+POL_Call POL_Install_dsound
+POL_Call POL_Install_dxfullsetup
+POL_Call POL_Install_quartz
+POL_Call POL_Install_wmpcodecs
+POL_Call POL_Install_wmp10
+POL_Call POL_Install_gecko
+
+# Notify the user that Mono is downloading
+POL_SetupWindow_wait "Please wait. Mono 2.10.9 with GTK# 2.12.11 is downloading. This may take several minutes, depending on your internet connection speed. Mono is ~80 MB." "$WINDOWTITLE - Downloading Mono"
+
+# Download Mono (POL_Call POL_Install_mono210 doesn't work, nor does POL_Download. Bug with DNS Lookup? WGET works fine. Google Public DNS & DHCP defaults both tried.)
+wget "http://download.mono-project.com/archive/2.10.9/windows-installer/0/mono-2.10.9-gtksharp-2.12.11-win32-0.exe"
+
+# Give the user instructions about installing Mono
+POL_SetupWindow_message "Mono has finished downloading. When you click next, the installer for Mono will start and you will be prompted through a series of steps. Leave all settings at their defaults." "$WINDOWTITLE - Install Mono"
+
+# Install Mono
+POL_Wine start /unix "mono-2.10.9-gtksharp-2.12.11-win32-0.exe"
+
+# Notify the user that Mono is installing
+POL_SetupWindow_wait "Installing Mono Runtime 2.10.9 with GTK# 2.12.11. Use the installer wizard to install Mono. Do not change any settings in the installer." "$WINDOWTITLE - Installing Mono"
+
+# Wait while Mono installs
+POL_Wine_WaitExit ""
+
+# Ask the user which desktop environment they use
+POL_SetupWindow_menu "What Desktop Environment do you use?" "$WINDOWTITLE - Emulating a Virtual Desktop" "Cinnamon|GNOME 2|GNOME 3|KDE Plasma|LXDE|MATE|Stock Openbox|Xfce|Other" "|"
+
+# Send response to a variable before it's overwritten
+DESKTOP=$APP_ANSWER
+
+# Decide if the desktop can handle a temporary resolution change
+if [[ $DESKTOP = "Cinnamon" || $DESKTOP = "GNOME 2" || $DESKTOP = "GNOME 3" || $DESKTOP = "MATE" || $DESKTOP = "Other" ]]
+then
+	BADDESKTOP="TRUE"
+elif [[ $DESKTOP = "KDE Plasma" || $DESKTOP = "LXDE" || $DESKTOP = "Stock Openbox" || $DESKTOP = "Xfce" ]]
+then
+	BADDESKTOP="FALSE"
+fi
+
+# Ask the user whether they'd like to emulate a virtual desktop, if they are useing a 'bad' desktop
+if [ $BADDESKTOP = "TRUE" ]
+then
+	POL_SetupWindow_question "In my testing, GNOME 2 and 3 caused problems because of RollerCoaster Tycoon 3's 1024x768 full screen mode. Because Cinnamon is based off of the GNOME Shell, and MATE is based off of GNOME 2, it may prevent problems to emulate a 1024x768 virtual desktop with Wine. If you chose 'Other' you will have to decide this for yourself. All this does is creates a window on your desktop, which will contain RCT3. Note that this may make moving around a bit difficult. Would you like to emulate a virtual desktop?" "$WINDOWTITLE - Emulating a Virtual Desktop"
+	
+	# Send the response to another variable, before it's overwritten
+	USEVIRD=$APP_ANSWER
+
+elif [ $BADDESKTOP = "FALSE" ]
+then
+	POL_SetupWindow_message "Your desktop environment should not cause problems with RollerCoaster Tycoon 3's full screen mode. Click next to continue." "$WINDOWTITLE - Emulating a Virtual Desktop"
+	USEVIRD="FALSE"
+fi
+
+# Emulate a 1024x768 virtual desktop, if the user chose to do so
+if [ $USEVIRD = "TRUE" ]
+then
+	Set_Desktop "On" "1024" "768"
+
+	# Name the virtual desktop window 'Frontier/Atari's RollerCoaster Tycoon 3'
+	Set_WineWindowTitle "$WINDOWTITLE"
+fi
+
+# Tell the user to place their disk in the drive
+POL_SetupWindow_message "The RollerCoaster Tycoon 3 disk should now be placed in your disk drive. Be sure that you know where it has been mounted in /media." "$WINDOWTITLE - Insert Installer Disk"
+
+# Ask the user if their RCT3 disk in mounted to /media/RCT3
+POL_SetupWindow_question "Is your RollerCoaster Tycoon 3 disk mounted to /media/cdrom0?" "$WINDOWTITLE - Autochoose Installer File"
+
+# Send this value to a different variable, before it's overwritten
+INCDROM0=$APP_ANSWER
+
+# Select installer file, or have the user manually select it.
+if [ "$INCDROM0" = "TRUE" ]
+then
+	RCT3SETUP="/media/cdrom0/setup.exe"
+elif [ "$INCDROM0" = "FALSE" ]
+then
+	POL_SetupWindow_browse "Please select setup.exe located on your RCT3 disk. This will probably be somewhere in /media." "$TITLE - Select Installer File"
+	RCT3SETUP=$APP_ANSWER
+fi
+
+# Give the user instructions about installing RCT3
+POL_SetupWindow_message "When you click next, the installer for RollerCoaster Tycoon 3 will start. I do not reccomend attempting to 'Register your product' because Atari seems to have dropped any support for RCT3. PlayOnLinux may complain about the disk not being mounted with executable permissions. If this happens, click next anyway and you should not have any trouble." "$WINDOWTITLE - Install"
+
+# Run the RCT3 setup
+POL_Wine start /unix "$RCT3SETUP"
+
+# Display a 'please wait' screen while installing
+POL_SetupWindow_wait "RollerCoaster Tycoon 3 is now installing. Do not close this window until the script has completed." "$WINDOWTITLE - Installing"
+
+# Wait for the RCT3 to finish installing
+POL_Wine_WaitExit ""
+
+# Notify the user that VLC will be downloaded
+POL_SetupWindow_message "On the next screen, PlayOnLinux will download VLC Media player. This is required because RollerCoaster Tycoon 3 requires a backend to play its audio files. When it installs, allow the installer to set VLC as default for all formats it can play. This only takes effect within the Wineprefix." "$WINDOWTITLE - Install VLC Media Player"
+
+# Download VLC Media Player
+POL_Download "ftp://ftp.osuosl.org/pub/videolan/vlc/2.2.0/win32/vlc-2.2.0-win32.exe" "d79108c6128a2c93e42a77f88c2f6d16"
+
+# Give the user instructions about installing VLC
+POL_SetupWindow_message "VLC Media Player has finished downloading. When you click next, the VLC Media Player installer will open and you will be guided through the installation process. Select the FULL installation when you are given the choice." "$WINDOWTITLE - Install VLC Media Player"
+
+# Start the VLC Media Player installer
+POL_Wine start /unix vlc-2.2.0-win32.exe
+
+# Notify the user that VLC is being installed
+POL_SetupWindow_wait "Please wait. Installing VLC Media player." "$WINDOWTITLE - Installing VLC Media Player"
+
+# Wait for VLC to finish installing
+POL_Wine_WaitExit ""
+
+# Notify the user that Media Player Codec Pack will be downloaded
+POL_SetupWindow_message "When you click next, the Media Player Codec Pack will be downloaded. This is necessary to provide codecs for RCT3." "$TITLE - Install MPCP"
+
+# Download Media PLayer Codec Pack
+POL_Download "http://download.mediaplayercodecpack.com/files/sp-tb/media.player.codec.pack.v4.3.6.setup.exe" "4c3efa570628feb2af7d677a53bad349"
+
+# Provid the user with a warning about Media Player Codec Pack
+POL_SetupWindow_message "A word of warning about Media Player Codec Pack: If you choose 'Easy Installation,' you will get a pretty-much useless systray icon. You can disable it from the menu that appears upon right-clicking it, but to avoid this complication, choose 'Detailed Installation,' and choose not to install the systray icon. Click next to install Media Player Codec Pack." "$WINDOWTITLE - Install MPCP"
+
+# Run Media Player Codec Pack installer
+POL_Wine start /unix media.player.codec.pack.v4.3.6.setup.exe
+
+# Wait for Media Player Codec Pack to install
+POL_Wine_WaitExit ""
+
+# Perform a windows reboot
+POL_Wine_reboot
+
+# Exit temp folder
+cd $REPERTOIRE
+
+# Delete temp
+POL_System_TmpDelete
+
+# Create a shortcut
+POL_Shortcut "$PROGRAMFILES/Atari/RollerCoaster Tycoon 3/RCT3.exe" "RCT3"
+
+# Notify the user that the game has installed successfully
+POL_SetupWindow_message "Thank you for using this script. RollerCoaster Tycoon 3 was successfully installed and should work satisfactorily. You may remove the installer disk now. NOTE: RollerCoaster Tycoon 3 does not appear to be compatible with the open-source Gallium/Mesa driver, at least on AMD hardware. However, it will work with the proprietary driver, and may work if your hardware is a brand other than AMD. RCT3 is also a bit slow to start and may show random junk on your screen while it's starting to load. Don't worry though, you shouldn't have any problems." "$WINDOWTITLE - Successfully Installed"
+
+# Close the installer window
+POL_SetupWindow_Close
+exit

Nouveau code source

#!/bin/bash
# 
# Script by MTres19 with some components from massimiliano0790's script.
# I disclaim all liability from anything that might happen as a result of your use of this script.
# 
# You may share, distribute and modify this script to fit your needs, but you may not take credit for it.
# 
# Completed March 31, 2015
# 
# Tested on Debian GNU/Linux 7.8 64-bit. AMD Phenom X4 9750 Processer, AMD/ATI Radeon HD 3200 Graphics. ~6 GB RAM. Dell Inspiron 546.

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

# Create the temporary directory and move to it
POL_System_TmpCreate "RCT3"
cd "$POL_System_TmpDir"

# Make some variables
WINEPREFIX="RCT3"
TITLE="RollerCoaster Tycoon 3"
WINDOWTITLE="Frontier/Atari's RollerCoaster Tycoon 3"

# Open the installer window
POL_SetupWindow_Init

# Start the debugger
POL_Debug_Init

# Set Wine Architecture to x86
POL_System_SetArch "x86"

# Give some information about the script and RollerCoaster Tycoon 3
POL_SetupWindow_free_presentation "RollerCoaster Tycoon 3" "Thank you for choosing this script to install RollerCoaster Tycoon 3. RCT3 was created by Chris Sawyer and Frontier Developments, and was published by Atari. Unfortunately, Linux users are not considered a very large clientelle, and consequentially no Linux version of RollerCoaster Tycoon 3 was ever produced. However, thanks to the teams at WineHQ and PlayOnLinux, you should be able to almost painlessly run RollerCoaster Tycoon 3 on Linux with help of this script. I give credit to massimiliano0790, because some parts of this script use ideas from his. However, I have included in this script support for newer versions of the Wine Compatability Layer and my own fix to the lack of sound which seems to plague RCT3 on Wine, at least from what I've seen on forums. BY CONTINUING TO USE THIS SCRIPT, YOU ACKNOWLEDGE THAT I AM NOT RESPONSIBLE FOR ANYTHING THAT MAY RESULT FROM YOUR USE OF THIS SCRIPT."

# Request user's preferred Wine version
POL_SetupWindow_menu "What Wine version would you like to use? Wine 1.6.2 is 'stable'." "$WINDOWTITLE - Choose Wine version" "1.6.2 (stable, tested with RCT3)|1.7.39 (Just out of the oven - I mean, CPU)|1.4.1 (Ultra-stable - Debian standards)" "|"

# Notifiy the user that the Wineprefix is being created
POL_SetupWindow_wait "Please be patient. The Wineprefix is being created..." "$WINDOWTITLE - Create Wineprefix"

# Send this value to a different variable, before it's overwritten
RAWWINECHOICE="$APP_ANSWER"

# Convert English to POL-Readable numbers
if [ "$RAWWINECHOICE" = "1.6.2 (stable, tested with RCT3)" ]
then
        WINEVERSION="1.6.2"
        # Search for Wine 1.6.2 in user's POL directory
        WINEVERSIONAVAILABLE=ls $REPERTOIRE/wine/linux-x86 | grep 1.6.2
elif ["$RAWWINECHOICE" = "1.7.39 (Just out of the oven - I mean, CPU)"
then
        WINEVERSION="1.7.39"
        # Search for Wine 1.7.39 in user's POL directory
        WINEVERSIONAVAILABLE=ls $REPERTOIRE/wine/linux-x86 | grep 1.7.39
elif ["$RAWWINECHOICE" = "1.4.1 (Ultra-stable - Debian standards)"
then
        WINEVERSION="1.4.1"
        # Search for Wine 1.4.1 in user's POL directory
        WINEVERSIONAVAILABLE=ls $REPERTOIRE/wine/linux-x86 | grep 1.4.1
fi

# Install specified Wine version if not already installed
if [ "$WINEVERSIONAVAILABLE" != "$WINEVERSION" ]
then
        POL_Wine_InstallVersion "$WINEVERSION"
fi

# Select RCT3 Wineprefix
POL_Wine_SelectPrefix "$WINEPREFIX"

# Create a Wineprefix with the specified Wine version
POL_Wine_PrefixCreate "$WINEVERSION"

# Notify the user that dependancies are being installed
POL_SetupWindow_wait "Dependency Libraries are installing. Please wait..." "$WINDOWTITLE - Installing Dependencies"

# Install dependancies
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx10
POL_Call POL_Install_d3dx11
POL_Call POL_Install_devenum
POL_Call POL_Install_dinput
POL_Call POL_Install_dinput8
POL_Call POL_Install_directmusic
POL_Call POL_Install_directplay
POL_Call POL_Install_directx9
POL_Call POL_Install_dsound
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_quartz
POL_Call POL_Install_wmpcodecs
POL_Call POL_Install_wmp10
POL_Call POL_Install_gecko

# Notify the user that Mono is downloading
POL_SetupWindow_wait "Please wait. Mono 2.10.9 with GTK# 2.12.11 is downloading. This may take several minutes, depending on your internet connection speed. Mono is ~80 MB." "$WINDOWTITLE - Downloading Mono"

# Download Mono (POL_Call POL_Install_mono210 doesn't work, nor does POL_Download. Bug with DNS Lookup? WGET works fine. Google Public DNS & DHCP defaults both tried.)
wget "http://download.mono-project.com/archive/2.10.9/windows-installer/0/mono-2.10.9-gtksharp-2.12.11-win32-0.exe"

# Give the user instructions about installing Mono
POL_SetupWindow_message "Mono has finished downloading. When you click next, the installer for Mono will start and you will be prompted through a series of steps. Leave all settings at their defaults." "$WINDOWTITLE - Install Mono"

# Install Mono
POL_Wine start /unix "mono-2.10.9-gtksharp-2.12.11-win32-0.exe"

# Notify the user that Mono is installing
POL_SetupWindow_wait "Installing Mono Runtime 2.10.9 with GTK# 2.12.11. Use the installer wizard to install Mono. Do not change any settings in the installer." "$WINDOWTITLE - Installing Mono"

# Wait while Mono installs
POL_Wine_WaitExit ""

# Ask the user which desktop environment they use
POL_SetupWindow_menu "What Desktop Environment do you use?" "$WINDOWTITLE - Emulating a Virtual Desktop" "Cinnamon|GNOME 2|GNOME 3|KDE Plasma|LXDE|MATE|Stock Openbox|Xfce|Other" "|"

# Send response to a variable before it's overwritten
DESKTOP=$APP_ANSWER

# Decide if the desktop can handle a temporary resolution change
if [[ $DESKTOP = "Cinnamon" || $DESKTOP = "GNOME 2" || $DESKTOP = "GNOME 3" || $DESKTOP = "MATE" || $DESKTOP = "Other" ]]
then
        BADDESKTOP="TRUE"
elif [[ $DESKTOP = "KDE Plasma" || $DESKTOP = "LXDE" || $DESKTOP = "Stock Openbox" || $DESKTOP = "Xfce" ]]
then
        BADDESKTOP="FALSE"
fi

# Ask the user whether they'd like to emulate a virtual desktop, if they are useing a 'bad' desktop
if [ $BADDESKTOP = "TRUE" ]
then
        POL_SetupWindow_question "In my testing, GNOME 2 and 3 caused problems because of RollerCoaster Tycoon 3's 1024x768 full screen mode. Because Cinnamon is based off of the GNOME Shell, and MATE is based off of GNOME 2, it may prevent problems to emulate a 1024x768 virtual desktop with Wine. If you chose 'Other' you will have to decide this for yourself. All this does is creates a window on your desktop, which will contain RCT3. Note that this may make moving around a bit difficult. Would you like to emulate a virtual desktop?" "$WINDOWTITLE - Emulating a Virtual Desktop"
        
        # Send the response to another variable, before it's overwritten
        USEVIRD=$APP_ANSWER

elif [ $BADDESKTOP = "FALSE" ]
then
        POL_SetupWindow_message "Your desktop environment should not cause problems with RollerCoaster Tycoon 3's full screen mode. Click next to continue." "$WINDOWTITLE - Emulating a Virtual Desktop"
        USEVIRD="FALSE"
fi

# Emulate a 1024x768 virtual desktop, if the user chose to do so
if [ $USEVIRD = "TRUE" ]
then
        Set_Desktop "On" "1024" "768"

        # Name the virtual desktop window 'Frontier/Atari's RollerCoaster Tycoon 3'
        Set_WineWindowTitle "$WINDOWTITLE"
fi

# Tell the user to place their disk in the drive
POL_SetupWindow_message "The RollerCoaster Tycoon 3 disk should now be placed in your disk drive. Be sure that you know where it has been mounted in /media." "$WINDOWTITLE - Insert Installer Disk"

# Ask the user if their RCT3 disk in mounted to /media/RCT3
POL_SetupWindow_question "Is your RollerCoaster Tycoon 3 disk mounted to /media/cdrom0?" "$WINDOWTITLE - Autochoose Installer File"

# Send this value to a different variable, before it's overwritten
INCDROM0=$APP_ANSWER

# Select installer file, or have the user manually select it.
if [ "$INCDROM0" = "TRUE" ]
then
        RCT3SETUP="/media/cdrom0/setup.exe"
elif [ "$INCDROM0" = "FALSE" ]
then
        POL_SetupWindow_browse "Please select setup.exe located on your RCT3 disk. This will probably be somewhere in /media." "$TITLE - Select Installer File"
        RCT3SETUP=$APP_ANSWER
fi

# Give the user instructions about installing RCT3
POL_SetupWindow_message "When you click next, the installer for RollerCoaster Tycoon 3 will start. I do not reccomend attempting to 'Register your product' because Atari seems to have dropped any support for RCT3. PlayOnLinux may complain about the disk not being mounted with executable permissions. If this happens, click next anyway and you should not have any trouble." "$WINDOWTITLE - Install"

# Run the RCT3 setup
POL_Wine start /unix "$RCT3SETUP"

# Display a 'please wait' screen while installing
POL_SetupWindow_wait "RollerCoaster Tycoon 3 is now installing. Do not close this window until the script has completed." "$WINDOWTITLE - Installing"

# Wait for the RCT3 to finish installing
POL_Wine_WaitExit ""

# Notify the user that VLC will be downloaded
POL_SetupWindow_message "On the next screen, PlayOnLinux will download VLC Media player. This is required because RollerCoaster Tycoon 3 requires a backend to play its audio files. When it installs, allow the installer to set VLC as default for all formats it can play. This only takes effect within the Wineprefix." "$WINDOWTITLE - Install VLC Media Player"

# Download VLC Media Player
POL_Download "ftp://ftp.osuosl.org/pub/videolan/vlc/2.2.0/win32/vlc-2.2.0-win32.exe" "d79108c6128a2c93e42a77f88c2f6d16"

# Give the user instructions about installing VLC
POL_SetupWindow_message "VLC Media Player has finished downloading. When you click next, the VLC Media Player installer will open and you will be guided through the installation process. Select the FULL installation when you are given the choice." "$WINDOWTITLE - Install VLC Media Player"

# Start the VLC Media Player installer
POL_Wine start /unix vlc-2.2.0-win32.exe

# Notify the user that VLC is being installed
POL_SetupWindow_wait "Please wait. Installing VLC Media player." "$WINDOWTITLE - Installing VLC Media Player"

# Wait for VLC to finish installing
POL_Wine_WaitExit ""

# Notify the user that Media Player Codec Pack will be downloaded
POL_SetupWindow_message "When you click next, the Media Player Codec Pack will be downloaded. This is necessary to provide codecs for RCT3." "$TITLE - Install MPCP"

# Download Media PLayer Codec Pack
POL_Download "http://download.mediaplayercodecpack.com/files/sp-tb/media.player.codec.pack.v4.3.6.setup.exe" "4c3efa570628feb2af7d677a53bad349"

# Provid the user with a warning about Media Player Codec Pack
POL_SetupWindow_message "A word of warning about Media Player Codec Pack: If you choose 'Easy Installation,' you will get a pretty-much useless systray icon. You can disable it from the menu that appears upon right-clicking it, but to avoid this complication, choose 'Detailed Installation,' and choose not to install the systray icon. Click next to install Media Player Codec Pack." "$WINDOWTITLE - Install MPCP"

# Run Media Player Codec Pack installer
POL_Wine start /unix media.player.codec.pack.v4.3.6.setup.exe

# Wait for Media Player Codec Pack to install
POL_Wine_WaitExit ""

# Perform a windows reboot
POL_Wine_reboot

# Exit temp folder
cd $REPERTOIRE

# Delete temp
POL_System_TmpDelete

# Create a shortcut
POL_Shortcut "$PROGRAMFILES/Atari/RollerCoaster Tycoon 3/RCT3.exe" "RCT3"

# Notify the user that the game has installed successfully
POL_SetupWindow_message "Thank you for using this script. RollerCoaster Tycoon 3 was successfully installed and should work satisfactorily. You may remove the installer disk now. NOTE: RollerCoaster Tycoon 3 does not appear to be compatible with the open-source Gallium/Mesa driver, at least on AMD hardware. However, it will work with the proprietary driver, and may work if your hardware is a brand other than AMD. RCT3 is also a bit slow to start and may show random junk on your screen while it's starting to load. Don't worry though, you shouldn't have any problems." "$WINDOWTITLE - Successfully Installed"

# Close the installer window
POL_SetupWindow_Close
exit

Réponses

Dimanche 5 Avril 2015 à 10:42
I put my review into the forums https://www.playonlinux.com/en/topic-12999.html

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