GOG.com - RollerCoaster Tycoon: Deluxe

Informations

Créateur Messages
Yepoleb Anonymous

Information

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

Informations

Plate-formes :
Téléchargements : 15312
Wine: 3.0.3

Retours d'expérience

Description

First part of the RollerCoaster Tycoon series, created by Chris Sawyer.

Appdb.winehq.org

Code source

#!/usr/bin/env playonlinux-bash
# Date : (2015-12-07 06-36)
# Last revision : (2015-12-23 04-52)
# Wine version used : 1.6.2
# Distribution used to test : Debian Sid (Unstable)
# Author : Gabriel Huber huberg18@gmail.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

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

GOGID="rollercoaster_tycoon_deluxe"
PREFIX="RollerCoasterTycoon_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - RollerCoaster Tycoon: Deluxe"
SHORTCUT_NAME="RollerCoaster Tycoon: Deluxe"

# Manually set the install location because we're not using the installer
# Has to match with the one in the registry patch for the DRM to work
INSTALL_LOCATION="drive_c/GOG Games/RollerCoaster Tycoon Deluxe/"

#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 2683
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Chris Sawyer Productions / Atari" \
    "http://www.gog.com/game/$GOGID" "Gabriel Huber" "$PREFIX"

# Get setup path
POL_Call POL_GoG_setup "$GOGID" "c6516a80d361a70fd5866fdd18004c46"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_System_TmpCreate "$PREFIX"

INSTALL_PATH="${WINEPREFIX}/${INSTALL_LOCATION}"

# Extract the game files
POL_Call POL_innoextract "$POL_GoG_location" "$POL_System_TmpDir" "$INSTALL_PATH"

# Apply the registry patch
cat > "$POL_System_TmpDir/rct1.reg" << EOF
REGEDIT4

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group]


[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]


[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Title"="Roll"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Path"="C:\\\\GOG Games\\\\RollerCoaster Tycoon Deluxe"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"SetupPath"="C:\\\\GOG Games\\\\RollerCoaster Tycoon Deluxe"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Executable"="RCT.EXE"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"FontPointSize"=dword:0000000c

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Language"=dword:00000000

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"CDKey"=dword:00000000

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"CharSet"=dword:00000000

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"FontFaceName"="MS Sans Serif"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"OKPrompt"="OK"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"CancelPrompt"="Cancel"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"AddOn"=dword:00000001

EOF

POL_Wine regedit "$POL_System_TmpDir/rct1.reg"

POL_System_TmpDelete

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "RCT.EXE" "$SHORTCUT_NAME" "" "" "Game;Simulation;"
POL_Shortcut_Document "$SHORTCUT_NAME" "${INSTALL_PATH}manual.pdf"

POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Lundi 27 September 2021 à 15:33
Dadu042

Information

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

Messages

Wine 1.6.2 -> 3.0.3

Differences

@@ -13,7 +13,7 @@
 
 GOGID="rollercoaster_tycoon_deluxe"
 PREFIX="RollerCoasterTycoon_gog"
-WORKING_WINE_VERSION="1.6.2"
+WORKING_WINE_VERSION="3.0.3"
 
 TITLE="GOG.com - RollerCoaster Tycoon: Deluxe"
 SHORTCUT_NAME="RollerCoaster Tycoon: Deluxe"

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2015-12-07 06-36)
# Last revision : (2015-12-23 04-52)
# Wine version used : 1.6.2
# Distribution used to test : Debian Sid (Unstable)
# Author : Gabriel Huber huberg18@gmail.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

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

GOGID="rollercoaster_tycoon_deluxe"
PREFIX="RollerCoasterTycoon_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - RollerCoaster Tycoon: Deluxe"
SHORTCUT_NAME="RollerCoaster Tycoon: Deluxe"

# Manually set the install location because we're not using the installer
# Has to match with the one in the registry patch for the DRM to work
INSTALL_LOCATION="drive_c/GOG Games/RollerCoaster Tycoon Deluxe/"

#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 2683
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Chris Sawyer Productions / Atari" \
    "http://www.gog.com/game/$GOGID" "Gabriel Huber" "$PREFIX"

