Diablo II

Informatie

Creator Bericht
Quentin PÂRIS Anonymous

Information

This installer has been approved by the team.

Informatie

Platforms:
Downloads: 356934
Wine: 4.5

Feedbacks

Broncode

#!/bin/bash
# Distribution used to test : Fedora 12, Arch Linux
# Depend : ImageMagick, unzip
 
# CHANGELOG
# [SuperPlumus] (2013-06-08 18-02)
#   gettext
# [ZeNity_] (2016-10-02 15-11)
#   Add Best Seller Edition support
#   Add alternative CD files as parameters to POL_Wine_InstallCDROM command
#   Replace playd2.mpq by D2Video.mpq in order to differentiate CD 2 & 3
#   Update Wine version to 1.8.4 (last stable)
#   Remove Set_Desktop command as it is more about user's personal preference
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Diablo II"
PREFIX="DiabloII"
WINEVERSION="4.5"
PATCHTITLE="Blizzard Updater v2.72"
PATCHLINK="http://ftp.blizzard.com/pub/diablo2/patches/PC"
PATCHFILE="D2Patch_113d.exe"
PATCHFILESUM="ce7313b0c35261a2a5f528cd6e2693b5"
 
POL_SetupWindow_Init
POL_Debug_Init
POL_Call POL_Install_corefonts


POL_SetupWindow_presentation "$TITLE" "Blizzard" "www.blizzard.com" "Tinou" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WINEVERSION"
 
if [ "$POL_SELECTED_FILE" ]; then
    SetupFile="$POL_SELECTED_FILE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine start /unix "$SetupFile"
