Applications
Choose a category
Caesar III
Informations
This script is signed by PlayOnLinux.
Source code
#!/bin/bash
# Last Revision : (2009-12-02)
#Vérifier que PlayOnLinux est bien exécuté avant
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
POL_SetupWindow_Init
#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
Signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEABECAAYFAk1cJEEACgkQ5TH6yaoTykcifACgr/jChnY81mhWYtVokDFWSm+9
1EkAoJV/Xnp21a9oh+lmbSJ5RYD3+w+b
=hzvG
-----END PGP SIGNATURE-----
Date : 16 February 2011 20:23:45
Signed by : PlayOnLinux
E-Mail : gpg@playonlinux.com
Comment : PlayOnLinux and PlayOnMac scripting keys
Fingerprint : 45B56114D9EA1640D68135CCE531FAC9AA13CA47
Known install files