Warcraft III: The Frozen Throne

Informations

Creator Message
Quentin PÂRIS Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 199758
Wine: 3.20

Feedbacks

Description

Screenshots

MiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2018-05-05 14:00)
# Last revision : See changelog
# Wine version used : 3.7
# Distribution used to test : Ubuntu 16.04
# Author : Simoms
# Licence : Retail
#
# CHANGELOG
# [Simoms] (2018-05-05 14:00)
#   Initial script.
# [Dadu042] (2020-01-30 13:30)
#   Wine 3.7 -> 3.20.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="WarcraftIII"
WINEVERSION="3.20"
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

Contributions

Filters:

Contribute
Member Message
Dadu042 Thursday 30 January 2020 at 23:07
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,16 +1,22 @@
 #!/bin/bash
 # Date : (2018-05-05 14:00)
-# Last revision : (2018-05-05 14:00)
+# Last revision : See changelog
 # Wine version used : 3.7
 # Distribution used to test : Ubuntu 16.04
 # Author : Simoms
 # Licence : Retail
- 
+#
+# CHANGELOG
+# [Simoms] (2018-05-05 14:00)
+#   Initial script.
+# [Dadu042] (2020-01-30 13:30)
+#   Wine 3.7 -> 3.20.
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  
 PREFIX="WarcraftIII"
-WINEVERSION="3.7"
+WINEVERSION="3.20"
 TITLE="Warcraft III"
 EDITOR="Blizzard Entertainment"
 GAME_URL="https://www.blizzard.com/"

New source code

#!/bin/bash
# Date : (2018-05-05 14:00)
# Last revision : See changelog
# Wine version used : 3.7
# Distribution used to test : Ubuntu 16.04
# Author : Simoms
# Licence : Retail
#
# CHANGELOG
# [Simoms] (2018-05-05 14:00)
#   Initial script.
# [Dadu042] (2020-01-30 13:30)
#   Wine 3.7 -> 3.20.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="WarcraftIII"
WINEVERSION="3.20"
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

Replies

Simoms Thursday 10 May 2018 at 10:56
Simoms

Warning

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

Message

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

New source code

#!/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

Replies

Thursday 30 January 2020 at 23:04
Script approved.
jonasstomp Saturday 19 March 2016 at 10:33
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 - The Frozen Throne"
 PREFIX="WarcraftIII"
-WINEVERSION="1.2.3"
+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, 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

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:45
+1. I tried with the wine version 1.9.23-staging and It worked.
Quentin PÂRIS Thursday 5 March 2015 at 17:40
Quentin PÂRIS Anonymous

Warning

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

Differences

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

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, 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

Replies

Wednesday 18 April 2018 at 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?
Wednesday 18 April 2018 at 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 Wednesday 7 January 2015 at 7:09
eth.jp

Message

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.

Replies