Вы находитесь здесь

Warcraft III: Reign of Chaos

Informations

Creator Message
Quentin PÂRIS
Admin

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 231917
Wine: 3.0.3

Feedbacks

Screenshots

MiniatureMiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2009-06-07 15-40)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : Fedora 13 & Debian Squeeze x86_64
# Author : Quentin PÂRIS
# Licence : Retail
#
# CHANGELOG
# [Quentin PÂRIS] (2009-06-07 15-40)
#   Initial script. Wine 1.3.24 ?
# [?] (2011-07-17 19-45)
#
# [Dadu042] (2020-01-22 13:30)
#   Wine 1.9.4 -> 3.0.3
#   Improve POL_Shortcut

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

TITLE="Warcraft III - Reign Of Chaos"
PREFIX="WarcraftIII"
WINEVERSION="3.0.3"


POL_SetupWindow_Init
POL_Debug_Init
#Presentation
POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://www.blizzard.com" "Quentin PÂRIS" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"

if [ "$POL_SELECTED_FILE" ];  then
        SetupIs="$POL_SELECTED_FILE" 
else
        POL_SetupWindow_InstallMethod "LOCAL,CD"
        if [ "$INSTALL_METHOD" = "CD" ]; then
                POL_RequiredVersion "4.0.20" || POL_Debug_Fatal "Sorry, $APPLICATION_TITLE 4.0.20 is required to install $TITLE from CD-ROM"
                POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disk drive.')" "$TITLE"
                POL_SetupWindow_cdrom

                POL_SetupWindow_check_cdrom "install.exe" "installer.exe"
                SetupIs="$CDROM_SETUP" 
                POL_SetupWindow_message "$(eval_gettext 'The CD-ROM version is out to date. Do not forget to update $TITLE if you want it to run correctly with $APPLICATION_TITLE')" "$TITLE"
        fi
        if [ "$INSTALL_METHOD" = "LOCAL" ]; then
                POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
                SetupIs="$APP_ANSWER"
        fi
fi

[ "$SetupIs" = "" ] && exit 0
POL_Wine_PrefixCreate "$WINEVERSION"

[ "$POL_OS" = "Mac" ] && Set_Managed Off
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$SetupIs"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_VMS

POL_Shortcut "Warcraft III.exe" "$TITLE" "" "" "Game;"
POL_Shortcut_QuietDebug "$TITLE"

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
Dadu042 Thursday 30 January 2020 at 23:10
Dadu042
Moderator

Information

This update has been approved by the team.

Differences

@@ -1,17 +1,26 @@
 #!/bin/bash
 # Date : (2009-06-07 15-40)
-# Last revision : (2011-07-17 19-45)
-# Wine version used : 1.3.24
+# Last revision : see changelog
+# Wine version used : see below
 # Distribution used to test : Fedora 13 & Debian Squeeze x86_64
 # Author : Quentin PÂRIS
 # Licence : Retail
+#
+# CHANGELOG
+# [Quentin PÂRIS] (2009-06-07 15-40)
+#   Initial script. Wine 1.3.24 ?
+# [?] (2011-07-17 19-45)
+#
+# [Dadu042] (2020-01-22 13:30)
+#   Wine 1.9.4 -> 3.0.3
+#   Improve POL_Shortcut
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="Warcraft III - Reign Of Chaos"
 PREFIX="WarcraftIII"
-WINEVERSION="1.9.4"
+WINEVERSION="3.0.3"
 
 
 POL_SetupWindow_Init
@@ -50,7 +59,7 @@
 
 POL_SetupWindow_VMS
 
-POL_Shortcut "Warcraft III.exe" "$TITLE"
+POL_Shortcut "Warcraft III.exe" "$TITLE" "" "" "Game;"
 POL_Shortcut_QuietDebug "$TITLE"
 
 POL_SetupWindow_Close

New source code

