Railroad Tycoon II

Informations

Creator Message
odziom91

Warning

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

Informations

Platforms:
Downloads: 13322
Wine: 1.7.8-d3d_doublebuffer

Feedbacks

Description

Railroad Tycoon II is a railroad simulation that covers the entire history of railroads from inception to the present day (and beyond). The player chooses a map (scenario) and assumes the role of chairman of a railroad company. The player tries to make profits for investors (usually including the player) and completes various other objectives while being hindered by rivals, random events (train breakdowns, train robbers, economic swings) and scripted events particular to the scenario.

Appdb.winehq.org  

Source code

#!/bin/bash
# 
# App: Railroad Tycoon II Platinum Edition
# Category: Games
# Wine rating: Platinum
# Date : (2014-07-07 15-06)
# Last revision : (2014-07-07 15-06)
# Wine version used : 1.7.8-d3d_doublebuffer
# Distribution used to test : Linux Mint 17 "Qiana" x64
# Author : OdzioM
# Licence : Retail

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Railroad Tycoon II"
PREFIX="RT2"
WORKING_WINE_VERSION="1.7.8-d3d_doublebuffer"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "PopTop Software" "" "OdzioM" "$PREFIX"
POL_SetupWindow_message "$(eval_gettext 'This installer was created for Railroad Tycoon II Platinum Version\nIt should work with other editions of this game:\nRailroad Tycoon II (without addons)\nRailroad Tycoon II Gold Edition (with The Second Century addon)\n\nIf you have one of this two versions of this game, please give some information or bugs at official PlayOnLinux page - http://playonlinux.com/\n\nThank you!')" "$TITLE"

POL_System_TmpCreate "rt2tmp"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Choose installation mode:
POL_SetupWindow_menu_num "$(eval_gettext 'Select a version of installation disc:')" "$TITLE" "$(eval_gettext 'Retail CD (Platinum, Gold [test], first release [test])')~$(eval_gettext 'Railroad Tycoon Anthology disc (Polish Version)')~$(eval_gettext 'Other destination or other CD/DVD - first release, Gold, Platinum')" "~"

if [ "$APP_ANSWER" == "0" ]; then
        # Version from retail CD - Platinum, Gold [test], first release [test]
        POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disc drive.')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "setup.exe"
        SETUP_EXE="$CDROM/setup.exe"
elif [ "$APP_ANSWER" == "1" ]; then
        # Railroad Tycoon Anthology disc (Polish Version) - Platinum only
        POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disc drive.')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "_setup/setup.exe"
        SETUP_EXE="$CDROM/_setup/setup.exe"
elif [ "$APP_ANSWER" == "2" ]; then
        # Other destination or other CD/DVD - first release, Gold, Platinum
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
fi

POL_Wine "$SETUP_EXE"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_menu_num "$(eval_gettext 'What is your version of Railroad Tycoon II?')" "$TITLE" "$(eval_gettext 'First Release (without addons)')~$(eval_gettext 'Gold Edition')~$(eval_gettext 'Platinum Edition')" "~"

if [ "$APP_ANSWER" == "0" ]; then
        POL_Shortcut "RT2.EXE" "$TITLE"
elif [ "$APP_ANSWER" == "1" ]; then
        POL_Shortcut "RT2_GOLD.EXE" "$TITLE Gold"
elif [ "$APP_ANSWER" == "2" ]; then
        POL_Shortcut "RT2_PLAT.EXE" "$TITLE Platinum"
fi

# Complete message
POL_SetupWindow_message "$(eval_gettext 'Installation complete!\nTo run $TITLE please select $TITLE icon from your desktop.\n\nThank you for using this installation script! :)')" "$TITLE"

POL_System_TmpDelete
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
terryc Sunday 13 March 2016 at 9:02
terryc Anonymous

Message

This is the result of trying to install RT2 today. Same as other efforts.

Basic problem is that

i have absolutely no way of determing which version I have.

