Applications

Choose a category

accessories
Accessories
development
Development
education
Education
games
Games
graphics
Graphics
internet
Internet
multimedia
Multimedia
office
Office
other
Other

RollerCoaster Tycoon 2

#!/bin/bash
#Vérifier que PlayOnLinux est bien exécuté avant
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
#Charger les librairies
source "$PLAYONLINUX/lib/sources"

#Verifier les dépendences
cfg_check

POL_SetupWindow_Init

#Presentation
POL_SetupWindow_presentation "RollerCoaster Tycoon 2" "Infogrames" "http://www.infogrames.com/" "Toumeno" "RCT2" 1 4

#Préparation de Wine
mkdir -p $REPERTOIRE/wineprefix/RCT2
select_prefixe "$REPERTOIRE/wineprefix/RCT2"
POL_SetupWindow_prefixcreate

#Détection du cd-rom

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Setup.exe"

#Lancement de l'installeur
wine $CDROM/Setup.exe

#Fin du code du jeu
#Création du lanceur

POL_SetupWindow_make_shortcut "RCT2" "Program Files/Infogrames/RollerCoaster Tycoon 2" "RCT2.exe" "" "RollerCoaster Tycoon 2"

#Configuration de Wine
Set_OS winXP
Set_SoundDriver alsa
POL_SetupWindow_reboot

POL_SetupWindow_Close

exit