# Get setup path
POL_Call POL_GoG_setup "$GOGID" "c6516a80d361a70fd5866fdd18004c46"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_System_TmpCreate "$PREFIX"

INSTALL_PATH="${WINEPREFIX}/${INSTALL_LOCATION}"

# Extract the game files
POL_Call POL_innoextract "$POL_GoG_location" "$POL_System_TmpDir" "$INSTALL_PATH"

# Apply the registry patch
cat > "$POL_System_TmpDir/rct1.reg" << EOF
REGEDIT4

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group]


[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]


[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Title"="Roll"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Path"="C:\\\\GOG Games\\\\RollerCoaster Tycoon Deluxe"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"SetupPath"="C:\\\\GOG Games\\\\RollerCoaster Tycoon Deluxe"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Executable"="RCT.EXE"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"FontPointSize"=dword:0000000c

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Language"=dword:00000000

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"CDKey"=dword:00000000

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"CharSet"=dword:00000000

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"FontFaceName"="MS Sans Serif"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"OKPrompt"="OK"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"CancelPrompt"="Cancel"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"AddOn"=dword:00000001

EOF

POL_Wine regedit "$POL_System_TmpDir/rct1.reg"

POL_System_TmpDelete

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "RCT.EXE" "$SHORTCUT_NAME" "" "" "Game;Simulation;"
POL_Shortcut_Document "$SHORTCUT_NAME" "${INSTALL_PATH}manual.pdf"

POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"

POL_SetupWindow_Close

exit 0

Réponses

floleg Dimanche 26 September 2021 à 21:24
floleg Anonymous

Messages

Hi guys!

First of all, thanks for the great work on the installer. Overall, the game runs pretty well on my Arch Linux installation and seems pretty stable.

I'm, however, facing as well an issue with the save / load saved game functionnality. Whether in full screen or windowed mode, the program keeps crashing when entering the load / save game screen from the start menu or in game. Here's what I get from the debug log file, not much though:

[09/26/21 21:08:28] - Running wine-1.6.2 RCT.EXE (Working directory : ~/.PlayOnLinux/wineprefix/RollerCoasterTycoon_gog/drive_c/GOG Games/RollerCoaster Tycoon Deluxe)
fixme:win:EnumDisplayDevicesW ((null),0,0x32f628,0x00000000), stub!
../mesa-21.2.2/src/intel/isl/isl.c:2095: FINISHME: ../mesa-21.2.2/src/intel/isl/isl.c:isl_surf_supports_ccs: CCS for 3D textures is disabled, but a workaround is available.
wine: Unhandled page fault on read access to 0x00000004 at address 0x7e88fc64 (thread 0009), starting debugger...
winedbg: Internal crash at 0x7e628c64

Hope it helps to find a workaround, let me know what you think and if you need more information about my setup.

Réponses

biga Dimanche 29 Mai 2016 à 22:13
biga Anonymous

Messages

Game runs perfect except saving and loading. When you save or load a game colours become wrong.

It requires a trick. You need to set wine to run game in a window. Then you can change resolution in game options menu. When colours become messed up after save or load, you have to change resolution in game menu. Then colours are normal again. You have to change ingame resolution after every save or load but it is very quick.

Next good hint for this game is to set up your linux desktop resolution to 1024x768 and wine window also to 1024x768. If you do that and then set your ingame resolution also to 1024x768 you play fullscreen which is fine for mouse scrolling.

 

 

Réponses

Anonymous
Mercredi 1 Juin 2016 à 16:19
Thanks for posting a solution! Changing the resolution could also be automated with xrandr like this:
xrandr --output DVI-I-0 --mode 1024x768
feli-srael Samedi 6 Février 2016 à 4:56
feli-srael Anonymous

Messages

Hello,
Thank you for the installation script of the game. And thanks to the site "GOG.com" which provided the installation file for a fair price (-:

I want to report a bug, installation went smoothly, and the game works great, just like I remember from childhood. But the option to save a game or load game keeps malfunctioning, any attempt to save a game or load a saved game, causes disruption of the graphics of the game, so that in fact is not possible to save or load saved game.

Attaching a link to a screenshot of the problem.
Save Game:
link 1, link 2, link 3

Loading game
link 1, link 2, link 3

Sorry in advance that I would not join any technical details, I'm not a technical one, just a simple end user. I use Ubuntu 14.04 and playnolinux version 4.2.10, Hope it useful detail. And I will be happy to provide additional information if requested.

Thank you for reading and joyful day.

Feli ^^

Réponses

Anonymous
Dimanche 29 Mai 2016 à 22:14
It has solution look at my post.
Anonymous
Mercredi 1 Juin 2016 à 16:07
Sorry for the late response, I somehow missed the notification. The broken colors seem to be a well known problem with the only fix being the one biga described. :(
petch Dimanche 27 Décembre 2015 à 12:29
petch

Warning

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

Messages

Add localization support to final message

Differences

@@ -102,7 +102,7 @@
 POL_Shortcut "RCT.EXE" "$SHORTCUT_NAME" "" "" "Game;Simulation;"
 POL_Shortcut_Document "$SHORTCUT_NAME" "${INSTALL_PATH}manual.pdf"
 
-POL_SetupWindow_message "$TITLE has been successfully installed." "$TITLE"
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"
 
 POL_SetupWindow_Close
 

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2015-12-07 06-36)
# Last revision : (2015-12-23 04-52)
# Wine version used : 1.6.2
# Distribution used to test : Debian Sid (Unstable)
# Author : Gabriel Huber huberg18@gmail.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

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

GOGID="rollercoaster_tycoon_deluxe"
PREFIX="RollerCoasterTycoon_gog"
WORKING_WINE_VERSION="1.6.2"

TITLE="GOG.com - RollerCoaster Tycoon: Deluxe"
SHORTCUT_NAME="RollerCoaster Tycoon: Deluxe"

# Manually set the install location because we're not using the installer
# Has to match with the one in the registry patch for the DRM to work
INSTALL_LOCATION="drive_c/GOG Games/RollerCoaster Tycoon Deluxe/"

#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 2683
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Chris Sawyer Productions / Atari" \
    "http://www.gog.com/game/$GOGID" "Gabriel Huber" "$PREFIX"

# Get setup path
POL_Call POL_GoG_setup "$GOGID" "c6516a80d361a70fd5866fdd18004c46"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_System_TmpCreate "$PREFIX"

INSTALL_PATH="${WINEPREFIX}/${INSTALL_LOCATION}"

# Extract the game files
POL_Call POL_innoextract "$POL_GoG_location" "$POL_System_TmpDir" "$INSTALL_PATH"

# Apply the registry patch
cat > "$POL_System_TmpDir/rct1.reg" << EOF
REGEDIT4

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group]


[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]


[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Title"="Roll"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Path"="C:\\\\GOG Games\\\\RollerCoaster Tycoon Deluxe"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"SetupPath"="C:\\\\GOG Games\\\\RollerCoaster Tycoon Deluxe"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Executable"="RCT.EXE"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"FontPointSize"=dword:0000000c

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Language"=dword:00000000

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"CDKey"=dword:00000000

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"CharSet"=dword:00000000

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"FontFaceName"="MS Sans Serif"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"OKPrompt"="OK"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"CancelPrompt"="Cancel"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"AddOn"=dword:00000001

EOF

POL_Wine regedit "$POL_System_TmpDir/rct1.reg"

POL_System_TmpDelete

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "RCT.EXE" "$SHORTCUT_NAME" "" "" "Game;Simulation;"
POL_Shortcut_Document "$SHORTCUT_NAME" "${INSTALL_PATH}manual.pdf"

POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"

POL_SetupWindow_Close

exit 0

Réponses

Dimanche 27 Décembre 2015 à 12:34
By the way there's still some oddity:
POL_Shortcut_Document "$SHORTCUT_NAME" "${INSTALL_PATH}manual.pdf"
$INSTALL_PATH doesn't seem to be defined, maybe it works because PoL 4.2.7+ POL_Shortcut_Document will search for the document on their own?
One other trick, by using
cat > "$POL_System_TmpDir/rct1.reg" << 'EOF'
you can remove the need to double all \s (but it disables variables expansion)
Anonymous
Dimanche 27 Décembre 2015 à 19:53
$INSTALL_PATH gets defined as a local variable inside POL_innoextract as well, maybe that's the reason it gets cleared. Thanks for the cat trick!
Anonymous
Dimanche 3 Janvier 2016 à 1:21
I could not reproduce the INSTALL_PATH issue, it's defined and correct for me. Can you test it again and maybe figure out what the problem is?
Dimanche 3 Janvier 2016 à 4:11
My bad, I missed that it's defined explicitly here:
INSTALL_PATH="${WINEPREFIX}/${INSTALL_LOCATION}"
Yepoleb Mercredi 23 Décembre 2015 à 4:54
Yepoleb Anonymous

Warning

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

Messages

Changed the finished message to the recommended one.

Differences

@@ -0,0 +1,109 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2015-12-07 06-36)
+# Last revision : (2015-12-23 04-52)
+# Wine version used : 1.6.2
+# Distribution used to test : Debian Sid (Unstable)
+# Author : Gabriel Huber huberg18@gmail.com
+# Script licence : GPL v.2
+# Program licence : Retail
+# Depend :
+
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+GOGID="rollercoaster_tycoon_deluxe"
+PREFIX="RollerCoasterTycoon_gog"
+WORKING_WINE_VERSION="1.6.2"
+
+TITLE="GOG.com - RollerCoaster Tycoon: Deluxe"
+SHORTCUT_NAME="RollerCoaster Tycoon: Deluxe"
+
+# Manually set the install location because we're not using the installer
+# Has to match with the one in the registry patch for the DRM to work
+INSTALL_LOCATION="drive_c/GOG Games/RollerCoaster Tycoon Deluxe/"
+
+#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 2683
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "Chris Sawyer Productions / Atari" \
+    "http://www.gog.com/game/$GOGID" "Gabriel Huber" "$PREFIX"
+
+# Get setup path
+POL_Call POL_GoG_setup "$GOGID" "c6516a80d361a70fd5866fdd18004c46"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_System_TmpCreate "$PREFIX"
+
+INSTALL_PATH="${WINEPREFIX}/${INSTALL_LOCATION}"
+
+# Extract the game files
+POL_Call POL_innoextract "$POL_GoG_location" "$POL_System_TmpDir" "$INSTALL_PATH"
+
+# Apply the registry patch
+cat > "$POL_System_TmpDir/rct1.reg" << EOF
+REGEDIT4
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group]
+
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"Title"="Roll"
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"Path"="C:\\\\GOG Games\\\\RollerCoaster Tycoon Deluxe"
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"SetupPath"="C:\\\\GOG Games\\\\RollerCoaster Tycoon Deluxe"
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"Executable"="RCT.EXE"
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"FontPointSize"=dword:0000000c
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"Language"=dword:00000000
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"CDKey"=dword:00000000
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"CharSet"=dword:00000000
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"FontFaceName"="MS Sans Serif"
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"OKPrompt"="OK"
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"CancelPrompt"="Cancel"
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"AddOn"=dword:00000001
+
+EOF
+
+POL_Wine regedit "$POL_System_TmpDir/rct1.reg"
+
+POL_System_TmpDelete
+
+# Doesn't hurt ;)
+POL_Wine_reboot
+
+POL_Shortcut "RCT.EXE" "$SHORTCUT_NAME" "" "" "Game;Simulation;"
+POL_Shortcut_Document "$SHORTCUT_NAME" "${INSTALL_PATH}manual.pdf"
+
+POL_SetupWindow_message "$TITLE has been successfully installed." "$TITLE"
+
+POL_SetupWindow_Close
+
+exit 0

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2015-12-07 06-36)
# Last revision : (2015-12-23 04-52)
# Wine version used : 1.6.2
# Distribution used to test : Debian Sid (Unstable)
# Author : Gabriel Huber huberg18@gmail.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

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

