#!/bin/bash
[
"$PLAYONLINUX"
=
""
] &&
exit
0
source
"$PLAYONLINUX/lib/sources"
Title=
"BloodBowl"
if
[
"$POL_LANG"
==
"fr"
];
then
LNG_WAIT_END="Appuyez sur \"Suivant\" UNIQUEMENT quand l'installation
du
jeu sera
terminée sous peine de devoir recommencer l'installation."
LNG_INSTALL=
"Quelle version avez-vous?"
else
LNG_WAIT_END="Click on \"Next\" ONLY when the game installation
is finished or you will have to redo the installation.."
LNG_INSTALL=
"What version have you got?"
fi
cd
$REPERTOIRE
/tmp
rm
*.jpg
POL_SetupWindow_Init
POL_SetupWindow_install_wine
"1.1.37"
select_prefixe
"$REPERTOIRE/wineprefix/BloodBowl"
PROGRAMFILES=
"Program Files"
POL_LoadVar_PROGRAMFILES
POL_Call
POL_Install_d3dx9
POL_Call
POL_Install_dotnet20
POL_SetupWindow_menu_list
"Your Memory Graphic"
"$Title"
"32 64 128 256 384 512 768 1024 2048"
" "
VMS=
"$APP_ANSWER"
cd
"$WINEPREFIX/drive_c/windows/temp"
echo
"[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]"
> OGL.reg
echo
"\"UseGLSL\"=\"enabled\""
>> OGL.reg
echo
"\"VideoMemorySize\"=\"$VMS\""
>> OGL.reg
regedit OGL.reg
Set_OS winxp
POL_SetupWindow_menu
"$LNG_INSTALL"
"Actions"
"Downloadable version~DVD version"
"~"
if
[
"$APP_ANSWER"
==
"DVD version"
];
then
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom
"Setup.exe"
POL_SetupWindow_wait_next_signal
"Installing ..."
"$Title"
wine $CDROM
/Setup
.exe
POL_SetupWindow_detect_exit
POL_SetupWindow_message
"$LNG_WAIT_END"
"$Title"
elif
[
"$APP_ANSWER"
==
"Downloadable version"
]
then
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom
"SetupBloodBowl_edsr_efgis.exe"
wine $CDROM
/SetupBloodBowl_edsr_efgis
.exe
POL_SetupWindow_message
"$LNG_WAIT_END"
"$Title"
fi
if
[ -e
"$WINEPREFIX/drive_c/windows/temp/"
];
then
rm
-rf
"$WINEPREFIX/drive_c/windows/temp/*"
chmod
-R 777
"$REPERTOIRE/tmp/"
rm
-rf
"$REPERTOIRE/tmp/*"
fi
convert
"$HOME/.local/share/icons/*_unins000.0.xpm"
-geometry 32x32
"$REPERTOIRE/icones/32/$Title"
POL_SetupWindow_make_shortcut
"BloodBowl"
"$PROGRAMFILES/Cyanide/Blood Bowl/"
"BB.exe"
""
"BloodBowl"
Set_WineVersion_Assign
"1.1.37"
"BloodBowl"
POL_SetupWindow_Close
exit