GOG.com - RollerCoaster Tycoon 3

Informations

Creator Message
Yepoleb Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 13399
Wine:

Feedbacks

Description

RollerCoaster Tycoon 3 is an amusement park simulator.

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-12-06 01-12)
# Last revision : 
# Wine version used :
# Distribution used to test : Debian Sid (Unstable)
# Author : Gabriel Huber huberg18@gmail.com / MTres19
#
# CHANGELOG
# [Gabriel Huber or MTres19] (2015-12-06 01-12)
#   Initial script.
# [Yepoleb] (2015-12-06 19-18)
#   ?
# [Dadu042] (2020-04-22 21:00).
#   Wine 1.8-rc1 (outdated) -> system

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

GOGID="rollercoaster_tycoon_3"
PREFIX="RollerCoasterTycoon3_gog"
WORKING_WINE_VERSION=""

TITLE="GOG.com - RollerCoaster Tycoon 3"
SHORTCUT_NAME="RollerCoaster Tycoon 3: Platinum!"

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

POL_SetupWindow_presentation "$TITLE" "Frontier Developments / Atari" "http://www.gog.com/game/$GOGID" "Gabriel Huber" "$PREFIX"
POL_SetupWindow_message "$(eval_gettext 'At the end of the installation process you might get a few runtime errors, ignore them for now.')" "$TITLE"

POL_Call POL_GoG_setup "$GOGID" "0efb0a51c9edba3699e657d929c88d4f"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# FIXME: Fixes sound, but makes game freeze after quiting
# POL_Call POL_Install_DirectShowFiltersFix

POL_Call POL_GoG_install

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "32"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "RCT3plus.exe" "$SHORTCUT_NAME" "" "" "Game;Simulation;"
MANUAL_PATH=`find $WINEPREFIX -iname "RCT3_MANUAL_GBR.pdf"`
POL_Shortcut_Document "$SHORTCUT_NAME" "$MANUAL_PATH"

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Wednesday 22 April 2020 at 22:00
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,16 +1,24 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2015-12-06 01-12)
-# Last revision : (2015-12-06 19-18)
-# Wine version used : 1.6.2
+# Last revision : 
+# Wine version used :
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Gabriel Huber huberg18@gmail.com / MTres19
+#
+# CHANGELOG
+# [Gabriel Huber or MTres19] (2015-12-06 01-12)
+#   Initial script.
+# [Yepoleb] (2015-12-06 19-18)
+#   ?
+# [Dadu042] (2020-04-22 21:00).
+#   Wine 1.8-rc1 (outdated) -> system
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="rollercoaster_tycoon_3"
 PREFIX="RollerCoasterTycoon3_gog"
-WORKING_WINE_VERSION="1.8-rc1"
+WORKING_WINE_VERSION=""
 
 TITLE="GOG.com - RollerCoaster Tycoon 3"
 SHORTCUT_NAME="RollerCoaster Tycoon 3: Platinum!"
@@ -22,7 +30,7 @@
 POL_Debug_Init
 
 POL_SetupWindow_presentation "$TITLE" "Frontier Developments / Atari" "http://www.gog.com/game/$GOGID" "Gabriel Huber" "$PREFIX"
-POL_SetupWindow_message "$(eval_gettext 'At the end of the installation process you will get a few runtime errors, ignore them for now.')" "$TITLE"
+POL_SetupWindow_message "$(eval_gettext 'At the end of the installation process you might get a few runtime errors, ignore them for now.')" "$TITLE"
 
 POL_Call POL_GoG_setup "$GOGID" "0efb0a51c9edba3699e657d929c88d4f"
 
@@ -31,7 +39,7 @@
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
 # FIXME: Fixes sound, but makes game freeze after quiting
