Вы находитесь здесь

Форум

RollerCoaster Tyccon 3 Soaked

Expansion Pack For RollerCoaster Tycoon 3

Автор Replies
massimiliano0790 Saturday 4 June 2011 at 23:17
massimiliano0790Anonymous

Wine version: 1.2.3
Distribution: OpenSUSE
Distribution version: 11.4

Graphics card: Nvidia, Geforce 9500GS
Graphics card driver: 1.26

Comments: Everything works great

#!/bin/bash
# Wine version used : 1.2.3
# Distribution used to test : OpenSUSE 11.4
# Architecture : 32 bit
# Author : Maximo90
# Licence : Retail
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="RollerCoaster Tyccon 3 Soaked"
PREFIX="RCT3"
WORKING_WINE_VERSION="1.2.3"
 
#starting the script
rm "$REPERTOIRE/tmp/*.jpg"
POL_SetupWindow_Init
 
POL_SetupWindow_presentation "$TITLE" "Atari" "http://www.rollercoastertycoon.com/" "Maximo90" "$PREFIX"
 
#asking for CDROM and checking if it's correct one
POL_SetupWindow_message "Please insert $TITLE media into your disk drive."
POL_SetupWindow_cdrom
cd "$CDROM"
CHECK=$(find . -iwholename ./setup.exe | cut -d'/' -f2)
POL_SetupWindow_check_cdrom "$CHECK"
 
select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
 
#downloading specific Wine
POL_SetupWindow_install_wine "$WORKING_WINE_VERSION"
Use_WineVersion "$WORKING_WINE_VERSION"
 
#fetching PROGRAMFILES environmental variable
POL_LoadVar_PROGRAMFILES

#Installing mandatory dependencies 
POL_Call POL_Install_d3dx10
POL_Call POL_Install_d3dx9
POL_Call POL_Install_gecko
POL_Call POL_Install_d3dx11
POL_Call POL_Install_dotnet20
POL_Call POL_Install_dinput8
POL_Call POL_Install_directplay
POL_Call POL_Install_dxfullsetup
 
#starting installation
POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE"
wine "$CDROM/$CHECK"
POL_SetupWindow_detect_exit
 
## PlayOnMac Section
[ "$PLAYONMAC" == "" ] || Set_Managed "Off"
## End Section

#cleaning temp
if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
	rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
	chmod -R 777 "$REPERTOIRE/tmp/"
	rm -rf "$REPERTOIRE/tmp/*"
fi
 
#making shortcut
POL_SetupWindow_auto_shortcut "$PREFIX" "RCT3.exe" "$TITLE" "" ""
Set_WineVersion_Assign "$WORKING_WINE_VERSION" "$TITLE"
 
POL_SetupWindow_message "$TITLE has been installed successfully." "$TITLE"

POL_SetupWindow_Close
exit

Edited by massimiliano0790

Вы находитесь здесь: Index > > RollerCoaster Tyccon 3 Soaked