GOGID="rollercoaster_tycoon_deluxe"
PREFIX="RollerCoasterTycoon_gog"
WORKING_WINE_VERSION="1.6.2"

TITLE="GOG.com - RollerCoaster Tycoon: Deluxe"
SHORTCUT_NAME="RollerCoaster Tycoon: Deluxe"

# Manually set the install location because we're not using the installer
# Has to match with the one in the registry patch for the DRM to work
INSTALL_LOCATION="drive_c/GOG Games/RollerCoaster Tycoon Deluxe/"

#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 2683
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Chris Sawyer Productions / Atari" \
    "http://www.gog.com/game/$GOGID" "Gabriel Huber" "$PREFIX"

# Get setup path
POL_Call POL_GoG_setup "$GOGID" "c6516a80d361a70fd5866fdd18004c46"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_System_TmpCreate "$PREFIX"

INSTALL_PATH="${WINEPREFIX}/${INSTALL_LOCATION}"

# Extract the game files
POL_Call POL_innoextract "$POL_GoG_location" "$POL_System_TmpDir" "$INSTALL_PATH"

# Apply the registry patch
cat > "$POL_System_TmpDir/rct1.reg" << EOF
REGEDIT4

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group]


[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]


[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Title"="Roll"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Path"="C:\\\\GOG Games\\\\RollerCoaster Tycoon Deluxe"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"SetupPath"="C:\\\\GOG Games\\\\RollerCoaster Tycoon Deluxe"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Executable"="RCT.EXE"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"FontPointSize"=dword:0000000c

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Language"=dword:00000000

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"CDKey"=dword:00000000

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"CharSet"=dword:00000000

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"FontFaceName"="MS Sans Serif"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"OKPrompt"="OK"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"CancelPrompt"="Cancel"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"AddOn"=dword:00000001

EOF

POL_Wine regedit "$POL_System_TmpDir/rct1.reg"

POL_System_TmpDelete

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "RCT.EXE" "$SHORTCUT_NAME" "" "" "Game;Simulation;"
POL_Shortcut_Document "$SHORTCUT_NAME" "${INSTALL_PATH}manual.pdf"

POL_SetupWindow_message "$TITLE has been successfully installed." "$TITLE"

POL_SetupWindow_Close

exit 0

Réponses

Samedi 26 Décembre 2015 à 16:51
Current policy is no finishing message, PoL will (or at least, should) display an error dialog box if some step went wrong, suggesting to submit a bug report. The two are not compatible, as successively displaying a success and a failure message will surely confuse users ;)
Anonymous
Samedi 26 Décembre 2015 à 23:37
I didn't have a finish message at first, but added it later after some testing. It's very confusing when you minimize the window and suddenly it's gone. I was wondering if the script finished, crashed or maybe I even forgot to run it. In normal scripts the finish message is provided by the native installer, but that's not the case here, because we work around it.
Yepoleb Lundi 21 Décembre 2015 à 5:53
Yepoleb Anonymous

