Warcraft II: Battle.net Edition

Informations

Creator Meddelanden
ntzrmtthihu777

Warning

This installer is a beta script. It means that it might not work as expected

Informations

Platforms:
Downloads: 12210
Wine: System

Feedbacks

Description

Warcraft II: Battle.net Edition is an Battle.net-enabled version of Warcraft II: Tides of Darkness, with the expansion Warcraft II: Beyond the Dark Portal built in. It was released Sepember 30, 1999.[1] This is essentially the same as Warcraft II, but it allows for usage on Battle.net, and, unlike its offline counterparts, does require a CD Key to install.

Screenshots

Miniature

Source code

#!/bin/bash
# Date                      : (2013-05-11 09-35)
# Last revision             : see changelog
# Wine version used         : 
# Distribution used to test : Xubuntu 12.04.2 LTS
# Author                    : ntzrmtthihu777
# Testers                   :
#
# CHANGELOG
# [ntzrmtthihu777] (2013-05-10 06-25)
#   Initial script.
# [Dadu042] (2020-01-22 13:30)
#   Wine 1.5.29 -> system

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

TITLE="Warcraft II - Battle.net Edition"
PREFIX="WarcraftII_BNE"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.blizzard.com/en-us/" "ntzrmtthihu777" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

# choses cd, installs program
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "SETUP.EXE"
POL_Wine "$CDROM/SETUP.EXE"
POL_Wine_WaitExit "$TITLE"

# sets some registry keys needed for full function on some systems
POL_Wine_X11Drv "GrabFullscreen" "Y"
POL_Wine_X11Drv "Decorated" "N"
POL_Wine_X11Drv "Managed" "N"

# creates shortcut
POL_Shortcut "Warcraft II BNE.exe" "Warcraft II" "" "" "Game;StrategyGame;"
POL_Shortcut "Warcraft II Map Editor.exe" "Warcraft II Map Editor" "" "" "Game;StrategyGame;"
POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribute
Member Meddelanden
Dadu042 Thursday 30 January 2020 at 23:12
Dadu042
Moderator

Information

This update has been approved by the team.

Differences

@@ -1,10 +1,16 @@
 #!/bin/bash
-# Date                      : (2013-05-10 06-25)
-# Last revision             : (2013-05-11 09-35)
-# Wine version used         : 1.5.29
+# Date                      : (2013-05-11 09-35)
+# Last revision             : see changelog
+# Wine version used         : 
 # Distribution used to test : Xubuntu 12.04.2 LTS
 # Author                    : ntzrmtthihu777
 # Testers                   :
+#
+# CHANGELOG
+# [ntzrmtthihu777] (2013-05-10 06-25)
+#   Initial script.
+# [Dadu042] (2020-01-22 13:30)
+#   Wine 1.5.29 -> system
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -18,7 +24,7 @@
 POL_Debug_Init
 POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.blizzard.com/en-us/" "ntzrmtthihu777" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.5.29"
+POL_Wine_PrefixCreate
 
 # choses cd, installs program
 POL_SetupWindow_cdrom

New source code

#!/bin/bash
# Date                      : (2013-05-11 09-35)
# Last revision             : see changelog
# Wine version used         : 
# Distribution used to test : Xubuntu 12.04.2 LTS
# Author                    : ntzrmtthihu777
# Testers                   :
#
# CHANGELOG
# [ntzrmtthihu777] (2013-05-10 06-25)
#   Initial script.
# [Dadu042] (2020-01-22 13:30)
#   Wine 1.5.29 -> system

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

TITLE="Warcraft II - Battle.net Edition"
PREFIX="WarcraftII_BNE"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Blizzard" "http://us.blizzard.com/en-us/" "ntzrmtthihu777" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

# choses cd, installs program
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "SETUP.EXE"
POL_Wine "$CDROM/SETUP.EXE"
POL_Wine_WaitExit "$TITLE"

# sets some registry keys needed for full function on some systems
POL_Wine_X11Drv "GrabFullscreen" "Y"
POL_Wine_X11Drv "Decorated" "N"
POL_Wine_X11Drv "Managed" "N"

# creates shortcut
POL_Shortcut "Warcraft II BNE.exe" "Warcraft II" "" "" "Game;StrategyGame;"
POL_Shortcut "Warcraft II Map Editor.exe" "Warcraft II Map Editor" "" "" "Game;StrategyGame;"
POL_SetupWindow_Close

exit 0

Svar