#!/bin/bash
[
"$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 1 extension"
"Black Isle"
"N/A"
"Zoloom"
"BaldursGate1"
select_prefix
"$REPERTOIRE/wineprefix/BaldursGate1"
POL_SetupWindow_prefixcreate
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..."
"Baldur's Gate 1 Extension"
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_Close
exit