Warcraft II: Battle.net Edition

Informations

Créateur Messages
ntzrmtthihu777

Information

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

Informations

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

Retours d'expérience

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.

Captures d'écran

Miniature

Code source

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

Contribuer
Membre Messages
Dadu042 Jeudi 30 Janvier 2020 à 23:12
Dadu042

Information

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

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

Nouveau code source

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

Réponses

Samedi 31 Décembre 2022 à 17:25
This install script doesn't work on (or even I think help with) LAN multiplayer. For single-player on Linux it's arguably better to use wargus. For LAN, IPX is required which is no longer supported in the Linux kernel (which seems to be fatal in wine, even if a sufficiently old windows version is selected). There is ipxemu in windows but on wine this needs a special wsocks.dll and WINEDLLOVERRIDES=wsock32=n to be set, which I can't work out how to do in POL. Also this seems to want a cd or iso when many users now will want to use the GOG installer.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com