Guild Wars 2

Informations

Creator Message
GNU_Raziel

Warning

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

Informations

Platforms:
Downloads: 119024
Wine: 1.7.35

Feedbacks

Description

French :
Plus de 250 ans se sont écoulés depuis1 la victoire des héros sur les Destructeurs dans Guild Wars: Eye of the North, le monde a bien changé et, en Tyrie, l'espèce humaine n'est plus la race prédominante. Outre l'émergence des nouvelles races, plusieurs grands cataclysmes se sont abattus sur le continent. Ces catastrophes ont, pour la plupart d'entre elles, été causées par le réveil des dragons anciens, des créatures qui peuvent rivaliser avec les Dieux, dont le premier a été Primordus qui était derrière l’apparition des Destructeurs.

English :
Guild Wars 2 takes place in the high fantasy world of Tyria, 250 years after the players' defeat of the Great Destroyer in the Eye of the North expansion. Five so-called Elder Dragons sleeping beneath the continent have awoken in the time since Guild Wars, causing widespread destruction to Tyria and corrupting its inhabitants. The once dominant humans of Tyria are in decline, supplanted from most of their land by natural disasters and war with the charr, who have finally reclaimed the last vestiges of their ancestral homeland of Ascalon from the humans. To the north, the norn, a proud race of Nordic hunters, have been forced south by the rise of Jormag, the elder dragon of ice. In the west, the technologically advanced asura have been forced to establish permanent homes above-ground after the minions of the first dragon to awaken, Primordus, took control of the Depths of Tyria. Near the forests where the asura make their home are the sylvari, a new race who have appeared in Tyria in the last 25 years, unaffected by the difficulties that plague the other races but with some as yet unexplained connection to the Elder Dragons.

Screenshots

MiniatureMiniatureMiniatureMiniatureMiniature

Source code

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

Contributions

Filters:

Contribute
Member Message
tonac Friday 7 December 2018 at 14:05
tonac Anonymous

Message

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 :)

Replies

emeri1md Friday 13 October 2017 at 15:56
emeri1md Anonymous

Message

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.

Replies

Anonymous
Sunday 28 January 2018 at 15:55
sudo apt-get install winbind
Anonymous
Sunday 28 January 2018 at 15:56
worked for me. Linux mint 17.3 Rosa
Dallas Wednesday 24 May 2017 at 17:29
Dallas Anonymous

Message

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. 

Replies

Anonymous
Wednesday 24 May 2017 at 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
Wednesday 24 May 2017 at 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 Saturday 18 February 2017 at 15:53
mice Anonymous

Message

I tryed Guildwars2 with Wine 2.1 it works great!

Replies

lucasfs7 Thursday 2 February 2017 at 17:18
lucasfs7 Anonymous

Message

consegui rodar com sucesso no Elementary OS Loki

Replies

Anonymous
Thursday 2 February 2017 at 17:19
running perfectly on Elementary OS Loki
Horigo Monday 26 September 2016 at 14:37
Horigo Anonymous

Message

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

Replies

AlexS420 Friday 16 September 2016 at 21:24
AlexS420 Anonymous

Message

?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.

Replies

huw Saturday 27 August 2016 at 9:50
huw Anonymous

Message

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!

Replies

icenounet Wednesday 3 August 2016 at 22:52
icenounet Anonymous

Message

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

Replies

logan2605 Wednesday 18 May 2016 at 0:39
logan2605 Anonymous

Message

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

 

Replies

RobLoach Friday 8 April 2016 at 11:48
RobLoach

Warning

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

Message

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;"
 

New source code

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

Replies

Anonymous
Saturday 30 April 2016 at 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
Sunday 1 May 2016 at 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.
Wednesday 25 May 2016 at 5:49
@hal0815 Try loading up the URL in your browser?
RobLoach Thursday 7 April 2016 at 17:59
RobLoach

Warning

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

Message

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"

New source code

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

Replies

Wednesday 20 April 2016 at 20:14
@t-ask reports that 1.9.8-staging is good. We should roll with that.
petch Monday 11 January 2016 at 20:50
petch
Developer

Information

This update has been approved by the team.

Message

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

New source code

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

Replies

Wednesday 13 January 2016 at 17:43
Thanks!
matlink Sunday 10 January 2016 at 13:47
matlink Anonymous

