#!/bin/bash
[
"$PLAYONLINUX"
=
""
] &&
exit
0
source
"$PLAYONLINUX/lib/sources"
Title=
"Max Payne"
if
[
"$POL_LANG"
==
"fr"
];
then
LNG_ERR=
"Si vous rencontrer deux messages d'erreur concernant un manque de mémoire au début de l'installation, ne vous en fiez pas. le jeu fonctionnera tout de même."
LNG_WAIT_END="Appuyez sur \"Suivant\" UNIQUEMENT quand l'installation
du
jeu sera
terminée sous peine de devoir recommencer l'installation."
else
LNG_ERR=
"If you have two error messages before the installation, don't worry. You will be able to launch the game."
LNG_WAIT_END="Click on \"Next\" ONLY when the game installation
is finished or you will have to redo the installation.."
fi
cd
"$REPERTOIRE/tmp"
wget http:
//wilibre
.
free
.fr
/images/POL/max_payne
.jpg --output-document=left.jpeg
POL_SetupWindow_Init
""
"$REPERTOIRE/tmp/left.jpeg"
POL_SetupWindow_install_wine
"1.1.43"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom
"Install.exe"
select_prefixe
"$REPERTOIRE/wineprefix/MaxPayne"
PROGRAMFILES=
"Program Files"
POL_LoadVar_PROGRAMFILES
Set_OS winxp
cd
"$REPERTOIRE/tmp"
wget http:
//sd-1
.archive-host.com
/membres/images/51568577817080088/MaxPayne
.png
mv
"$REPERTOIRE/tmp/MaxPayne.png"
"$REPERTOIRE/icones/32/$Title"
POL_SetupWindow_message
"$LNG_ERR"
"$Title"
wine $CDROM
/Install
.exe
POL_SetupWindow_message
"$LNG_WAIT_END"
"$Title"
POL_SetupWindow_make_shortcut
"MaxPayne"
"$PROGRAMFILES/Max Payne"
"MaxPayne.exe"
""
"Max Payne"
Set_WineVersion_Assign
"1.1.43"
"Max Payne"
POL_SetupWindow_Close
exit