-#POL_Call POL_Install_DirectShowFiltersFix
+# POL_Call POL_Install_DirectShowFiltersFix
 
 POL_Call POL_GoG_install
 

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-12-06 01-12)
# Last revision : 
# Wine version used :
# Distribution used to test : Debian Sid (Unstable)
# Author : Gabriel Huber huberg18@gmail.com / MTres19
#
# CHANGELOG
# [Gabriel Huber or MTres19] (2015-12-06 01-12)
#   Initial script.
# [Yepoleb] (2015-12-06 19-18)
#   ?
# [Dadu042] (2020-04-22 21:00).
#   Wine 1.8-rc1 (outdated) -> system

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

GOGID="rollercoaster_tycoon_3"
PREFIX="RollerCoasterTycoon3_gog"
WORKING_WINE_VERSION=""

TITLE="GOG.com - RollerCoaster Tycoon 3"
SHORTCUT_NAME="RollerCoaster Tycoon 3: Platinum!"

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

POL_SetupWindow_presentation "$TITLE" "Frontier Developments / Atari" "http://www.gog.com/game/$GOGID" "Gabriel Huber" "$PREFIX"
POL_SetupWindow_message "$(eval_gettext 'At the end of the installation process you might get a few runtime errors, ignore them for now.')" "$TITLE"

POL_Call POL_GoG_setup "$GOGID" "0efb0a51c9edba3699e657d929c88d4f"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# FIXME: Fixes sound, but makes game freeze after quiting
# POL_Call POL_Install_DirectShowFiltersFix

POL_Call POL_GoG_install

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "32"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "RCT3plus.exe" "$SHORTCUT_NAME" "" "" "Game;Simulation;"
MANUAL_PATH=`find $WINEPREFIX -iname "RCT3_MANUAL_GBR.pdf"`
POL_Shortcut_Document "$SHORTCUT_NAME" "$MANUAL_PATH"

POL_SetupWindow_Close

exit 0

Replies

Yepoleb Friday 11 December 2015 at 17:43
Yepoleb Anonymous

Warning

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

Message

All gog.com/gamecard/ urls automatically redirect to gog.com/game/

Differences

@@ -21,7 +21,7 @@
 POL_SetupWindow_SetID 2669
 POL_Debug_Init
 
-POL_SetupWindow_presentation "$TITLE" "Frontier Developments / Atari" "http://www.gog.com/gamecard/$GOGID" "Gabriel Huber" "$PREFIX"
+POL_SetupWindow_presentation "$TITLE" "Frontier Developments / Atari" "http://www.gog.com/game/$GOGID" "Gabriel Huber" "$PREFIX"
 POL_SetupWindow_message "$(eval_gettext 'At the end of the installation process you will get a few runtime errors, ignore them for now.')" "$TITLE"
 
 POL_Call POL_GoG_setup "$GOGID" "0efb0a51c9edba3699e657d929c88d4f"

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-12-06 01-12)
# Last revision : (2015-12-06 19-18)
# Wine version used : 1.6.2
# Distribution used to test : Debian Sid (Unstable)
# Author : Gabriel Huber huberg18@gmail.com / MTres19

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

GOGID="rollercoaster_tycoon_3"
PREFIX="RollerCoasterTycoon3_gog"
WORKING_WINE_VERSION="1.8-rc1"

TITLE="GOG.com - RollerCoaster Tycoon 3"
SHORTCUT_NAME="RollerCoaster Tycoon 3: Platinum!"

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

POL_SetupWindow_presentation "$TITLE" "Frontier Developments / Atari" "http://www.gog.com/game/$GOGID" "Gabriel Huber" "$PREFIX"
POL_SetupWindow_message "$(eval_gettext 'At the end of the installation process you will get a few runtime errors, ignore them for now.')" "$TITLE"

POL_Call POL_GoG_setup "$GOGID" "0efb0a51c9edba3699e657d929c88d4f"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# FIXME: Fixes sound, but makes game freeze after quiting
#POL_Call POL_Install_DirectShowFiltersFix

