Warcraft III: The Frozen Throne

Informations

Créateur Messages
Quentin PÂRIS
Admin

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 166594
Wine: System

Retours d'expérience

Captures d'écran

MiniatureMiniatureMiniature

Code source

#!/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, Mac OS
# Author : Quentin PÂRIS
# Licence : Retail

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

TITLE="Warcraft III - The Frozen Throne"
PREFIX="WarcraftIII"
WINEVERSION="1.2.3"


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

if [ ! -e "$POL_USER_ROOT/wineprefix/$PREFIX" ]; then
        POL_SetupWindow_message "You must install Reign Of Chaos first!" "$TITLE"
        POL_SetupWindow_Close
        exit 0
fi

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_WaitBefore "$TITLE"
POL_Wine "$SetupIs"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_VMS

POL_Shortcut "Frozen Throne.exe" "$TITLE"
POL_Shortcut_QuietDebug "$TITLE"

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribuer
Membre Messages
Simoms Jeudi 10 Mai 2018 à 10:56
Simoms

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

With 1.28.3, Blizzard added a new common installer and launcher for both Reign of Chaos and The Frozen Throne.

The old PlayOnLinux scripts do not work for Warcraft III 1.28.3+.

Differences

@@ -1,61 +1,53 @@
 #!/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, Mac OS
-# Author : Quentin PÂRIS
+# Date : (2018-05-05 14:00)
+# Last revision : (2018-05-05 14:00)
+# Wine version used : 3.7
+# Distribution used to test : Ubuntu 16.04
+# Author : Simoms
 # Licence : Retail
-
+ 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
-TITLE="Warcraft III - The Frozen Throne"
+ 
 PREFIX="WarcraftIII"
-WINEVERSION="1.2.3"
-
-
+WINEVERSION="3.7"
+TITLE="Warcraft III"
+EDITOR="Blizzard Entertainment"
+GAME_URL="https://www.blizzard.com/"
+AUTHOR="Simoms"
+ 
+# PlayOnLinux Setup
 POL_SetupWindow_Init
 POL_Debug_Init
-#Presentation
-POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://www.blizzard.com" "Quentin PÂRIS" "$PREFIX"
-
-if [ ! -e "$POL_USER_ROOT/wineprefix/$PREFIX" ]; then
-	POL_SetupWindow_message "You must install Reign Of Chaos first!" "$TITLE"
-	POL_SetupWindow_Close
-	exit 0
-fi
-
-POL_Wine_SelectPrefix "$PREFIX"
-
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+ 
+# Get installer file
 if [ "$POL_SELECTED_FILE" ];  then
-	SetupIs="$POL_SELECTED_FILE" 
+    INSTALLER="$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
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+    INSTALLER="$APP_ANSWER"
 fi
-
-[ "$SetupIs" = "" ] && exit 0
-
+ 
+[ "$INSTALLER" = "" ] && exit 0
+ 
+# Create prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+ 
+# Install game
 POL_Wine_WaitBefore "$TITLE"
-POL_Wine "$SetupIs"
+POL_Wine "$INSTALLER"
 POL_Wine_WaitExit "$TITLE"
-
+ 
+# Ask about GPU memory size
 POL_SetupWindow_VMS
-
-POL_Shortcut "Frozen Throne.exe" "$TITLE"
+ 
+# Create shortcuts
+POL_Shortcut "$TITLE.exe" "$TITLE"
+POL_Shortcut "$TITLE Launcher.exe" "$TITLE Launcher"
+POL_Shortcut "World Editor.exe" "$TITLE - World Editor"
 POL_Shortcut_QuietDebug "$TITLE"
-
+ 
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2018-05-05 14:00)
# Last revision : (2018-05-05 14:00)
# Wine version used : 3.7
# Distribution used to test : Ubuntu 16.04
# Author : Simoms
# Licence : Retail
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="WarcraftIII"
WINEVERSION="3.7"
TITLE="Warcraft III"
EDITOR="Blizzard Entertainment"
GAME_URL="https://www.blizzard.com/"
AUTHOR="Simoms"
 