Warning

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

Messages

Depends on POL_innoextract, has to be approved first.

Differences

@@ -0,0 +1,109 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2015-12-07 06-36)
+# Last revision : (2015-12-21 03-50)
+# Wine version used : 1.6.2
+# Distribution used to test : Debian Sid (Unstable)
+# Author : Gabriel Huber huberg18@gmail.com
+# Script licence : GPL v.2
+# Program licence : Retail
+# Depend :
+
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+GOGID="rollercoaster_tycoon_deluxe"
+PREFIX="RollerCoasterTycoon_gog"
+WORKING_WINE_VERSION="1.6.2"
+
+TITLE="GOG.com - RollerCoaster Tycoon: Deluxe"
+SHORTCUT_NAME="RollerCoaster Tycoon: Deluxe"
+
+# Manually set the install location because we're not using the installer
+# Has to match with the one in the registry patch for the DRM to work
+INSTALL_LOCATION="drive_c/GOG Games/RollerCoaster Tycoon Deluxe/"
+
+#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 2683
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "Chris Sawyer Productions / Atari" \
+    "http://www.gog.com/game/$GOGID" "Gabriel Huber" "$PREFIX"
+
+# Get setup path
+POL_Call POL_GoG_setup "$GOGID" "c6516a80d361a70fd5866fdd18004c46"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_System_TmpCreate "$PREFIX"
+
+INSTALL_PATH="${WINEPREFIX}/${INSTALL_LOCATION}"
+
+# Extract the game files
+POL_Call POL_innoextract "$POL_GoG_location" "$POL_System_TmpDir" "$INSTALL_PATH"
+
+# Apply the registry patch
+cat > "$POL_System_TmpDir/rct1.reg" << EOF
+REGEDIT4
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group]
+
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"Title"="Roll"
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"Path"="C:\\\\GOG Games\\\\RollerCoaster Tycoon Deluxe"
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"SetupPath"="C:\\\\GOG Games\\\\RollerCoaster Tycoon Deluxe"
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"Executable"="RCT.EXE"
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"FontPointSize"=dword:0000000c
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"Language"=dword:00000000
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"CDKey"=dword:00000000
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"CharSet"=dword:00000000
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"FontFaceName"="MS Sans Serif"
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"OKPrompt"="OK"
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"CancelPrompt"="Cancel"
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
+"AddOn"=dword:00000001
+
+EOF
+
+POL_Wine regedit "$POL_System_TmpDir/rct1.reg"
+
+POL_System_TmpDelete
+
+# Doesn't hurt ;)
+POL_Wine_reboot
+
+POL_Shortcut "RCT.EXE" "$SHORTCUT_NAME" "" "" "Game;Simulation;"
+POL_Shortcut_Document "$SHORTCUT_NAME" "${INSTALL_PATH}manual.pdf"
+
+POL_SetupWindow_message "Installation complete." "$TITLE"
+
+POL_SetupWindow_Close
+
+exit 0

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2015-12-07 06-36)
# Last revision : (2015-12-21 03-50)
# Wine version used : 1.6.2
# Distribution used to test : Debian Sid (Unstable)
# Author : Gabriel Huber huberg18@gmail.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

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