POL_Call POL_GoG_install

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "32"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "RCT3plus.exe" "$SHORTCUT_NAME" "" "" "Game;Simulation;"
MANUAL_PATH=`find $WINEPREFIX -iname "RCT3_MANUAL_GBR.pdf"`
POL_Shortcut_Document "$SHORTCUT_NAME" "$MANUAL_PATH"

POL_SetupWindow_Close

exit 0

Replies

MTres19 Thursday 10 December 2015 at 3:22
MTres19 Anonymous

Message

Are you sure POL_Install_DirectShowFiltersFix causes a freeze? It merely installs K-Lite codec pack and the LAV filters, and it's never caused any problems for me on the original retail CD version. (RCT3.exe rather than RCT3plus.exe)

Since PlayOnLinux shortcuts are actually shell scripts in ~/.PlayOnLinux/shortcuts, you could simply use echo to write a killall RCT3plus.exe to the end of it, if that might help. Unless, of course, RCT3 runs out of sync with the script.

There's also a new version of K-Lite already (the releases come out about every 10 days it seems), so you could try that instead.

It seems to me that working sound is important---otherwise the only sound is button clicks.

Replies

Anonymous
Thursday 10 December 2015 at 16:52
How do I know the game has to be killed? Detecting if it froze is probably very difficult, hacky and could false trigger. I've been playing without background music for some hours, it's not that big of a deal for me, but you're right that it should be fixed. Can you join the #playonlinux IRC-channel today around midnight UTC, so we can discuss this in detail?
Anonymous
Thursday 10 December 2015 at 23:28
Well, perhaps I could install the patch for RCT3 that would bring it up to the version that GOG packages, and run some tests. Unfortunately, I'll probably have to use a no-cd crack, since my disk for some reason seems to have come without DRM and Atari was no help at all. (Of course, the game's a bit old now.) Besides, there's the usual problem with Wine not liking DRM.
Anonymous
Thursday 10 December 2015 at 23:31
On a side note, it does look like detecting a freeze could be hard. If it stops any output with strace, which seems unlikely, maybe something could be done with that. Luckily for me, using a Wine virtual desktop lets me just click the "close" button and if it doesn't respond Plasma Shell will offer to kill the process.
Anonymous
Thursday 10 December 2015 at 23:38
Closing the virtual desktop is not a convenient solution for most users. Maybe I can PM you the download link.
Anonymous
Friday 11 December 2015 at 2:32
Breakthrough! I installed the patch to bring RCT3 to update 3, got a cracked exe (*wince*) and I think I got the freeze you were talking about. Sure enough, uninstalling K-Lite fixed it. But more importantly, when it froze, strace didn't show anything, though it does when it's running. So somehow monitoring strace would work, although it seems to drastically reduce performance when I do. Perhaps the script could ask whether the person installing the game wants full sound or speed. Or, perhaps somehow it could check, say, every 30 seconds, to see if there's output from strace. Unfortunately, I don't have the time to do that right now, but it would probably not be too difficult to write in bash and call the script just prior to running. Perhaps it could even be made into a POL function script.
Anonymous
Friday 11 December 2015 at 5:40
Like I said, killing the process is not an option for me, we have to find a proper solution. Monitoring strace may work on your private system, but it's not something you can put online for a few thousand people to use. I just found an article suggesting to install Windows Media Player 10 to get WMA playback working, maybe that'll be successful.
Anonymous
Friday 11 December 2015 at 12:26
Yes, perhaps so. There might be a better codec pack to try. I guess I'll install K-Lite on a real Windows vomputer along with RCT3
Anonymous
Friday 11 December 2015 at 12:31
Whoops, computer. Installing WMP10 was actually one of the POL_Calls the script used to make before I realized that it was a problem with DirectShow itself, not WMP. Wine doesn't seem to package the proper codecs as part of its DirectShow implementation, so you have to use a codec pack. There's FFDShow, but that seems to have been abandoned for some time now. Media Player Codec Pack, which this script previously used doesn't seem to have a silent install and now packages annoying ads, so I'll look, I guess.
Anonymous
Friday 11 December 2015 at 14:50
Getting around an annoying installer isn't an uncommon task, I can probably put a script together using cabextract in a few hours.
Anonymous
Saturday 12 December 2015 at 1:00
Okay, I tried Media Player Codec Pack and Combined Community Codec Pack. Neither worked. I suppose I'll try FFDShow again, but if that doesn't work, we might be out of luck. I also noticed that starting a park doesn't seem to work with K-Lite installed---it gets frozen there too.
Anonymous
Saturday 12 December 2015 at 1:28
I did some testing and found out that Media Player Codec Pack and K-Lite both use the same codec to play wma/wmv, which is LAVFilters. We shouldn't need any of the other stuff packaged in them and only the encodings wmav2 and wmv3. LAVFilters has a Github page with downloads, I much prefer that to the bundled installers. I think the crash only happens when certain formats are enabled, so that's the next thing I'll try.
Anonymous
Saturday 12 December 2015 at 2:00
Great! By all means try! FFDShow didn't work, from what I tested. But make sure that you make LAV the default for WMA and WMV.
Anonymous
Saturday 12 December 2015 at 2:31
Okay, I tried that, and it works... partially. The WMV videos that make the animated logos while the game starts play, but something seems to be misconfigured with the audio part.
Anonymous
Saturday 12 December 2015 at 2:41
Interestingly, it seems that changes I make with the LAV Audio configuration GUI don't get applied...
Anonymous
Saturday 12 December 2015 at 2:50
Yeah, I noticed that as well, but it doesn't show any errors.
Anonymous
Saturday 12 December 2015 at 3:20
I dumped the LAV configuration from a virtual machine: https://gist.github.com/Yepoleb/f3ad29f0d2176d893208
Can you show me how to set the codec as default?
Anonymous
Saturday 12 December 2015 at 6:27
I got the Frontier and Atari animations working with pure LAV, but the music still doesn't play. That's weird, because videos and music use the same audio codec and it works for the videos. I guess it's a problem with the file format. Maybe we actually do need one of the extra spliters in K-Lite, just for the container. I'm going to bed now, can't believe I'm putting so many hours into this.
Anonymous
Sunday 13 December 2015 at 5:17
I could get audio playing by manually assigning the filters in GraphStudio, a tool for creating DirectShow graphs, but not automatically. WMV on the other hand works perfectly. K-Lite doesn't contain an additional required splitter, it just sets some registry keys. All filters we need are part of LAV.
Anonymous
Friday 18 December 2015 at 0:20
According to LAVFilters' GitHub page, DirectShow uses "merit" levels, and that LAVFilters registers with a high merit, so it should be default. However, this doesn't seem to be the case with the audio part, and I don't know how to change merit levels.
Anonymous
Friday 18 December 2015 at 0:23
I used DSFM from http://www.softella.com/dsfm/index.en.htm to change the merits, but it didn't help.
Anonymous
Friday 18 December 2015 at 21:03
Strange. In that case, I have no ideas left. However, the K-Lite installer says they're interested in how it works in Wine. Perhaps they'd help.
Anonymous
Thursday 25 February 2016 at 19:04
So I tried using K-Lite with LAV on a real Windows computer with RCT3plus.exe, and there aren't any freezes. I suppose I could open a WineHQ account and file a bug... *sigh* Of course, I'd also have to redo everything outside of PlayOnLinux, since they apparently don't really like POL.
Yepoleb Sunday 6 December 2015 at 21:43
Yepoleb Anonymous

