Applications

Choose a category

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

Caesar III

Magic number : 114

#!/bin/bash
# Last Revision : (2009-12-02)
 
#Vérifier que PlayOnLinux est bien exécuté avant
[ "$PLAYONLINUX" = "" ] && exit 0
 
source "$PLAYONLINUX/lib/sources"
 
wget http://upload.wikimedia.org/wikipedia/en/5/56/Caeser_III_Coverart.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 "Caesar III" "Sierra" "http://www.caesar3.com/" "Toumeno" "Caesar3"
 
#Préparation de Wine
 
select_prefix "$REPERTOIRE/wineprefix/Caesar3"
POL_SetupWindow_prefixcreate
 
#Configuration de Wine
Set_OS win98
Set_SoundDriver alsa
Set_Desktop On 1024 768
 
#Détection du cd-rom
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"
 
#Installation
wine "$CDROM/setup.exe"
 
#Téléchargement du bon c3.exe (car le caesar3 livré avec certains PC est défectueux)Nécessite toujours le CD pour jouer
cd $REPERTOIRE/tmp
POL_SetupWindow_download "Téléchargement d'un fichier/Downloading file" "Caesar III" "http://perso.wanadoo.fr/cesar.3/divers/c3.zip"
unzip -o c3.zip -d "$REPERTOIRE/wineprefix/Caesar3/drive_c/SIERRA/Caesar3"
cd $REPERTOIRE/tmp
rm c3.zip
 
#Fin du code du jeu
#Création du lanceur
 
POL_SetupWindow_make_shortcut "Caesar3" "SIERRA/Caesar3/" "c3.exe" "caesar3.png" "Caesar III"
 
 
if [ "$POL_LANG" == "fr" ]
then
POL_SetupWindow_message "Au cours d'une partie, n'oubliez pas de cliquer\nsur Options=>Affichage, et de régler la résolution à 1024x768 (maximum)."
else
POL_SetupWindow_message "During a game, remember to set the resolution\nto 1024x768 (the maximum one) in Options=>Display"
fi
 
POL_SetupWindow_Close
exit
Il n'y a rien à voir ici