#!/bin/bash
# Date : (2009-06-07 15-40)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : Fedora 13 & Debian Squeeze x86_64
# Author : Quentin PÂRIS
# Licence : Retail
#
# CHANGELOG
# [Quentin PÂRIS] (2009-06-07 15-40)
#   Initial script. Wine 1.3.24 ?
# [?] (2011-07-17 19-45)
#
# [Dadu042] (2020-01-22 13:30)
#   Wine 1.9.4 -> 3.0.3
#   Improve POL_Shortcut

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

TITLE="Warcraft III - Reign Of Chaos"
PREFIX="WarcraftIII"
WINEVERSION="3.0.3"


POL_SetupWindow_Init
POL_Debug_Init
#Presentation
POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://www.blizzard.com" "Quentin PÂRIS" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"

if [ "$POL_SELECTED_FILE" ];  then
        SetupIs="$POL_SELECTED_FILE" 
else
        POL_SetupWindow_InstallMethod "LOCAL,CD"
        if [ "$INSTALL_METHOD" = "CD" ]; then
                POL_RequiredVersion "4.0.20" || POL_Debug_Fatal "Sorry, $APPLICATION_TITLE 4.0.20 is required to install $TITLE from CD-ROM"
                POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disk drive.')" "$TITLE"
                POL_SetupWindow_cdrom

                POL_SetupWindow_check_cdrom "install.exe" "installer.exe"
                SetupIs="$CDROM_SETUP" 
                POL_SetupWindow_message "$(eval_gettext 'The CD-ROM version is out to date. Do not forget to update $TITLE if you want it to run correctly with $APPLICATION_TITLE')" "$TITLE"
        fi
        if [ "$INSTALL_METHOD" = "LOCAL" ]; then
                POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
                SetupIs="$APP_ANSWER"
        fi
fi

[ "$SetupIs" = "" ] && exit 0
POL_Wine_PrefixCreate "$WINEVERSION"

[ "$POL_OS" = "Mac" ] && Set_Managed Off
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$SetupIs"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_VMS

POL_Shortcut "Warcraft III.exe" "$TITLE" "" "" "Game;"
POL_Shortcut_QuietDebug "$TITLE"

POL_SetupWindow_Close
exit

Replies

jonasstomp Saturday 19 March 2016 at 10:25
jonasstomp

Warning

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

Message

If you use the installer you can download from battle.net (by using your key) you get a never version of the installer.

 

I manage to fix this by changing over to 1.9.4 (don't know If you can run the cd with this version)

Hope you update or make a new installer for the battle.net download :-)

Differences

@@ -11,7 +11,7 @@
 
 TITLE="Warcraft III - Reign Of Chaos"
 PREFIX="WarcraftIII"
-WINEVERSION="1.7.37"
+WINEVERSION="1.9.4"
 
 
 POL_SetupWindow_Init

New source code

#!/bin/bash
# Date : (2009-06-07 15-40)
# Last revision : (2011-07-17 19-45)
# Wine version used : 1.3.24
# Distribution used to test : Fedora 13 & Debian Squeeze x86_64
# Author : Quentin PÂRIS
# Licence : Retail

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

TITLE="Warcraft III - Reign Of Chaos"
PREFIX="WarcraftIII"
WINEVERSION="1.9.4"


POL_SetupWindow_Init
POL_Debug_Init
#Presentation
POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://www.blizzard.com" "Quentin PÂRIS" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"

if [ "$POL_SELECTED_FILE" ];  then
        SetupIs="$POL_SELECTED_FILE" 
else
        POL_SetupWindow_InstallMethod "LOCAL,CD"
        if [ "$INSTALL_METHOD" = "CD" ]; then
                POL_RequiredVersion "4.0.20" || POL_Debug_Fatal "Sorry, $APPLICATION_TITLE 4.0.20 is required to install $TITLE from CD-ROM"
                POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disk drive.')" "$TITLE"
                POL_SetupWindow_cdrom

                POL_SetupWindow_check_cdrom "install.exe" "installer.exe"
                SetupIs="$CDROM_SETUP" 
                POL_SetupWindow_message "$(eval_gettext 'The CD-ROM version is out to date. Do not forget to update $TITLE if you want it to run correctly with $APPLICATION_TITLE')" "$TITLE"
        fi
        if [ "$INSTALL_METHOD" = "LOCAL" ]; then
                POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
                SetupIs="$APP_ANSWER"
        fi
