#!/bin/bash
PROGRAMFILES=`wine cmd
/c
echo
"%ProgramFiles%"
`
PROGRAMFILES=${PROGRAMFILES:3}
[
"$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
POL_SetupWindow_Init
POL_SetupWindow_install_wine
"1.1.25"
select_prefixe
"$REPERTOIRE/wineprefix/BloodBowl"
POL_SetupWindow_prefixcreate
cd
"$REPERTOIRE/ressources"
export
POL_TITLE=
"BloodBowl"
tricks 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\\
"=\\"
disabled\\
""
>> 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"
wine $CDROM
/Setup
.exe
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
POL_SetupWindow_make_shortcut
"BloodBowl"
"$PROGRAMFILES/Cyanide/Blood Bowl/Autorun/Exe/"
"Autorun.exe"
""
"BloodBowl"
Set_WineVersion_Assign
"1.1.25"
"BloodBowl"
POL_SetupWindow_Close
exit