Warning

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

Differences

@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env playonlinux-bash
 # Date : (2015-12-06 01-12)
 # Last revision : (2015-12-06 19-18)
 # Wine version used : 1.6.2
@@ -44,7 +44,8 @@
 POL_Wine_reboot
 
 POL_Shortcut "RCT3plus.exe" "$SHORTCUT_NAME" "" "" "Game;Simulation;"
-POL_Shortcut_Document "$SHORTCUT_NAME" "RCT3_MANUAL_GBR.pdf"
+MANUAL_PATH=`find $WINEPREFIX -iname "RCT3_MANUAL_GBR.pdf"`
+POL_Shortcut_Document "$SHORTCUT_NAME" "$MANUAL_PATH"
 
 POL_SetupWindow_Close
 

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-12-06 01-12)
# Last revision : (2015-12-06 19-18)
# Wine version used : 1.6.2
# Distribution used to test : Debian Sid (Unstable)
# Author : Gabriel Huber huberg18@gmail.com / MTres19

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

GOGID="rollercoaster_tycoon_3"
PREFIX="RollerCoasterTycoon3_gog"
WORKING_WINE_VERSION="1.8-rc1"

TITLE="GOG.com - RollerCoaster Tycoon 3"
SHORTCUT_NAME="RollerCoaster Tycoon 3: Platinum!"

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

