sv ru pl es fr

Applications

Choose a category

Diablo II

Informations

This script is signed by PlayOnLinux.

Source code

#!/bin/bash
# Distribution used to test : Fedora 12
# Depend : ImageMagick, unzip

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources" 


TITLE="Diablo II"
PREFIX="DiabloII"
WINEVERSION="1.3.2"
PATCHFILE="D2Patch_112a.exe"
PATCHLINK="http://ftp.blizzard.com/pub/diablo2/patches/PC"
PATCHFILESUM="cec6957c0c02fdc4fa4f296a70bd2637240e8e44"

POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Blizzard" "www.blizzard.com" "Tinou" "$PREFIX" 

POL_Wine_SelectPrefix "$PREFIX"

POL_SetupWindow_message "Please insert \"Install disc\" (1st disc)" "$TITLE"
POL_SetupWindow_cdrom

if [ -e "$CDROM/install.exe" ]
then
 setup="install.exe"
else
 setup="installer.exe"
fi

POL_SetupWindow_check_cdrom "$setup"

POL_Wine_PrefixCreate "$WINEVERSION"

POL_SetupWindow_wait "$(eval_gettext 'Installing $TITLE')" "$TITLE"
POL_Wine start /unix "$CDROM/$setup"

POL_SetupWindow_message "When the installer will ask you for 2nd CD, click NEXT." "$TITLE"
POL_Wine eject
POL_SetupWindow_message "When the installer will ask you for 3rd CD, click NEXT." "$TITLE"
POL_Wine eject
POL_SetupWindow_message "Click NEXT when the installation will finish" "$TITLE"
POL_Wine eject

POL_Shortcut "Diablo II.exe" "$TITLE"

POL_SetupWindow_message "$(eval_gettext '$TITLE has been installed successfully.')" "$TITLE"

POL_SetupWindow_Close
exit

Signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAk7FSgkACgkQ5TH6yaoTykd7MQCfQDBQezdI4V8XD9kGpi6UOd3f
7RYAn2gh5OjnNhs16OcYaWIsBJsyBihA
=QWDs
-----END PGP SIGNATURE-----
	Date : 17 November 2011 18:53:13
Signed by : PlayOnLinux
E-Mail : gpg@playonlinux.com
Comment : PlayOnLinux and PlayOnMac scripting keys
Fingerprint : 45B56114D9EA1640D68135CCE531FAC9AA13CA47

Known install files

Il n'y a rien à voir ici