Applications

Choose a category

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

RollerCoaster Tycoon 2

Magic number : 124

#!/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
 
wget http://upload.wikimedia.org/wikipedia/en/thumb/8/8b/RollerCoaster_Tycoon_2_cover.jpg/250px-RollerCoaster_Tycoon_2_cover.jpg --output-document="$REPERTOIRE/tmp/leftnotscaled.jpeg"
convert "$REPERTOIRE/tmp/leftnotscaled.jpeg" -scale 150x356\! "$REPERTOIRE/tmp/left.jpeg"
POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpeg"
 
#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
Il n'y a rien à voir ici