World Of Warcraft

Informations

Créateur Messages
Quentin PÂRIS Anonymous

Attention

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

Informations

Plate-formes :
Téléchargements : 368008
Wine: 3.20

Retours d'expérience

Description

Code source

#!/bin/bash
# Date : (2009-07-07 19-30)
# Last revision : see changelog
# Wine version used : see script
# Distribution used to test : N/A
# Author : Asimov and SuperPlumus
# Contributor: freedumb2000 vi2nano
  
# CHANGELOG
# [Dadu042] (2020-02-22 07-35)
#  Wine 1.9.20-staging (outdated) -> 3.20 (latest compatible with POL/POM v4.2.x)
#  Improved POL_Shortcut
#  Translate comments french -> english
# [vi2nano] (2016-10-14 06-45)
#        Updated for Legion
#        Updated wine version to 1.9.20-staging
#        Added Override for msvcp140(native,builtin)
#        added XP as default OS
#        commented out dotnet30sp1 install. It's no longer required also (md5 mismatch was inevitable)
#        commented Fichier Config.wtf for now. DX11 seems to be working a little better in wine, no need to force it to default to DX9.
# [vi2nano] (2016-06-18 16-38)
#   Updated Wine Version to 1.9.12 (Works with new 6.2.4 patch)
#   Added dotnet30sp1 to fix errors logging into Battle.net.
#   Added a few message windows during install to point users in the right direction setting ptrace_scope
#    and regarding installation of libldap (ArchLinux doesn't include it in base system their may be Distros also)
# [Petch] (2015-12-04 23-17)
#   Add POL_SetupWindow_SetID
# [freedumb200] (2014-11-14 17-15)
#   Update Wine version to 1.7.29 (known to work with Draenor).
#   Added dbghelp dll override to fix a crsh in the BattleNet client.
# [SuperPlumus] (2013-05-12 15-55)
#   Update Wine version to 1.5.29 to fix bug #2284
#   Add --allow-kill in POL_Wine_WaitExit
# [SuperPlumus] (2013-05-19 20-47)
#   gettext
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="World of Warcraft"
PREFIX="WorldOfWarcraft"
WORKING_WINE_VERSION="3.20"
  
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/wow/top.jpg" "http://files.playonlinux.com/resources/setups/wow/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 14
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://www.blizzard.com" "Asimov and SuperPlumus" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86" # Don't know if it can work in x64
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
POL_System_TmpCreate "$PREFIX"
  

POL_Call POL_Install_gecko
#POL_Call POL_Install_dotnet30sp1
POL_SetupWindow_message "$(eval_gettext 'If this fails check the debug, if missing libldap.so, and please install libldap from your Repo')" "$TITLE"
  
Set_OS "winxp"
POL_Wine_OverrideDLL "dbghelp"
POL_Wine_OverrideDLL "native,builtin" "msvcp140"
  
POL_SetupWindow_InstallMethod "CD,DVD,LOCAL"
  
if [ "$INSTALL_METHOD" = "CD" ]
then
  
