Guild Wars 2

Informations

Créateur Messages
GNU_Raziel

Information

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

Informations

Plate-formes :
Téléchargements : 125798
Wine: 4.0.4

Retours d'expérience

Description

Fantasy MMORPG. Released in 2012, became free-to-play in 2015. Wikipedia.

This script is compatible with the 32 and 64 bits versions of the game.

PCGamingWiki, Appdb.winehq.org

Captures d'écran

MiniatureMiniatureMiniatureMiniature

Code source

#!/bin/bash
# Date : (2012-05-17)
# Last revision : see changelog
# Wine version used : see script
# Distribution used to test : Linux Mint Debian Edition x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note (2013) ##
# Client may crash every few MB when downloading game, no crash when playing - see Bug #30511 - http://bugs.winehq.org/show_bug.cgi?id=30511
# Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
## End Note ##
 
# CHANGELOG
# [GNU_Raziel] (2012-05-17)
#    Initial script.
#    Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
# [RobLoach] (2015)
#    ...
# [Dadu042] (2019-07-03 16:24)
#    Upgrade 64bits download URL.
# [Dadu042] (2019-11-00)
#    Wine 1.7.35 -> 3.0.3 (because of the little windows install issue)
#    Add POL_RequiredVersion "4.2.12"
# [Dadu042] (2020-07-30)
#    [CHANGE] Wine 3.0.3 (outdated) -> 4.0.4
#    [CHANGE] POL_RequiredVersion "4.3.0"
   

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Guild Wars 2"
PREFIX="GuildWars2"
FILENAME="Gw2.exe"
EDITOR="ArenaNet"
GAME_URL="http://www.guildwars2.com"
AUTHOR="GNU_Raziel"

# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1126
  
# Starting debugging API
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting Wine Version
WORKING_WINE_VERSION="4.0.4"
 
POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
  
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
  
# Choose a 32-Bit or 64-Bit architecture
POL_SetupWindow_menu_list "$(eval_gettext 'Select architecture')" "$TITLE" "auto~x86~amd64" "~" "auto"
ARCHITECTURE="$APP_ANSWER"
  
# Downloading wine if necessary and creating prefix
POL_System_SetArch "$ARCHITECTURE"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
# (Added by Tinou, 2014 ?) Seems to help with random crash issue
Set_OS "win7"
  
# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"
  
# Look if the GPU has the minimum RAM required
POL_SetupWindow_VMS "512"
  
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
  
# Fix for this game
POL_Wine_X11Drv "GrabFullscreen" "Y"
  
# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Donwloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
        if [ "$ARCHITECTURE" = "amd64" ]; then
                POL_Download "https://s3.amazonaws.com/gw2cdn/client/branches/Gw2Setup-64.exe"
                FILENAME="Gw2Setup-64.exe"
        else
                POL_Download "https://cloudfront.guildwars2.com/client/Gw2.exe"
                FILENAME="Gw2.exe"
        fi
elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cp "$SETUP_EXE" "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2/Gw2.exe"
 
elif [ "$INSTALL_METHOD" = "CD" ]; then
        POL_Call POL_Wine_InstallCDROM "1" "w" "GW2Setup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$CDROM/Gw2Setup.exe"
        POL_Call POL_Wine_InstallCDROM "2" "w" "Gw2.js2"
        POL_Wine_WaitExit "$TITLE"
fi
  
# Registry (trick for mouse cursor)
regfile=$(mktemp --suffix=.REG)
echo "REGEDIT4" > "$regfile"
echo "" >> "$regfile"
echo "[HKEY_CURRENT_USER\\Software\\Wine\\DirectInput]" >> "$regfile"
echo '"MouseWarpOverride"="enable"' >> "$regfile"
POL_Wine regedit "$regfile"
  
# Making shortcut
POL_Shortcut "$FILENAME" "$TITLE" "$TITLE.png" "-dx9single -autologin" "Game;RolePlaying;"
  
# Begin installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
POL_Wine start /unix $FILENAME -repair -image
  
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Jeudi 30 Juillet 2020 à 13:00
Dadu042
Modérateur

Information

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

Differences

@@ -1,76 +1,84 @@
 #!/bin/bash
-# Date : (2012-05-17 21:00)
+# Date : (2012-05-17)
 # Last revision : see changelog
-# Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
+# Wine version used : see script
 # Distribution used to test : Linux Mint Debian Edition x64
 # Author : GNU_Raziel
 # Licence : Retail
 # Only For : http://www.playonlinux.com
- 
+
 ## Begin Note (2013) ##
 # Client may crash every few MB when downloading game, no crash when playing - see Bug #30511 - http://bugs.winehq.org/show_bug.cgi?id=30511
 # Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
 ## End Note ##
-
+ 
 # CHANGELOG
+# [GNU_Raziel] (2012-05-17)
+#    Initial script.
+#    Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
+# [RobLoach] (2015)
+#    ...
 # [Dadu042] (2019-07-03 16:24)
-#         Upgrade 64bits download URL.
+#    Upgrade 64bits download URL.
 # [Dadu042] (2019-11-00)
-#         Wine 1.7.35 -> 3.0.3 (because of the little windows install issue)
-#         Add POL_RequiredVersion "4.2.12"
+#    Wine 1.7.35 -> 3.0.3 (because of the little windows install issue)
+#    Add POL_RequiredVersion "4.2.12"
+# [Dadu042] (2020-07-30)
+#    [CHANGE] Wine 3.0.3 (outdated) -> 4.0.4
+#    [CHANGE] POL_RequiredVersion "4.3.0"
+   
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+  
 TITLE="Guild Wars 2"
 PREFIX="GuildWars2"
 FILENAME="Gw2.exe"
 EDITOR="ArenaNet"
 GAME_URL="http://www.guildwars2.com"
 AUTHOR="GNU_Raziel"
-GAME_VMS="512"
- 
+
 # Starting the script
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 1126
- 
+  
 # Starting debugging API
 POL_Debug_Init
- 
+  
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-
+ 
 # Setting Wine Version
-WORKING_WINE_VERSION="3.0.3"
-
-POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+WORKING_WINE_VERSION="4.0.4"
  
+POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+  
 # Setting prefix path
 POL_Wine_SelectPrefix "$PREFIX"
- 
+  
 # Choose a 32-Bit or 64-Bit architecture
 POL_SetupWindow_menu_list "$(eval_gettext 'Select architecture')" "$TITLE" "auto~x86~amd64" "~" "auto"
 ARCHITECTURE="$APP_ANSWER"
- 
+  
 # Downloading wine if necessary and creating prefix
 POL_System_SetArch "$ARCHITECTURE"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
- 
-# (Added by Tinou) Seems to help with random crash issue
+  
+# (Added by Tinou, 2014 ?) Seems to help with random crash issue
 Set_OS "win7"
- 
+  
 # Choose between Downloading client or using local one
 POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"
- 
-# Asking about memory size of graphic card
-POL_SetupWindow_VMS $GAME_VMS
- 
+  
+# Look if the GPU has the minimum RAM required
+POL_SetupWindow_VMS "512"
+  
 # Set Graphic Card information keys for wine
 POL_Wine_SetVideoDriver
- 
+  
 # Fix for this game
 POL_Wine_X11Drv "GrabFullscreen" "Y"
- 
+  
 # Downloading client or choosing existing one
 mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
 if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
@@ -89,7 +97,7 @@
         POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
         SETUP_EXE="$APP_ANSWER"
         cp "$SETUP_EXE" "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2/Gw2.exe"
-
+ 
 elif [ "$INSTALL_METHOD" = "CD" ]; then
         POL_Call POL_Wine_InstallCDROM "1" "w" "GW2Setup.exe"
         POL_Wine_WaitBefore "$TITLE"
@@ -97,21 +105,21 @@
         POL_Call POL_Wine_InstallCDROM "2" "w" "Gw2.js2"
         POL_Wine_WaitExit "$TITLE"
 fi
- 
-# Registry
+  
+# Registry (trick for mouse cursor)
 regfile=$(mktemp --suffix=.REG)
 echo "REGEDIT4" > "$regfile"
 echo "" >> "$regfile"
 echo "[HKEY_CURRENT_USER\\Software\\Wine\\DirectInput]" >> "$regfile"
 echo '"MouseWarpOverride"="enable"' >> "$regfile"
 POL_Wine regedit "$regfile"
- 
+  
 # Making shortcut
 POL_Shortcut "$FILENAME" "$TITLE" "$TITLE.png" "-dx9single -autologin" "Game;RolePlaying;"
- 
+  
 # Begin installation
 cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
 POL_Wine start /unix $FILENAME -repair -image
- 
+  
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2012-05-17)
# Last revision : see changelog
# Wine version used : see script
# Distribution used to test : Linux Mint Debian Edition x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note (2013) ##
# Client may crash every few MB when downloading game, no crash when playing - see Bug #30511 - http://bugs.winehq.org/show_bug.cgi?id=30511
# Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
## End Note ##
 
# CHANGELOG
# [GNU_Raziel] (2012-05-17)
#    Initial script.
#    Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
# [RobLoach] (2015)
#    ...
# [Dadu042] (2019-07-03 16:24)
#    Upgrade 64bits download URL.
# [Dadu042] (2019-11-00)
#    Wine 1.7.35 -> 3.0.3 (because of the little windows install issue)
#    Add POL_RequiredVersion "4.2.12"
# [Dadu042] (2020-07-30)
#    [CHANGE] Wine 3.0.3 (outdated) -> 4.0.4
#    [CHANGE] POL_RequiredVersion "4.3.0"
   

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Guild Wars 2"
PREFIX="GuildWars2"
FILENAME="Gw2.exe"
EDITOR="ArenaNet"
GAME_URL="http://www.guildwars2.com"
AUTHOR="GNU_Raziel"

# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1126
  
# Starting debugging API
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting Wine Version
WORKING_WINE_VERSION="4.0.4"
 
POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
  
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
  
# Choose a 32-Bit or 64-Bit architecture
POL_SetupWindow_menu_list "$(eval_gettext 'Select architecture')" "$TITLE" "auto~x86~amd64" "~" "auto"
ARCHITECTURE="$APP_ANSWER"
  
# Downloading wine if necessary and creating prefix
POL_System_SetArch "$ARCHITECTURE"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
# (Added by Tinou, 2014 ?) Seems to help with random crash issue
Set_OS "win7"
  
# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"
  
# Look if the GPU has the minimum RAM required
POL_SetupWindow_VMS "512"
  
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
  
# Fix for this game
POL_Wine_X11Drv "GrabFullscreen" "Y"
  
# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Donwloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
        if [ "$ARCHITECTURE" = "amd64" ]; then
                POL_Download "https://s3.amazonaws.com/gw2cdn/client/branches/Gw2Setup-64.exe"
                FILENAME="Gw2Setup-64.exe"
        else
                POL_Download "https://cloudfront.guildwars2.com/client/Gw2.exe"
                FILENAME="Gw2.exe"
        fi
elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cp "$SETUP_EXE" "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2/Gw2.exe"
 
elif [ "$INSTALL_METHOD" = "CD" ]; then
        POL_Call POL_Wine_InstallCDROM "1" "w" "GW2Setup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$CDROM/Gw2Setup.exe"
        POL_Call POL_Wine_InstallCDROM "2" "w" "Gw2.js2"
        POL_Wine_WaitExit "$TITLE"
