Applications

Choose a category

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

Age Of Wonders

Magic number : 80

#!/bin/bash
# Last revision : (2009-12-02)
 
#Vérifier que PlayOnLinux est bien exécuté avant
[ "$PLAYONLINUX" = "" ] && exit 0
 
#Charger les librairies
source "$PLAYONLINUX/lib/sources"
 
wget http://upload.wikimedia.org/wikipedia/en/thumb/e/e5/Aowboxart.jpg/256px-Aowboxart.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"
 
POL_SetupWindow_presentation "Age of Wonders" "Triumph Studio" "http://www.triumphstudios.com/" "Zoloom" "AgeOfWonders"
 
select_prefix "$REPERTOIRE/wineprefix/AgeOfWonders"
POL_SetupWindow_prefixcreate
 
#fetching PROGRAMFILES environmental variable
#PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"`
#PROGRAMFILES=${PROGRAMFILES:3}
 
PROGRAMFILES="Program Files"
POL_LoadVar_PROGRAMFILES
 
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Setup.exe"
 
#cd $CDROM
POL_SetupWindow_wait_next_signal "Installation in progress..." "Age of Wonders"
wine $CDROM/Setup.exe
POL_SetupWindow_detect_exit
 
POL_SetupWindow_make_shortcut "AgeOfWonders" "$PROGRAMFILES/Triumph Studios/Age of Wonders" "AoWSetup.exe" "" "Age of Wonders"
 
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Triumph Studios/Age of Wonders/Images/Scenes"
mv "Intro.avi" "IntroDISABLE.avi"
 
POL_SetupWindow_message "The introdution movie was renamed because it doesn't appear correctly with Wine. You can watch it in the Images/Scenes of the game's directory." "Warning"
 
#POL_SetupWindow_reboot
POL_SetupWindow_Close
exit
Il n'y a rien à voir ici