Railroad Tycoon II
Informations
Créateur | Messages |
---|---|
odziom91
|
AttentionThis installer is a beta script. It means that it might not work as expected InformationsPlate-formes : Retours d'expérience0 1 DescriptionRailroad 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. Code source#!/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:
ContribuerMembre | Messages |
terryc | Dimanche 13 Mars 2016 à 9:02 |
terryc
|
MessagesThis 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]
Thank you for the effort. Réponses |
odziom91 | Lundi 7 Juillet 2014 à 16:53 |
odziom91
|
InformationCette mise à jour a été acceptée par l'équipe 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 Nouveau code source#!/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 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