Warning

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

Message

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"

New source code

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

Replies

Wednesday 13 January 2016 at 17:44
What does "1.9.0-staging" provide that doesn't exist in "1.9.1"?
Anonymous
Monday 29 February 2016 at 20:49
CSMT I think, as it it a staging feature
RobLoach Tuesday 24 November 2015 at 22:53
RobLoach

Warning

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

Message

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

New source code

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

Replies

Wednesday 25 November 2015 at 13:33
Will no longer catch download failures though
taibhse Tuesday 24 November 2015 at 0:56
taibhse Anonymous

Message

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.

Replies

Tuesday 24 November 2015 at 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)
Tuesday 24 November 2015 at 1:33
By the way I couldn't reproduce the problem
Tuesday 24 November 2015 at 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 Friday 20 November 2015 at 0:41
RobLoach

Warning

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

Message

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"

New source code

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

Replies

taralx Thursday 19 November 2015 at 21:52
taralx Anonymous

Message

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

Replies

Friday 20 November 2015 at 0:42
What graphics card do you have?
RobLoach Thursday 19 November 2015 at 8:32
RobLoach

Warning

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

Message

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

New source code

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

Replies

Friday 20 November 2015 at 0:01
Looks good, I just added localization support to the "Select architecture" text
Friday 20 November 2015 at 0:42
Thanks!

Edited by petch

RobLoach Tuesday 17 November 2015 at 3:15
RobLoach

Warning

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

Message

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

New source code

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

Replies

Tristyn159 Monday 9 November 2015 at 22:23
Tristyn159 Anonymous

Message

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

Replies

Tuesday 17 November 2015 at 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 Friday 2 October 2015 at 14:39
Squ Anonymous

Message

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.

 

Replies

RobLoach Thursday 17 September 2015 at 11:01
RobLoach

Warning

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

Message

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"

New source code

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

Replies

F1reStorM Thursday 10 September 2015 at 21:51
F1reStorM Anonymous

Message

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. 

Replies

Anonymous
Friday 18 September 2015 at 23:07
I had the same problem while using the latest version of the script (17. sep).
Anonymous
Friday 18 September 2015 at 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 Saturday 18 April 2015 at 12:24
Tramvai Anonymous

Warning

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

Message

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"

New source code

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

Replies

Thursday 17 September 2015 at 9:25
CSMT? What's that?
Anonymous
Thursday 5 November 2015 at 3:55
https://github.com/wine-compholio/wine-staging/wiki/CSMT
it is actually available in wine-staging. Far better performance for GW2.
online0227 Wednesday 4 February 2015 at 14:28
online0227 Anonymous

Message

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

Replies

RobLoach Tuesday 3 February 2015 at 22:10
RobLoach

Warning

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

Message

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

New source code

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

Replies

wisemonkey Thursday 9 October 2014 at 7:24
wisemonkey Anonymous

Message

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?

Replies

Friday 6 February 2015 at 17:00
It seems to be working here. Mind testing again?
luyz25 Wednesday 24 September 2014 at 1:50
luyz25

Message

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

 

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

Replies

Friday 6 February 2015 at 17:00
It's on 1.7.35 now.
shnoobins Tuesday 23 September 2014 at 16:17
shnoobins Anonymous

Message

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.

Replies

KozRoss Wednesday 3 September 2014 at 7:59
KozRoss Anonymous

Message

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.

Replies

reivax Thursday 7 August 2014 at 4:34
reivax Anonymous

Warning

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

Message

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"
 

New source code

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

Replies

Friday 6 February 2015 at 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 Wednesday 6 August 2014 at 16:10
reivax Anonymous

Warning

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

Message

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"
 

New source code

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

Replies

Wednesday 6 August 2014 at 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
Thursday 7 August 2014 at 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
Thursday 7 August 2014 at 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.
Thursday 7 August 2014 at 1:59
POL_LoadVar_ScreenResolution
1zz Saturday 26 July 2014 at 18:56
1zz Anonymous

Message

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

Replies

Anonymous
Wednesday 12 December 2018 at 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 Sunday 20 July 2014 at 16:31
Geff09 Anonymous

Message

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.

Replies

Anonymous
Saturday 30 April 2016 at 17:16
the crash stalls somehow the xserver
Anonymous
Saturday 30 April 2016 at 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.