fi

[ "$SetupIs" = "" ] && exit 0
POL_Wine_PrefixCreate "$WINEVERSION"

[ "$POL_OS" = "Mac" ] && Set_Managed Off
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$SetupIs"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_VMS

POL_Shortcut "Warcraft III.exe" "$TITLE"
POL_Shortcut_QuietDebug "$TITLE"

POL_SetupWindow_Close
exit

Replies

Saturday 19 March 2016 at 12:55
Please note that this is ONNLY for the newest version of the game (update released march 2016)
Wednesday 14 December 2016 at 13:07
It worked for me with the 1.9.23-staging version. So I think that 1.9.4 must work too =)
Anonymous
Tuesday 31 January 2017 at 16:10
too old script. POLL error when starting script.
Quentin PÂRIS Thursday 5 March 2015 at 17:44
Quentin PÂRIS
Admin

Warning

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

Differences

@@ -11,7 +11,7 @@
 
 TITLE="Warcraft III - Reign Of Chaos"
 PREFIX="WarcraftIII"
-WINEVERSION="1.2.3"
+WINEVERSION="1.7.37"
 
 
 POL_SetupWindow_Init

New source code

#!/bin/bash
# Date : (2009-06-07 15-40)
# Last revision : (2011-07-17 19-45)
# Wine version used : 1.3.24
# Distribution used to test : Fedora 13 & Debian Squeeze x86_64
# Author : Quentin PÂRIS
# Licence : Retail

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

TITLE="Warcraft III - Reign Of Chaos"
PREFIX="WarcraftIII"
WINEVERSION="1.7.37"


POL_SetupWindow_Init
POL_Debug_Init
#Presentation
POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://www.blizzard.com" "Quentin PÂRIS" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"

if [ "$POL_SELECTED_FILE" ];  then
        SetupIs="$POL_SELECTED_FILE" 
else
        POL_SetupWindow_InstallMethod "LOCAL,CD"
        if [ "$INSTALL_METHOD" = "CD" ]; then
                POL_RequiredVersion "4.0.20" || POL_Debug_Fatal "Sorry, $APPLICATION_TITLE 4.0.20 is required to install $TITLE from CD-ROM"
                POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disk drive.')" "$TITLE"
                POL_SetupWindow_cdrom

                POL_SetupWindow_check_cdrom "install.exe" "installer.exe"
                SetupIs="$CDROM_SETUP" 
                POL_SetupWindow_message "$(eval_gettext 'The CD-ROM version is out to date. Do not forget to update $TITLE if you want it to run correctly with $APPLICATION_TITLE')" "$TITLE"
        fi
        if [ "$INSTALL_METHOD" = "LOCAL" ]; then
                POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
                SetupIs="$APP_ANSWER"
        fi
fi

[ "$SetupIs" = "" ] && exit 0
POL_Wine_PrefixCreate "$WINEVERSION"

[ "$POL_OS" = "Mac" ] && Set_Managed Off
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$SetupIs"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_VMS

POL_Shortcut "Warcraft III.exe" "$TITLE"
POL_Shortcut_QuietDebug "$TITLE"

POL_SetupWindow_Close
exit

Replies

Edited by Tinou

stilobique Thursday 12 February 2015 at 23:53
stilobique Anonymous

Message

Salut,

ça marche parfaitement ! Ou presque, les cinématiques (enfin juste 1) fait planter le jeu ; lors du lancement de la ciné pour la camapgne humaine la cine ce lance mais reste sur un écran noir avec le son puis plante. Il me reste à tester de récupérer d'ancienne sauvegarde pour combler cette "lacune".

 

Est-ce que ce soucis est-déjà survenu à quelqu'un ??

Replies