fi
  
# Registry (trick for mouse cursor)
regfile=$(mktemp --suffix=.REG)
echo "REGEDIT4" > "$regfile"
echo "" >> "$regfile"
echo "[HKEY_CURRENT_USER\\Software\\Wine\\DirectInput]" >> "$regfile"
echo '"MouseWarpOverride"="enable"' >> "$regfile"
POL_Wine regedit "$regfile"
  
# Making shortcut
POL_Shortcut "$FILENAME" "$TITLE" "$TITLE.png" "-dx9single -autologin" "Game;RolePlaying;"
  
# Begin installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
POL_Wine start /unix $FILENAME -repair -image
  
POL_SetupWindow_Close
exit 0

Réponses

Jeudi 30 Juillet 2020 à 13:05
I untick the status 'PlayOnLinux testing'.
Jeudi 27 Aoüt 2020 à 18:17
It would be interresting to test this script with a newer Wine version (v5.0.x).
Dadu042 Dimanche 10 Novembre 2019 à 6:17
Dadu042
Modérateur

Warning

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

Differences

@@ -12,10 +12,12 @@
 # Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
 ## End Note ##
 
-# CHANGELOG
+# CHANGELOG
 # [Dadu042] (2019-07-03 16:24)
 #         Upgrade 64bits download URL.
-
+# [Dadu042] (2019-11-00)
+#         Wine 1.7.35 -> 3.0.3 (because of the little windows install issue)
+#         Add POL_RequiredVersion "4.2.12"
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -37,9 +39,11 @@
 POL_Debug_Init
  
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
- 
+
 # Setting Wine Version
-WORKING_WINE_VERSION="1.7.35"
+WORKING_WINE_VERSION="3.0.3"
+
+POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
  
 # Setting prefix path
 POL_Wine_SelectPrefix "$PREFIX"

Nouveau code source

#!/bin/bash
# Date : (2012-05-17 21:00)
# Last revision : see changelog
# Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
# Distribution used to test : Linux Mint Debian Edition x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com
 
## Begin Note (2013) ##
# Client may crash every few MB when downloading game, no crash when playing - see Bug #30511 - http://bugs.winehq.org/show_bug.cgi?id=30511
# Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
## End Note ##

# CHANGELOG
# [Dadu042] (2019-07-03 16:24)
#         Upgrade 64bits download URL.
# [Dadu042] (2019-11-00)
#         Wine 1.7.35 -> 3.0.3 (because of the little windows install issue)
#         Add POL_RequiredVersion "4.2.12"

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Guild Wars 2"
PREFIX="GuildWars2"
FILENAME="Gw2.exe"
EDITOR="ArenaNet"
GAME_URL="http://www.guildwars2.com"
AUTHOR="GNU_Raziel"
GAME_VMS="512"
 
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1126
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting Wine Version
WORKING_WINE_VERSION="3.0.3"

POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Choose a 32-Bit or 64-Bit architecture
POL_SetupWindow_menu_list "$(eval_gettext 'Select architecture')" "$TITLE" "auto~x86~amd64" "~" "auto"
ARCHITECTURE="$APP_ANSWER"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "$ARCHITECTURE"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# (Added by Tinou) Seems to help with random crash issue
Set_OS "win7"
 
# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
 
# Fix for this game
POL_Wine_X11Drv "GrabFullscreen" "Y"
 
# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Donwloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
        if [ "$ARCHITECTURE" = "amd64" ]; then
                POL_Download "https://s3.amazonaws.com/gw2cdn/client/branches/Gw2Setup-64.exe"
                FILENAME="Gw2Setup-64.exe"
        else
                POL_Download "https://cloudfront.guildwars2.com/client/Gw2.exe"
                FILENAME="Gw2.exe"
        fi
elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cp "$SETUP_EXE" "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2/Gw2.exe"

elif [ "$INSTALL_METHOD" = "CD" ]; then
        POL_Call POL_Wine_InstallCDROM "1" "w" "GW2Setup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$CDROM/Gw2Setup.exe"
        POL_Call POL_Wine_InstallCDROM "2" "w" "Gw2.js2"
        POL_Wine_WaitExit "$TITLE"
fi
 
# Registry
regfile=$(mktemp --suffix=.REG)
echo "REGEDIT4" > "$regfile"
echo "" >> "$regfile"
echo "[HKEY_CURRENT_USER\\Software\\Wine\\DirectInput]" >> "$regfile"
echo '"MouseWarpOverride"="enable"' >> "$regfile"
POL_Wine regedit "$regfile"
 
# Making shortcut
POL_Shortcut "$FILENAME" "$TITLE" "$TITLE.png" "-dx9single -autologin" "Game;RolePlaying;"
 
# Begin installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
POL_Wine start /unix $FILENAME -repair -image
 
POL_SetupWindow_Close
exit 0

Réponses

Dadu042 Mercredi 3 Juillet 2019 à 16:53
Dadu042
Modérateur

Warning

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

Differences

@@ -1,20 +1,25 @@
 #!/bin/bash
 # Date : (2012-05-17 21:00)
-# Last revision : (2013-10-25 08:00)
+# Last revision : see changelog
 # Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
 # Distribution used to test : Linux Mint Debian Edition x64
 # Author : GNU_Raziel
 # Licence : Retail
 # Only For : http://www.playonlinux.com
-
-## Begin Note ##
+ 
+## Begin Note (2013) ##
 # Client may crash every few MB when downloading game, no crash when playing - see Bug #30511 - http://bugs.winehq.org/show_bug.cgi?id=30511
 # Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
 ## End Note ##
 
+# CHANGELOG
+# [Dadu042] (2019-07-03 16:24)
+#         Upgrade 64bits download URL.
+
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Guild Wars 2"
 PREFIX="GuildWars2"
 FILENAME="Gw2.exe"
@@ -22,54 +27,54 @@
 GAME_URL="http://www.guildwars2.com"
 AUTHOR="GNU_Raziel"
 GAME_VMS="512"
-
+ 
 # Starting the script
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 1126
-
+ 
 # Starting debugging API
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-
+ 
 # Setting Wine Version
 WORKING_WINE_VERSION="1.7.35"
-
+ 
 # Setting prefix path
 POL_Wine_SelectPrefix "$PREFIX"
-
+ 
 # Choose a 32-Bit or 64-Bit architecture
 POL_SetupWindow_menu_list "$(eval_gettext 'Select architecture')" "$TITLE" "auto~x86~amd64" "~" "auto"
 ARCHITECTURE="$APP_ANSWER"
-
+ 
 # Downloading wine if necessary and creating prefix
 POL_System_SetArch "$ARCHITECTURE"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
+ 
 # (Added by Tinou) Seems to help with random crash issue
 Set_OS "win7"
-
+ 
 # Choose between Downloading client or using local one
 POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"
-
+ 
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS $GAME_VMS
-
+ 
 # Set Graphic Card information keys for wine
 POL_Wine_SetVideoDriver
-
+ 
 # Fix for this game
 POL_Wine_X11Drv "GrabFullscreen" "Y"
-
+ 
 # Downloading client or choosing existing one
 mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
 if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
         # Donwloading client
         cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
         if [ "$ARCHITECTURE" = "amd64" ]; then
-                POL_Download "https://s3.amazonaws.com/gw2cdn/client/branches/Gw2-64.exe"
-                FILENAME="Gw2-64.exe"
+                POL_Download "https://s3.amazonaws.com/gw2cdn/client/branches/Gw2Setup-64.exe"
+                FILENAME="Gw2Setup-64.exe"
         else
                 POL_Download "https://cloudfront.guildwars2.com/client/Gw2.exe"
                 FILENAME="Gw2.exe"
@@ -80,14 +85,15 @@
         POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
         SETUP_EXE="$APP_ANSWER"
         cp "$SETUP_EXE" "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2/Gw2.exe"
-else
+
+elif [ "$INSTALL_METHOD" = "CD" ]; then
         POL_Call POL_Wine_InstallCDROM "1" "w" "GW2Setup.exe"
         POL_Wine_WaitBefore "$TITLE"
         POL_Wine start /unix "$CDROM/Gw2Setup.exe"
         POL_Call POL_Wine_InstallCDROM "2" "w" "Gw2.js2"
         POL_Wine_WaitExit "$TITLE"
 fi
-
+ 
 # Registry
 regfile=$(mktemp --suffix=.REG)
 echo "REGEDIT4" > "$regfile"
@@ -95,13 +101,13 @@
 echo "[HKEY_CURRENT_USER\\Software\\Wine\\DirectInput]" >> "$regfile"
 echo '"MouseWarpOverride"="enable"' >> "$regfile"
 POL_Wine regedit "$regfile"
-
+ 
 # Making shortcut
 POL_Shortcut "$FILENAME" "$TITLE" "$TITLE.png" "-dx9single -autologin" "Game;RolePlaying;"
-
+ 
 # Begin installation
 cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
 POL_Wine start /unix $FILENAME -repair -image
-
+ 
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2012-05-17 21:00)
# Last revision : see changelog
# Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
# Distribution used to test : Linux Mint Debian Edition x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com
 
## Begin Note (2013) ##
# Client may crash every few MB when downloading game, no crash when playing - see Bug #30511 - http://bugs.winehq.org/show_bug.cgi?id=30511
# Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
## End Note ##

# CHANGELOG
# [Dadu042] (2019-07-03 16:24)
#         Upgrade 64bits download URL.


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Guild Wars 2"
PREFIX="GuildWars2"
FILENAME="Gw2.exe"
EDITOR="ArenaNet"
GAME_URL="http://www.guildwars2.com"
AUTHOR="GNU_Raziel"
GAME_VMS="512"
 
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1126
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting Wine Version
WORKING_WINE_VERSION="1.7.35"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Choose a 32-Bit or 64-Bit architecture
POL_SetupWindow_menu_list "$(eval_gettext 'Select architecture')" "$TITLE" "auto~x86~amd64" "~" "auto"
ARCHITECTURE="$APP_ANSWER"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "$ARCHITECTURE"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# (Added by Tinou) Seems to help with random crash issue
Set_OS "win7"
 
# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
 
# Fix for this game
POL_Wine_X11Drv "GrabFullscreen" "Y"
 
# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Donwloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
        if [ "$ARCHITECTURE" = "amd64" ]; then
                POL_Download "https://s3.amazonaws.com/gw2cdn/client/branches/Gw2Setup-64.exe"
                FILENAME="Gw2Setup-64.exe"
        else
                POL_Download "https://cloudfront.guildwars2.com/client/Gw2.exe"
                FILENAME="Gw2.exe"
        fi
elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cp "$SETUP_EXE" "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2/Gw2.exe"

elif [ "$INSTALL_METHOD" = "CD" ]; then
        POL_Call POL_Wine_InstallCDROM "1" "w" "GW2Setup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$CDROM/Gw2Setup.exe"
        POL_Call POL_Wine_InstallCDROM "2" "w" "Gw2.js2"
        POL_Wine_WaitExit "$TITLE"
fi
 
# Registry
regfile=$(mktemp --suffix=.REG)
echo "REGEDIT4" > "$regfile"
echo "" >> "$regfile"
echo "[HKEY_CURRENT_USER\\Software\\Wine\\DirectInput]" >> "$regfile"
echo '"MouseWarpOverride"="enable"' >> "$regfile"
POL_Wine regedit "$regfile"
 