else
    POL_SetupWindow_InstallMethod "CD,LOCAL"
 
    if [ "$INSTALL_METHOD" = "CD" ]; then
        POL_SetupWindow_menu "$(eval_gettext 'Which game version do you have?')" "$TITLE" "Original Edition~Best Seller Edition" "~"
        Version="$APP_ANSWER"
 
        POL_Call POL_Wine_InstallCDROM "1" "w" "install.exe" "installer.exe"
        POL_Wine_WaitBefore "$TITLE"
 
        POL_Wine start /unix "$CDROM_SETUP"
 
        POL_Call POL_Wine_InstallCDROM "2" "w" "d2music.mpq" "Installer Tome 2.mpq" "Installer_Tome_2.mpq"
 
        POL_Call POL_Wine_InstallCDROM "3" "w" "D2Video.mpq" "Installer Tome 3.mpq" "Installer_Tome_3.mpq"
 
        if [ "$Version" = "Best Seller Edition" ]; then
            POL_Call POL_Wine_InstallCDROM "01" "w" "install.exe" "installer.exe"
        fi
    fi
 
    if [ "$INSTALL_METHOD" = "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SetupFile="$APP_ANSWER"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$SetupFile"
    fi
fi
 
POL_Wine_WaitExit "$TITLE"
 
POL_Download_Resource "$PATCHLINK/$PATCHFILE" "$PATCHFILESUM"
POL_Wine start /unix "$POL_USER_ROOT/ressources/$PATCHFILE"
POL_Call POL_Wine_InstallCDROM "2" "w" "d2music.mpq" "Installer Tome 2.mpq" "Installer_Tome_2.mpq"
POL_Wine_WaitExit "$PATCHTITLE"

POL_Shortcut "Diablo II.exe" "$TITLE"
POL_Shortcut_QuietDebug "$TITLE"
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Bericht
Chralu Zondag 28 April 2019 om 12:51
Chralu Anonymous

Information

This update has been approved by the team.

Bericht

Here are some improvments :

  • Use Wine 4.5 (to get rid of FreeFont / libz compatibility issues)
  • Install Patch 1.13d
     

Cheers

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Distribution used to test : Fedora 12, Arch Linux
 # Depend : ImageMagick, unzip
-
+ 
 # CHANGELOG
 # [SuperPlumus] (2013-06-08 18-02)
 #   gettext
@@ -11,51 +11,54 @@
 #   Replace playd2.mpq by D2Video.mpq in order to differentiate CD 2 & 3
 #   Update Wine version to 1.8.4 (last stable)
 #   Remove Set_Desktop command as it is more about user's personal preference
-
+ 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Diablo II"
 PREFIX="DiabloII"
-WINEVERSION="1.8.4"
-PATCHFILE="D2Patch_112a.exe"
+WINEVERSION="4.5"
+PATCHTITLE="Blizzard Updater v2.72"
 PATCHLINK="http://ftp.blizzard.com/pub/diablo2/patches/PC"
-PATCHFILESUM="cec6957c0c02fdc4fa4f296a70bd2637240e8e44"
-
+PATCHFILE="D2Patch_113d.exe"
+PATCHFILESUM="ce7313b0c35261a2a5f528cd6e2693b5"
+ 
 POL_SetupWindow_Init
 POL_Debug_Init
+POL_Call POL_Install_corefonts
 
-POL_SetupWindow_presentation "$TITLE" "Blizzard" "www.blizzard.com" "Tinou" "$PREFIX"
 
+POL_SetupWindow_presentation "$TITLE" "Blizzard" "www.blizzard.com" "Tinou" "$PREFIX"
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WINEVERSION"
-
+ 
 if [ "$POL_SELECTED_FILE" ]; then
     SetupFile="$POL_SELECTED_FILE"
     POL_Wine_WaitBefore "$TITLE"
     POL_Wine start /unix "$SetupFile"
 else
     POL_SetupWindow_InstallMethod "CD,LOCAL"
-
+ 
     if [ "$INSTALL_METHOD" = "CD" ]; then
         POL_SetupWindow_menu "$(eval_gettext 'Which game version do you have?')" "$TITLE" "Original Edition~Best Seller Edition" "~"
         Version="$APP_ANSWER"
-
+ 
         POL_Call POL_Wine_InstallCDROM "1" "w" "install.exe" "installer.exe"
         POL_Wine_WaitBefore "$TITLE"
-
+ 
         POL_Wine start /unix "$CDROM_SETUP"
-
+ 
         POL_Call POL_Wine_InstallCDROM "2" "w" "d2music.mpq" "Installer Tome 2.mpq" "Installer_Tome_2.mpq"
-
+ 
         POL_Call POL_Wine_InstallCDROM "3" "w" "D2Video.mpq" "Installer Tome 3.mpq" "Installer_Tome_3.mpq"
-
+ 
         if [ "$Version" = "Best Seller Edition" ]; then
             POL_Call POL_Wine_InstallCDROM "01" "w" "install.exe" "installer.exe"
         fi
     fi
-
+ 
     if [ "$INSTALL_METHOD" = "LOCAL" ]; then
         cd "$HOME"
         POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
@@ -64,11 +67,16 @@
         POL_Wine start /unix "$SetupFile"
     fi
 fi
-
+ 
 POL_Wine_WaitExit "$TITLE"
+ 
+POL_Download_Resource "$PATCHLINK/$PATCHFILE" "$PATCHFILESUM"
+POL_Wine start /unix "$POL_USER_ROOT/ressources/$PATCHFILE"
+POL_Call POL_Wine_InstallCDROM "2" "w" "d2music.mpq" "Installer Tome 2.mpq" "Installer_Tome_2.mpq"
+POL_Wine_WaitExit "$PATCHTITLE"
 
 POL_Shortcut "Diablo II.exe" "$TITLE"
 POL_Shortcut_QuietDebug "$TITLE"
-
+ 
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Distribution used to test : Fedora 12, Arch Linux
# Depend : ImageMagick, unzip
 
# CHANGELOG
# [SuperPlumus] (2013-06-08 18-02)
#   gettext
# [ZeNity_] (2016-10-02 15-11)
#   Add Best Seller Edition support
#   Add alternative CD files as parameters to POL_Wine_InstallCDROM command
#   Replace playd2.mpq by D2Video.mpq in order to differentiate CD 2 & 3
#   Update Wine version to 1.8.4 (last stable)
#   Remove Set_Desktop command as it is more about user's personal preference
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Diablo II"
PREFIX="DiabloII"
WINEVERSION="4.5"
PATCHTITLE="Blizzard Updater v2.72"
PATCHLINK="http://ftp.blizzard.com/pub/diablo2/patches/PC"
PATCHFILE="D2Patch_113d.exe"
PATCHFILESUM="ce7313b0c35261a2a5f528cd6e2693b5"
 
POL_SetupWindow_Init
POL_Debug_Init
POL_Call POL_Install_corefonts


POL_SetupWindow_presentation "$TITLE" "Blizzard" "www.blizzard.com" "Tinou" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WINEVERSION"
 
if [ "$POL_SELECTED_FILE" ]; then
    SetupFile="$POL_SELECTED_FILE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine start /unix "$SetupFile"
else
    POL_SetupWindow_InstallMethod "CD,LOCAL"
 
    if [ "$INSTALL_METHOD" = "CD" ]; then
        POL_SetupWindow_menu "$(eval_gettext 'Which game version do you have?')" "$TITLE" "Original Edition~Best Seller Edition" "~"
        Version="$APP_ANSWER"
 
        POL_Call POL_Wine_InstallCDROM "1" "w" "install.exe" "installer.exe"
        POL_Wine_WaitBefore "$TITLE"
 
        POL_Wine start /unix "$CDROM_SETUP"
 
        POL_Call POL_Wine_InstallCDROM "2" "w" "d2music.mpq" "Installer Tome 2.mpq" "Installer_Tome_2.mpq"
 
        POL_Call POL_Wine_InstallCDROM "3" "w" "D2Video.mpq" "Installer Tome 3.mpq" "Installer_Tome_3.mpq"
 
        if [ "$Version" = "Best Seller Edition" ]; then
            POL_Call POL_Wine_InstallCDROM "01" "w" "install.exe" "installer.exe"
        fi
    fi
 
    if [ "$INSTALL_METHOD" = "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SetupFile="$APP_ANSWER"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$SetupFile"
    fi
fi
 
POL_Wine_WaitExit "$TITLE"
 
POL_Download_Resource "$PATCHLINK/$PATCHFILE" "$PATCHFILESUM"
POL_Wine start /unix "$POL_USER_ROOT/ressources/$PATCHFILE"
POL_Call POL_Wine_InstallCDROM "2" "w" "d2music.mpq" "Installer Tome 2.mpq" "Installer_Tome_2.mpq"
POL_Wine_WaitExit "$PATCHTITLE"

POL_Shortcut "Diablo II.exe" "$TITLE"
POL_Shortcut_QuietDebug "$TITLE"
 
POL_SetupWindow_Close
exit 0

Antwoorden

Zondag 17 November 2019 om 19:36
Approved.
Lonar Maandag 5 November 2018 om 6:10
Lonar Anonymous

Bericht

Feeling nostalgic I thought I would pull out my old Diablo 2 disks and get this classic up and running.  being a supported install I thought it was going to be a piece of cake, but I have run into a problem.  As you go through the diablo installer it tells you start with the install disk, then the play disk, then the cinematics disk, and then back to the install disk.  The play on linux installer worked great through the first three stages, but when the diablo installer asks for the install disk to be reinserted the PoL window did not have another dialog to swap disks again.  My install gets stuck every time at this point with no way passed it that I can see.  perhaps I am missing something, but I can't get the install finalized.

Antwoorden

xlours Dinsdag 2 Januari 2018 om 14:21
xlours Anonymous

Bericht

Bonjour,

une simple installation (Installer un programme non listé) en choisissant le wine 2.20 (sur mon UBUNTU 16.04, 32bit), windows XP et POL_Install_d3dx9 m'a permis de jouer sans problème à partir des CD originaux.

cordialement

Antwoorden

ZeNity_ Zondag 2 October 2016 om 15:11
ZeNity_

Warning

This update has not been approved yet by the team.
Use it at your own risk

Bericht

Hello,

Here is an update supporting the Best Seller Series edition. See the changelog for a detailled list of changes.

Cheers

Differences

@@ -1,17 +1,23 @@
 #!/bin/bash
-# Distribution used to test : Fedora 12
+# Distribution used to test : Fedora 12, Arch Linux
 # Depend : ImageMagick, unzip
 
 # CHANGELOG
 # [SuperPlumus] (2013-06-08 18-02)
 #   gettext
+# [ZeNity_] (2016-10-02 15-11)
+#   Add Best Seller Edition support
+#   Add alternative CD files as parameters to POL_Wine_InstallCDROM command
+#   Replace playd2.mpq by D2Video.mpq in order to differentiate CD 2 & 3
+#   Update Wine version to 1.8.4 (last stable)
+#   Remove Set_Desktop command as it is more about user's personal preference
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="Diablo II"
 PREFIX="DiabloII"
-WINEVERSION="1.3.2"
+WINEVERSION="1.8.4"
 PATCHFILE="D2Patch_112a.exe"
 PATCHLINK="http://ftp.blizzard.com/pub/diablo2/patches/PC"
 PATCHFILESUM="cec6957c0c02fdc4fa4f296a70bd2637240e8e44"
@@ -22,6 +28,7 @@
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "www.blizzard.com" "Tinou" "$PREFIX"
 
 POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WINEVERSION"
 
 if [ "$POL_SELECTED_FILE" ]; then
@@ -32,24 +39,21 @@
     POL_SetupWindow_InstallMethod "CD,LOCAL"
 
     if [ "$INSTALL_METHOD" = "CD" ]; then
+        POL_SetupWindow_menu "$(eval_gettext 'Which game version do you have?')" "$TITLE" "Original Edition~Best Seller Edition" "~"
+        Version="$APP_ANSWER"
 
         POL_Call POL_Wine_InstallCDROM "1" "w" "install.exe" "installer.exe"
         POL_Wine_WaitBefore "$TITLE"
 
         POL_Wine start /unix "$CDROM_SETUP"
-        
-        POL_Call POL_Wine_InstallCDROM "2" "w" "d2music.mpq"
-        #Check if this--^ worked 
-        #else try with "Installer Tome 2.mpq"
-        #Could be "Installer_Tome_2.mpq"
-
-        POL_Call POL_Wine_InstallCDROM "3" "w" "playd2.mpq"
-        #Check if this--^ worked 
-        #else try with "Installer Tome 3.mpq"
-        #Could be "Installer_Tome_3.mpq"
 
-        POL_Wine_WaitExit "$TITLE"
+        POL_Call POL_Wine_InstallCDROM "2" "w" "d2music.mpq" "Installer Tome 2.mpq" "Installer_Tome_2.mpq"
 
+        POL_Call POL_Wine_InstallCDROM "3" "w" "D2Video.mpq" "Installer Tome 3.mpq" "Installer_Tome_3.mpq"
+
+        if [ "$Version" = "Best Seller Edition" ]; then
+            POL_Call POL_Wine_InstallCDROM "01" "w" "install.exe" "installer.exe"
+        fi
     fi
 
     if [ "$INSTALL_METHOD" = "LOCAL" ]; then
@@ -61,9 +65,7 @@
     fi
 fi
 
-POL_Wine_WaitExit
-
-Set_Desktop On 800 600
+POL_Wine_WaitExit "$TITLE"
 
 POL_Shortcut "Diablo II.exe" "$TITLE"
 POL_Shortcut_QuietDebug "$TITLE"

New source code

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

# CHANGELOG
# [SuperPlumus] (2013-06-08 18-02)
#   gettext
# [ZeNity_] (2016-10-02 15-11)
#   Add Best Seller Edition support
#   Add alternative CD files as parameters to POL_Wine_InstallCDROM command
#   Replace playd2.mpq by D2Video.mpq in order to differentiate CD 2 & 3
#   Update Wine version to 1.8.4 (last stable)
#   Remove Set_Desktop command as it is more about user's personal preference

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

TITLE="Diablo II"
PREFIX="DiabloII"
WINEVERSION="1.8.4"
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_System_SetArch "x86"
POL_Wine_PrefixCreate "$WINEVERSION"

if [ "$POL_SELECTED_FILE" ]; then
    SetupFile="$POL_SELECTED_FILE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine start /unix "$SetupFile"
else
    POL_SetupWindow_InstallMethod "CD,LOCAL"

    if [ "$INSTALL_METHOD" = "CD" ]; then
        POL_SetupWindow_menu "$(eval_gettext 'Which game version do you have?')" "$TITLE" "Original Edition~Best Seller Edition" "~"
        Version="$APP_ANSWER"

        POL_Call POL_Wine_InstallCDROM "1" "w" "install.exe" "installer.exe"
        POL_Wine_WaitBefore "$TITLE"

        POL_Wine start /unix "$CDROM_SETUP"

        POL_Call POL_Wine_InstallCDROM "2" "w" "d2music.mpq" "Installer Tome 2.mpq" "Installer_Tome_2.mpq"

        POL_Call POL_Wine_InstallCDROM "3" "w" "D2Video.mpq" "Installer Tome 3.mpq" "Installer_Tome_3.mpq"

        if [ "$Version" = "Best Seller Edition" ]; then
            POL_Call POL_Wine_InstallCDROM "01" "w" "install.exe" "installer.exe"
        fi
    fi

    if [ "$INSTALL_METHOD" = "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SetupFile="$APP_ANSWER"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$SetupFile"
    fi
fi

POL_Wine_WaitExit "$TITLE"

POL_Shortcut "Diablo II.exe" "$TITLE"
POL_Shortcut_QuietDebug "$TITLE"

POL_SetupWindow_Close
exit

Antwoorden

Irhamel Woensdag 13 Juli 2016 om 19:01
Irhamel Anonymous

Bericht

Hey guys! I'm attempting to install Diablo II and LOD (ofc first need diablo 2) from the battle.net online installer (as i lost my cds), and it errors on me.

 

Error in POL_Shortcut
Binary not found: Diablo II.exe
Have you installed the program to the default location?

 

 jl ? ~ ? Downloads ? D2-1.14b-Installer-enUS ? pwd
/home/jl/Downloads/D2-1.14b-Installer-enUS
 jl ? ~ ? Downloads ? D2-1.14b-Installer-enUS ? ls
DirectX  Installer.app  Installer.exe  Installer Tome.mpq
 jl ? ~ ? Downloads ? D2-1.14b-Installer-enUS ? 

 

thats what i have.

 

Im using ubuntu 16.04

Antwoorden

Anonymous
Zondag 11 September 2016 om 19:28
I have the same problem. Is there a solution yet to get it working?
Sethan Zaterdag 9 April 2016 om 1:11
Sethan Anonymous

Bericht

Hi,

Blizzard rolled out a new update for Diablo 2 back in March 2016, and it does not work with POL. I downloaded the game client from Battle.net, and during the installation it would prompt "Wine program crash. Internal errors - invalid parameters received" and "Error in POL_Shortcut Binary not found: Diablo II.exe Have you installed the program to the default location?"

Please help.

Antwoorden

sethmisk Vrijdag 11 Maart 2016 om 19:29
sethmisk Anonymous

Bericht

I'm trying to install Diablo II on my MacBook (running OS X 10.11.3 El Capitan) and it's giving me an error message (screencap: http://i.imgur.com/7TW0P1P.png?1). I just installed PlayOnMac today, I have XQuartz, and I've looked through the "First Use" page on the wiki and I'm not sure what I'm doing wrong.

 

The error message asks if I've installed the program in the default location. Is "the program" referring to PlayOnMac, or to the program I'm trying to install? And what's "the default location"? PlayOnMac is in my applications folder, and I let it set up the virtual drive with the default settings. The Diablo .exe file that I downladed from Blizzard is in my downloads folder; is it supposed to be someplace else? Are there some more detailed instructions for this somewhere that I've overlooked?

Thanks in advance.

Antwoorden

barbaramora Woensdag 10 Februari 2016 om 22:24
barbaramora

Bericht

I have been unable to install D2 in my Macbook. I have the installation cds, but my mac doesn't have a CD drive. I also tried downloading the installer available in battle.net, but it doesn't work either. How do I proceed?

Antwoorden

Cloddes93 Zondag 28 Juni\ 2015 om 23:21
Cloddes93 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Bericht

Found a problem with the Diablo II 3 CD version with Lord of Destruction included (on another cd). The installer can't find the cd 2 as there is no "music.mpq", instead there is "Installer Tome 2.mpq". I suppose the same thing would happen with CD3 as there is "Installer Tome 3.mpq" instead of "playd2.mpq"

Differences

@@ -37,10 +37,16 @@
         POL_Wine_WaitBefore "$TITLE"
 
         POL_Wine start /unix "$CDROM_SETUP"
-
+        
         POL_Call POL_Wine_InstallCDROM "2" "w" "d2music.mpq"
+        #Check if this--^ worked 
+        #else try with "Installer Tome 2.mpq"
+        #Could be "Installer_Tome_2.mpq"
 
         POL_Call POL_Wine_InstallCDROM "3" "w" "playd2.mpq"
+        #Check if this--^ worked 
+        #else try with "Installer Tome 3.mpq"
+        #Could be "Installer_Tome_3.mpq"
 
         POL_Wine_WaitExit "$TITLE"
 

New source code

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

# CHANGELOG
# [SuperPlumus] (2013-06-08 18-02)
#   gettext

[ "$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_Wine_PrefixCreate "$WINEVERSION"

if [ "$POL_SELECTED_FILE" ]; then
    SetupFile="$POL_SELECTED_FILE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine start /unix "$SetupFile"
else
    POL_SetupWindow_InstallMethod "CD,LOCAL"

    if [ "$INSTALL_METHOD" = "CD" ]; then

        POL_Call POL_Wine_InstallCDROM "1" "w" "install.exe" "installer.exe"
        POL_Wine_WaitBefore "$TITLE"

        POL_Wine start /unix "$CDROM_SETUP"
        
        POL_Call POL_Wine_InstallCDROM "2" "w" "d2music.mpq"
        #Check if this--^ worked 
        #else try with "Installer Tome 2.mpq"
        #Could be "Installer_Tome_2.mpq"

        POL_Call POL_Wine_InstallCDROM "3" "w" "playd2.mpq"
        #Check if this--^ worked 
        #else try with "Installer Tome 3.mpq"
        #Could be "Installer_Tome_3.mpq"

        POL_Wine_WaitExit "$TITLE"

    fi

    if [ "$INSTALL_METHOD" = "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SetupFile="$APP_ANSWER"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$SetupFile"
    fi
fi

POL_Wine_WaitExit

Set_Desktop On 800 600

POL_Shortcut "Diablo II.exe" "$TITLE"
POL_Shortcut_QuietDebug "$TITLE"

POL_SetupWindow_Close
exit

Antwoorden

Pichnouf Donderdag 18 Juni\ 2015 om 19:44
Pichnouf Anonymous

Bericht

Greetings Playonlinux team!

 

I'm running Xubuntu 15.04 64bits.

Just installed Playonlinux.

Tried to install Diablo 2 with the PoL assistant (true CD-Roms, full install).

The CDs must be inserted in this order: CD1, CD2, CD3 and CD1 again to complete install.

At the end of CD3 step (installing cinematics), the PoL assistant didn't ask me to insert CD1 again. It just says "Please wait for D2 install", doing nothing else. The complete install of D2 is a no-go.

I tried this 2 times, same results.  I'll try the multiplayer install now see if it works, but I'd really like to have D2 fully installed for easier CD management.

Thanks

Antwoorden

Donderdag 18 Juni\ 2015 om 19:50
You might want to try to copy the discs to a folder on your computer and point the POL installer to there. That is a common workaround for this type of glitch. :)
Anonymous
Vrijdag 19 Juni\ 2015 om 18:57
Why yes! Well thank you Ronin for the quick answer! Yesterday, I finally managed to install D2 and D2 LoD using only Wine (the version that comes with **buntu 15.04) and it worked just fine. But hey, I want PoL to manage all my games so I'll try your workaround and see what happens. Might be good for a laugh! Have a good one! P.
blacknight Woensdag 22 October 2014 om 21:50
blacknight Anonymous

Bericht

I had Diablo2 working with mavericks and now that i have yosemite it ddoes not work, and downloading the latest upgrade also does not work. Can't find a place in the forum with any assistance resolving this issue. Any help would be appreciated

Antwoorden

Anonymous
Woensdag 22 October 2014 om 23:28
Reinstall XQuartz
Anonymous
Donderdag 23 October 2014 om 3:00
thank you - that worked for downloading and installing the game. Get an error message now Unhandled Exception Access Violation (c0000005)
Anonymous
Donderdag 23 October 2014 om 3:26
getting info on what is supposed to be 4.2 play on mac says it's 4.1. Maybe the error?
Anonymous
Vrijdag 24 October 2014 om 2:42
Any help on this?
Invictus90 Vrijdag 26 September 2014 om 17:00
Invictus90 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Bericht

Hello,

The program needed to find one more CD Change back to the Install Disc.

I also added a few more message boxes that consist of the names of these cds.

It is just as easy to navigate through before.

Differences

@@ -38,10 +38,15 @@
 
         POL_Wine start /unix "$CDROM_SETUP"
 
+        POL_SetupWindow_message "When the installer will ask you for Play Disc, click NEXT." "$TITLE" 
         POL_Call POL_Wine_InstallCDROM "2" "w" "d2music.mpq"
 
+	    POL_SetupWindow_message "When the installer will ask you for Cinematics Disc, click NEXT." "$TITLE" 
         POL_Call POL_Wine_InstallCDROM "3" "w" "playd2.mpq"
 
+	    POL_SetupWindow_message "When the installer will ask you for Install Disc, click NEXT." "$TITLE"
+	    POL_Call POL_Wine_InstallCDROM "4" "w" "install.exe" "installer.exe"
+ 
         POL_Wine_WaitExit "$TITLE"
 
     fi

New source code

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

# CHANGELOG
# [SuperPlumus] (2013-06-08 18-02)
#   gettext

[ "$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_Wine_PrefixCreate "$WINEVERSION"

if [ "$POL_SELECTED_FILE" ]; then
    SetupFile="$POL_SELECTED_FILE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine start /unix "$SetupFile"
else
    POL_SetupWindow_InstallMethod "CD,LOCAL"

    if [ "$INSTALL_METHOD" = "CD" ]; then

        POL_Call POL_Wine_InstallCDROM "1" "w" "install.exe" "installer.exe"
        POL_Wine_WaitBefore "$TITLE"

        POL_Wine start /unix "$CDROM_SETUP"

        POL_SetupWindow_message "When the installer will ask you for Play Disc, click NEXT." "$TITLE" 
        POL_Call POL_Wine_InstallCDROM "2" "w" "d2music.mpq"

            POL_SetupWindow_message "When the installer will ask you for Cinematics Disc, click NEXT." "$TITLE" 
        POL_Call POL_Wine_InstallCDROM "3" "w" "playd2.mpq"

            POL_SetupWindow_message "When the installer will ask you for Install Disc, click NEXT." "$TITLE"
            POL_Call POL_Wine_InstallCDROM "4" "w" "install.exe" "installer.exe"
 
        POL_Wine_WaitExit "$TITLE"

    fi

    if [ "$INSTALL_METHOD" = "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SetupFile="$APP_ANSWER"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$SetupFile"
    fi
fi

POL_Wine_WaitExit

Set_Desktop On 800 600

POL_Shortcut "Diablo II.exe" "$TITLE"
POL_Shortcut_QuietDebug "$TITLE"

POL_SetupWindow_Close
exit

Antwoorden

Anonymous
Dinsdag 8 Maart 2016 om 11:45
Same problem since a long time - I can confirm there is definately a problem with BestSeller Series last CD change, same as described here. I am sure this update would help, but if I click 'try this update' nothing happens, adress not found...how does it work?! Do I need to enter the differences by hand somehow, or is there a way to do so? Can anyone pls give me a working installer or/and fix it in PlayonLinux, please??
Anonymous
Maandag 11 April 2016 om 20:59
Will it ever be fe fixed??? Cant be so hard, whats going on here that titles like this does not work??????!!!
cford96 Zondag 17 Augustus 2014 om 0:37
cford96 Anonymous

Bericht

This program runs very well. I had to install an app to change the resolution to match my screen for the game. Besides that I have almost no complaints, the one big issue I have is that I can't install the Lord of Destruction expansion. I'm not sure if I'm doing it incorrectly, or if it isn't possible. Any feedback on that issue would be apprecited.

Antwoorden

Anonymous
Vrijdag 26 September 2014 om 17:05
Hi, I've added an improvement script to the Diablo II - Lord of Destruction. It works for me, Hopefully it fixes your issue.