POL_SetupWindow_presentation "$TITLE" "Frontier Developments / Atari" "http://www.gog.com/gamecard/$GOGID" "Gabriel Huber" "$PREFIX"
POL_SetupWindow_message "$(eval_gettext 'At the end of the installation process you will get a few runtime errors, ignore them for now.')" "$TITLE"

POL_Call POL_GoG_setup "$GOGID" "0efb0a51c9edba3699e657d929c88d4f"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# FIXME: Fixes sound, but makes game freeze after quiting
#POL_Call POL_Install_DirectShowFiltersFix

POL_Call POL_GoG_install

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "32"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "RCT3plus.exe" "$SHORTCUT_NAME" "" "" "Game;Simulation;"
MANUAL_PATH=`find $WINEPREFIX -iname "RCT3_MANUAL_GBR.pdf"`
POL_Shortcut_Document "$SHORTCUT_NAME" "$MANUAL_PATH"

POL_SetupWindow_Close

exit 0

Replies

Yepoleb Sunday 6 December 2015 at 19:29
Yepoleb Anonymous

Warning

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

Differences

@@ -1,23 +1,21 @@
 #!/bin/bash
 # Date : (2015-12-06 01-12)
-# Last revision : (2015-12-06 01-12)
+# Last revision : (2015-12-06 19-18)
 # Wine version used : 1.6.2
 # Distribution used to test : Debian Sid (Unstable)
-# Author : Gabriel Huber huberg18@gmail.com
-# Program licence : Retail
-# Depend :
+# Author : Gabriel Huber huberg18@gmail.com / MTres19
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="rollercoaster_tycoon_3"
 PREFIX="RollerCoasterTycoon3_gog"
-WORKING_WINE_VERSION="1.6.2"
+WORKING_WINE_VERSION="1.8-rc1"
 
 TITLE="GOG.com - RollerCoaster Tycoon 3"
 SHORTCUT_NAME="RollerCoaster Tycoon 3: Platinum!"
 
-#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+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 2669
@@ -29,8 +27,12 @@
 POL_Call POL_GoG_setup "$GOGID" "0efb0a51c9edba3699e657d929c88d4f"
 
 POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
+# FIXME: Fixes sound, but makes game freeze after quiting
+#POL_Call POL_Install_DirectShowFiltersFix
+
 POL_Call POL_GoG_install
 
 # GoG work!
@@ -46,4 +48,4 @@
 
 POL_SetupWindow_Close
 
-exit 0
\ No newline at end of file
+exit 0

New source code

#!/bin/bash
# Date : (2015-12-06 01-12)
# Last revision : (2015-12-06 19-18)
# Wine version used : 1.6.2
# Distribution used to test : Debian Sid (Unstable)
# Author : Gabriel Huber huberg18@gmail.com / MTres19

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

GOGID="rollercoaster_tycoon_3"
PREFIX="RollerCoasterTycoon3_gog"
WORKING_WINE_VERSION="1.8-rc1"

TITLE="GOG.com - RollerCoaster Tycoon 3"
SHORTCUT_NAME="RollerCoaster Tycoon 3: Platinum!"

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

