Applications

Choose a category

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

Pharaon

#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
 
cfg_check
 
 
 
if [ "$POL_LANG" == "fr" ]
then
LNG_NAME="Pharaon"
LNG_FILE="SIERRA/Pharaon/"
 
else
LNG_NAME="Pharaoh"
LNG_FILE="SIERRA/Pharaoh/"
 
fi
 
POL_SetupWindow_Init "" ""
 
#Presentation
POL_SetupWindow_presentation "$LNG_NAME" "Sierra" "http://pharaoh.heavengames.com/" "Toumeno" "Pharaoh"
 
#Préparation de Wine
mkdir -p $REPERTOIRE/wineprefix/Pharaoh
select_prefixe "$REPERTOIRE/wineprefix/Pharaoh"
POL_SetupWindow_prefixcreate
 
#Détection du cd-rom
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"
 
#Configuration de Wine
Set_OS win98
Set_SoundDriver alsa
Set_Desktop On 1024 768
 
#Lancement de l'installeur
wine $CDROM/setup.exe
POL_SetupWindow_detect_exit
 
#Fin du code du jeu
 
POL_SetupWindow_make_shortcut "Pharaoh" "$LNG_FILE" "Pharaoh.exe" "pharaoniconerp5.png" "$LNG_NAME"
 
 
POL_SetupWindow_reboot
 
POL_SetupWindow_message "Au cours d'
une partie, n'oubliez pas de cliquer sur Options=>Affichage,\net de régler la résolution à 1024x768 (maximum).\n\n\nDuring a game, don't forget to click on Options=>Display, and set\nthe resolution on 1024x768 (maximum)."
 
POL_SetupWindow_Close
 
exit
Il n'y a rien à voir ici