# Making shortcut
POL_Shortcut "$FILENAME" "$TITLE" "$TITLE.png" "-dx9single -autologin" "Game;RolePlaying;"
 
# Begin installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
POL_Wine start /unix $FILENAME -repair -image
 
POL_SetupWindow_Close
exit 0

Réponses

tonac Vendredi 7 Décembre 2018 à 14:05
tonac Anonymous

Messages

Hi. I installed Playonlinux and then i went to install Gw2. When launcher should apper, it is just blue window ( i am guessing from virtual desktop, from settings right) and nothing happens. i can see that is running in background but nothing appeares. so this is what i get from debug:

 

[12/07/18 13:58:34] - Running wine-3.13 Gw2.exe -dx9single -autologin (Working directory : /home/josip/.PlayOnLinux/wineprefix/GuildWars2/drive_c/Program Files (x86)/ArenaNet/Guild Wars 2)
0028:fixme:heap:RtlSetHeapInformation 0x10000 0 0x22fd10 4 stub
0028:fixme:heap:RtlSetHeapInformation 0x360000 0 0x22fcf0 4 stub
0028:fixme:heap:RtlSetHeapInformation 0x360000 1 (nil) 0 stub
002f:fixme:ver:GetCurrentPackageId (0xc1fdd0 (nil)): stub
0030:fixme:ver:GetCurrentPackageId (0xd2fdd0 (nil)): stub
0030:fixme:thread:SetThreadStackGuarantee (0xd2fdd0): stub
0028:err:winediag:query_gpu_description Invalid GPU override 10de:1140 specified, ignoring.
0028:fixme:win:EnumDisplayDevicesW ((null),0,0x22e970,0x00000000), stub!
0028:err:winediag:query_gpu_description Invalid GPU override 10de:1140 specified, ignoring.
0028:fixme:win:EnumDisplayDevicesW ((null),0,0x22e760,0x00000000), stub!

I already have winbind installed as I saw for previous post some instruction on that.I hope someon can help me. Ty for understanding :)

Réponses

Mercredi 3 Juillet 2019 à 16:18
The Wine version you use was not tested with this game and POL. Downgrade it.
emeri1md Vendredi 13 Octobre 2017 à 15:56
emeri1md Anonymous

Messages

I'm tying to install onto my fresh Linux Mint distro and getting the following log info:

Running wine-1.7.35 Gw2-64.exe -dx9single -autologin (Working directory : /home/emeri1md/.PlayOnLinux/wineprefix/GuildWars2/drive_c/Program Files (x86)/ArenaNet/Guild Wars 2)
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:heap:RtlSetHeapInformation 0x10000 0 0x22fcb0 4 stub
fixme:heap:RtlSetHeapInformation 0x340000 0 0x22fc90 4 stub
fixme:heap:RtlSetHeapInformation 0x340000 1 (nil) 0 stub
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:thread:SetThreadStackGuarantee (0xbfe590): stub
err:winediag:init_driver_info Invalid GPU override 10de:0615 specified, ignoring.
fixme:win:EnumDisplayDevicesW ((null),0,0x22e910,0x00000000), stub!
err:winediag:init_driver_info Invalid GPU override 10de:0615 specified, ignoring.
fixme:win:EnumDisplayDevicesW ((null),0,0x22e6f0,0x00000000), stub!
fixme:gameux:GameExplorerImpl_VerifyAccess (0xf9ce30, L"C:\\Program Files (x86)\\ArenaNet\\Guild Wars 2\\Gw2-64.exe", 0x22f120)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
wine: Call from 0x7b8520da to unimplemented function api-ms-win-core-sysinfo-l1-2-1.dll.GetSystemTimePreciseAsFileTime, aborting
fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
fixme:seh:RtlCaptureStackBackTrace (0, 128, 0x2a3bce0, (nil)) stub!
fixme:dbghelp:elf_search_auxv can't find symbol in module

I'm not sure what to do and would appreciate any help.

Réponses

Anonymous
Dimanche 28 Janvier 2018 à 15:55
sudo apt-get install winbind
Anonymous
Dimanche 28 Janvier 2018 à 15:56
worked for me. Linux mint 17.3 Rosa
Dallas Mercredi 24 Mai 2017 à 17:29
Dallas Anonymous

Messages

I tried the PlayonLinux with the AMD64 install with Wine2.8-staging, also the 64bit version, and added the additional video option. Emulated the desktop screen in Wine with 1920x1080 to my screen size. It crashed at first attempt to install but I selected the overwrite option and installed again and it finished the install. Other than that, It is currently running as if it is on Windows. It exceeded my expectations. It plays as if it could be a native client. I am a happy camper. It looks like it is only getting about 35-40FPS when looking at the screen options in game, but it feels like it is performing alot better than that. 

Réponses

Anonymous
Mercredi 24 Mai 2017 à 17:32
On another note. I am playing on Kubuntu 17.04 64bit, With a Lenovo K410 thinkcenter 2.3 dual core processor, NVIDIA GTX760 2GB video card with the latest driver available in the repositories.
Anonymous
Mercredi 24 Mai 2017 à 22:05
I also wanted to add since I missed it when typing the first message that I used the Guildwars2 64bit client, so all of the setup is 64bit.
mice Samedi 18 Février 2017 à 15:53
mice Anonymous

Messages

I tryed Guildwars2 with Wine 2.1 it works great!

Réponses

lucasfs7 Jeudi 2 Février 2017 à 17:18
lucasfs7 Anonymous

Messages

consegui rodar com sucesso no Elementary OS Loki

Réponses

Anonymous
Jeudi 2 Février 2017 à 17:19
running perfectly on Elementary OS Loki
Horigo Lundi 26 September 2016 à 14:37
Horigo Anonymous

Messages

Game launch but i only have sound and no picture.

Seems to be an incompatibility with my radeon Fury.

Waiting for the next version of amdgup

Réponses

AlexS420 Vendredi 16 September 2016 à 21:24
AlexS420 Anonymous

Messages

?Installed and ran just fine on Linux Mint 17.3 Cinnamon 64 Bit. With a 32bit virtual drive running wine 1.7.35 with windows version set to Windows 7.

Réponses

huw Samedi 27 Aoüt 2016 à 9:50
huw Anonymous

Messages

This is working fine on my PC:

OpenSUSE Leap 42.1 64-bit

4.2GHz x4

8GB RAM

AMD R7 370 with fglrx driver

I had to use WINE 1.9.17

Thank you very much for your work!

Réponses

icenounet Mercredi 3 Aoüt 2016 à 22:52
icenounet Anonymous

Messages

Il foncionne si je choisi l'architecture AMD64, si en mode AUTO, il plante a l'installation...  Jusqu'à maintenant, j'ai pu me logger et j'attend d'avoir assez téléchargé de fichier pour l'utiliser.

 

AMD X 4 3.9Ghz turbo 4.1ghz (FM2 + Socket)

Carte mère Biostar A58MD

Carte graphique ATI RADEON 7 240 de Gigabytes 2048 ram

RAM total 8gig

Réponses

logan2605 Mercredi 18 Mai 2016 à 0:39
logan2605 Anonymous

Messages

Today's update seems to have broken the game. Game crashes apon play.

 