# PlayOnLinux Setup
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Get installer file
if [ "$POL_SELECTED_FILE" ];  then
    INSTALLER="$POL_SELECTED_FILE"
else
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
fi
 
[ "$INSTALLER" = "" ] && exit 0
 
# Create prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
# Install game
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"
POL_Wine_WaitExit "$TITLE"
 
# Ask about GPU memory size
POL_SetupWindow_VMS
 
# Create shortcuts
POL_Shortcut "$TITLE.exe" "$TITLE"
POL_Shortcut "$TITLE Launcher.exe" "$TITLE Launcher"
POL_Shortcut "World Editor.exe" "$TITLE - World Editor"
POL_Shortcut_QuietDebug "$TITLE"
 
POL_SetupWindow_Close
exit 0

Réponses

jonasstomp Samedi 19 Mars 2016 à 10:33
jonasstomp

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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 - The Frozen Throne"
 PREFIX="WarcraftIII"
-WINEVERSION="1.2.3"
+WINEVERSION="1.9.4"
 
 
 POL_SetupWindow_Init

Nouveau code source

#!/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, Mac OS
# Author : Quentin PÂRIS
# Licence : Retail

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

TITLE="Warcraft III - The Frozen Throne"
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"

if [ ! -e "$POL_USER_ROOT/wineprefix/$PREFIX" ]; then
        POL_SetupWindow_message "You must install Reign Of Chaos first!" "$TITLE"
        POL_SetupWindow_Close
        exit 0
fi

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_WaitBefore "$TITLE"
POL_Wine "$SetupIs"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_VMS

POL_Shortcut "Frozen Throne.exe" "$TITLE"
POL_Shortcut_QuietDebug "$TITLE"

POL_SetupWindow_Close
exit

Réponses

Samedi 19 Mars 2016 à 12:55
Please note that this is ONNLY for the newest version of the game (update released march 2016)
Mercredi 14 Décembre 2016 à 13:45
+1. I tried with the wine version 1.9.23-staging and It worked.
Quentin PÂRIS Jeudi 5 Mars 2015 à 17:40
Quentin PÂRIS
Admin

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -47,7 +47,6 @@
 fi
 
 [ "$SetupIs" = "" ] && exit 0
-POL_Wine_PrefixCreate "$WINEVERSION"
 
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "$SetupIs"

Nouveau code source

#!/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, Mac OS
# Author : Quentin PÂRIS
# Licence : Retail

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

TITLE="Warcraft III - The Frozen Throne"
PREFIX="WarcraftIII"
WINEVERSION="1.2.3"


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

if [ ! -e "$POL_USER_ROOT/wineprefix/$PREFIX" ]; then
        POL_SetupWindow_message "You must install Reign Of Chaos first!" "$TITLE"
        POL_SetupWindow_Close
        exit 0
fi

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_WaitBefore "$TITLE"
POL_Wine "$SetupIs"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_VMS

POL_Shortcut "Frozen Throne.exe" "$TITLE"
POL_Shortcut_QuietDebug "$TITLE"

POL_SetupWindow_Close
exit

Réponses

Mercredi 18 Avril 2018 à 10:08
This might sound very stupid, but I have problems running the script. I can see it should be starting my installed PlayOnLinux and I receive a pop-up window asking: Open xdg-open? If I click yes, nothing happens neither on Fedora 27, Nor openSUSE tumbleweed. They both have play on linux installed and working, but clicking your links do not work for me. Tried to run them from terminal with xdg-open, but that doesn't work either. Can you help me out with this please?
Mercredi 18 Avril 2018 à 12:35
UPDATE:
Ok, I was silly. Found the code, saved it to my a script file and ran it with PlayOnLinux. But all it does is logging me out from the PC. What gives? :/
eth.jp Mercredi 7 Janvier 2015 à 7:09
eth.jp

Messages

Runs well but on my computer it seems to open in a window size i had not configured. With this window size I could not play the game, I inserted an unconnected VGA cable and that changed the window size so I could access the menu and options and change the resolution.

Réponses