The DVD does make it clear, but the DVD is labell RT2-Gold. The pdf manuals say Railway Tycoon II and Railway Tycoon II; Second Century.also not cleart which setup.exe you want, the root one or the one in _setup.

[code]
PlayOnLinux debbuging tool (v4.2.5)
-----------------------------------------------
Debugging: Railroad Tycoon II
Warning. This is a PlayOnLinux script logfile. It does not contains everything that happened in your program virtual drive (wineprefix)
Please do not use this logfile on winehq forum, this logfile is not interesting for wine debugging.
Date: 03/08/16 21:32:42
> uname -a
  Linux dragonfly 4.3.0-0.bpo.1-amd64 #1 SMP Debian 4.3.5-1~bpo8+1 (2016-02-23) x86_64 GNU/Linux
> lsb_release -a
 
> wine --version (Be careful, this version might not be the version used
in the script. Read the content of this file for more information)
  wine-1.8
> glxinfo \| grep rendering
 
> glxinfo \| grep renderer
 
> OpenGL libs
 
 
> export
  declare -x AMD64_COMPATIBLE="True"
declare -x APPLICATION_TITLE="PlayOnLinux"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-9fR9zqGCFz,guid=d5594262b5c8f085e590ecad56de8439"
declare -x DEBIAN_PACKAGE="TRUE"
declare -x DESKTOP="/home/terryc/Desktop"
declare -x DESKTOP_SESSION="xfce"
declare -x DISPLAY=":0.1"
declare -x DONT_MONITOR="1"
declare -x DYLDPATH_ORIGIN=""
declare -x DYLD_LIBRARY_PATH=""
declare -x GECKO_SITE="http://www.playonlinux.com/wine/gecko"
declare -x GLADE_CATALOG_PATH=":"
declare -x GLADE_MODULE_PATH=":"
declare -x GLADE_PIXMAP_PATH=":"
declare -x GNUPGHOME="/home/terryc/.PlayOnLinux//gpg"
declare -x GPG_AGENT_INFO="/tmp/gpg-sS8oiX/S.gpg-agent:1301:1"
declare -x G_FILENAME_ENCODING="UTF-8"
declare -x HOME="/home/terryc"
declare -x IGNORE_ICON_DIR="false"
declare -x LANG="en_AU.UTF-8"
declare -x LANGUAGE="en_AU:en"
declare -x LD_32_PATH_ORIGIN=""
declare -x LD_LIBRARY_PATH=""
declare -x LD_PATH_ORIGIN=""
declare -x LOGNAME="terryc"
declare -x MACHTYPE="x86_64-pc-linux-gnu"
declare -x MD5_COMMAND="md5sum"
declare -x MONO_SITE="http://www.playonlinux.com/wine/mono"
declare -x OLDPWD="/home/terryc/.PlayOnLinux/plugins"
declare -x OS_NAME="linux"
declare -x OpenGL32="1"
declare -x OpenGL64="1"
declare -x PATH="/usr/local/bin:/usr/bin:/bin:/usr/games"
declare -x PATH_ORIGIN="/usr/local/bin:/usr/bin:/bin:/usr/games"
declare -x PLAYONLINUX="/usr/share/playonlinux"
declare -x POL_ARCH="x86"
declare -x POL_COOKIE="eJA1rEREJaeF6V8sbXox"
declare -x POL_CURL="curl"
declare -x POL_DNS="playonlinux.com"
declare -x POL_HOST="127.0.0.1"
declare -x POL_ID="61319499"
declare -x POL_LANG="en"
declare -x POL_OS="Linux"
declare -x POL_PORT="30000"
declare -x POL_PYTHON="python"
declare -x POL_SetupWindow_ID="9697"
declare -x POL_TERM="x-terminal-emulator"
declare -x POL_UPTODATE="FALSE"
declare -x POL_USER_ARCH="x86"
declare -x POL_USER_ROOT="/home/terryc/.PlayOnLinux/"
declare -x POL_WGET="wget --prefer-family=IPv4 -q"
declare -x PWD="/usr/share/playonlinux/python"
declare -x REPERTOIRE="/home/terryc/.PlayOnLinux/"
declare -x SCRIPTID="Railroad Tycoon II"
declare -x SED="sed"
declare -x SESSION_MANAGER="local/dragonfly:@/tmp/.ICE-unix/1294,unix/dragonfly:/tmp/.ICE-unix/1294"
declare -x SETUPWINDOW_INIT="true"
declare -x SHELL="/bin/bash"
declare -x SHLVL="3"
declare -x SITE="http://repository.playonlinux.com"
declare -x SSH_AGENT_PID="1190"
declare -x SSH_AUTH_SOCK="/tmp/ssh-8UN30GYaUxt1/agent.1151"
declare -x TEXTDOMAIN="pol"
declare -x TITLE="Railroad Tycoon II"
declare -x TITRE="PlayOnLinux"
declare -x UBUNTU_MENUPROXY="0"
declare -x USER="terryc"
declare -x VERSION="4.2.5"
declare -x WGETRC="/home/terryc/.PlayOnLinux//configurations/wgetrc"
declare -x WINDOWPATH="7"
declare -x WINEDLLOVERRIDES="winemenubuilder.exe=d"
declare -x WINEPREFIX="/home/terryc/.PlayOnLinux//wineprefix/default"
declare -x WINE_SITE="http://www.playonlinux.com/wine/binaries"
declare -x WorkingDirectory="/home/terryc"
declare -x XDG_CONFIG_DIRS="/etc/xdg"
declare -x XDG_CURRENT_DESKTOP="XFCE"
declare -x XDG_DATA_DIRS="/usr/share/xfce4:/usr/local/share/:/usr/share/:/usr/share"
declare -x XDG_MENU_PREFIX="xfce-"
declare -x XDG_RUNTIME_DIR="/run/user/1000"
declare -x XDG_SEAT="seat0"
declare -x XDG_SESSION_COOKIE="67d96d61622ea769c5a2f0c956da2870-1457423417.338569-1165235988"
declare -x XDG_SESSION_ID="c1"
declare -x XDG_VTNR="7"

