Applications

Choose a category

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

Baldurs Gate (5 CDs)

Magic number : 85

#!/bin/bash
# Last revision : (2009-12-01)
 
#Vérifier que PlayOnLinux est bien exécuté avant
[ "$PLAYONLINUX" = "" ] && exit 0
 
source "$PLAYONLINUX/lib/sources"
 
wget http://upload.wikimedia.org/wikipedia/en/thumb/d/d0/Baldur%27s_Gate_box.PNG/256px-Baldur%27s_Gate_box.PNG --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 "Baldur's Gate (5 CDs)" "Black Isle" "N/A" "Zoloom" "BaldursGate1"
 
select_prefix "$REPERTOIRE/wineprefix/BaldursGate1"
POL_SetupWindow_prefixcreate
 
#fetching PROGRAMFILES environmental variable
PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"`
PROGRAMFILES=${PROGRAMFILES:3}
 
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "SETUP.EXE"
 
cd $CDROM
POL_SetupWindow_wait_next_signal "Installation in progress..." "Baldur's Gate (5 CDs)"
wine $CDROM/SETUP.EXE
POL_SetupWindow_detect_exit
 
POL_SetupWindow_make_shortcut "BaldursGate1" "$PROGRAMFILES/Black Isle/Baldur's Gate" "Baldur.exe" "" "Baldur's Gate"
 
#POL_SetupWindow_reboot
POL_SetupWindow_Close
exit
Il n'y a rien à voir ici