GOGID="rollercoaster_tycoon_deluxe"
PREFIX="RollerCoasterTycoon_gog"
WORKING_WINE_VERSION="1.6.2"

TITLE="GOG.com - RollerCoaster Tycoon: Deluxe"
SHORTCUT_NAME="RollerCoaster Tycoon: Deluxe"

# Manually set the install location because we're not using the installer
# Has to match with the one in the registry patch for the DRM to work
INSTALL_LOCATION="drive_c/GOG Games/RollerCoaster Tycoon Deluxe/"

#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 2683
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Chris Sawyer Productions / Atari" \
    "http://www.gog.com/game/$GOGID" "Gabriel Huber" "$PREFIX"

# Get setup path
POL_Call POL_GoG_setup "$GOGID" "c6516a80d361a70fd5866fdd18004c46"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_System_TmpCreate "$PREFIX"

INSTALL_PATH="${WINEPREFIX}/${INSTALL_LOCATION}"

# Extract the game files
POL_Call POL_innoextract "$POL_GoG_location" "$POL_System_TmpDir" "$INSTALL_PATH"

# Apply the registry patch
cat > "$POL_System_TmpDir/rct1.reg" << EOF
REGEDIT4

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group]


[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]


[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Title"="Roll"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Path"="C:\\\\GOG Games\\\\RollerCoaster Tycoon Deluxe"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"SetupPath"="C:\\\\GOG Games\\\\RollerCoaster Tycoon Deluxe"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Executable"="RCT.EXE"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"FontPointSize"=dword:0000000c

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"Language"=dword:00000000

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"CDKey"=dword:00000000

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"CharSet"=dword:00000000

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"FontFaceName"="MS Sans Serif"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"OKPrompt"="OK"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"CancelPrompt"="Cancel"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Fish Technology Group\\RollerCoaster Tycoon Setup]
"AddOn"=dword:00000001

EOF

POL_Wine regedit "$POL_System_TmpDir/rct1.reg"

POL_System_TmpDelete

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "RCT.EXE" "$SHORTCUT_NAME" "" "" "Game;Simulation;"
POL_Shortcut_Document "$SHORTCUT_NAME" "${INSTALL_PATH}manual.pdf"

POL_SetupWindow_message "Installation complete." "$TITLE"

POL_SetupWindow_Close

exit 0

Réponses

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