# The CDs number can change among the packages released.
POL_SetupWindow_menu "$(eval_gettext 'Which version do you have?')" "$TITLE" "4 CDs~5 CDs" "~"
NOMBRE_CD="$APP_ANSWER"
  
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 1 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/* "$POL_System_TmpDir"
  
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 2 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 2.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
  
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 3 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 3.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
  
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 4 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 4.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
  
  
if [ "$NOMBRE_CD" = "5 CDs" ]; then
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 5 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 5.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
fi
  
cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill
  
fi
if [ "$INSTALL_METHOD" = "DVD" ]
then
  
POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/* "$POL_System_TmpDir"
  
cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill
  
fi
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
  
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE" --allow-kill
  
  
fi
  
POL_Wine_SetVideoDriver
  
POL_SetupWindow_VMS
  
  
POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
  
# Fichier Config.wtf
#cd "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF"
#cat << EOF > Config.wtf
#SET gxApi "D3D9"
#SET ffxDeath "0"
#SET SoundOutputSystem "1"
#SET SoundBufferSize "150"
#SET MasterSoundEffects "0"
#EOF
  
# AddOn ApplyToForehead (avoid WOW crashes on the settings screen)
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
wget "$SITE/divers/ApplyToForehead.zip"
unzip "ApplyToForehead.zip"
rm "ApplyToForehead.zip"
  
POL_Wine_InstallFonts
Set_SoundDriver alsa
  
POL_System_TmpDelete
  
POL_Shortcut "Wow.exe" "$TITLE" "" "" "Game;"
POL_Shortcut_InsertBeforeWine "$TITLE" "mkdir -p \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/\""
POL_Shortcut_InsertBeforeWine "$TITLE" "cp \"$WINEPREFIX/drive_c/Config.wtf\" \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/Config.wtf\""
  
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Samedi 22 Aoüt 2020 à 7:39
Dadu042

Information

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

Differences

@@ -1,12 +1,16 @@
 #!/bin/bash
 # Date : (2009-07-07 19-30)
-# Last revision : (2016-06-18 16-38)
-# Wine version used : 1.9.12
+# Last revision : see changelog
+# Wine version used : see script
 # Distribution used to test : N/A
 # Author : Asimov and SuperPlumus
 # Contributor: freedumb2000 vi2nano
   
 # CHANGELOG
+# [Dadu042] (2020-02-22 07-35)
+#  Wine 1.9.20-staging (outdated) -> 3.20 (latest compatible with POL/POM v4.2.x)
+#  Improved POL_Shortcut
+#  Translate comments french -> english
 # [vi2nano] (2016-10-14 06-45)
 #	Updated for Legion
 #	Updated wine version to 1.9.20-staging
@@ -19,8 +23,10 @@
 #   Added dotnet30sp1 to fix errors logging into Battle.net.
 #   Added a few message windows during install to point users in the right direction setting ptrace_scope
 #    and regarding installation of libldap (ArchLinux doesn't include it in base system their may be Distros also)
+# [Petch] (2015-12-04 23-17)
+#   Add POL_SetupWindow_SetID
 # [freedumb200] (2014-11-14 17-15)
-#   Update Wine version to 1.5.29 (known to work with Draenor).
+#   Update Wine version to 1.7.29 (known to work with Draenor).
 #   Added dbghelp dll override to fix a crsh in the BattleNet client.
 # [SuperPlumus] (2013-05-12 15-55)
 #   Update Wine version to 1.5.29 to fix bug #2284
@@ -33,7 +39,7 @@
   
 TITLE="World of Warcraft"
 PREFIX="WorldOfWarcraft"
-WORKING_WINE_VERSION="1.9.20-staging"
+WORKING_WINE_VERSION="3.20"
   
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/wow/top.jpg" "http://files.playonlinux.com/resources/setups/wow/left.jpg" "$TITLE"
 POL_SetupWindow_Init
@@ -43,7 +49,7 @@
 POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://www.blizzard.com" "Asimov and SuperPlumus" "$PREFIX"
   
 POL_Wine_SelectPrefix "$PREFIX"
-POL_System_SetArch "x86" # je ne sais pas si ca fonctionne en x64
+POL_System_SetArch "x86" # Don't know if it can work in x64
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
   
 POL_System_TmpCreate "$PREFIX"
@@ -62,7 +68,7 @@
 if [ "$INSTALL_METHOD" = "CD" ]
 then
   
-# Le nombre de cd varie selon les boitiers
+# The CDs number can change among the packages released.
 POL_SetupWindow_menu "$(eval_gettext 'Which version do you have?')" "$TITLE" "4 CDs~5 CDs" "~"
 NOMBRE_CD="$APP_ANSWER"
   
@@ -149,7 +155,7 @@
 #SET MasterSoundEffects "0"
 #EOF
   
-# AddOn ApplyToForehead (evite les crash de wow sur l'ecran des reglages)
+# AddOn ApplyToForehead (avoid WOW crashes on the settings screen)
 mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
 cd "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
 wget "$SITE/divers/ApplyToForehead.zip"
@@ -161,7 +167,7 @@
   
 POL_System_TmpDelete
   
-POL_Shortcut "Wow.exe" "$TITLE"
+POL_Shortcut "Wow.exe" "$TITLE" "" "" "Game;"
 POL_Shortcut_InsertBeforeWine "$TITLE" "mkdir -p \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/\""
 POL_Shortcut_InsertBeforeWine "$TITLE" "cp \"$WINEPREFIX/drive_c/Config.wtf\" \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/Config.wtf\""
   

Nouveau code source

#!/bin/bash
# Date : (2009-07-07 19-30)
# Last revision : see changelog
# Wine version used : see script
# Distribution used to test : N/A
# Author : Asimov and SuperPlumus
# Contributor: freedumb2000 vi2nano
  
# CHANGELOG
# [Dadu042] (2020-02-22 07-35)
#  Wine 1.9.20-staging (outdated) -> 3.20 (latest compatible with POL/POM v4.2.x)
#  Improved POL_Shortcut
#  Translate comments french -> english
# [vi2nano] (2016-10-14 06-45)
#        Updated for Legion
#        Updated wine version to 1.9.20-staging
#        Added Override for msvcp140(native,builtin)
#        added XP as default OS
#        commented out dotnet30sp1 install. It's no longer required also (md5 mismatch was inevitable)
#        commented Fichier Config.wtf for now. DX11 seems to be working a little better in wine, no need to force it to default to DX9.
# [vi2nano] (2016-06-18 16-38)
#   Updated Wine Version to 1.9.12 (Works with new 6.2.4 patch)
#   Added dotnet30sp1 to fix errors logging into Battle.net.
#   Added a few message windows during install to point users in the right direction setting ptrace_scope
#    and regarding installation of libldap (ArchLinux doesn't include it in base system their may be Distros also)
# [Petch] (2015-12-04 23-17)
#   Add POL_SetupWindow_SetID
# [freedumb200] (2014-11-14 17-15)
#   Update Wine version to 1.7.29 (known to work with Draenor).
#   Added dbghelp dll override to fix a crsh in the BattleNet client.
# [SuperPlumus] (2013-05-12 15-55)
#   Update Wine version to 1.5.29 to fix bug #2284
#   Add --allow-kill in POL_Wine_WaitExit
# [SuperPlumus] (2013-05-19 20-47)
#   gettext
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="World of Warcraft"
PREFIX="WorldOfWarcraft"
WORKING_WINE_VERSION="3.20"
  
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/wow/top.jpg" "http://files.playonlinux.com/resources/setups/wow/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 14
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://www.blizzard.com" "Asimov and SuperPlumus" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86" # Don't know if it can work in x64
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
POL_System_TmpCreate "$PREFIX"
  

POL_Call POL_Install_gecko
#POL_Call POL_Install_dotnet30sp1
POL_SetupWindow_message "$(eval_gettext 'If this fails check the debug, if missing libldap.so, and please install libldap from your Repo')" "$TITLE"
  
Set_OS "winxp"
POL_Wine_OverrideDLL "dbghelp"
POL_Wine_OverrideDLL "native,builtin" "msvcp140"
  
POL_SetupWindow_InstallMethod "CD,DVD,LOCAL"
  
if [ "$INSTALL_METHOD" = "CD" ]
then
  
# The CDs number can change among the packages released.
POL_SetupWindow_menu "$(eval_gettext 'Which version do you have?')" "$TITLE" "4 CDs~5 CDs" "~"
NOMBRE_CD="$APP_ANSWER"
  
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 1 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/* "$POL_System_TmpDir"
  
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 2 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 2.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
  
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 3 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 3.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
  
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 4 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 4.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
  
  
if [ "$NOMBRE_CD" = "5 CDs" ]; then
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 5 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 5.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
fi
  
cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill
  
fi
if [ "$INSTALL_METHOD" = "DVD" ]
then
  
POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/* "$POL_System_TmpDir"
  
cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill
  
fi
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
  
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE" --allow-kill
  
  
fi
  
POL_Wine_SetVideoDriver
  
POL_SetupWindow_VMS
  
  
POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
  
# Fichier Config.wtf
#cd "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF"
#cat << EOF > Config.wtf
#SET gxApi "D3D9"
#SET ffxDeath "0"
#SET SoundOutputSystem "1"
#SET SoundBufferSize "150"
#SET MasterSoundEffects "0"
#EOF
  
# AddOn ApplyToForehead (avoid WOW crashes on the settings screen)
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
wget "$SITE/divers/ApplyToForehead.zip"
unzip "ApplyToForehead.zip"
rm "ApplyToForehead.zip"
  
POL_Wine_InstallFonts
Set_SoundDriver alsa
  
POL_System_TmpDelete
  
POL_Shortcut "Wow.exe" "$TITLE" "" "" "Game;"
POL_Shortcut_InsertBeforeWine "$TITLE" "mkdir -p \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/\""
POL_Shortcut_InsertBeforeWine "$TITLE" "cp \"$WINEPREFIX/drive_c/Config.wtf\" \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/Config.wtf\""
  
POL_SetupWindow_Close
exit

Réponses

Anonymous
Dimanche 24 September 2023 à 12:16
pegasus188
AsciiWolf Vendredi 25 Mai 2018 à 17:24
AsciiWolf

Messages

Please, update this installer!

Réponses

Samedi 22 Aoüt 2020 à 7:41
Done. Note: from 2016 to 2019, the webmaster of this website was alone active (no more active moderators).
fboeuf Vendredi 29 September 2017 à 21:55
fboeuf Anonymous

Messages

Hello,

I'm a new user of PlayonMac.

I try to install WOW and the "Blizzard Agent Update Windows" doesn't go further than the first half of the blue bar.

I did download wow installer exe from the blizzard web site and I don't understand why it doesn't work.

If you can help me, thank you very much :)

Best regards.

Réponses

Anonymous
Lundi 9 Octobre 2017 à 23:47
Make sure that your Wine version is set to emulate Windows XP during installation and also making sure you have mscorefonts installed would be a good idea. I am not as familiar with the Mac version but I had that same problem. Once it finished and I was logged in I switched it to Windows 8.1. I am running PoL on Linux using Wine 2.18-staging 64bit. WoW runs perfectly in 64 bit mode and I even got Overwatch as far as the menu before it locked up.
Anonymous
Lundi 9 Octobre 2017 à 23:47
Make sure that your Wine version is set to emulate Windows XP during installation and also making sure you have mscorefonts installed would be a good idea. I am not as familiar with the Mac version but I had that same problem. Once it finished and I was logged in I switched it to Windows 8.1. I am running PoL on Linux using Wine 2.18-staging 64bit. WoW runs perfectly in 64 bit mode and I even got Overwatch as far as the menu before it locked up.
Anonymous
Lundi 9 Octobre 2017 à 23:48
sorry for the double entry
vi2nano Vendredi 14 Octobre 2016 à 14:03
vi2nano

Warning

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

Messages

Trying to add "World of Warcraft : Legion" as it's own installer. Trying to get a program approved on here though, is not an easy task.

Differences

@@ -1,79 +1,96 @@
 #!/bin/bash
 # Date : (2009-07-07 19-30)
-# Last revision : (2014-11-14 17-15)
-# Wine version used : 1.7.29
+# Last revision : (2016-06-18 16-38)
+# Wine version used : 1.9.12
 # Distribution used to test : N/A
 # Author : Asimov and SuperPlumus
-# Contributor: freedumb2000
-
+# Contributor: freedumb2000 vi2nano
+  
 # CHANGELOG
+# [vi2nano] (2016-10-14 06-45)
+#	Updated for Legion
+#	Updated wine version to 1.9.20-staging
+#	Added Override for msvcp140(native,builtin)
+#	added XP as default OS
+#	commented out dotnet30sp1 install. It's no longer required also (md5 mismatch was inevitable)
+#	commented Fichier Config.wtf for now. DX11 seems to be working a little better in wine, no need to force it to default to DX9.
+# [vi2nano] (2016-06-18 16-38)
+#   Updated Wine Version to 1.9.12 (Works with new 6.2.4 patch)
+#   Added dotnet30sp1 to fix errors logging into Battle.net.
+#   Added a few message windows during install to point users in the right direction setting ptrace_scope
+#    and regarding installation of libldap (ArchLinux doesn't include it in base system their may be Distros also)
 # [freedumb200] (2014-11-14 17-15)
 #   Update Wine version to 1.5.29 (known to work with Draenor).
-#   Added dbghelp dll override to fix a crsh in the BattleNet client. 
+#   Added dbghelp dll override to fix a crsh in the BattleNet client.
 # [SuperPlumus] (2013-05-12 15-55)
 #   Update Wine version to 1.5.29 to fix bug #2284
 #   Add --allow-kill in POL_Wine_WaitExit
 # [SuperPlumus] (2013-05-19 20-47)
 #   gettext
-
+  
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+  
 TITLE="World of Warcraft"
 PREFIX="WorldOfWarcraft"
-WORKING_WINE_VERSION="1.7.29"
-
+WORKING_WINE_VERSION="1.9.20-staging"
+  
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/wow/top.jpg" "http://files.playonlinux.com/resources/setups/wow/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 14
 POL_Debug_Init
-
+  
 POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://www.blizzard.com" "Asimov and SuperPlumus" "$PREFIX"
-
+  
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86" # je ne sais pas si ca fonctionne en x64
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
+  
 POL_System_TmpCreate "$PREFIX"
+  
 
 POL_Call POL_Install_gecko
-
-POL_Wine_OverrideDLL "" "dbghelp"
-
+#POL_Call POL_Install_dotnet30sp1
+POL_SetupWindow_message "$(eval_gettext 'If this fails check the debug, if missing libldap.so, and please install libldap from your Repo')" "$TITLE"
+  
+Set_OS "winxp"
+POL_Wine_OverrideDLL "dbghelp"
+POL_Wine_OverrideDLL "native,builtin" "msvcp140"
+  
 POL_SetupWindow_InstallMethod "CD,DVD,LOCAL"
-
+  
 if [ "$INSTALL_METHOD" = "CD" ]
 then
-
+  
 # Le nombre de cd varie selon les boitiers
 POL_SetupWindow_menu "$(eval_gettext 'Which version do you have?')" "$TITLE" "4 CDs~5 CDs" "~"
 NOMBRE_CD="$APP_ANSWER"
-
+  
 POL_SetupWindow_message "$(eval_gettext 'Please insert game media 1 into your disk drive\nif not already done.')" "$TITLE"
 POL_SetupWindow_cdrom
 POL_SetupWindow_check_cdrom "Installer Tome.mpq"
 POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
 cp -r "$CDROM"/* "$POL_System_TmpDir"
-
+  
 POL_SetupWindow_message "$(eval_gettext 'Please insert game media 2 into your disk drive\nif not already done.')" "$TITLE"
 POL_SetupWindow_cdrom
 POL_SetupWindow_check_cdrom "Installer Tome 2.mpq"
 POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
 cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
-
+  
 POL_SetupWindow_message "$(eval_gettext 'Please insert game media 3 into your disk drive\nif not already done.')" "$TITLE"
 POL_SetupWindow_cdrom
 POL_SetupWindow_check_cdrom "Installer Tome 3.mpq"
 POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
 cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
-
+  
 POL_SetupWindow_message "$(eval_gettext 'Please insert game media 4 into your disk drive\nif not already done.')" "$TITLE"
 POL_SetupWindow_cdrom
 POL_SetupWindow_check_cdrom "Installer Tome 4.mpq"
 POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
 cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
-
-
+  
+  
 if [ "$NOMBRE_CD" = "5 CDs" ]; then
 POL_SetupWindow_message "$(eval_gettext 'Please insert game media 5 into your disk drive\nif not already done.')" "$TITLE"
 POL_SetupWindow_cdrom
@@ -81,72 +98,72 @@
 POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
 cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
 fi
-
+  
 cd "$POL_System_TmpDir"
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "Installer.exe"
 POL_Wine_WaitExit "$TITLE" --allow-kill
-
+  
 fi
 if [ "$INSTALL_METHOD" = "DVD" ]
 then
-
+  
 POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
 POL_SetupWindow_cdrom
 POL_SetupWindow_check_cdrom "Installer Tome.mpq"
 POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
 cp -r "$CDROM"/* "$POL_System_TmpDir"
-
+  
 cd "$POL_System_TmpDir"
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "Installer.exe"
 POL_Wine_WaitExit "$TITLE" --allow-kill
-
+  
 fi
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
-
+  
 cd "$HOME"
 POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine start /unix "$APP_ANSWER"
 POL_Wine_WaitExit "$TITLE" --allow-kill
-
-
+  
+  
 fi
-
+  
 POL_Wine_SetVideoDriver
-
+  
 POL_SetupWindow_VMS
-
-
+  
+  
 POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
-
+  
 # Fichier Config.wtf
-cd "$WINEPREFIX/drive_c"
-cat << EOF > Config.wtf
-SET gxApi "opengl"
-SET ffxDeath "0"
-SET SoundOutputSystem "1"
-SET SoundBufferSize "150"
-SET MasterSoundEffects "0"
-EOF
-
+#cd "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF"
+#cat << EOF > Config.wtf
+#SET gxApi "D3D9"
+#SET ffxDeath "0"
+#SET SoundOutputSystem "1"
+#SET SoundBufferSize "150"
+#SET MasterSoundEffects "0"
+#EOF
+  
 # AddOn ApplyToForehead (evite les crash de wow sur l'ecran des reglages)
 mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
 cd "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
 wget "$SITE/divers/ApplyToForehead.zip"
 unzip "ApplyToForehead.zip"
 rm "ApplyToForehead.zip"
-
+  
 POL_Wine_InstallFonts
 Set_SoundDriver alsa
-
+  
 POL_System_TmpDelete
-
-POL_Shortcut "WoW.exe" "$TITLE"
+  
+POL_Shortcut "Wow.exe" "$TITLE"
 POL_Shortcut_InsertBeforeWine "$TITLE" "mkdir -p \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/\""
 POL_Shortcut_InsertBeforeWine "$TITLE" "cp \"$WINEPREFIX/drive_c/Config.wtf\" \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/Config.wtf\""
-
+  
 POL_SetupWindow_Close
 exit
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2009-07-07 19-30)
# Last revision : (2016-06-18 16-38)
# Wine version used : 1.9.12
# Distribution used to test : N/A
# Author : Asimov and SuperPlumus
# Contributor: freedumb2000 vi2nano
  
# CHANGELOG
# [vi2nano] (2016-10-14 06-45)
#        Updated for Legion
#        Updated wine version to 1.9.20-staging
#        Added Override for msvcp140(native,builtin)
#        added XP as default OS
#        commented out dotnet30sp1 install. It's no longer required also (md5 mismatch was inevitable)
#        commented Fichier Config.wtf for now. DX11 seems to be working a little better in wine, no need to force it to default to DX9.
# [vi2nano] (2016-06-18 16-38)
#   Updated Wine Version to 1.9.12 (Works with new 6.2.4 patch)
#   Added dotnet30sp1 to fix errors logging into Battle.net.
#   Added a few message windows during install to point users in the right direction setting ptrace_scope
#    and regarding installation of libldap (ArchLinux doesn't include it in base system their may be Distros also)
# [freedumb200] (2014-11-14 17-15)
#   Update Wine version to 1.5.29 (known to work with Draenor).
#   Added dbghelp dll override to fix a crsh in the BattleNet client.
# [SuperPlumus] (2013-05-12 15-55)
#   Update Wine version to 1.5.29 to fix bug #2284
#   Add --allow-kill in POL_Wine_WaitExit
# [SuperPlumus] (2013-05-19 20-47)
#   gettext
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="World of Warcraft"
PREFIX="WorldOfWarcraft"
WORKING_WINE_VERSION="1.9.20-staging"
  
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/wow/top.jpg" "http://files.playonlinux.com/resources/setups/wow/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 14
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://www.blizzard.com" "Asimov and SuperPlumus" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86" # je ne sais pas si ca fonctionne en x64
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
POL_System_TmpCreate "$PREFIX"
  

POL_Call POL_Install_gecko
#POL_Call POL_Install_dotnet30sp1
POL_SetupWindow_message "$(eval_gettext 'If this fails check the debug, if missing libldap.so, and please install libldap from your Repo')" "$TITLE"
  
Set_OS "winxp"
POL_Wine_OverrideDLL "dbghelp"
POL_Wine_OverrideDLL "native,builtin" "msvcp140"
  
POL_SetupWindow_InstallMethod "CD,DVD,LOCAL"
  
if [ "$INSTALL_METHOD" = "CD" ]
then
  
# Le nombre de cd varie selon les boitiers
POL_SetupWindow_menu "$(eval_gettext 'Which version do you have?')" "$TITLE" "4 CDs~5 CDs" "~"
NOMBRE_CD="$APP_ANSWER"
  
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 1 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/* "$POL_System_TmpDir"
  
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 2 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 2.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
  
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 3 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 3.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
  
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 4 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 4.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
  
  
if [ "$NOMBRE_CD" = "5 CDs" ]; then
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 5 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 5.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
fi
  
cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill
  
fi
if [ "$INSTALL_METHOD" = "DVD" ]
then
  
POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/* "$POL_System_TmpDir"
  
cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill
  
fi
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
  
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE" --allow-kill
  
  
fi
  
POL_Wine_SetVideoDriver
  
POL_SetupWindow_VMS
  
  
POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
  
# Fichier Config.wtf
#cd "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF"
#cat << EOF > Config.wtf
#SET gxApi "D3D9"
#SET ffxDeath "0"
#SET SoundOutputSystem "1"
#SET SoundBufferSize "150"
#SET MasterSoundEffects "0"
#EOF
  
# AddOn ApplyToForehead (evite les crash de wow sur l'ecran des reglages)
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
wget "$SITE/divers/ApplyToForehead.zip"
unzip "ApplyToForehead.zip"
rm "ApplyToForehead.zip"
  
POL_Wine_InstallFonts
Set_SoundDriver alsa
  
POL_System_TmpDelete
  
POL_Shortcut "Wow.exe" "$TITLE"
POL_Shortcut_InsertBeforeWine "$TITLE" "mkdir -p \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/\""
POL_Shortcut_InsertBeforeWine "$TITLE" "cp \"$WINEPREFIX/drive_c/Config.wtf\" \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/Config.wtf\""
  
POL_SetupWindow_Close
exit

Réponses

Mercredi 30 Novembre 2016 à 14:34
Here is a link to the own installer: https://www.playonlinux.com/en/app-3053-World_Of_Warcraft__Legion.html
Samedi 24 Décembre 2016 à 23:40
By the way, if you use open source graphic drivers, it's probably a good idea to install "libtxc-dxtn-s2tc0:amd64" and "libtxc-dxtn-s2tc0:i386" packages (or similar name if you don't use a Debian based distribution).
Anonymous
Mercredi 28 Décembre 2016 à 18:33
Can I install WOW without the CD? Is there a location for an installer that will work with POL?
Samedi 22 Aoüt 2020 à 7:27
Script approved.
Anonymous
Dimanche 24 September 2023 à 12:16
works, i can alt+tab if i put it on a Window, or a Window(Fullscreen)... The only problem i am having is with the launcher, to update the game and so, it just runs in a rare way, I will leave here an image of how it looks like... I would love to have it fixed, and if posible if the launcher from play on linux would open the Battle.net
dmgzd Lundi 12 September 2016 à 20:53
dmgzd Anonymous

Messages

How to install World Of Warcraft Legion Linux

1: Install PlayonLinux
2: User PlayonLinux installer to install Battlenet, finish even though fails
3: Change Wine version to 1.9.18-staging, Config wine to XP and add to Libraries msvcp140 (native, builtin)
4: launch Battlenet login in stall Wow
5: Edit config file for wow in WTF folder to SET gxApi "OpenGL"

Réponses

Lundi 3 Octobre 2016 à 17:00
Thanks! Could anyone please make an "World of Warcraft: Legion" POL installer from this or update the one from vi2nano?
Vendredi 14 Octobre 2016 à 14:03
Updated
Anonymous
Mardi 29 Novembre 2016 à 0:48
how do you get world of warcraft on linux easyer
vi2nano Samedi 18 Juin 2016 à 21:39
vi2nano

Warning

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

Messages

Update to my update. You need to manually change the Config.wtf located in the "World Of Warcraft/WTF" folder. About the 5th line down depending on your config it will say "SET gxApi "D3D11" You just need to change it to "SET gxApi "D3D9" Working on adding this into the script. 

Differences

@@ -1,79 +1,89 @@
 #!/bin/bash
 # Date : (2009-07-07 19-30)
-# Last revision : (2014-11-14 17-15)
-# Wine version used : 1.7.29
+# Last revision : (2016-06-18 16-38)
+# Wine version used : 1.9.12
 # Distribution used to test : N/A
 # Author : Asimov and SuperPlumus
-# Contributor: freedumb2000
-
+# Contributor: freedumb2000 vi2nano
+ 
 # CHANGELOG
+# [vi2nano] (2016-06-18 16-38)
+#   Updated Wine Version to 1.9.12 (Works with new 6.2.4 patch)
+#   Added dotnet30sp1 to fix errors logging into Battle.net.
+#   Added a few message windows during install to point users in the right direction setting ptrace_scope 
+#    and regarding installation of libldap (ArchLinux doesn't include it in base system their may be Distros also)
 # [freedumb200] (2014-11-14 17-15)
 #   Update Wine version to 1.5.29 (known to work with Draenor).
-#   Added dbghelp dll override to fix a crsh in the BattleNet client. 
+#   Added dbghelp dll override to fix a crsh in the BattleNet client.
 # [SuperPlumus] (2013-05-12 15-55)
 #   Update Wine version to 1.5.29 to fix bug #2284
 #   Add --allow-kill in POL_Wine_WaitExit
 # [SuperPlumus] (2013-05-19 20-47)
 #   gettext
-
+ 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="World of Warcraft"
 PREFIX="WorldOfWarcraft"
-WORKING_WINE_VERSION="1.7.29"
-
+WORKING_WINE_VERSION="1.9.12"
+ 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/wow/top.jpg" "http://files.playonlinux.com/resources/setups/wow/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 14
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://www.blizzard.com" "Asimov and SuperPlumus" "$PREFIX"
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86" # je ne sais pas si ca fonctionne en x64
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
+ 
 POL_System_TmpCreate "$PREFIX"
-
+ 
+POL_SetupWindow_message "$(eval_gettext 'Before you click next please copy and paste this command into terminal.\n\n
+echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope\n\n\n
+Follow this on changing the file to make a permanent fix: https://www.playonlinux.com/en/topic-10534-Regarding_ptrace_scope_fatal_error.html')" "Install dotnet30sp1"
 POL_Call POL_Install_gecko
-
-POL_Wine_OverrideDLL "" "dbghelp"
-
+POL_Call POL_Install_dotnet30sp1
+POL_SetupWindow_message "$(eval_gettext 'If this fails check the debug, if missing libldap.so, and please install libldap from your Repo')" "$TITLE"
+ 
+POL_Wine_OverrideDLL "dbghelp"
+ 
 POL_SetupWindow_InstallMethod "CD,DVD,LOCAL"
-
+ 
 if [ "$INSTALL_METHOD" = "CD" ]
 then
-
+ 
 # Le nombre de cd varie selon les boitiers
 POL_SetupWindow_menu "$(eval_gettext 'Which version do you have?')" "$TITLE" "4 CDs~5 CDs" "~"
 NOMBRE_CD="$APP_ANSWER"
-
+ 
 POL_SetupWindow_message "$(eval_gettext 'Please insert game media 1 into your disk drive\nif not already done.')" "$TITLE"
 POL_SetupWindow_cdrom
 POL_SetupWindow_check_cdrom "Installer Tome.mpq"
 POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
 cp -r "$CDROM"/* "$POL_System_TmpDir"
-
+ 
 POL_SetupWindow_message "$(eval_gettext 'Please insert game media 2 into your disk drive\nif not already done.')" "$TITLE"
 POL_SetupWindow_cdrom
 POL_SetupWindow_check_cdrom "Installer Tome 2.mpq"
 POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
 cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
-
+ 
 POL_SetupWindow_message "$(eval_gettext 'Please insert game media 3 into your disk drive\nif not already done.')" "$TITLE"
 POL_SetupWindow_cdrom
 POL_SetupWindow_check_cdrom "Installer Tome 3.mpq"
 POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
 cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
-
+ 
 POL_SetupWindow_message "$(eval_gettext 'Please insert game media 4 into your disk drive\nif not already done.')" "$TITLE"
 POL_SetupWindow_cdrom
 POL_SetupWindow_check_cdrom "Installer Tome 4.mpq"
 POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
 cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
-
-
+ 
+ 
 if [ "$NOMBRE_CD" = "5 CDs" ]; then
 POL_SetupWindow_message "$(eval_gettext 'Please insert game media 5 into your disk drive\nif not already done.')" "$TITLE"
 POL_SetupWindow_cdrom
@@ -81,72 +91,72 @@
 POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
 cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
 fi
-
+ 
 cd "$POL_System_TmpDir"
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "Installer.exe"
 POL_Wine_WaitExit "$TITLE" --allow-kill
-
+ 
 fi
 if [ "$INSTALL_METHOD" = "DVD" ]
 then
-
+ 
 POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
 POL_SetupWindow_cdrom
 POL_SetupWindow_check_cdrom "Installer Tome.mpq"
 POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
 cp -r "$CDROM"/* "$POL_System_TmpDir"
-
+ 
 cd "$POL_System_TmpDir"
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "Installer.exe"
 POL_Wine_WaitExit "$TITLE" --allow-kill
-
+ 
 fi
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
-
+ 
 cd "$HOME"
 POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine start /unix "$APP_ANSWER"
 POL_Wine_WaitExit "$TITLE" --allow-kill
-
-
+ 
+ 
 fi
-
+ 
 POL_Wine_SetVideoDriver
-
+ 
 POL_SetupWindow_VMS
-
-
+ 
+ 
 POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
-
+ 
 # Fichier Config.wtf
-cd "$WINEPREFIX/drive_c"
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF"
 cat << EOF > Config.wtf
-SET gxApi "opengl"
+SET gxApi "D3D9"
 SET ffxDeath "0"
 SET SoundOutputSystem "1"
 SET SoundBufferSize "150"
 SET MasterSoundEffects "0"
 EOF
-
+ 
 # AddOn ApplyToForehead (evite les crash de wow sur l'ecran des reglages)
 mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
 cd "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
 wget "$SITE/divers/ApplyToForehead.zip"
 unzip "ApplyToForehead.zip"
 rm "ApplyToForehead.zip"
-
+ 
 POL_Wine_InstallFonts
 Set_SoundDriver alsa
-
+ 
 POL_System_TmpDelete
-
-POL_Shortcut "WoW.exe" "$TITLE"
+ 
+POL_Shortcut "Wow.exe" "$TITLE"
 POL_Shortcut_InsertBeforeWine "$TITLE" "mkdir -p \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/\""
 POL_Shortcut_InsertBeforeWine "$TITLE" "cp \"$WINEPREFIX/drive_c/Config.wtf\" \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/Config.wtf\""
-
+ 
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit

Nouveau code source

#!/bin/bash
# Date : (2009-07-07 19-30)
# Last revision : (2016-06-18 16-38)
# Wine version used : 1.9.12
# Distribution used to test : N/A
# Author : Asimov and SuperPlumus
# Contributor: freedumb2000 vi2nano
 
# CHANGELOG
# [vi2nano] (2016-06-18 16-38)
#   Updated Wine Version to 1.9.12 (Works with new 6.2.4 patch)
#   Added dotnet30sp1 to fix errors logging into Battle.net.
#   Added a few message windows during install to point users in the right direction setting ptrace_scope 
#    and regarding installation of libldap (ArchLinux doesn't include it in base system their may be Distros also)
# [freedumb200] (2014-11-14 17-15)
#   Update Wine version to 1.5.29 (known to work with Draenor).
#   Added dbghelp dll override to fix a crsh in the BattleNet client.
# [SuperPlumus] (2013-05-12 15-55)
#   Update Wine version to 1.5.29 to fix bug #2284
#   Add --allow-kill in POL_Wine_WaitExit
# [SuperPlumus] (2013-05-19 20-47)
#   gettext
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="World of Warcraft"
PREFIX="WorldOfWarcraft"
WORKING_WINE_VERSION="1.9.12"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/wow/top.jpg" "http://files.playonlinux.com/resources/setups/wow/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 14
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://www.blizzard.com" "Asimov and SuperPlumus" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86" # je ne sais pas si ca fonctionne en x64
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_System_TmpCreate "$PREFIX"
 
POL_SetupWindow_message "$(eval_gettext 'Before you click next please copy and paste this command into terminal.\n\n
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope\n\n\n
Follow this on changing the file to make a permanent fix: https://www.playonlinux.com/en/topic-10534-Regarding_ptrace_scope_fatal_error.html')" "Install dotnet30sp1"
POL_Call POL_Install_gecko
POL_Call POL_Install_dotnet30sp1
POL_SetupWindow_message "$(eval_gettext 'If this fails check the debug, if missing libldap.so, and please install libldap from your Repo')" "$TITLE"
 
POL_Wine_OverrideDLL "dbghelp"
 
POL_SetupWindow_InstallMethod "CD,DVD,LOCAL"
 
if [ "$INSTALL_METHOD" = "CD" ]
then
 
# Le nombre de cd varie selon les boitiers
POL_SetupWindow_menu "$(eval_gettext 'Which version do you have?')" "$TITLE" "4 CDs~5 CDs" "~"
NOMBRE_CD="$APP_ANSWER"
 
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 1 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/* "$POL_System_TmpDir"
 
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 2 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 2.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
 
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 3 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 3.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
 
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 4 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 4.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
 
 
if [ "$NOMBRE_CD" = "5 CDs" ]; then
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 5 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 5.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
fi
 
cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
fi
if [ "$INSTALL_METHOD" = "DVD" ]
then
 
POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/* "$POL_System_TmpDir"
 
cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
fi
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
 
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
 
fi
 
POL_Wine_SetVideoDriver
 
POL_SetupWindow_VMS
 
 
POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
 
# Fichier Config.wtf
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF"
cat << EOF > Config.wtf
SET gxApi "D3D9"
SET ffxDeath "0"
SET SoundOutputSystem "1"
SET SoundBufferSize "150"
SET MasterSoundEffects "0"
EOF
 
# AddOn ApplyToForehead (evite les crash de wow sur l'ecran des reglages)
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
wget "$SITE/divers/ApplyToForehead.zip"
unzip "ApplyToForehead.zip"
rm "ApplyToForehead.zip"
 
POL_Wine_InstallFonts
Set_SoundDriver alsa
 
POL_System_TmpDelete
 
POL_Shortcut "Wow.exe" "$TITLE"
POL_Shortcut_InsertBeforeWine "$TITLE" "mkdir -p \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/\""
POL_Shortcut_InsertBeforeWine "$TITLE" "cp \"$WINEPREFIX/drive_c/Config.wtf\" \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/Config.wtf\""
 
POL_SetupWindow_Close
exit

Réponses

Anonymous
Mardi 21 Juin 2016 à 9:45
How do we run this?
Mardi 21 Juin 2016 à 14:58
copy the "New source code" and save into text file. Then in play on linux you need to go to... I think tools and then run local script. I'm not at my computer so I don't remember for sure.. The Config.wtf is saved to the wow folder and needs to be manually moved into the WTF folder for now. Will work on getting that corrected soon. Hopefully they adopt this into the main script to make it easier for users down the road.
Anonymous
Jeudi 23 Juin 2016 à 10:01
Err, I don't remember what I did, but it all failed at some ptrace test request because PoL windows are not mallable and there was no way I could copy the link to ptrace instructions. In any case. I think the error(PoL in term) I did get is related to too many attempts to fix WoW. Thanks for your efforts. Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 152 (ATIFGLEXTENSION)
Minor opcode of failed request: 66 ()
Serial number of failed request: 13
Current serial number in output stream: 13
Vendredi 24 Juin 2016 à 4:03
the ptrace thing is only a requirement to install the dotnet30sp1 which is the only fix to not being able to log in. You have to actually type the command. I can't include it in the script because it requires root access. I included the url in the message so you can visit the winedb page about making that a permanent fix.
Vendredi 24 Juin 2016 à 4:06
Also, That is a graphics related issue. Are you using the Open Source drivers or Proprietary drivers? You should choose to erase and not overwrite. Overwriting alone can cause problems
Anonymous
Lundi 27 Juin 2016 à 13:07
The problems were previous attempts of fixing stuff actuall through away OS drivers, loaded Prop and used a vga driver. Major mess that I'm still trying to cleanup. Will try the erase once I get quota back as three Wow installations really made a hole.. Thanks.
vi2nano Samedi 18 Juin 2016 à 19:56
vi2nano

Warning

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

Messages

Just wanted to update the wine version and add a few new tweaks to help improve installer performance 

Differences

@@ -1,79 +1,89 @@
 #!/bin/bash
 # Date : (2009-07-07 19-30)
-# Last revision : (2014-11-14 17-15)
-# Wine version used : 1.7.29
+# Last revision : (2016-06-18 12-55)
+# Wine version used : 1.9.12
 # Distribution used to test : N/A
 # Author : Asimov and SuperPlumus
-# Contributor: freedumb2000
-
+# Contributor: freedumb2000 vi2nano
+ 
 # CHANGELOG
+# [vi2nano] (2016-06-18 12-55)
+#   Updated Wine Version to 1.9.12 (Works with new 6.2.4 patch)
+#   Added dotnet30sp1 to fix errors logging into Battle.net.
+#   Added a few message windows during install to point users in the right direction setting ptrace_scope 
+#    and regarding installation of libldap (ArchLinux doesn't include it in base system their may be Distros also)
 # [freedumb200] (2014-11-14 17-15)
 #   Update Wine version to 1.5.29 (known to work with Draenor).
-#   Added dbghelp dll override to fix a crsh in the BattleNet client. 
+#   Added dbghelp dll override to fix a crsh in the BattleNet client.
 # [SuperPlumus] (2013-05-12 15-55)
 #   Update Wine version to 1.5.29 to fix bug #2284
 #   Add --allow-kill in POL_Wine_WaitExit
 # [SuperPlumus] (2013-05-19 20-47)
 #   gettext
-
+ 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="World of Warcraft"
 PREFIX="WorldOfWarcraft"
-WORKING_WINE_VERSION="1.7.29"
-
+WORKING_WINE_VERSION="1.9.12"
+ 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/wow/top.jpg" "http://files.playonlinux.com/resources/setups/wow/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 14
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://www.blizzard.com" "Asimov and SuperPlumus" "$PREFIX"
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86" # je ne sais pas si ca fonctionne en x64
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
+ 
 POL_System_TmpCreate "$PREFIX"
-
+ 
+POL_SetupWindow_message "$(eval_gettext 'Before you click next please copy and paste this command into terminal.\n\n
+echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope\n\n\n
+Follow this on changing the file to make a permanent fix: https://www.playonlinux.com/en/topic-10534-Regarding_ptrace_scope_fatal_error.html')" "Install dotnet30sp1"
 POL_Call POL_Install_gecko
-
-POL_Wine_OverrideDLL "" "dbghelp"
-
+POL_Call POL_Install_dotnet30sp1
+POL_SetupWindow_message "$(eval_gettext 'If this fails check the debug, if missing libldap.so, and please install libldap from your Repo')" "$TITLE"
+ 
+POL_Wine_OverrideDLL "dbghelp"
+ 
 POL_SetupWindow_InstallMethod "CD,DVD,LOCAL"
-
+ 
 if [ "$INSTALL_METHOD" = "CD" ]
 then
-
+ 
 # Le nombre de cd varie selon les boitiers
 POL_SetupWindow_menu "$(eval_gettext 'Which version do you have?')" "$TITLE" "4 CDs~5 CDs" "~"
 NOMBRE_CD="$APP_ANSWER"
-
+ 
 POL_SetupWindow_message "$(eval_gettext 'Please insert game media 1 into your disk drive\nif not already done.')" "$TITLE"
 POL_SetupWindow_cdrom
 POL_SetupWindow_check_cdrom "Installer Tome.mpq"
 POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
 cp -r "$CDROM"/* "$POL_System_TmpDir"
-
+ 
 POL_SetupWindow_message "$(eval_gettext 'Please insert game media 2 into your disk drive\nif not already done.')" "$TITLE"
 POL_SetupWindow_cdrom
 POL_SetupWindow_check_cdrom "Installer Tome 2.mpq"
 POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
 cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
-
+ 
 POL_SetupWindow_message "$(eval_gettext 'Please insert game media 3 into your disk drive\nif not already done.')" "$TITLE"
 POL_SetupWindow_cdrom
 POL_SetupWindow_check_cdrom "Installer Tome 3.mpq"
 POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
 cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
-
+ 
 POL_SetupWindow_message "$(eval_gettext 'Please insert game media 4 into your disk drive\nif not already done.')" "$TITLE"
 POL_SetupWindow_cdrom
 POL_SetupWindow_check_cdrom "Installer Tome 4.mpq"
 POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
 cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
-
-
+ 
+ 
 if [ "$NOMBRE_CD" = "5 CDs" ]; then
 POL_SetupWindow_message "$(eval_gettext 'Please insert game media 5 into your disk drive\nif not already done.')" "$TITLE"
 POL_SetupWindow_cdrom
@@ -81,47 +91,47 @@
 POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
 cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
 fi
-
+ 
 cd "$POL_System_TmpDir"
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "Installer.exe"
 POL_Wine_WaitExit "$TITLE" --allow-kill
-
+ 
 fi
 if [ "$INSTALL_METHOD" = "DVD" ]
 then
-
+ 
 POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
 POL_SetupWindow_cdrom
 POL_SetupWindow_check_cdrom "Installer Tome.mpq"
 POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
 cp -r "$CDROM"/* "$POL_System_TmpDir"
-
+ 
 cd "$POL_System_TmpDir"
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "Installer.exe"
 POL_Wine_WaitExit "$TITLE" --allow-kill
-
+ 
 fi
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
-
+ 
 cd "$HOME"
 POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine start /unix "$APP_ANSWER"
 POL_Wine_WaitExit "$TITLE" --allow-kill
-
-
+ 
+ 
 fi
-
+ 
 POL_Wine_SetVideoDriver
-
+ 
 POL_SetupWindow_VMS
-
-
+ 
+ 
 POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
-
+ 
 # Fichier Config.wtf
 cd "$WINEPREFIX/drive_c"
 cat << EOF > Config.wtf
@@ -131,22 +141,22 @@
 SET SoundBufferSize "150"
 SET MasterSoundEffects "0"
 EOF
-
+ 
 # AddOn ApplyToForehead (evite les crash de wow sur l'ecran des reglages)
 mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
 cd "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
 wget "$SITE/divers/ApplyToForehead.zip"
 unzip "ApplyToForehead.zip"
 rm "ApplyToForehead.zip"
-
+ 
 POL_Wine_InstallFonts
 Set_SoundDriver alsa
-
+ 
 POL_System_TmpDelete
-
-POL_Shortcut "WoW.exe" "$TITLE"
+ 
+POL_Shortcut "Wow.exe" "$TITLE"
 POL_Shortcut_InsertBeforeWine "$TITLE" "mkdir -p \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/\""
 POL_Shortcut_InsertBeforeWine "$TITLE" "cp \"$WINEPREFIX/drive_c/Config.wtf\" \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/Config.wtf\""
-
+ 
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit

Nouveau code source

#!/bin/bash
# Date : (2009-07-07 19-30)
# Last revision : (2016-06-18 12-55)
# Wine version used : 1.9.12
# Distribution used to test : N/A
# Author : Asimov and SuperPlumus
# Contributor: freedumb2000 vi2nano
 
# CHANGELOG
# [vi2nano] (2016-06-18 12-55)
#   Updated Wine Version to 1.9.12 (Works with new 6.2.4 patch)
#   Added dotnet30sp1 to fix errors logging into Battle.net.
#   Added a few message windows during install to point users in the right direction setting ptrace_scope 
#    and regarding installation of libldap (ArchLinux doesn't include it in base system their may be Distros also)
# [freedumb200] (2014-11-14 17-15)
#   Update Wine version to 1.5.29 (known to work with Draenor).
#   Added dbghelp dll override to fix a crsh in the BattleNet client.
# [SuperPlumus] (2013-05-12 15-55)
#   Update Wine version to 1.5.29 to fix bug #2284
#   Add --allow-kill in POL_Wine_WaitExit
# [SuperPlumus] (2013-05-19 20-47)
#   gettext
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="World of Warcraft"
PREFIX="WorldOfWarcraft"
WORKING_WINE_VERSION="1.9.12"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/wow/top.jpg" "http://files.playonlinux.com/resources/setups/wow/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 14
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://www.blizzard.com" "Asimov and SuperPlumus" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86" # je ne sais pas si ca fonctionne en x64
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_System_TmpCreate "$PREFIX"
 
POL_SetupWindow_message "$(eval_gettext 'Before you click next please copy and paste this command into terminal.\n\n
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope\n\n\n
Follow this on changing the file to make a permanent fix: https://www.playonlinux.com/en/topic-10534-Regarding_ptrace_scope_fatal_error.html')" "Install dotnet30sp1"
POL_Call POL_Install_gecko
POL_Call POL_Install_dotnet30sp1
POL_SetupWindow_message "$(eval_gettext 'If this fails check the debug, if missing libldap.so, and please install libldap from your Repo')" "$TITLE"
 
POL_Wine_OverrideDLL "dbghelp"
 
POL_SetupWindow_InstallMethod "CD,DVD,LOCAL"
 
if [ "$INSTALL_METHOD" = "CD" ]
then
 
# Le nombre de cd varie selon les boitiers
POL_SetupWindow_menu "$(eval_gettext 'Which version do you have?')" "$TITLE" "4 CDs~5 CDs" "~"
NOMBRE_CD="$APP_ANSWER"
 
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 1 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/* "$POL_System_TmpDir"
 
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 2 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 2.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
 
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 3 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 3.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
 
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 4 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 4.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
 
 
if [ "$NOMBRE_CD" = "5 CDs" ]; then
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 5 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 5.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
fi
 
cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
fi
if [ "$INSTALL_METHOD" = "DVD" ]
then
 
POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/* "$POL_System_TmpDir"
 
cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
fi
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
 
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
 
fi
 
POL_Wine_SetVideoDriver
 
POL_SetupWindow_VMS
 
 
POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
 
# Fichier Config.wtf
cd "$WINEPREFIX/drive_c"
cat << EOF > Config.wtf
SET gxApi "opengl"
SET ffxDeath "0"
SET SoundOutputSystem "1"
SET SoundBufferSize "150"
SET MasterSoundEffects "0"
EOF
 
# AddOn ApplyToForehead (evite les crash de wow sur l'ecran des reglages)
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
wget "$SITE/divers/ApplyToForehead.zip"
unzip "ApplyToForehead.zip"
rm "ApplyToForehead.zip"
 
POL_Wine_InstallFonts
Set_SoundDriver alsa
 
POL_System_TmpDelete
 
POL_Shortcut "Wow.exe" "$TITLE"
POL_Shortcut_InsertBeforeWine "$TITLE" "mkdir -p \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/\""
POL_Shortcut_InsertBeforeWine "$TITLE" "cp \"$WINEPREFIX/drive_c/Config.wtf\" \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/Config.wtf\""
 
POL_SetupWindow_Close
exit

Réponses

Samedi 18 Juin 2016 à 20:04
Please Delete this. Had to fix graphics issue within the Fichier Config.wtf. Unable to set opengl via this anymore. Need to change it to D3D9. Will create new update post
Jushoa Vendredi 10 Juin 2016 à 22:50
Jushoa Anonymous

Messages

I found that if I run wow.exe or wow-64.exe in command. Using Wine 1.9.11. It works!!!!

I will now try to install it all the way. Using your installer and then switch from 1.7.29 to 1.9.11 and see if it works

 

Réponses

Anonymous
Samedi 11 Juin 2016 à 6:55
How did you do this?
Anonymous
Samedi 11 Juin 2016 à 12:15
I did not work all tge way. There is a issue with the screen, it flickers. May have to add some lib
Anonymous
Samedi 11 Juin 2016 à 12:18
Perhapse if an Admin could make a update with Wine 1.911
Anonymous
Lundi 13 Juin 2016 à 6:59
To answer, create new link under configure to Wow &Wow64, which is where you can also change the version of wine that you are running for the directory. Use + if you don't already have it for it to be downloaded. Tried 1.9.7/1012 butr same effect. Well, wow will start but I get the BLZ51900007 can not connect error for all.. .
terryc Jeudi 12 Mai 2016 à 15:59
terryc Anonymous

Messages

Update today;. In fiddling artound with getting WoW working, but without hope as I have a Debnian Jessie system and the Debian solution apparently requires use of Stretch(testing) and a pile of other fiddles. The PoLwiki only talks about wheezy(old stable)

Looking at BatNet entry in PoL, it had an "Update Instructions" which I had never noticed before. Basically it was a GIT command, which I ran, then did the package update/upgrade. I've noticed that the version of BatNet has changed(?) to Ver 1.9.9 and starting BatNet and choosing WoW lead to an automatic login and being able to play WoW.

I have no idea of exactly what I've done, but it works. Hopefully this will encourage others.

Réponses

Anonymous
Jeudi 9 Juin 2016 à 3:01
Now to discourage you, sigh. Todays battle.net update hangs after you enter password. Something about fixme system_proxy and a flashme msg.
Frobenius Vendredi 25 Mars 2016 à 18:19
Frobenius Anonymous

Messages

Hi guys,

 

Since the release of the pacth 6.2.4 many linux users can't play wow anymore. It stays on "conecting" screen forever.

"This seems to be the issue affecting the majority of users that have posted reports. The primary hypothesis at the moment is that this behavior is caused by a lower-level part of the Linux networking stack (possibly gnutls) which is a runtime dependency for wine causing issues with the cryptography used by the WoW client. This results in the server abruptly ceasing communication with the client, because it isn't expecting the client to respond the way that it does."

 

source: http://us.battle.net/wow/en/forum/topic/20742995286

Réponses

Anonymous
Lundi 28 Mars 2016 à 11:22
Does not run with Linux Mint 17.3 (Cinnamon 64-bit).
Check: "0000000: 1603 0101" results:
Battle.net connection: OK
WOW Login connection: "Connectig Window" without connection.
petch Vendredi 4 Décembre 2015 à 23:17
petch

Warning

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

Messages

Add POL_SetupWindow_SetID

Differences

@@ -25,6 +25,7 @@
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/wow/top.jpg" "http://files.playonlinux.com/resources/setups/wow/left.jpg" "$TITLE"
 POL_SetupWindow_Init
+POL_SetupWindow_SetID 14
 POL_Debug_Init
 
 POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://www.blizzard.com" "Asimov and SuperPlumus" "$PREFIX"

Nouveau code source

#!/bin/bash
# Date : (2009-07-07 19-30)
# Last revision : (2014-11-14 17-15)
# Wine version used : 1.7.29
# Distribution used to test : N/A
# Author : Asimov and SuperPlumus
# Contributor: freedumb2000

# CHANGELOG
# [freedumb200] (2014-11-14 17-15)
#   Update Wine version to 1.5.29 (known to work with Draenor).
#   Added dbghelp dll override to fix a crsh in the BattleNet client. 
# [SuperPlumus] (2013-05-12 15-55)
#   Update Wine version to 1.5.29 to fix bug #2284
#   Add --allow-kill in POL_Wine_WaitExit
# [SuperPlumus] (2013-05-19 20-47)
#   gettext

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

TITLE="World of Warcraft"
PREFIX="WorldOfWarcraft"
WORKING_WINE_VERSION="1.7.29"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/wow/top.jpg" "http://files.playonlinux.com/resources/setups/wow/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 14
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://www.blizzard.com" "Asimov and SuperPlumus" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86" # je ne sais pas si ca fonctionne en x64
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_System_TmpCreate "$PREFIX"

POL_Call POL_Install_gecko

POL_Wine_OverrideDLL "" "dbghelp"

POL_SetupWindow_InstallMethod "CD,DVD,LOCAL"

if [ "$INSTALL_METHOD" = "CD" ]
then

# Le nombre de cd varie selon les boitiers
POL_SetupWindow_menu "$(eval_gettext 'Which version do you have?')" "$TITLE" "4 CDs~5 CDs" "~"
NOMBRE_CD="$APP_ANSWER"

POL_SetupWindow_message "$(eval_gettext 'Please insert game media 1 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/* "$POL_System_TmpDir"

POL_SetupWindow_message "$(eval_gettext 'Please insert game media 2 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 2.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"

POL_SetupWindow_message "$(eval_gettext 'Please insert game media 3 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 3.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"

POL_SetupWindow_message "$(eval_gettext 'Please insert game media 4 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 4.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"


if [ "$NOMBRE_CD" = "5 CDs" ]; then
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 5 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 5.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
fi

cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill

fi
if [ "$INSTALL_METHOD" = "DVD" ]
then

POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/* "$POL_System_TmpDir"

cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill

fi
if [ "$INSTALL_METHOD" = "LOCAL" ]
then

cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE" --allow-kill


fi

POL_Wine_SetVideoDriver

POL_SetupWindow_VMS


POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"

# Fichier Config.wtf
cd "$WINEPREFIX/drive_c"
cat << EOF > Config.wtf
SET gxApi "opengl"
SET ffxDeath "0"
SET SoundOutputSystem "1"
SET SoundBufferSize "150"
SET MasterSoundEffects "0"
EOF

# AddOn ApplyToForehead (evite les crash de wow sur l'ecran des reglages)
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
wget "$SITE/divers/ApplyToForehead.zip"
unzip "ApplyToForehead.zip"
rm "ApplyToForehead.zip"

POL_Wine_InstallFonts
Set_SoundDriver alsa

POL_System_TmpDelete

POL_Shortcut "WoW.exe" "$TITLE"
POL_Shortcut_InsertBeforeWine "$TITLE" "mkdir -p \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/\""
POL_Shortcut_InsertBeforeWine "$TITLE" "cp \"$WINEPREFIX/drive_c/Config.wtf\" \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/Config.wtf\""

POL_SetupWindow_Close
exit

Réponses

rokeno Mercredi 21 Octobre 2015 à 13:52
rokeno

Messages

Had a few graphics issues. Tested in Window mode.

Change the amount of Video memory i allocated to the vDrive, 768 on my side, running a MacbookPro 9.2 2012 Mid.

Changed the Wine to 1.7.3.6

Everything else is on default.

Réponses

Shinii17 Jeudi 2 Juillet 2015 à 21:06
Shinii17

Messages

It works, i can alt+tab if i put it on a Window, or a Window(Fullscreen)... The only problem i am having is with the launcher, to update the game and so, it just runs in a rare way, I will leave here an image of how it looks like... I would love to have it fixed, and if posible if the launcher from play on linux would open the Battle.net launcher instead of the wow.exe file.

http://www.subeimagenes.com/img/captura-de-pantalla-de-2015-07-02-15-59-09-1366236.html

Another problem i am having is that the game doest remember graphics configuration, or sound, or languaje, none of them, so every time i launch it a have to re-configure it.. But i can live with that :v

Réponses

Anonymous
Mercredi 7 Octobre 2015 à 22:42
I'm having the same issue. Went into the directory and tried editing the Config.wtf based on suggestions from http://wowwiki.wikia.com/wiki/Console_variables but when I open WoW after, it overwrites the config.
Anonymous
Dimanche 29 Novembre 2015 à 15:33
Having the same problem, my settings get reset every time I launch/close the game.
straemer Dimanche 19 Avril 2015 à 16:32
straemer Anonymous

Messages

Works very well. No problems in installation or in-game.

Minor inconvenience in that the default resolution was messed up, but that was easily solved.

Alt+Tab doesn't work, but I can live with that.

Réponses

Jeudi 2 Juillet 2015 à 21:01
Actually you can Alt+Tab if you configure your Game to be on a Window, or to act as a Window(Fullscreen)... Worked for me.
freedumb2000 Vendredi 14 Novembre 2014 à 17:18
freedumb2000 Anonymous

Warning

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

Messages

Fixed a crash in the installer (POL_Wine_OverrideDLL "" "dbghelp") and switched to a more recent wine version.

Admin: please remove my previous post (i could see no way to edit it). thx!

Differences

@@ -1,11 +1,15 @@
 #!/bin/bash
 # Date : (2009-07-07 19-30)
-# Last revision : (2013-05-19 20-47)
-# Wine version used : 1.5.29
+# Last revision : (2014-11-14 17-15)
+# Wine version used : 1.7.29
 # Distribution used to test : N/A
 # Author : Asimov and SuperPlumus
+# Contributor: freedumb2000
 
 # CHANGELOG
+# [freedumb200] (2014-11-14 17-15)
+#   Update Wine version to 1.5.29 (known to work with Draenor).
+#   Added dbghelp dll override to fix a crsh in the BattleNet client. 
 # [SuperPlumus] (2013-05-12 15-55)
 #   Update Wine version to 1.5.29 to fix bug #2284
 #   Add --allow-kill in POL_Wine_WaitExit
@@ -17,7 +21,7 @@
 
 TITLE="World of Warcraft"
 PREFIX="WorldOfWarcraft"
-WORKING_WINE_VERSION="1.5.29"
+WORKING_WINE_VERSION="1.7.29"
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/wow/top.jpg" "http://files.playonlinux.com/resources/setups/wow/left.jpg" "$TITLE"
 POL_SetupWindow_Init
@@ -33,6 +37,8 @@
 
 POL_Call POL_Install_gecko
 
+POL_Wine_OverrideDLL "" "dbghelp"
+
 POL_SetupWindow_InstallMethod "CD,DVD,LOCAL"
 
 if [ "$INSTALL_METHOD" = "CD" ]

Nouveau code source

#!/bin/bash
# Date : (2009-07-07 19-30)
# Last revision : (2014-11-14 17-15)
# Wine version used : 1.7.29
# Distribution used to test : N/A
# Author : Asimov and SuperPlumus
# Contributor: freedumb2000

# CHANGELOG
# [freedumb200] (2014-11-14 17-15)
#   Update Wine version to 1.5.29 (known to work with Draenor).
#   Added dbghelp dll override to fix a crsh in the BattleNet client. 
# [SuperPlumus] (2013-05-12 15-55)
#   Update Wine version to 1.5.29 to fix bug #2284
#   Add --allow-kill in POL_Wine_WaitExit
# [SuperPlumus] (2013-05-19 20-47)
#   gettext

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

TITLE="World of Warcraft"
PREFIX="WorldOfWarcraft"
WORKING_WINE_VERSION="1.7.29"

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

POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://www.blizzard.com" "Asimov and SuperPlumus" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86" # je ne sais pas si ca fonctionne en x64
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_System_TmpCreate "$PREFIX"

POL_Call POL_Install_gecko

POL_Wine_OverrideDLL "" "dbghelp"

POL_SetupWindow_InstallMethod "CD,DVD,LOCAL"

if [ "$INSTALL_METHOD" = "CD" ]
then

# Le nombre de cd varie selon les boitiers
POL_SetupWindow_menu "$(eval_gettext 'Which version do you have?')" "$TITLE" "4 CDs~5 CDs" "~"
NOMBRE_CD="$APP_ANSWER"

POL_SetupWindow_message "$(eval_gettext 'Please insert game media 1 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/* "$POL_System_TmpDir"

POL_SetupWindow_message "$(eval_gettext 'Please insert game media 2 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 2.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"

POL_SetupWindow_message "$(eval_gettext 'Please insert game media 3 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 3.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"

POL_SetupWindow_message "$(eval_gettext 'Please insert game media 4 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 4.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"


if [ "$NOMBRE_CD" = "5 CDs" ]; then
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 5 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 5.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
fi

cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill

fi
if [ "$INSTALL_METHOD" = "DVD" ]
then

POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/* "$POL_System_TmpDir"

cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill

fi
if [ "$INSTALL_METHOD" = "LOCAL" ]
then

cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE" --allow-kill


fi

POL_Wine_SetVideoDriver

POL_SetupWindow_VMS


POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"

# Fichier Config.wtf
cd "$WINEPREFIX/drive_c"
cat << EOF > Config.wtf
SET gxApi "opengl"
SET ffxDeath "0"
SET SoundOutputSystem "1"
SET SoundBufferSize "150"
SET MasterSoundEffects "0"
EOF

# AddOn ApplyToForehead (evite les crash de wow sur l'ecran des reglages)
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
wget "$SITE/divers/ApplyToForehead.zip"
unzip "ApplyToForehead.zip"
rm "ApplyToForehead.zip"

POL_Wine_InstallFonts
Set_SoundDriver alsa

POL_System_TmpDelete

POL_Shortcut "WoW.exe" "$TITLE"
POL_Shortcut_InsertBeforeWine "$TITLE" "mkdir -p \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/\""
POL_Shortcut_InsertBeforeWine "$TITLE" "cp \"$WINEPREFIX/drive_c/Config.wtf\" \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/Config.wtf\""

POL_SetupWindow_Close
exit

Réponses

Lundi 5 Janvier 2015 à 0:43
This update needs to be approved, as lots of people are crashing on install with WoD. Also I really don't understand this "Try this update" nonsense, near as I can tell there is *absolutely NO WAY to get this updated script into POL* with playonlinux:// links. Even if you replace the playonlinux:// with http:// it just tells you to open with POL, which of course you can't. Why can't we just download the script and run it from within POL?
Lundi 5 Janvier 2015 à 7:17
http://www.playonlinux.com/en/topic-8866-PlayOnLinux_Protocol_assignment.html
freedumb2000 Vendredi 14 Novembre 2014 à 17:13
freedumb2000 Anonymous

Warning

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

Messages

Fixed a crash in the installer (POL_Wine_OverrideDLL "" "dbghelp") and switched to a more recent wine version.

Differences

@@ -9,7 +9,7 @@
 # [SuperPlumus] (2013-05-12 15-55)
 #   Update Wine version to 1.5.29 to fix bug #2284
 #   Add --allow-kill in POL_Wine_WaitExit
-# [SuperPlumus] (2013-05-19 20-47)
+# [SuperPlumus] (2014-11-14 17-13)
 #   gettext
 
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -17,7 +17,7 @@
 
 TITLE="World of Warcraft"
 PREFIX="WorldOfWarcraft"
-WORKING_WINE_VERSION="1.5.29"
+WORKING_WINE_VERSION="1.7.29"
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/wow/top.jpg" "http://files.playonlinux.com/resources/setups/wow/left.jpg" "$TITLE"
 POL_SetupWindow_Init
@@ -33,6 +33,8 @@
 
 POL_Call POL_Install_gecko
 
+POL_Wine_OverrideDLL "" "dbghelp"
+
 POL_SetupWindow_InstallMethod "CD,DVD,LOCAL"
 
 if [ "$INSTALL_METHOD" = "CD" ]

Nouveau code source

#!/bin/bash
# Date : (2009-07-07 19-30)
# Last revision : (2013-05-19 20-47)
# Wine version used : 1.5.29
# Distribution used to test : N/A
# Author : Asimov and SuperPlumus

# CHANGELOG
# [SuperPlumus] (2013-05-12 15-55)
#   Update Wine version to 1.5.29 to fix bug #2284
#   Add --allow-kill in POL_Wine_WaitExit
# [SuperPlumus] (2014-11-14 17-13)
#   gettext

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

TITLE="World of Warcraft"
PREFIX="WorldOfWarcraft"
WORKING_WINE_VERSION="1.7.29"

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

POL_SetupWindow_presentation "$TITLE" "Blizzard Entertainment" "http://www.blizzard.com" "Asimov and SuperPlumus" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86" # je ne sais pas si ca fonctionne en x64
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_System_TmpCreate "$PREFIX"

POL_Call POL_Install_gecko

POL_Wine_OverrideDLL "" "dbghelp"

POL_SetupWindow_InstallMethod "CD,DVD,LOCAL"

if [ "$INSTALL_METHOD" = "CD" ]
then

# Le nombre de cd varie selon les boitiers
POL_SetupWindow_menu "$(eval_gettext 'Which version do you have?')" "$TITLE" "4 CDs~5 CDs" "~"
NOMBRE_CD="$APP_ANSWER"

POL_SetupWindow_message "$(eval_gettext 'Please insert game media 1 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/* "$POL_System_TmpDir"

POL_SetupWindow_message "$(eval_gettext 'Please insert game media 2 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 2.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"

POL_SetupWindow_message "$(eval_gettext 'Please insert game media 3 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 3.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"

POL_SetupWindow_message "$(eval_gettext 'Please insert game media 4 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 4.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"


if [ "$NOMBRE_CD" = "5 CDs" ]; then
POL_SetupWindow_message "$(eval_gettext 'Please insert game media 5 into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome 5.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.mpq "$POL_System_TmpDir"
fi

cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill

fi
if [ "$INSTALL_METHOD" = "DVD" ]
then

POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Installer Tome.mpq"
POL_SetupWindow_wait "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/* "$POL_System_TmpDir"

cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill

fi
if [ "$INSTALL_METHOD" = "LOCAL" ]
then

cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE" --allow-kill


fi

POL_Wine_SetVideoDriver

POL_SetupWindow_VMS


POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"

# Fichier Config.wtf
cd "$WINEPREFIX/drive_c"
cat << EOF > Config.wtf
SET gxApi "opengl"
SET ffxDeath "0"
SET SoundOutputSystem "1"
SET SoundBufferSize "150"
SET MasterSoundEffects "0"
EOF

# AddOn ApplyToForehead (evite les crash de wow sur l'ecran des reglages)
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/Interface"
wget "$SITE/divers/ApplyToForehead.zip"
unzip "ApplyToForehead.zip"
rm "ApplyToForehead.zip"

POL_Wine_InstallFonts
Set_SoundDriver alsa

POL_System_TmpDelete

POL_Shortcut "WoW.exe" "$TITLE"
POL_Shortcut_InsertBeforeWine "$TITLE" "mkdir -p \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/\""
POL_Shortcut_InsertBeforeWine "$TITLE" "cp \"$WINEPREFIX/drive_c/Config.wtf\" \"$WINEPREFIX/drive_c/$PROGRAMFILES/World of Warcraft/WTF/Config.wtf\""

POL_SetupWindow_Close
exit

Réponses

terryc Vendredi 7 Novembre 2014 à 3:50
terryc Anonymous

Messages

I just ran this script and it crashed.

Used the base DVD from Battleshest set.

Report uploaded.

This seems to be the problem

[11/07/14 13:37:50] - Running wine-1.5.29 Installer.exe (Working directory : /home/terryc/.PlayOnLinux/tmp/WorldOfWarcraft)
wine: cannot find L"C:\\windows\\system32\\Installer.exe"

Réponses

Vendredi 7 Novembre 2014 à 4:30
It must be a different release than the one supported by this script
blade19899 Vendredi 12 September 2014 à 14:28
blade19899

Messages

Just to let you guys know, this guy has some pretty great tweaks and optimizations:

How To Install World Of Warcraft In Ubuntu Or Linux Mint (W/ Fixes, FPS Optimizations)

 

 

 

 

 

 

Réponses