[05/17/16 18:34:17] - Running wine-1.7.35 Gw2.exe -dx9single -autologin (Working directory : /home/logan2605/.PlayOnLinux/wineprefix/GuildWars2/drive_c/Program Files (x86)/ArenaNet/Guild Wars 2)
fixme:heap:RtlSetHeapInformation 0x110000 0 0x33fda4 4 stub
fixme:heap:RtlSetHeapInformation 0x110000 1 (nil) 0 stub
fixme:heap:RtlSetHeapInformation 0x2130000 0 0x33fde8 4 stub
fixme:heap:RtlSetHeapInformation 0x2130000 1 (nil) 0 stub
fixme:process:SetProcessDEPPolicy (1): stub
fixme:win:EnumDisplayDevicesW ((null),0,0x33e9f8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33ec68,0x00000000), stub!
fixme:heap:RtlSetHeapInformation 0x10000 0 0x23fc80 4 stub
fixme:heap:RtlSetHeapInformation 0x350000 0 0x23fc60 4 stub
fixme:heap:RtlSetHeapInformation 0x350000 1 (nil) 0 stub
fixme:win:EnumDisplayDevicesW ((null),0,0x23e8a0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x23eaf0,0x00000000), stub!
fixme:ver:GetCurrentPackageId (0x157e550 (nil)): stub
fixme:thread:SetThreadStackGuarantee (0x167e520): stub
fixme:msctf:ThreadMgrSource_AdviseSink (0xcab0a0) Unhandled Sink: {ea1ea136-19df-11d7-a6d2-00065b84435c}
fixme:imm:ImmDisableTextFrameService Stub
fixme:wincodecs:PngDecoder_Block_GetCount stub
fixme:winsock:WS_getsockopt WS_SO_CONNECT_TIME - faking results
fixme:d3d9:D3DPERF_GetStatus (void) : stub
fixme:ntdll:NtCreateJobObject stub: 0x240bf20 1f001f <null>
fixme:ntdll:NtQueryInformationJobObject stub: 0xdead 2 0x240c320 64 (nil)
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:process:SetProcessDEPPolicy (3): stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:ntdll:NtIsProcessInJob stub: 0xffffffff (nil)
fixme:thread:GetThreadPreferredUILanguages 56, 0x33f624, (nil) 0x33f620
fixme:winsock:WSALookupServiceBeginW (0x33f690 0x00000ff0 0x33f6d8) Stub!
fixme:iphlpapi:NotifyAddrChange (Handle 0x33f568, overlapped 0x2bf4e88): stub
fixme:win:RegisterDeviceNotificationW (hwnd=0x30cb2, filter=0x33f748,flags=0x00000000) returns a fake device notification handle!
fixme:win:RegisterDeviceNotificationW (hwnd=0x30cb2, filter=0x33f748,flags=0x00000000) returns a fake device notification handle!
fixme:win:EnumDisplayDevicesW ((null),0,0x33edb4,0x00000000), stub!
fixme:advapi:RegisterTraceGuidsW (0x495320, 0x24ef248, {3dada31d-19ef-4dc1-b345-037927193422}, 1, 0x24a4f04, (null), (null), 0x24ef260): stub
fixme:winsock:WSALookupServiceBeginW (0x33dba0 0x00000ff0 0x33dbe8) Stub!
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:process:SetProcessDEPPolicy (3): stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:ntdll:NtIsProcessInJob stub: 0xffffffff (nil)
fixme:advapi:RegisterTraceGuidsW (0x495320, 0x24ef248, {3dada31d-19ef-4dc1-b345-037927193422}, 1, 0x24a4f04, (null), (null), 0x24ef260): stub
fixme:gdi:GdiInitializeLanguagePack stub
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:winsock:WSALookupServiceBeginW (0x3cde0a0 0x00000ff0 0x3cde0e8) Stub!
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:crypt:CertContext_SetProperty 70: stub
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:advapi:UnregisterTraceGuids 0: stub
fixme:win:UnregisterDeviceNotification (handle=0xcafeaffe), STUB!
fixme:win:UnregisterDeviceNotification (handle=0xcafeaffe), STUB!
fixme:iphlpapi:CancelIPChangeNotify (overlapped 0x2bf4e88): stub
fixme:advapi:UnregisterTraceGuids 0: stub
fixme:win:EnumDisplayDevicesW ((null),0,0x240d8a0,0x00000000), stub!
fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:win:EnumDisplayDevicesW ((null),0,0x240c570,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x240c340,0x00000000), stub!
fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}.
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {33d9a761-90c8-11d0-bd43-00a0c911ce86} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb41-f175-11d1-a392-00e0291f3959} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb46-f175-11d1-a392-00e0291f3959} not found
fixme:d3d:debug_d3dformat Unrecognized 0x434f5441 (as fourcc: ATOC) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x434f5441) in the format lookup table
fixme:msctf:ThreadMgrSource_AdviseSink (0xcab0a0) Unhandled Sink: {ea1ea136-19df-11d7-a6d2-00065b84435c}
fixme:imm:ImmDisableTextFrameService Stub
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x110d0c 0x00000000
fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0x88ce4c8): stub
fixme:d3d:wined3d_swapchain_set_gamma_ramp Ignoring flags 0x1.
fixme:d3d:wined3d_swapchain_set_gamma_ramp Ignoring flags 0x1.
fixme:d3d9:D3DPERF_GetStatus (void) : stub
fixme:ntdll:NtCreateJobObject stub: 0x240bf70 1f001f <null>
fixme:ntdll:NtQueryInformationJobObject stub: 0xdead 2 0x240c370 64 (nil)
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:process:SetProcessDEPPolicy (3): stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:ntdll:NtIsProcessInJob stub: 0xffffffff (nil)
fixme:thread:GetThreadPreferredUILanguages 56, 0x33f624, (nil) 0x33f620
fixme:winsock:WSALookupServiceBeginW (0x33f690 0x00000ff0 0x33f6d8) Stub!
fixme:iphlpapi:NotifyAddrChange (Handle 0x33f568, overlapped 0x2bf4e88): stub
fixme:win:RegisterDeviceNotificationW (hwnd=0x40cba, filter=0x33f748,flags=0x00000000) returns a fake device notification handle!
fixme:win:RegisterDeviceNotificationW (hwnd=0x40cba, filter=0x33f748,flags=0x00000000) returns a fake device notification handle!
fixme:win:EnumDisplayDevicesW ((null),0,0x33edb4,0x00000000), stub!
fixme:win:FlashWindowEx 0x240ddc0
fixme:advapi:RegisterTraceGuidsW (0x495320, 0x24ef248, {3dada31d-19ef-4dc1-b345-037927193422}, 1, 0x24a4f04, (null), (null), 0x24ef260): stub
fixme:winsock:WSALookupServiceBeginW (0x33dba0 0x00000ff0 0x33dbe8) Stub!
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:process:SetProcessDEPPolicy (3): stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:ntdll:NtIsProcessInJob stub: 0xffffffff (nil)
fixme:advapi:RegisterTraceGuidsW (0x495320, 0x24ef248, {3dada31d-19ef-4dc1-b345-037927193422}, 1, 0x24a4f04, (null), (null), 0x24ef260): stub
fixme:gdi:GdiInitializeLanguagePack stub
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:winsock:WSALookupServiceBeginW (0x3cde0a0 0x00000ff0 0x3cde0e8) Stub!
fixme:crypt:CertContext_SetProperty 70: stub
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x270 (nil)
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:advapi:UnregisterTraceGuids 0: stub
fixme:winsock:WSALookupServiceBeginW (0x33dba0 0x00000ff0 0x33dbe8) Stub!
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:process:SetProcessDEPPolicy (3): stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:ntdll:NtIsProcessInJob stub: 0xffffffff (nil)
fixme:advapi:RegisterTraceGuidsW (0x495320, 0x24ef248, {3dada31d-19ef-4dc1-b345-037927193422}, 1, 0x24a4f04, (null), (null), 0x24ef260): stub
fixme:gdi:GdiInitializeLanguagePack stub
fixme:ntdll:NtIsProcessInJob stub: 0x27c (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x27c (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x27c (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x27c (nil)
fixme:ntdll:NtIsProcessInJob stub: 0x27c (nil)
fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
fixme:seh:RtlCaptureStackBackTrace (0, 128, 0x2409e60, (nil)) stub!
fixme:dbghelp:elf_search_auxv can't find symbol in module
fixme:winsock:WSALookupServiceBeginW (0x3cde0a0 0x00000ff0 0x3cde0e8) Stub!
fixme:system:SystemParametersInfoW Unknown action: 116

 

Réponses

RobLoach Vendredi 8 Avril 2016 à 11:48
RobLoach

Warning

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

Messages

Differences

@@ -88,6 +88,14 @@
         POL_Wine_WaitExit "$TITLE"
 fi
 
+# Registry
+regfile=$(mktemp --suffix=.REG)
+echo "REGEDIT4" > "$regfile"
+echo "" >> "$regfile"
+echo "[HKEY_CURRENT_USER\\Software\\Wine\\DirectInput]" >> "$regfile"
+echo '"MouseWarpOverride"="enable"' >> "$regfile"
+POL_Wine regedit "$regfile"
+
 # Making shortcut
 POL_Shortcut "$FILENAME" "$TITLE" "$TITLE.png" "-dx9single -autologin" "Game;RolePlaying;"
 

Nouveau code source

#!/bin/bash
# Date : (2012-05-17 21:00)
# Last revision : (2013-10-25 08:00)
# Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
# Distribution used to test : Linux Mint Debian Edition x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note ##
# Client may crash every few MB when downloading game, no crash when playing - see Bug #30511 - http://bugs.winehq.org/show_bug.cgi?id=30511
# Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
## End Note ##

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

TITLE="Guild Wars 2"
PREFIX="GuildWars2"
FILENAME="Gw2.exe"
EDITOR="ArenaNet"
GAME_URL="http://www.guildwars2.com"
AUTHOR="GNU_Raziel"
GAME_VMS="512"

# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1126

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting Wine Version
WORKING_WINE_VERSION="1.7.35"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Choose a 32-Bit or 64-Bit architecture
POL_SetupWindow_menu_list "$(eval_gettext 'Select architecture')" "$TITLE" "auto~x86~amd64" "~" "auto"
ARCHITECTURE="$APP_ANSWER"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "$ARCHITECTURE"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# (Added by Tinou) Seems to help with random crash issue
Set_OS "win7"

# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Fix for this game
POL_Wine_X11Drv "GrabFullscreen" "Y"

# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Donwloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
        if [ "$ARCHITECTURE" = "amd64" ]; then
                POL_Download "https://s3.amazonaws.com/gw2cdn/client/branches/Gw2-64.exe"
                FILENAME="Gw2-64.exe"
        else
                POL_Download "https://cloudfront.guildwars2.com/client/Gw2.exe"
                FILENAME="Gw2.exe"
        fi
elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cp "$SETUP_EXE" "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2/Gw2.exe"
else
        POL_Call POL_Wine_InstallCDROM "1" "w" "GW2Setup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$CDROM/Gw2Setup.exe"
        POL_Call POL_Wine_InstallCDROM "2" "w" "Gw2.js2"
        POL_Wine_WaitExit "$TITLE"
fi

# Registry
regfile=$(mktemp --suffix=.REG)
echo "REGEDIT4" > "$regfile"
echo "" >> "$regfile"
echo "[HKEY_CURRENT_USER\\Software\\Wine\\DirectInput]" >> "$regfile"
echo '"MouseWarpOverride"="enable"' >> "$regfile"
POL_Wine regedit "$regfile"

# Making shortcut
POL_Shortcut "$FILENAME" "$TITLE" "$TITLE.png" "-dx9single -autologin" "Game;RolePlaying;"

# Begin installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
POL_Wine start /unix $FILENAME -repair -image

POL_SetupWindow_Close
exit 0

Réponses

Anonymous
Samedi 30 Avril 2016 à 17:28
First thanks for your work. The Download link https://cloudfront.guildwars2.com/client/gw2.exe does not work anymore . The Server Response : Access Denied
Anonymous
Dimanche 1 Mai 2016 à 23:59
I get the "unable to gain access to login server" error. https://help.guildwars2.com/entries/38813526-Common-Error-Codes

I am not behind a firewall or proxy server.
Mercredi 25 Mai 2016 à 5:49
@hal0815 Try loading up the URL in your browser?
RobLoach Jeudi 7 Avril 2016 à 17:59
RobLoach

Warning

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

Messages

Update to Wine 1.9.7.

Differences

@@ -34,7 +34,7 @@
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
 # Setting Wine Version
-WORKING_WINE_VERSION="1.7.35"
+WORKING_WINE_VERSION="1.9.7"
 
 # Setting prefix path
 POL_Wine_SelectPrefix "$PREFIX"

Nouveau code source

#!/bin/bash
# Date : (2012-05-17 21:00)
# Last revision : (2013-10-25 08:00)
# Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
# Distribution used to test : Linux Mint Debian Edition x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note ##
# Client may crash every few MB when downloading game, no crash when playing - see Bug #30511 - http://bugs.winehq.org/show_bug.cgi?id=30511
# Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
## End Note ##

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

TITLE="Guild Wars 2"
PREFIX="GuildWars2"
FILENAME="Gw2.exe"
EDITOR="ArenaNet"
GAME_URL="http://www.guildwars2.com"
AUTHOR="GNU_Raziel"
GAME_VMS="512"

# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1126

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting Wine Version
WORKING_WINE_VERSION="1.9.7"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Choose a 32-Bit or 64-Bit architecture
POL_SetupWindow_menu_list "$(eval_gettext 'Select architecture')" "$TITLE" "auto~x86~amd64" "~" "auto"
ARCHITECTURE="$APP_ANSWER"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "$ARCHITECTURE"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# (Added by Tinou) Seems to help with random crash issue
Set_OS "win7"

# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Fix for this game
POL_Wine_X11Drv "GrabFullscreen" "Y"

# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Donwloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
        if [ "$ARCHITECTURE" = "amd64" ]; then
                POL_Download "https://s3.amazonaws.com/gw2cdn/client/branches/Gw2-64.exe"
                FILENAME="Gw2-64.exe"
        else
                POL_Download "https://cloudfront.guildwars2.com/client/Gw2.exe"
                FILENAME="Gw2.exe"
        fi
elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cp "$SETUP_EXE" "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2/Gw2.exe"
else
        POL_Call POL_Wine_InstallCDROM "1" "w" "GW2Setup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$CDROM/Gw2Setup.exe"
        POL_Call POL_Wine_InstallCDROM "2" "w" "Gw2.js2"
        POL_Wine_WaitExit "$TITLE"
fi

# Making shortcut
POL_Shortcut "$FILENAME" "$TITLE" "$TITLE.png" "-dx9single -autologin" "Game;RolePlaying;"

# Begin installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
POL_Wine start /unix $FILENAME -repair -image

POL_SetupWindow_Close
exit 0

Réponses

Mercredi 20 Avril 2016 à 20:14
@t-ask reports that 1.9.8-staging is good. We should roll with that.
petch Lundi 11 Janvier 2016 à 20:50
petch
Développeur

Warning

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

Messages

Work around POL_Download clobbering $FILENAME (fixed in 4.2.11-dev)

Differences

@@ -72,6 +72,7 @@
                 FILENAME="Gw2-64.exe"
         else
                 POL_Download "https://cloudfront.guildwars2.com/client/Gw2.exe"
+                FILENAME="Gw2.exe"
         fi
 elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
         # Asking for client exe

Nouveau code source

#!/bin/bash
# Date : (2012-05-17 21:00)
# Last revision : (2013-10-25 08:00)
# Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
# Distribution used to test : Linux Mint Debian Edition x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note ##
# Client may crash every few MB when downloading game, no crash when playing - see Bug #30511 - http://bugs.winehq.org/show_bug.cgi?id=30511
# Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
## End Note ##

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

TITLE="Guild Wars 2"
PREFIX="GuildWars2"
FILENAME="Gw2.exe"
EDITOR="ArenaNet"
GAME_URL="http://www.guildwars2.com"
AUTHOR="GNU_Raziel"
GAME_VMS="512"

# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1126

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting Wine Version
WORKING_WINE_VERSION="1.7.35"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Choose a 32-Bit or 64-Bit architecture
POL_SetupWindow_menu_list "$(eval_gettext 'Select architecture')" "$TITLE" "auto~x86~amd64" "~" "auto"
ARCHITECTURE="$APP_ANSWER"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "$ARCHITECTURE"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# (Added by Tinou) Seems to help with random crash issue
Set_OS "win7"

# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Fix for this game
POL_Wine_X11Drv "GrabFullscreen" "Y"

# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Donwloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
        if [ "$ARCHITECTURE" = "amd64" ]; then
                POL_Download "https://s3.amazonaws.com/gw2cdn/client/branches/Gw2-64.exe"
                FILENAME="Gw2-64.exe"
        else
                POL_Download "https://cloudfront.guildwars2.com/client/Gw2.exe"
                FILENAME="Gw2.exe"
        fi
elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cp "$SETUP_EXE" "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2/Gw2.exe"
else
        POL_Call POL_Wine_InstallCDROM "1" "w" "GW2Setup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$CDROM/Gw2Setup.exe"
        POL_Call POL_Wine_InstallCDROM "2" "w" "Gw2.js2"
        POL_Wine_WaitExit "$TITLE"
fi

# Making shortcut
POL_Shortcut "$FILENAME" "$TITLE" "$TITLE.png" "-dx9single -autologin" "Game;RolePlaying;"

# Begin installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
POL_Wine start /unix $FILENAME -repair -image

POL_SetupWindow_Close
exit 0

Réponses

Mercredi 13 Janvier 2016 à 17:43
Thanks!
matlink Dimanche 10 Janvier 2016 à 13:47
matlink Anonymous

Warning

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

Messages

Runs very well, with x64 version and these options:

- wine 1.9.0-staging

- -dx9single argument

- virtual desktop

- automaticaly capture mouse

- enable CSMT (staging tab)

- d3dx9 component installed

- GLSL disabled and correct video memory size (display tab)

 

Mouse is kept in the screen, alt+tab is doable without any issue

Tried on ubuntu 14.04 x64 with GTX 970 and NVIDIA drivers

 

Based on http://wiki.guildwars2.com/wiki/Guild_Wars_2_on_Wine

Differences

@@ -34,7 +34,7 @@
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
 # Setting Wine Version
-WORKING_WINE_VERSION="1.7.35"
+WORKING_WINE_VERSION="1.9.0-staging"
 
 # Setting prefix path
 POL_Wine_SelectPrefix "$PREFIX"

Nouveau code source

#!/bin/bash
# Date : (2012-05-17 21:00)
# Last revision : (2013-10-25 08:00)
# Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
# Distribution used to test : Linux Mint Debian Edition x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note ##
# Client may crash every few MB when downloading game, no crash when playing - see Bug #30511 - http://bugs.winehq.org/show_bug.cgi?id=30511
# Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
## End Note ##

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

TITLE="Guild Wars 2"
PREFIX="GuildWars2"
FILENAME="Gw2.exe"
EDITOR="ArenaNet"
GAME_URL="http://www.guildwars2.com"
AUTHOR="GNU_Raziel"
GAME_VMS="512"

# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1126

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting Wine Version
WORKING_WINE_VERSION="1.9.0-staging"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Choose a 32-Bit or 64-Bit architecture
POL_SetupWindow_menu_list "$(eval_gettext 'Select architecture')" "$TITLE" "auto~x86~amd64" "~" "auto"
ARCHITECTURE="$APP_ANSWER"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "$ARCHITECTURE"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# (Added by Tinou) Seems to help with random crash issue
Set_OS "win7"

# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Fix for this game
POL_Wine_X11Drv "GrabFullscreen" "Y"

# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Donwloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
        if [ "$ARCHITECTURE" = "amd64" ]; then
                POL_Download "https://s3.amazonaws.com/gw2cdn/client/branches/Gw2-64.exe"
                FILENAME="Gw2-64.exe"
        else
                POL_Download "https://cloudfront.guildwars2.com/client/Gw2.exe"
        fi
elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cp "$SETUP_EXE" "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2/Gw2.exe"
else
        POL_Call POL_Wine_InstallCDROM "1" "w" "GW2Setup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$CDROM/Gw2Setup.exe"
        POL_Call POL_Wine_InstallCDROM "2" "w" "Gw2.js2"
        POL_Wine_WaitExit "$TITLE"
fi

# Making shortcut
POL_Shortcut "$FILENAME" "$TITLE" "$TITLE.png" "-dx9single -autologin" "Game;RolePlaying;"

# Begin installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
POL_Wine start /unix $FILENAME -repair -image

POL_SetupWindow_Close
exit 0

Réponses

Mercredi 13 Janvier 2016 à 17:44
What does "1.9.0-staging" provide that doesn't exist in "1.9.1"?
Anonymous
Lundi 29 Février 2016 à 20:49
CSMT I think, as it it a staging feature
RobLoach Mardi 24 Novembre 2015 à 22:53
RobLoach

Warning

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

Messages

Remove MD5 checks.

Differences

@@ -68,10 +68,10 @@
         # Donwloading client
         cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
         if [ "$ARCHITECTURE" = "amd64" ]; then
-                POL_Download "https://s3.amazonaws.com/gw2cdn/client/branches/Gw2-64.exe" "0857f7fdba0a13452f70c13fff2ea271"
+                POL_Download "https://s3.amazonaws.com/gw2cdn/client/branches/Gw2-64.exe"
                 FILENAME="Gw2-64.exe"
         else
-                POL_Download "https://cloudfront.guildwars2.com/client/Gw2.exe" "2c720359773a7e1ac23ef44b01b8b4e5"
+                POL_Download "https://cloudfront.guildwars2.com/client/Gw2.exe"
         fi
 elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
         # Asking for client exe

Nouveau code source

#!/bin/bash
# Date : (2012-05-17 21:00)
# Last revision : (2013-10-25 08:00)
# Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
# Distribution used to test : Linux Mint Debian Edition x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note ##
# Client may crash every few MB when downloading game, no crash when playing - see Bug #30511 - http://bugs.winehq.org/show_bug.cgi?id=30511
# Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
## End Note ##

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

TITLE="Guild Wars 2"
PREFIX="GuildWars2"
FILENAME="Gw2.exe"
EDITOR="ArenaNet"
GAME_URL="http://www.guildwars2.com"
AUTHOR="GNU_Raziel"
GAME_VMS="512"

# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1126

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting Wine Version
WORKING_WINE_VERSION="1.7.35"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Choose a 32-Bit or 64-Bit architecture
POL_SetupWindow_menu_list "$(eval_gettext 'Select architecture')" "$TITLE" "auto~x86~amd64" "~" "auto"
ARCHITECTURE="$APP_ANSWER"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "$ARCHITECTURE"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# (Added by Tinou) Seems to help with random crash issue
Set_OS "win7"

# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Fix for this game
POL_Wine_X11Drv "GrabFullscreen" "Y"

# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Donwloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
        if [ "$ARCHITECTURE" = "amd64" ]; then
                POL_Download "https://s3.amazonaws.com/gw2cdn/client/branches/Gw2-64.exe"
                FILENAME="Gw2-64.exe"
        else
                POL_Download "https://cloudfront.guildwars2.com/client/Gw2.exe"
        fi
elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cp "$SETUP_EXE" "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2/Gw2.exe"
else
        POL_Call POL_Wine_InstallCDROM "1" "w" "GW2Setup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$CDROM/Gw2Setup.exe"
        POL_Call POL_Wine_InstallCDROM "2" "w" "Gw2.js2"
        POL_Wine_WaitExit "$TITLE"
fi

# Making shortcut
POL_Shortcut "$FILENAME" "$TITLE" "$TITLE.png" "-dx9single -autologin" "Game;RolePlaying;"

# Begin installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
POL_Wine start /unix $FILENAME -repair -image

POL_SetupWindow_Close
exit 0

Réponses

Mercredi 25 Novembre 2015 à 13:33
Will no longer catch download failures though
taibhse Mardi 24 Novembre 2015 à 0:56
taibhse Anonymous

Messages

Trying to do a reinstall, moving from x86 to x64

Seeing an error in the installer; right after seeing the option to use a cd or download the installer.

You can hit cancel...and the installer will continue on. Confusing, but you can get it running.

------

https://s3.amazonaws.com/gw2cdn/client/branches/Gw2-64.exe

Error ! Files mismatch

Local : 836632c263117250888d79c7a4e87179

Server : 0857f7fdba0a13452f70c13fff2ea271

 

Do you want to retry?

----------

 

I was running on the lowest settings and getting around 30 fps. The 64 bit version seems slightly worse to me. around 25 fps. I haven't done any hard tests or comparisons. It is likey that I am seeing no performance changes.

Réponses

Mardi 24 Novembre 2015 à 1:24
I think that's a bug in POL_SetupWindow_InstallMethod, in other contexts clicking on Cancel closes the wizard window (and terminates the script)
Mardi 24 Novembre 2015 à 1:33
By the way I couldn't reproduce the problem
Mardi 24 Novembre 2015 à 22:52
We might want to remove the MD5 checksum as Guild Wars might be updating their client on the server every once in a while.... Just make sure to use https:// .... I'll submit an update.
RobLoach Vendredi 20 Novembre 2015 à 0:41
RobLoach

Warning

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

Messages

Update to the latest version of Wine, with PulseAudio support.

Differences

@@ -34,7 +34,7 @@
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
 # Setting Wine Version
-WORKING_WINE_VERSION="1.7.35"
+WORKING_WINE_VERSION="1.7.55"
 
 # Setting prefix path
 POL_Wine_SelectPrefix "$PREFIX"

Nouveau code source

#!/bin/bash
# Date : (2012-05-17 21:00)
# Last revision : (2013-10-25 08:00)
# Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
# Distribution used to test : Linux Mint Debian Edition x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note ##
# Client may crash every few MB when downloading game, no crash when playing - see Bug #30511 - http://bugs.winehq.org/show_bug.cgi?id=30511
# Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
## End Note ##

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

TITLE="Guild Wars 2"
PREFIX="GuildWars2"
FILENAME="Gw2.exe"
EDITOR="ArenaNet"
GAME_URL="http://www.guildwars2.com"
AUTHOR="GNU_Raziel"
GAME_VMS="512"

# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1126

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting Wine Version
WORKING_WINE_VERSION="1.7.55"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Choose a 32-Bit or 64-Bit architecture
POL_SetupWindow_menu_list "$(eval_gettext 'Select architecture')" "$TITLE" "auto~x86~amd64" "~" "auto"
ARCHITECTURE="$APP_ANSWER"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "$ARCHITECTURE"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# (Added by Tinou) Seems to help with random crash issue
Set_OS "win7"

# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Fix for this game
POL_Wine_X11Drv "GrabFullscreen" "Y"

# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Donwloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
        if [ "$ARCHITECTURE" = "amd64" ]; then
                POL_Download "https://s3.amazonaws.com/gw2cdn/client/branches/Gw2-64.exe" "0857f7fdba0a13452f70c13fff2ea271"
                FILENAME="Gw2-64.exe"
        else
                POL_Download "https://cloudfront.guildwars2.com/client/Gw2.exe" "2c720359773a7e1ac23ef44b01b8b4e5"
        fi
elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cp "$SETUP_EXE" "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2/Gw2.exe"
else
        POL_Call POL_Wine_InstallCDROM "1" "w" "GW2Setup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$CDROM/Gw2Setup.exe"
        POL_Call POL_Wine_InstallCDROM "2" "w" "Gw2.js2"
        POL_Wine_WaitExit "$TITLE"
fi

# Making shortcut
POL_Shortcut "$FILENAME" "$TITLE" "$TITLE.png" "-dx9single -autologin" "Game;RolePlaying;"

# Begin installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
POL_Wine start /unix $FILENAME -repair -image

POL_SetupWindow_Close
exit 0

Réponses

taralx Jeudi 19 Novembre 2015 à 21:52
taralx Anonymous

Messages

Frame rate is slow on my machine, but usable. 64-bit works well, both on 1.7.55 and 1.7.35.

Réponses

Vendredi 20 Novembre 2015 à 0:42
What graphics card do you have?
RobLoach Jeudi 19 Novembre 2015 à 8:32
RobLoach

Warning

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

Messages

Add ability to choose 64-Bit architecture.

Differences

@@ -17,11 +17,12 @@
 
 TITLE="Guild Wars 2"
 PREFIX="GuildWars2"
+FILENAME="Gw2.exe"
 EDITOR="ArenaNet"
 GAME_URL="http://www.guildwars2.com"
 AUTHOR="GNU_Raziel"
 GAME_VMS="512"
-  
+
 # Starting the script
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
 POL_SetupWindow_Init
@@ -38,8 +39,12 @@
 # Setting prefix path
 POL_Wine_SelectPrefix "$PREFIX"
 
+# Choose a 32-Bit or 64-Bit architecture
+POL_SetupWindow_menu_list "$(eval_gettext 'Select architecture')" "$TITLE" "auto~x86~amd64" "~" "auto"
+ARCHITECTURE="$APP_ANSWER"
+
 # Downloading wine if necessary and creating prefix
-POL_System_SetArch "x86"
+POL_System_SetArch "$ARCHITECTURE"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
 # (Added by Tinou) Seems to help with random crash issue
@@ -62,8 +67,12 @@
 if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
         # Donwloading client
         cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
-        POL_Download "http://cloudfront.guildwars2.com/client/Gw2.exe" "2c720359773a7e1ac23ef44b01b8b4e5"
-
+        if [ "$ARCHITECTURE" = "amd64" ]; then
+                POL_Download "https://s3.amazonaws.com/gw2cdn/client/branches/Gw2-64.exe" "0857f7fdba0a13452f70c13fff2ea271"
+                FILENAME="Gw2-64.exe"
+        else
+                POL_Download "https://cloudfront.guildwars2.com/client/Gw2.exe" "2c720359773a7e1ac23ef44b01b8b4e5"
+        fi
 elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
         # Asking for client exe
         cd "$HOME"
@@ -79,11 +88,11 @@
 fi
 
 # Making shortcut
-POL_Shortcut "Gw2.exe" "$TITLE" "$TITLE.png" "-dx9single -autologin" "Game;RolePlaying;"
+POL_Shortcut "$FILENAME" "$TITLE" "$TITLE.png" "-dx9single -autologin" "Game;RolePlaying;"
 
 # Begin installation
 cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
-POL_Wine start /unix Gw2.exe -repair -image
-  
+POL_Wine start /unix $FILENAME -repair -image
+
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2012-05-17 21:00)
# Last revision : (2013-10-25 08:00)
# Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
# Distribution used to test : Linux Mint Debian Edition x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note ##
# Client may crash every few MB when downloading game, no crash when playing - see Bug #30511 - http://bugs.winehq.org/show_bug.cgi?id=30511
# Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
## End Note ##

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

TITLE="Guild Wars 2"
PREFIX="GuildWars2"
FILENAME="Gw2.exe"
EDITOR="ArenaNet"
GAME_URL="http://www.guildwars2.com"
AUTHOR="GNU_Raziel"
GAME_VMS="512"

# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1126

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting Wine Version
WORKING_WINE_VERSION="1.7.35"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Choose a 32-Bit or 64-Bit architecture
POL_SetupWindow_menu_list "$(eval_gettext 'Select architecture')" "$TITLE" "auto~x86~amd64" "~" "auto"
ARCHITECTURE="$APP_ANSWER"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "$ARCHITECTURE"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# (Added by Tinou) Seems to help with random crash issue
Set_OS "win7"

# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Fix for this game
POL_Wine_X11Drv "GrabFullscreen" "Y"

# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Donwloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
        if [ "$ARCHITECTURE" = "amd64" ]; then
                POL_Download "https://s3.amazonaws.com/gw2cdn/client/branches/Gw2-64.exe" "0857f7fdba0a13452f70c13fff2ea271"
                FILENAME="Gw2-64.exe"
        else
                POL_Download "https://cloudfront.guildwars2.com/client/Gw2.exe" "2c720359773a7e1ac23ef44b01b8b4e5"
        fi
elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cp "$SETUP_EXE" "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2/Gw2.exe"
else
        POL_Call POL_Wine_InstallCDROM "1" "w" "GW2Setup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$CDROM/Gw2Setup.exe"
        POL_Call POL_Wine_InstallCDROM "2" "w" "Gw2.js2"
        POL_Wine_WaitExit "$TITLE"
fi

# Making shortcut
POL_Shortcut "$FILENAME" "$TITLE" "$TITLE.png" "-dx9single -autologin" "Game;RolePlaying;"

# Begin installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
POL_Wine start /unix $FILENAME -repair -image

POL_SetupWindow_Close
exit 0

Réponses

Vendredi 20 Novembre 2015 à 0:01
Looks good, I just added localization support to the "Select architecture" text
Vendredi 20 Novembre 2015 à 0:42
Thanks!

Edité par petch

RobLoach Mardi 17 Novembre 2015 à 3:15
RobLoach

Warning

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

Messages

This makes the initial install run do two things:

  1. Repair the client if it is old and needs updating (-repair)
  2. Begin downloading the image -image without actually playing it (-image)

These are the updated commands from https://wiki.guildwars2.com/wiki/Command_line_arguments .

Differences

@@ -83,8 +83,7 @@
 
 # Begin installation
 cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
- 
-POL_Wine start /unix Gw2.exe -dx9single
+POL_Wine start /unix Gw2.exe -repair -image
   
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2012-05-17 21:00)
# Last revision : (2013-10-25 08:00)
# Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
# Distribution used to test : Linux Mint Debian Edition x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note ##
# Client may crash every few MB when downloading game, no crash when playing - see Bug #30511 - http://bugs.winehq.org/show_bug.cgi?id=30511
# Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
## End Note ##

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

TITLE="Guild Wars 2"
PREFIX="GuildWars2"
EDITOR="ArenaNet"
GAME_URL="http://www.guildwars2.com"
AUTHOR="GNU_Raziel"
GAME_VMS="512"
  
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1126

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting Wine Version
WORKING_WINE_VERSION="1.7.35"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# (Added by Tinou) Seems to help with random crash issue
Set_OS "win7"

# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Fix for this game
POL_Wine_X11Drv "GrabFullscreen" "Y"

# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Donwloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
        POL_Download "http://cloudfront.guildwars2.com/client/Gw2.exe" "2c720359773a7e1ac23ef44b01b8b4e5"

elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cp "$SETUP_EXE" "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2/Gw2.exe"
else
        POL_Call POL_Wine_InstallCDROM "1" "w" "GW2Setup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$CDROM/Gw2Setup.exe"
        POL_Call POL_Wine_InstallCDROM "2" "w" "Gw2.js2"
        POL_Wine_WaitExit "$TITLE"
fi

# Making shortcut
POL_Shortcut "Gw2.exe" "$TITLE" "$TITLE.png" "-dx9single -autologin" "Game;RolePlaying;"

# Begin installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
POL_Wine start /unix Gw2.exe -repair -image
  
POL_SetupWindow_Close
exit 0

Réponses

Tristyn159 Lundi 9 Novembre 2015 à 22:23
Tristyn159 Anonymous

Messages

When I try to login to the launcher, i get an error: client is unable to connect to the login server

Réponses

Mardi 17 Novembre 2015 à 1:56
It is possible to pass "clientport" in the command line arguments to change which port it uses. I suggest trying something other than the default 80. https://wiki.guildwars2.com/wiki/Command_line_arguments
Squ Vendredi 2 Octobre 2015 à 14:39
Squ Anonymous

Messages

I have graphic and sound problems. The first i noticed (cuz i didnt went anywhere, couldnt create char) while creating character. So i don't know how to describe it. When im chosing class its ok but when im creating i have something wrong with char skin textures and armor textures. I tried to debug and i have this:

p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directoryp11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directoryp11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directoryp11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directoryp11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directoryp11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
ixme:winsock:WSALookupServiceBeginW (0x33dba0 0x00000ff0 0x33dbe8) Stub!
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directoryerr:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:process:SetProcessDEPPolicy (3): stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:advapi:RegisterTraceGuidsW (0x495320, 0x24ef248, {3dada31d-19ef-4dc1-b345-037927193422}, 1, 0x24a4f04, (null), (null), 0x24ef260): stub
fixme:advapi:RegisterTraceGuidsW   register trace class {00000000-0000-0000-0000-000000000000}

and this

err:d3d:context_create Failed to set pixel format 21 on device context 0x60036.
err:d3d:context_choose_pixel_format Can't find a suitable iPixelFormat
err:d3d:context_create Failed to set pixel format 13 on device context 0x5003b.
fixme:d3d:wined3d_get_format Can't find format WINED3DFMT_R24_UNORM_X8_TYPELESS (0x49) in the format lookup table
fixme:d3d:getDepthStencilBits Unsupported depth/stencil format WINED3DFMT_UNKNOWN.
err:d3d:context_create Failed to set pixel format 5 on device context 0x1003d.
err:d3d:context_create Failed to set pixel format 13 on device context 0x1003f.
err:d3d:context_choose_pixel_format Can't find a suitable iPixelFormat
err:d3d:context_create Failed to set pixel format 21 on device context 0x10041.
fixme:win:EnumDisplayDevicesW ((null),0,0x33e778,0x00000000), stub!
err:d3d:context_create Failed to set pixel format 21 on device context 0x10043.
err:d3d:context_choose_pixel_format Can't find a suitable iPixelFormat
err:d3d:context_create Failed to set pixel format 13 on device context 0x50044.
fixme:d3d:wined3d_get_format Can't find format WINED3DFMT_R24_UNORM_X8_TYPELESS (0x49) in the format lookup table
fixme:d3d:getDepthStencilBits Unsupported depth/stencil format WINED3DFMT_UNKNOWN.
err:d3d:context_create Failed to set pixel format 5 on device context 0x10047.
err:d3d:context_create Failed to set pixel format 13 on device context 0x10049.
err:d3d:context_choose_pixel_format Can't find a suitable iPixelFormat
err:d3d:context_create Failed to set pixel format 21 on device context 0x1004b.
fixme:d3d:wined3d_swapchain_set_gamma_ramp Ignoring flags 0x1.
fixme:d3d:wined3d_swapchain_set_gamma_ramp Ignoring flags 0x1.
fixme:winsock:WSALookupServiceBeginW (0x3cde090 0x00000ff0 0x3cde0d8) Stub!
fixme:d3d_texture:texture2d_prepare_texture No GL internal format for format WINED3DFMT_NULL.
err:d3d:wined3d_debug_callback 0x6e5ed30: "GL_INVALID_VALUE in glTexImage2D(internalFormat=GL_FALSE)".
err:d3d_texture:texture2d_prepare_texture >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glTexImage2D @ texture.c / 907
err:d3d:wined3d_debug_callback 0x6e5ed30: "GL_INVALID_OPERATION in glTexSubImage2D(invalid texture image)".
err:d3d_surface:wined3d_surface_upload_data >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glTexSubImage2D @ surface.c / 1505
fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0000: stub!
fixme:keyboard:X11DRV_MapVirtualKeyEx keyboard layout (nil) is not supported
fixme:system:SystemParametersInfoW Unknown action: 116
fixme:d3d:wined3d_swapchain_set_gamma_ramp Ignoring flags 0x1.
fixme:d3d:wined3d_swapchain_set_gamma_ramp Ignoring flags 0x1.
fixme:d3d_texture:texture2d_prepare_texture No GL internal format for format WINED3DFMT_NULL.
err:d3d:wined3d_debug_callback 0x6e8ed50: "GL_INVALID_VALUE in glTexImage2D(internalFormat=GL_FALSE)".
err:d3d_texture:texture2d_prepare_texture >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glTexImage2D @ texture.c / 907
err:d3d:wined3d_debug_callback 0x6e8ed50: "GL_INVALID_OPERATION in glTexSubImage2D(invalid texture image)".
err:d3d_surface:wined3d_surface_upload_data >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glTexSubImage2D @ surface.c / 1505
fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0000: stub!
fixme:keyboard:X11DRV_MapVirtualKeyEx keyboard layout (nil) is not supported
fixme:d3d:wined3d_swapchain_set_gamma_ramp Ignoring flags 0x1.
fixme:d3d:wined3d_swapchain_set_gamma_ramp Ignoring flags 0x1.
fixme:d3d_texture:texture2d_prepare_texture No GL internal format for format WINED3DFMT_NULL.
err:d3d:wined3d_debug_callback 0x6e8ed50: "GL_INVALID_VALUE in glTexImage2D(internalFormat=GL_FALSE)".
err:d3d_texture:texture2d_prepare_texture >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glTexImage2D @ texture.c / 907
err:d3d:wined3d_debug_callback 0x6e8ed50: "GL_INVALID_OPERATION in glTexSubImage2D(invalid texture image)".
err:d3d_surface:wined3d_surface_upload_data >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glTexSubImage2D @ surface.c / 1505

And i have sound problems and it spams

ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred

In debug console. Dunno how to describe this sound also, my english sucks :P

 

Installed Adobe AIR, dx9 and changed to newest wine, nothing.

 

Réponses

RobLoach Jeudi 17 September 2015 à 11:01
RobLoach

Warning

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

Messages

This allows the Remeber Account/Password to automatically log in on the launcher.

Differences

@@ -79,7 +79,7 @@
 fi
 
 # Making shortcut
-POL_Shortcut "Gw2.exe" "$TITLE" "$TITLE.png" "-dx9single" "Game;RolePlaying;"
+POL_Shortcut "Gw2.exe" "$TITLE" "$TITLE.png" "-dx9single -autologin" "Game;RolePlaying;"
 
 # Begin installation
 cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"

Nouveau code source

#!/bin/bash
# Date : (2012-05-17 21:00)
# Last revision : (2013-10-25 08:00)
# Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
# Distribution used to test : Linux Mint Debian Edition x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note ##
# Client may crash every few MB when downloading game, no crash when playing - see Bug #30511 - http://bugs.winehq.org/show_bug.cgi?id=30511
# Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
## End Note ##

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

TITLE="Guild Wars 2"
PREFIX="GuildWars2"
EDITOR="ArenaNet"
GAME_URL="http://www.guildwars2.com"
AUTHOR="GNU_Raziel"
GAME_VMS="512"
  
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1126

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting Wine Version
WORKING_WINE_VERSION="1.7.35"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# (Added by Tinou) Seems to help with random crash issue
Set_OS "win7"

# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Fix for this game
POL_Wine_X11Drv "GrabFullscreen" "Y"

# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Donwloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
        POL_Download "http://cloudfront.guildwars2.com/client/Gw2.exe" "2c720359773a7e1ac23ef44b01b8b4e5"

elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cp "$SETUP_EXE" "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2/Gw2.exe"
else
        POL_Call POL_Wine_InstallCDROM "1" "w" "GW2Setup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$CDROM/Gw2Setup.exe"
        POL_Call POL_Wine_InstallCDROM "2" "w" "Gw2.js2"
        POL_Wine_WaitExit "$TITLE"
fi

# Making shortcut
POL_Shortcut "Gw2.exe" "$TITLE" "$TITLE.png" "-dx9single -autologin" "Game;RolePlaying;"

# Begin installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
 
POL_Wine start /unix Gw2.exe -dx9single
  
POL_SetupWindow_Close
exit 0

Réponses

F1reStorM Jeudi 10 September 2015 à 21:51
F1reStorM Anonymous

Messages

I have ubuntu 14.04 LTS 64 bit, the newest version of POL and I installed Guild Wars 2 from POL but when i start the game my pc frezes (not even ALT+F4 the only thing that "works" is the restart button). I've tried setting both of my video car as primary during the install but the same result. 

Réponses

Anonymous
Vendredi 18 September 2015 à 23:07
I had the same problem while using the latest version of the script (17. sep).
Anonymous
Vendredi 18 September 2015 à 23:09
I removed --autologin from the arguments and enabled a virtual desktop under the wine setttings. Now I can see the launcher. (sry fro double post)
Tramvai Samedi 18 Avril 2015 à 12:24
Tramvai Anonymous

Warning

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

Messages

Guild Wars 2 runs without any errors or graphical glitches for me.

There are just two noticeable issues that I have encountered:

  • The launcher takes around 90-110% of the CPU (even when it isn't doing anything).
  • The game performance is highly dependant on your CPU single-core performance.
    • The FPS ranges from 3 to 50 for me, depending on the area I'm in (lots of players and big cities slow the game down).

If you have a great CPU (4.0GHz+ on a single core), you'd find the game to be in a playable state.

Differences

@@ -33,7 +33,7 @@
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
 # Setting Wine Version
-WORKING_WINE_VERSION="1.7.35"
+WORKING_WINE_VERSION="1.7.4-CSMT"
 
 # Setting prefix path
 POL_Wine_SelectPrefix "$PREFIX"

Nouveau code source

#!/bin/bash
# Date : (2012-05-17 21:00)
# Last revision : (2013-10-25 08:00)
# Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
# Distribution used to test : Linux Mint Debian Edition x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note ##
# Client may crash every few MB when downloading game, no crash when playing - see Bug #30511 - http://bugs.winehq.org/show_bug.cgi?id=30511
# Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
## End Note ##

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

TITLE="Guild Wars 2"
PREFIX="GuildWars2"
EDITOR="ArenaNet"
GAME_URL="http://www.guildwars2.com"
AUTHOR="GNU_Raziel"
GAME_VMS="512"
  
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1126

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting Wine Version
WORKING_WINE_VERSION="1.7.4-CSMT"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# (Added by Tinou) Seems to help with random crash issue
Set_OS "win7"

# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Fix for this game
POL_Wine_X11Drv "GrabFullscreen" "Y"

# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Donwloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
        POL_Download "http://cloudfront.guildwars2.com/client/Gw2.exe" "2c720359773a7e1ac23ef44b01b8b4e5"

elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cp "$SETUP_EXE" "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2/Gw2.exe"
else
        POL_Call POL_Wine_InstallCDROM "1" "w" "GW2Setup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$CDROM/Gw2Setup.exe"
        POL_Call POL_Wine_InstallCDROM "2" "w" "Gw2.js2"
        POL_Wine_WaitExit "$TITLE"
fi

# Making shortcut
POL_Shortcut "Gw2.exe" "$TITLE" "$TITLE.png" "-dx9single" "Game;RolePlaying;"

# Begin installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
 
POL_Wine start /unix Gw2.exe -dx9single
  
POL_SetupWindow_Close
exit 0

Réponses

Jeudi 17 September 2015 à 9:25
CSMT? What's that?
Anonymous
Jeudi 5 Novembre 2015 à 3:55
https://github.com/wine-compholio/wine-staging/wiki/CSMT
it is actually available in wine-staging. Far better performance for GW2.
online0227 Mercredi 4 Février 2015 à 14:28
online0227 Anonymous

Messages

can run without any error. but seems Simultaneous multiple input from mouse and keynard doesnt work. (single press on keyboard or mouse works well

Réponses

RobLoach Mardi 3 Février 2015 à 22:10
RobLoach

Warning

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

Messages

Updates to the latest Wine. Bug https://bugs.winehq.org/show_bug.cgi?id=30512 is fixed.

Differences

@@ -33,7 +33,7 @@
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
 # Setting Wine Version
-WORKING_WINE_VERSION="1.5.28-GuildWars2"
+WORKING_WINE_VERSION="1.7.35"
 
 # Setting prefix path
 POL_Wine_SelectPrefix "$PREFIX"
@@ -82,8 +82,6 @@
 POL_Shortcut "Gw2.exe" "$TITLE" "$TITLE.png" "-dx9single" "Game;RolePlaying;"
 
 # Begin installation
-# Warning message about bug #30511
-POL_SetupWindow_message "$(eval_gettext 'Because of wine bug #30512, dowloading will often crash, just relaunch the client and download will resume from where it stopped. Download percentage reset but do not worry, it do not restart from the beginning.')" "$TITLE"
 cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
  
 POL_Wine start /unix Gw2.exe -dx9single

Nouveau code source

#!/bin/bash
# Date : (2012-05-17 21:00)
# Last revision : (2013-10-25 08:00)
# Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
# Distribution used to test : Linux Mint Debian Edition x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note ##
# Client may crash every few MB when downloading game, no crash when playing - see Bug #30511 - http://bugs.winehq.org/show_bug.cgi?id=30511
# Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
## End Note ##

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

TITLE="Guild Wars 2"
PREFIX="GuildWars2"
EDITOR="ArenaNet"
GAME_URL="http://www.guildwars2.com"
AUTHOR="GNU_Raziel"
GAME_VMS="512"
  
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1126

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting Wine Version
WORKING_WINE_VERSION="1.7.35"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# (Added by Tinou) Seems to help with random crash issue
Set_OS "win7"

# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Fix for this game
POL_Wine_X11Drv "GrabFullscreen" "Y"

# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Donwloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
        POL_Download "http://cloudfront.guildwars2.com/client/Gw2.exe" "2c720359773a7e1ac23ef44b01b8b4e5"

elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cp "$SETUP_EXE" "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2/Gw2.exe"
else
        POL_Call POL_Wine_InstallCDROM "1" "w" "GW2Setup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$CDROM/Gw2Setup.exe"
        POL_Call POL_Wine_InstallCDROM "2" "w" "Gw2.js2"
        POL_Wine_WaitExit "$TITLE"
fi

# Making shortcut
POL_Shortcut "Gw2.exe" "$TITLE" "$TITLE.png" "-dx9single" "Game;RolePlaying;"

# Begin installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
 
POL_Wine start /unix Gw2.exe -dx9single
  
POL_SetupWindow_Close
exit 0

Réponses

wisemonkey Jeudi 9 Octobre 2014 à 7:24
wisemonkey Anonymous

Messages

OS: Kubuntu 14.04

POL ver: 4.2.2

Wine Ver: 1.5.28GuildWars2

Installed GW2 with POL game worked good, I had to reduce video settings to performance to get better FPS.

However problem is I can't login, launcher/login screen doesn't have blinking cursor in email ID and password fields, thus I can't input any information in those fields. I can't do anything with launcher but to close it. Once in a while (maybe 1 time in 50) I can login and play. Whats the issue?

Réponses

Vendredi 6 Février 2015 à 17:00
It seems to be working here. Mind testing again?
luyz25 Mercredi 24 September 2014 à 1:50
luyz25

Messages

The wine 1.7.19 with the same patches, work's better... Look here:

 

https://appdb.winehq.org/objectManager.php?sClass=version&iId=26558

Réponses

Vendredi 6 Février 2015 à 17:00
It's on 1.7.35 now.
shnoobins Mardi 23 September 2014 à 16:17
shnoobins Anonymous

Messages

Seemed to work moderately well, only had one crash while trying to install, and had an issue were the game didn't show up but it changed my curse. I press Alt+F2 about ready to xkill it, then it showed up. Only major issue I had was the slow FPS. About 7-10 FPS even on the lowest settings. Running x2 AMD Radeon 6870's.

Réponses

KozRoss Mercredi 3 September 2014 à 7:59
KozRoss Anonymous

Messages

GW2 seems to install OK, but when I try to run it, it sits for ages doing nothing, then the following warning comes up in the GW2 UI:

Already Running

Guild Wars 2 is unable to start because another copy is already running on this computer, or because the application has insufficient rights to successfully detect whether another copy is already running on this computer.

Réponses

reivax Jeudi 7 Aoüt 2014 à 4:34
reivax Anonymous

Warning

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

Messages

Ok so this would make the trick. Thank you Quentin PÂRIS.

Differences

@@ -45,6 +45,10 @@
 # (Added by Tinou) Seems to help with random crash issue
 Set_OS "win7"
 
+# (Added by reivax) Emulate virtual desktop so GW2 launcher doesn't freeze
+POL_LoadVar_ScreenResolution
+Set_Desktop "On" "$ScreenWidth" "$ScreenHeight"
+
 # Choose between Downloading client or using local one
 POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"
 

Nouveau code source

#!/bin/bash
# Date : (2012-05-17 21:00)
# Last revision : (2013-10-25 08:00)
# Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
# Distribution used to test : Linux Mint Debian Edition x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note ##
# Client may crash every few MB when downloading game, no crash when playing - see Bug #30511 - http://bugs.winehq.org/show_bug.cgi?id=30511
# Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
## End Note ##

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

TITLE="Guild Wars 2"
PREFIX="GuildWars2"
EDITOR="ArenaNet"
GAME_URL="http://www.guildwars2.com"
AUTHOR="GNU_Raziel"
GAME_VMS="512"
  
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1126

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting Wine Version
WORKING_WINE_VERSION="1.5.28-GuildWars2"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# (Added by Tinou) Seems to help with random crash issue
Set_OS "win7"

# (Added by reivax) Emulate virtual desktop so GW2 launcher doesn't freeze
POL_LoadVar_ScreenResolution
Set_Desktop "On" "$ScreenWidth" "$ScreenHeight"

# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Fix for this game
POL_Wine_X11Drv "GrabFullscreen" "Y"

# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Donwloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
        POL_Download "http://cloudfront.guildwars2.com/client/Gw2.exe" "2c720359773a7e1ac23ef44b01b8b4e5"

elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cp "$SETUP_EXE" "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2/Gw2.exe"
else
        POL_Call POL_Wine_InstallCDROM "1" "w" "GW2Setup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$CDROM/Gw2Setup.exe"
        POL_Call POL_Wine_InstallCDROM "2" "w" "Gw2.js2"
        POL_Wine_WaitExit "$TITLE"
fi

# Making shortcut
POL_Shortcut "Gw2.exe" "$TITLE" "$TITLE.png" "-dx9single" "Game;RolePlaying;"

# Begin installation
# Warning message about bug #30511
POL_SetupWindow_message "$(eval_gettext 'Because of wine bug #30512, dowloading will often crash, just relaunch the client and download will resume from where it stopped. Download percentage reset but do not worry, it do not restart from the beginning.')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
 
POL_Wine start /unix Gw2.exe -dx9single
  
POL_SetupWindow_Close
exit 0

Réponses

Vendredi 6 Février 2015 à 18:22
Not sure about setting it to the full screen resolution. When downloading, it blocks your ability to do anything else on your desktop. My recommendation would be to set it to 1280x720.
reivax Mercredi 6 Aoüt 2014 à 16:10
reivax Anonymous

Warning

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

Messages

Works fine although I had to manually set wine config to emulate a virtual desktop in order to prevent gw2 launcher to freeze.

I updated installation script to set it automatically.
 

Differences

@@ -45,6 +45,14 @@
 # (Added by Tinou) Seems to help with random crash issue
 Set_OS "win7"
 
+# (Added by Reivax) Try to detect current screen resolution & emulate virtual desktop
+# GW2 launcher freezes if there's no virtual desktop emulated
+X_RES=$(xrandr --current | grep '*' | uniq | awk '{print $1}' |  cut -d 'x' -f1)
+Y_RES=$(xrandr --current | grep '*' | uniq | awk '{print $1}' |  cut -d 'x' -f2)
+if [ "$X_RES" ] && [ "$Y_RES" ]; then
+	Set_Desktop "On" "$X_RES" "$Y_RES"
+fi
+
 # Choose between Downloading client or using local one
 POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"
 

Nouveau code source

#!/bin/bash
# Date : (2012-05-17 21:00)
# Last revision : (2013-10-25 08:00)
# Wine version used : 1.5.4, 1.5.9-raw3, 1.5.28-GuildWars2
# Distribution used to test : Linux Mint Debian Edition x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note ##
# Client may crash every few MB when downloading game, no crash when playing - see Bug #30511 - http://bugs.winehq.org/show_bug.cgi?id=30511
# Used Awesomium patch to fix Bug #27168 - http://bugs.winehq.org/show_bug.cgi?id=27168
## End Note ##

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

TITLE="Guild Wars 2"
PREFIX="GuildWars2"
EDITOR="ArenaNet"
GAME_URL="http://www.guildwars2.com"
AUTHOR="GNU_Raziel"
GAME_VMS="512"
  
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/gw2/top.jpg" "http://files.playonlinux.com/resources/setups/gw2/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1126

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting Wine Version
WORKING_WINE_VERSION="1.5.28-GuildWars2"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# (Added by Tinou) Seems to help with random crash issue
Set_OS "win7"

# (Added by Reivax) Try to detect current screen resolution & emulate virtual desktop
# GW2 launcher freezes if there's no virtual desktop emulated
X_RES=$(xrandr --current | grep '*' | uniq | awk '{print $1}' |  cut -d 'x' -f1)
Y_RES=$(xrandr --current | grep '*' | uniq | awk '{print $1}' |  cut -d 'x' -f2)
if [ "$X_RES" ] && [ "$Y_RES" ]; then
        Set_Desktop "On" "$X_RES" "$Y_RES"
fi

# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL,CD"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Fix for this game
POL_Wine_X11Drv "GrabFullscreen" "Y"

# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Donwloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
        POL_Download "http://cloudfront.guildwars2.com/client/Gw2.exe" "2c720359773a7e1ac23ef44b01b8b4e5"

elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        cp "$SETUP_EXE" "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2/Gw2.exe"
else
        POL_Call POL_Wine_InstallCDROM "1" "w" "GW2Setup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$CDROM/Gw2Setup.exe"
        POL_Call POL_Wine_InstallCDROM "2" "w" "Gw2.js2"
        POL_Wine_WaitExit "$TITLE"
fi

# Making shortcut
POL_Shortcut "Gw2.exe" "$TITLE" "$TITLE.png" "-dx9single" "Game;RolePlaying;"

# Begin installation
# Warning message about bug #30511
POL_SetupWindow_message "$(eval_gettext 'Because of wine bug #30512, dowloading will often crash, just relaunch the client and download will resume from where it stopped. Download percentage reset but do not worry, it do not restart from the beginning.')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/ArenaNet/Guild Wars 2"
 
POL_Wine start /unix Gw2.exe -dx9single
  
POL_SetupWindow_Close
exit 0

Réponses

Mercredi 6 Aoüt 2014 à 16:48
Well, you have available libraries in POL to get X_RES and Y_RES which will also work on Mac OS X (See POL_LoadVar_*)
Have you tried with a more recent version of wine by the way?
Anonymous
Jeudi 7 Aoüt 2014 à 1:26
I looked for POL_LoadVar_* command but it seems to not be documented (at least I didn't found it). So I don't know how I can use it to get screen resolution.
Anonymous
Jeudi 7 Aoüt 2014 à 1:31
I did tried 1.7.1-GuildWars2 prefix & it works as good as 1.5.28-GuildWars2. I tried also 1.7.4-CSTM & 1.7.23 but I have the mouse stuck problem when I try to look behind me IG.
Jeudi 7 Aoüt 2014 à 1:59
POL_LoadVar_ScreenResolution
1zz Samedi 26 Juillet 2014 à 18:56
1zz Anonymous

Messages

Went very smooth. Not had a good play of the game but it worked fine from what I did see. Crashed after the game installed so I ran the .exe again and it downloaded some more files then worked. Nice job guysyes

Réponses

Anonymous
Mercredi 12 Décembre 2018 à 12:26
Nice Post! I also read your blog and Microsoft Microsoft Certified Professional Exam Braindumps I very impress and I'll go to bookmark your website.
Geff09 Dimanche 20 Juillet 2014 à 16:31
Geff09 Anonymous

Messages

After the installation with playonlinux, when it launch the file to download the game, it crash imediatly at 0% of the guild wars2 launcher update. I had to reset the computer twice.

Réponses

Anonymous
Samedi 30 Avril 2016 à 17:16
the crash stalls somehow the xserver
Anonymous
Samedi 30 Avril 2016 à 17:18
same here , the crash stalls somehow the xserver , if you log on a console you can see the process and the download is running.