POL_SetupWindow_presentation "$TITLE" "Frontier Developments / Atari" "http://www.gog.com/gamecard/$GOGID" "Gabriel Huber" "$PREFIX"
POL_SetupWindow_message "$(eval_gettext 'At the end of the installation process you will get a few runtime errors, ignore them for now.')" "$TITLE"

POL_Call POL_GoG_setup "$GOGID" "0efb0a51c9edba3699e657d929c88d4f"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# FIXME: Fixes sound, but makes game freeze after quiting
#POL_Call POL_Install_DirectShowFiltersFix

POL_Call POL_GoG_install

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "32"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "RCT3plus.exe" "$SHORTCUT_NAME" "" "" "Game;Simulation;"
POL_Shortcut_Document "$SHORTCUT_NAME" "RCT3_MANUAL_GBR.pdf"

POL_SetupWindow_Close

exit 0

Replies

Edited by petch

Yepoleb Sunday 6 December 2015 at 6:15
Yepoleb Anonymous

Warning

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

Differences

@@ -0,0 +1,49 @@
+#!/bin/bash
+# Date : (2015-12-06 01-12)
+# Last revision : (2015-12-06 01-12)
+# Wine version used : 1.6.2
+# Distribution used to test : Debian Sid (Unstable)
+# Author : Gabriel Huber huberg18@gmail.com
+# Program licence : Retail
+# Depend :
+
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+GOGID="rollercoaster_tycoon_3"
+PREFIX="RollerCoasterTycoon3_gog"
+WORKING_WINE_VERSION="1.6.2"
+
+TITLE="GOG.com - RollerCoaster Tycoon 3"
+SHORTCUT_NAME="RollerCoaster Tycoon 3: Platinum!"
+
+#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 2669
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "Frontier Developments / Atari" "http://www.gog.com/gamecard/$GOGID" "Gabriel Huber" "$PREFIX"
+POL_SetupWindow_message "$(eval_gettext 'At the end of the installation process you will get a few runtime errors, ignore them for now.')" "$TITLE"
+
+POL_Call POL_GoG_setup "$GOGID" "0efb0a51c9edba3699e657d929c88d4f"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_Call POL_GoG_install
+
+# GoG work!
+Set_OS winxp
+
+POL_SetupWindow_VMS "32"
+
+# Doesn't hurt ;)
+POL_Wine_reboot
+
+POL_Shortcut "RCT3plus.exe" "$SHORTCUT_NAME" "" "" "Game;Simulation;"
+POL_Shortcut_Document "$SHORTCUT_NAME" "RCT3_MANUAL_GBR.pdf"
+
+POL_SetupWindow_Close
+
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-12-06 01-12)
# Last revision : (2015-12-06 01-12)
# Wine version used : 1.6.2
# Distribution used to test : Debian Sid (Unstable)
# Author : Gabriel Huber huberg18@gmail.com
# Program licence : Retail
# Depend :

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

GOGID="rollercoaster_tycoon_3"
PREFIX="RollerCoasterTycoon3_gog"
WORKING_WINE_VERSION="1.6.2"

TITLE="GOG.com - RollerCoaster Tycoon 3"
SHORTCUT_NAME="RollerCoaster Tycoon 3: Platinum!"

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

POL_SetupWindow_presentation "$TITLE" "Frontier Developments / Atari" "http://www.gog.com/gamecard/$GOGID" "Gabriel Huber" "$PREFIX"
POL_SetupWindow_message "$(eval_gettext 'At the end of the installation process you will get a few runtime errors, ignore them for now.')" "$TITLE"

POL_Call POL_GoG_setup "$GOGID" "0efb0a51c9edba3699e657d929c88d4f"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "32"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "RCT3plus.exe" "$SHORTCUT_NAME" "" "" "Game;Simulation;"
POL_Shortcut_Document "$SHORTCUT_NAME" "RCT3_MANUAL_GBR.pdf"

POL_SetupWindow_Close

exit 0

Replies

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com