03/08/16 21:33:09 - [POL_Wine_SelectPrefix] Message: Selecting prefix: RT2
03/08/16 21:33:09 - [POL_Wine_PrefixCreate] Message: Setting POL_WINEVERSION to 1.7.8-d3d_doublebuffer
03/08/16 21:33:09 - [POL_Wine_PrefixCreate] Message: Creating prefix (1.7.8-d3d_doublebuffer)...
03/08/16 21:33:09 - [POL_Wine_PrefixCreate] Message: Using wine 1.7.8-d3d_doublebuffer
03/08/16 21:33:09 - [POL_Wine_InstallVersion] Message: Installing wine version path: 1.7.8-d3d_doublebuffer, x86
03/08/16 21:37:06 - [POL_Wine_Install_resources] Message: Installing gecko for wine 1.7.8 x86
03/08/16 21:37:06 - [POL_Wine_Install_resources] Message: Linking gecko
03/08/16 21:37:06 - [POL_Wine_Install_resources] Message: wine_gecko-2.24-x86.msi already installed. Skipping
03/08/16 21:37:06 - [POL_Wine_Install_resources] Message: Installing mono for wine 1.7.8 x86
03/08/16 21:37:06 - [POL_Wine_Install_resources] Message: Linking mono
03/08/16 21:37:06 - [POL_Wine_Install_resources] Message: Installing wine-mono-0.0.8.msi
03/08/16 21:37:06 - [POL_Download] Message: Downloading http://www.playonlinux.com/wine/mono/wine-mono-0.0.8.msi
03/08/16 21:43:05 - [POL_Download] Message: Download MD5 matches
03/08/16 21:43:06 - [POL_Config_PrefixWrite] Message: Prefix config write: ARCH x86
03/08/16 21:43:06 - [POL_Config_PrefixWrite] Message: Prefix config write: VERSION 1.7.8-d3d_doublebuffer
03/08/16 21:43:06 - [POL_Wine] Message: Running wine-1.7.8-d3d_doublebuffer --version (Working directory : /home/terryc/.PlayOnLinux/wine/mono)
03/08/16 21:43:06 - [POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
wine-1.7.8
03/08/16 21:43:06 - [POL_Wine] Message: Wine return: 0
03/08/16 21:43:15 - [POL_LoadVar_PROGRAMFILES] Message: Getting Program Files name
03/08/16 21:43:15 - [POL_Wine] Message: Running wine-1.7.8-d3d_doublebuffer cmd /c echo %ProgramFiles% (Working directory : /home/terryc/.PlayOnLinux/wine/mono)
03/08/16 21:43:15 - [POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
C:\Program Files
03/08/16 21:43:15 - [POL_Wine] Message: Wine return: 0
03/08/16 21:46:53 - [POL_SetupWindow_menu_num] Message: menu_num answer: 0
03/08/16 21:47:13 - [POL_SetupWindow_menu] Message: menu answer: cdrom1
03/08/16 21:47:13 - [POL_SetupWindow_cdrom] Message: CD-ROM selected: cdrom1
03/08/16 21:47:13 - [POL_SetupWindow_cdrom] Message: cdrom answer: /media/cdrom1
03/08/16 21:47:13 - [POL_SetupWindow_check_cdrom] Message: /media/cdrom1/setup.exe not found
03/08/16 21:47:13 - [POL_SetupWindow_check_cdrom] Warning: Unable to find the CD-ROM
03/08/16 21:47:47 - [POL_SetupWindow_menu] Message: menu answer: cdrom0
03/08/16 21:47:47 - [POL_SetupWindow_cdrom] Message: CD-ROM selected: cdrom0
03/08/16 21:47:47 - [POL_SetupWindow_cdrom] Message: cdrom answer: /media/cdrom0
03/08/16 21:47:48 - [POL_SetupWindow_check_cdrom] Message: /media/cdrom0/setup.exe not found
03/08/16 21:47:48 - [POL_SetupWindow_check_cdrom] Warning: Unable to find the CD-ROM
03/08/16 21:50:17 - [POL_SetupWindow_menu] Message: menu answer: cdrom1
03/08/16 21:50:17 - [POL_SetupWindow_cdrom] Message: CD-ROM selected: cdrom1
03/08/16 21:50:17 - [POL_SetupWindow_cdrom] Message: cdrom answer: /media/cdrom1
03/08/16 21:50:17 - [POL_SetupWindow_check_cdrom] Message: /media/cdrom1/setup.exe not found
03/08/16 21:50:17 - [POL_SetupWindow_check_cdrom] Warning: Unable to find the CD-ROM
03/08/16 21:50:31 - [POL_SetupWindow_menu] Message: menu answer: Refresh
03/08/16 21:50:31 - [POL_SetupWindow_cdrom] Message: CD-ROM selected: Refresh
03/08/16 21:50:35 - [POL_SetupWindow_menu] Message: menu answer: Other
03/08/16 21:50:35 - [POL_SetupWindow_cdrom] Message: CD-ROM selected: Other
03/08/16 21:52:14 - [POL_SetupWindow_textbox] Message: textbox answer: /media/cdrom1
03/08/16 21:52:14 - [POL_SetupWindow_cdrom] Message: cdrom answer: /media/cdrom1
03/08/16 21:52:14 - [POL_SetupWindow_cdrom] Message: cdrom answer: /media/cdrom1
03/08/16 21:52:15 - [POL_SetupWindow_check_cdrom] Message: /media/cdrom1/setup.exe FOUND!
03/08/16 21:52:15 - [POL_System_CheckFS] Message: Checking filesystem for /media/cdrom1/setup.exe
03/08/16 21:52:15 - [POL_Wine] Message: Running wine-1.7.8-d3d_doublebuffer /media/cdrom1/setup.exe (Working directory : /media)
03/08/16 21:52:15 - [POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
03/08/16 21:52:15 - [POL_Wine] Message: Wine return: 0
03/08/16 21:53:10 - [POL_SetupWindow_menu_num] Message: menu_num answer: 1
03/08/16 21:53:10 - [POL_Shortcut] Message: Looking for <>, found <>
03/08/16 21:53:10 - [POL_Shortcut] Error: Binary not found: RT2_GOLD.EXE\nHave you installed the program to the default location?
03/08/16 21:53:28 - [POL_Shortcut] Message: Shortcut created:  Railroad Tycoon II Gold
03/08/16 21:53:37 - [POL_SetupWindow_Close] Message: Closing window for pid 9697
03/08/16 21:53:44 - [POL_SetupWindow_question] Message: question answer: TRUE
 
[/code]

 

Thank you for the effort.

Replies

Anonymous
Sunday 13 March 2016 at 11:21
The firt of the three options look for rt2.exe, rt2_gold.exe and rts_plat.exe to work.
Anonymous
Sunday 13 March 2016 at 11:26
The last option failed as it couldn't find one of the above. It just lets you look on other media, aka already loaded/copied dvd structure. The middle option anthology(Polish) turned out to be what my dvd needed and it recognise it and started installing it. IOt installed a copy of the dvd into the PoL:RT@ directory, open a wine exploter window and has a perpetually spinning wheel in the Install Window.
odziom91 Monday 7 July 2014 at 16:53
odziom91

Information

This update has been approved by the team.

Differences

@@ -0,0 +1,70 @@
+#!/bin/bash
+# 
+# App: Railroad Tycoon II Platinum Edition
+# Category: Games
+# Wine rating: Platinum
+# Date : (2014-07-07 15-06)
+# Last revision : (2014-07-07 15-06)
+# Wine version used : 1.7.8-d3d_doublebuffer
+# Distribution used to test : Linux Mint 17 "Qiana" x64
+# Author : OdzioM
+# Licence : Retail
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+TITLE="Railroad Tycoon II"
+PREFIX="RT2"
+WORKING_WINE_VERSION="1.7.8-d3d_doublebuffer"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "PopTop Software" "" "OdzioM" "$PREFIX"
+POL_SetupWindow_message "$(eval_gettext 'This installer was created for Railroad Tycoon II Platinum Version\nIt should work with other editions of this game:\nRailroad Tycoon II (without addons)\nRailroad Tycoon II Gold Edition (with The Second Century addon)\n\nIf you have one of this two versions of this game, please give some information or bugs at official PlayOnLinux page - http://playonlinux.com/\n\nThank you!')" "$TITLE"
+
+POL_System_TmpCreate "rt2tmp"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+# Choose installation mode:
+POL_SetupWindow_menu_num "$(eval_gettext 'Select a version of installation disc:')" "$TITLE" "$(eval_gettext 'Retail CD (Platinum, Gold [test], first release [test])')~$(eval_gettext 'Railroad Tycoon Anthology disc (Polish Version)')~$(eval_gettext 'Other destination or other CD/DVD - first release, Gold, Platinum')" "~"
+
+if [ "$APP_ANSWER" == "0" ]; then
+	# Version from retail CD - Platinum, Gold [test], first release [test]
+	POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disc drive.')" "$TITLE"
+	POL_SetupWindow_cdrom
+	POL_SetupWindow_check_cdrom "setup.exe"
+	SETUP_EXE="$CDROM/setup.exe"
+elif [ "$APP_ANSWER" == "1" ]; then
+	# Railroad Tycoon Anthology disc (Polish Version) - Platinum only
+	POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disc drive.')" "$TITLE"
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "_setup/setup.exe"
+        SETUP_EXE="$CDROM/_setup/setup.exe"
+elif [ "$APP_ANSWER" == "2" ]; then
+	# Other destination or other CD/DVD - first release, Gold, Platinum
+	cd "$HOME"
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+	SETUP_EXE="$APP_ANSWER"
+fi
+
+POL_Wine "$SETUP_EXE"
+POL_Wine_WaitExit "$TITLE"
+
+POL_SetupWindow_menu_num "$(eval_gettext 'What is your version of Railroad Tycoon II?')" "$TITLE" "$(eval_gettext 'First Release (without addons)')~$(eval_gettext 'Gold Edition')~$(eval_gettext 'Platinum Edition')" "~"
+
+if [ "$APP_ANSWER" == "0" ]; then
+	POL_Shortcut "RT2.EXE" "$TITLE"
+elif [ "$APP_ANSWER" == "1" ]; then
+	POL_Shortcut "RT2_GOLD.EXE" "$TITLE Gold"
+elif [ "$APP_ANSWER" == "2" ]; then
+	POL_Shortcut "RT2_PLAT.EXE" "$TITLE Platinum"
+fi
+
+# Complete message
+POL_SetupWindow_message "$(eval_gettext 'Installation complete!\nTo run $TITLE please select $TITLE icon from your desktop.\n\nThank you for using this installation script! :)')" "$TITLE"
+
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
# 
# App: Railroad Tycoon II Platinum Edition
# Category: Games
# Wine rating: Platinum
# Date : (2014-07-07 15-06)
# Last revision : (2014-07-07 15-06)
# Wine version used : 1.7.8-d3d_doublebuffer
# Distribution used to test : Linux Mint 17 "Qiana" x64
# Author : OdzioM
# Licence : Retail

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Railroad Tycoon II"
PREFIX="RT2"
WORKING_WINE_VERSION="1.7.8-d3d_doublebuffer"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "PopTop Software" "" "OdzioM" "$PREFIX"
POL_SetupWindow_message "$(eval_gettext 'This installer was created for Railroad Tycoon II Platinum Version\nIt should work with other editions of this game:\nRailroad Tycoon II (without addons)\nRailroad Tycoon II Gold Edition (with The Second Century addon)\n\nIf you have one of this two versions of this game, please give some information or bugs at official PlayOnLinux page - http://playonlinux.com/\n\nThank you!')" "$TITLE"

POL_System_TmpCreate "rt2tmp"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Choose installation mode:
POL_SetupWindow_menu_num "$(eval_gettext 'Select a version of installation disc:')" "$TITLE" "$(eval_gettext 'Retail CD (Platinum, Gold [test], first release [test])')~$(eval_gettext 'Railroad Tycoon Anthology disc (Polish Version)')~$(eval_gettext 'Other destination or other CD/DVD - first release, Gold, Platinum')" "~"

if [ "$APP_ANSWER" == "0" ]; then
        # Version from retail CD - Platinum, Gold [test], first release [test]
        POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disc drive.')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "setup.exe"
        SETUP_EXE="$CDROM/setup.exe"
elif [ "$APP_ANSWER" == "1" ]; then
        # Railroad Tycoon Anthology disc (Polish Version) - Platinum only
        POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disc drive.')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "_setup/setup.exe"
        SETUP_EXE="$CDROM/_setup/setup.exe"
elif [ "$APP_ANSWER" == "2" ]; then
        # Other destination or other CD/DVD - first release, Gold, Platinum
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
fi

POL_Wine "$SETUP_EXE"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_menu_num "$(eval_gettext 'What is your version of Railroad Tycoon II?')" "$TITLE" "$(eval_gettext 'First Release (without addons)')~$(eval_gettext 'Gold Edition')~$(eval_gettext 'Platinum Edition')" "~"

if [ "$APP_ANSWER" == "0" ]; then
        POL_Shortcut "RT2.EXE" "$TITLE"
elif [ "$APP_ANSWER" == "1" ]; then
        POL_Shortcut "RT2_GOLD.EXE" "$TITLE Gold"
elif [ "$APP_ANSWER" == "2" ]; then
        POL_Shortcut "RT2_PLAT.EXE" "$TITLE Platinum"
fi

# Complete message
POL_SetupWindow_message "$(eval_gettext 'Installation complete!\nTo run $TITLE please select $TITLE icon from your desktop.\n\nThank you for using this installation script! :)')" "$TITLE"

POL_System_TmpDelete
POL_SetupWindow_Close
exit

Replies