Guild Wars 2

Informations

Créateur Messages
GNU_Raziel

Information

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

Informations

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

Retours d'expérience

Description

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

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

PCGamingWiki, Appdb.winehq.org

Captures d'écran

MiniatureMiniatureMiniatureMiniature

Code source

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

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

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

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

Contributions

Filters:

Contribuer
Membre Messages
ultraxime Dimanche 22 Mai 2022 à 14:41
ultraxime Anonymous

Messages

Hello,

I used to play this game on manjaro using playonlinux, but after recently reinstalling it, I can use the launcher, but when I start the game (with the play button) the game crashes with the message given after. Moreover, I was obliged to download the installer from the Arena website because the one embedded in playonlinux is not supported since somewhere in 2021.

I hope this message will be helpful.

*--> Crash <--*
Assertion: reference 
File: D:\Perforce\Live\NAEU\v2\Code\Arena\Engine\Gr\Bgfx\BgfxTexture.cpp(847)
App: Gw2-64.exe 
Pid: 36
BaseAddr: 0000000140000000
ProgramId: 101
Build: 128878
When: 2022-05-22T12:13:08Z 2022-05-22T14:13:08+02:00
Uptime:   0 days  0:25:57
Flags: 0
DumpFile: Crash.dmp

*--> System <--*
Name: 1a29ac18
IpAddr: 192.168.38.101 172.17.0.1 172.18.0.1
Processors: 8 [GenuineIntel:6:14:10]
OSVersion: Wine 4.0.4 (64 bit)

*--> System Memory <--*
Physical:  5114MB/ 7805MB  65%
Paged:    21113MB/23805MB  88%
Virtual:  134217727MB/134217727MB  3%
Load: 34%
CommitTotal:   7099MB
CommitLimit:  23805MB
CommitPeak:       0MB
SystemCache:      0MB
HandleCount:    928
ProcessCount:     6
ThreadCount:     41

*--> Process Memory <--*
Private:         133373213MB
WorkingSet:       367MB
PeakWorkingSet:   652MB
PageFaults:         0

*--> Memory Category Usage (Inclusive) <--*
[Category]              [Size(MB)]  [Count]     
Root                    305.24      9570        
Programmer Data         250.02      4173        
Engine                  144.43      119         
Gr                      144.41      111         
DDI                     144.34      107         
Collections             74.85       3194        
Uncategorized           48.77       4642        
I/O                     30.36       606         
Archive                 29.04       64          
Dictionary              26.09       46          
Collide                 6.45        755         
Collide Havok           6.45        755         
Set                     4.00        5           
File Service            1.24        12          
Networking              0.18        35          
Event                   0.13        4           
Asset Service           0.07        527         
Gr Umbra                0.06        2           
Game                    0.05        56          
Content                 0.02        1           
Msg                     0.02        10          
Threading               0.01        14          
Model-Programmer        0.01        1           
Install                 0.00        30          

*--> Memory Category Usage (Exclusive) <--*
[Category]              [Size(MB)]  [Count]     
DDI                     144.34      106         
Uncategorized           48.77       4642        
Collections             44.76       3137        
Archive                 29.04       64          
Dictionary              26.09       46          
Collide Havok           6.45        755         
Set                     4.00        5           
File Service            1.24        12          
Networking              0.16        25          
Event                   0.13        4           
Asset Service           0.07        527         
Gr Umbra                0.06        2           
Game                    0.03        46          
Content                 0.02        1           
Msg                     0.02        10          
Threading               0.01        14          
Model-Programmer        0.01        1           
Install                 0.00        30          
Engine                  0.00        3           
Web Browser             0.00        10          
BTree                   0.00        6           
Platform                0.00        65          
CharClient              0.00        5           
Services                0.00        12          

*--> DllList <--*
0000000140000000 - C:\Program Files (x86)\ArenaNet\Guild Wars 2\Gw2.exe
000000007BC20000 - C:\windows\system32\ntdll.dll
000000007B420000 - C:\windows\system32\KERNEL32.dll
00007F31EC190000 - C:\windows\system32\user32.dll
00007F31EBED0000 - C:\windows\system32\gdi32.dll
00007F31EBE40000 - C:\windows\system32\advapi32.dll
00007F31ED130000 - C:\windows\system32\version.dll
00007F31ECFD0000 - C:\windows\system32\ws2_32.dll
00007F31ECFB0000 - C:\windows\system32\wtsapi32.dll
00007F31EBD70000 - C:\windows\system32\winmm.dll
00007F31EBBD0000 - C:\windows\system32\ole32.dll
00007F31EBB20000 - C:\windows\system32\rpcrt4.dll
00007F31EBAE0000 - C:\windows\system32\msacm32.dll
00007F31EBAA0000 - C:\windows\system32\wintrust.dll
00007F31EB9A0000 - C:\windows\system32\crypt32.dll
00007F31EB980000 - C:\windows\system32\bcrypt.dll
00007F31EB960000 - C:\windows\system32\psapi.dll
00007F31EB800000 - C:\windows\system32\oleaut32.dll
00007F31EADE0000 - C:\windows\system32\shell32.dll
00007F31EAD50000 - C:\windows\system32\shlwapi.dll
00007F31EAD20000 - C:\windows\system32\shcore.dll
00007F31EAC60000 - C:\windows\system32\gdiplus.dll
00007F31EAAE0000 - C:\windows\system32\comctl32.dll
00007F31EAA80000 - C:\windows\system32\usp10.dll
00007F31EAA50000 - C:\windows\system32\imm32.dll
00007F31EAA40000 - C:\windows\system32\msimg32.dll
00007F31EAA00000 - C:\windows\system32\secur32.dll
00007F31EA9C0000 - C:\windows\system32\netapi32.dll
00007F31EA990000 - C:\windows\system32\iphlpapi.dll
00007F31E9B60000 - C:\windows\system32\winex11.drv
00007F31E9930000 - C:\windows\system32\uxtheme.dll
00007F31EA300000 - C:\windows\system32\kerberos.dll
00007F31E9920000 - C:\windows\system32\api-ms-win-core-synch-l1-2-0.dll
00007F31E9910000 - C:\windows\system32\api-ms-win-core-fibers-l1-1-1.dll
00007F31E9780000 - C:\windows\system32\api-ms-win-core-localization-l1-2-1.dll
00007F31E9710000 - C:\windows\system32\dbghelp.dll
00007F31E96F0000 - C:\windows\system32\api-ms-win-appmodel-runtime-l1-1-2.dll
00007F31E96C0000 - C:\windows\system32\kernelbase.dll
000000007A850000 - C:\windows\system32\opengl32.dll
00007F31E9610000 - C:\windows\system32\ddraw.dll
00007F31D1C70000 - C:\windows\system32\wined3d.dll
00007F31E95D0000 - C:\windows\system32\gameux.dll
00007F31E95B0000 - C:\windows\system32\api-ms-win-core-sysinfo-l1-2-1.dll
00007F31D80C0000 - C:\windows\system32\msctf.dll
00007F31D0E70000 - C:\windows\system32\windowscodecs.dll
00007F31E94C0000 - C:\windows\system32\propsys.dll
0000000180000000 - C:\Program Files (x86)\ArenaNet\Guild Wars 2\bin64\CoherentUI64.dll
00007F31D8060000 - C:\windows\system32\d3d9.dll
00007F31D1BD0000 - C:\windows\system32\d3d11.dll
00007F31D8020000 - C:\windows\system32\dxgi.dll

*--> Game Context <--*
MapId: 0
Flags: 0x241
ElapsedTime: 00:25:54

*--> World State <--*
<WorldState />

[DbgHelp.dll is C:\windows\system32\dbghelp.dll]
[DbgHelp.dll version 6.1.7601.17514 (64/32-bit compatible)]

*--> ClientContextThreadProc Thread 0x3d <--*

*--> Trace <--*
Pc                Rt                : Args
00000001`400d898c 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`4019dcb9 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`4019e0a5 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`4011e2df 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`4011f038 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`4011e887 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`4011d941 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`4011ec9d 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`400ddce4 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`40adf5bc 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`4046e574 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`4046629b 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`400b6493 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`40320b79 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`4031ee80 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`4031eb08 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`4031ff57 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`40320026 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`4031e285 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`400cec2d 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`402dadf0 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000000`7bc9a372 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000000`00000000 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`402dada0 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000000`00dc3220 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000000`00000000 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 

*--> Thread registers <--*
rax=0000000000000001 rbx=000000014173d6e0 rcx=000000000288f0b0
rdx=000000014173d6e0 rsi=000000000000034f rdi=000000014173d908
rip=00000001400d892d rsp=000000000288f050 rbp=0000000000000001
 r8=000000000000034f  r9=00000001420d2140 r10=0000000000000002
r11=000000000288f5c0 r12=0000000000000000 r13=0000000000000001
r14=0000000002000000 r15=0000000000000001
cs=0033 ss=002b ds=0000 es=0000 fs=0000 gs=0000 efl=00000202

rbx-32 000000014173D6C0  00000000`00000101 62626141`6874614d 2864696c`61567349 00000000`29786f62 
rbx +0 000000014173D6E0  6f667265`505c3a44 6576694c`5c656372 32765c55`45414e5c 72415c65`646f435c 
rbx+32 000000014173D700  69676e45`5c616e65 67425c72`475c656e 54786667`425c7866 632e6572`75747865 
rcx-32 000000000288F090  00000001`400d892d 00000000`0288f050 00000000`00000001 00000000`0288f2b6 
rcx +0 000000000288F0B0  00000001`00000001 00000000`0f6e8578 ffffffff`00000000 00000000`00000000 
rcx+32 000000000288F0D0  00000000`00000000 00000000`00000039 00009fa0`0001000f 00000000`00000033 
rdx-32 000000014173D6C0  00000000`00000101 62626141`6874614d 2864696c`61567349 00000000`29786f62 
rdx +0 000000014173D6E0  6f667265`505c3a44 6576694c`5c656372 32765c55`45414e5c 72415c65`646f435c 
rdx+32 000000014173D700  69676e45`5c616e65 67425c72`475c656e 54786667`425c7866 632e6572`75747865 
 r9-32 00000001420D2120  00000000`bf800000 3f800000`3f800000 bf800000`00000000 00000000`3f800000 
 r9 +0 00000001420D2140  00000010`00000010 00000000`00000001 bf800000`bf800000 3f800000`bf800000 
 r9+32 00000001420D2160  bf800000`3f800000 3f800000`3f800000 3f800000`00000000 00000000`00000000 

*--> Code <--*
00000001`400d890d  488bf941 8bf0488d 0d060f12 02488bda H..A..H......H..
00000001`400d891d  e8de6cfe ff488d4c 2460ff15 fbe94e01 ..l..H.L$`....N.
00000001`400d892d  488b8424 58010000 4c8d05e4 1b500148 H..$X...L....P.H
00000001`400d893d  89442440 4885db48 8b8424f8 00000044 .D$@H..H..$....D
00000001`400d894d  8bce4889 4424484c 0f45c348 8b842400 ..H.D$HL.E.H..$.
00000001`400d895d  01000048 8bd74889 44245033 c9488d44 ...H..H.D$P3.H.D

*--> Stack <--*
00000000`0288f050  00000000`00000000 00000000`ffffffff 00000000`00000000 00000000`07f23990 .........................9......
00000000`0288f070  00000000`0288f090 00000000`0288f0b0 00000000`00000000 00000000`0000009c ................................
00000000`0288f090  00000001`400d892d 00000000`0288f050 00000000`00000001 00000000`0288f2b6 -..@....P.......................
00000000`0288f0b0  00000001`00000001 00000000`0f6e8578 ffffffff`00000000 00000000`00000000 ........x.n.....................
00000000`0288f0d0  00000000`00000000 00000000`00000039 00009fa0`0001000f 00000000`00000033 ........9...............3.......
00000000`0288f0f0  00000202`002b0000 00000000`00000000 ffffffff`00000000 00000000`ffffffff ..+.............................
00000000`0288f110  00000000`00000001 0000ffff`0001ffff ffffffff`ffffff00 00000000`00000001 ................................
00000000`0288f130  00000000`0288f0b0 00000001`4173d6e0 00000001`4173d6e0 00000000`0288f050 ..........sA......sA....P.......
00000000`0288f150  00000000`00000001 00000000`0000034f 00000001`4173d908 00000000`0000034f ........O.........sA....O.......
00000000`0288f170  00000001`420d2140 00000000`00000002 00000000`0288f5c0 00000000`00000000 @!.B............................
00000000`0288f190  00000000`00000001 00000000`02000000 00000000`00000001 00000001`400d892d ........................-..@....
00000000`0288f1b0  00000000`0000027f 00000000`00000000 00000000`00000000 0000ffff`00009fa0 ................................
00000000`0288f1d0  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`0288f1f0  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`0288f210  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`0288f230  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`0288f250  00000000`3f800000 00000000`00000000 00000000`7fffffff 00000000`00000000 ...?............................
00000000`0288f270  00000000`00000000 00000000`00000000 00000000`3f800000 00000000`00000000 ...................?............
00000000`0288f290  00000000`38d1b717 00000000`00000000 06000036`00000006 00000007`001020f2 ...8................6.... ......
00000000`0288f2b0  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`0288f2d0  6e697700`376e6977 0031386e`69770038 00000000`00000000 00000000`00000000 win7.win8.win81.................
00000000`0288f2f0  00000000`00202020 00000000`00000000 00000000`00000000 00000000`00000000    .............................
00000000`0288f310  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`0288f330  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`0288f350  00000000`00000000 00000000`00000000 00000000`00202020 00000000`00000000 ................   .............
00000000`0288f370  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`0288f390  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`0288f3b0  00000000`00000000 00000000`00000000 00000000`00000048 00000000`07180000 ................H...............
00000000`0288f3d0  00000000`0288f500 00000000`7bc5d92c 00000000`00000000 00000000`00000000 ........,..{....................
00000000`0288f3f0  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`0288f410  00000000`00000000 00000000`07180000 00000000`00000000 00000000`00000000 ................................
00000000`0288f430  00000000`00000000 00000000`00000000 00000000`00000000 6e697700`376e6977 ........................win7.win

*--> Graphics Device Info <--*
VendorId    = 0x8086
DeviceId    = 0x0162
Version     = 0
Description = Intel(R) HD Graphics 4000
Compat      = 0x000000000fbfbc37
VidMem      = 0 MB

Réponses

0210005 Samedi 23 Octobre 2021 à 10:41
0210005 Anonymous

Messages

currently there is an error during download

when going to the website stated, it says access denied

Réponses

Dadu042 Jeudi 30 Juillet 2020 à 13:00
Dadu042

Information

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

Differences

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

Nouveau code source

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

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

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

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

Réponses

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

Warning

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

Differences

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

Nouveau code source

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

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

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

# Setting Wine Version
WORKING_WINE_VERSION="3.0.3"

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

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

Réponses

Dadu042 Mercredi 3 Juillet 2019 à 16:53
Dadu042

Warning

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

Differences

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

Nouveau code source

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

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


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

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

Réponses

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

Messages

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

 

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

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

Réponses

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

Messages

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

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

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

Réponses

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

Messages

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

Réponses

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

Messages

I tryed Guildwars2 with Wine 2.1 it works great!

Réponses

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

Messages

consegui rodar com sucesso no Elementary OS Loki

Réponses

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

Messages

Game launch but i only have sound and no picture.

Seems to be an incompatibility with my radeon Fury.

Waiting for the next version of amdgup

Réponses

AlexS420 Vendredi 16 September 2016 à 21:24
AlexS420 Anonymous

Messages

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

Réponses

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

Messages

This is working fine on my PC:

OpenSUSE Leap 42.1 64-bit

4.2GHz x4

8GB RAM

AMD R7 370 with fglrx driver

I had to use WINE 1.9.17

Thank you very much for your work!

Réponses

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

Messages

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

 

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

Carte mère Biostar A58MD

Carte graphique ATI RADEON 7 240 de Gigabytes 2048 ram

RAM total 8gig

Réponses

logan2605 Mercredi 18 Mai 2016 à 0:39
logan2605 Anonymous

Messages

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

 

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

 

Réponses

RobLoach Vendredi 8 Avril 2016 à 11:48
RobLoach

Warning

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

Messages

Differences

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

Nouveau code source

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

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

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

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

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

# Starting debugging API
POL_Debug_Init

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

# Setting Wine Version
WORKING_WINE_VERSION="1.7.35"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

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

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

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

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

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

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

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

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

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

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

POL_SetupWindow_Close
exit 0

Réponses

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

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

Warning

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

Messages

Update to Wine 1.9.7.

Differences

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

Nouveau code source

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

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

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

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

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

# Starting debugging API
POL_Debug_Init

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

# Setting Wine Version
WORKING_WINE_VERSION="1.9.7"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

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

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

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

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

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

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

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

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

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

POL_SetupWindow_Close
exit 0

Réponses

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

Warning

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

Messages

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

Differences

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

Nouveau code source

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

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

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

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

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

# Starting debugging API
POL_Debug_Init

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

# Setting Wine Version
WORKING_WINE_VERSION="1.7.35"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

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

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

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

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

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

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

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

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

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

POL_SetupWindow_Close
exit 0

Réponses

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

Warning

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

Messages

Runs very well, with x64 version and these options:

- wine 1.9.0-staging

- -dx9single argument

- virtual desktop

- automaticaly capture mouse

- enable CSMT (staging tab)

- d3dx9 component installed

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

 

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

Tried on ubuntu 14.04 x64 with GTX 970 and NVIDIA drivers

 

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

Differences

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

Nouveau code source

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

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

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

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

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

# Starting debugging API
POL_Debug_Init

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

# Setting Wine Version
WORKING_WINE_VERSION="1.9.0-staging"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

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

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

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

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

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

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

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

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

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

POL_SetupWindow_Close
exit 0

Réponses

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

Warning

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

Messages

Remove MD5 checks.

Differences

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

Nouveau code source

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

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

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

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

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

# Starting debugging API
POL_Debug_Init

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

# Setting Wine Version
WORKING_WINE_VERSION="1.7.35"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

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

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

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

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

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

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

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

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

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

POL_SetupWindow_Close
exit 0

Réponses

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

Messages

Trying to do a reinstall, moving from x86 to x64

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

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

------

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

Error ! Files mismatch

Local : 836632c263117250888d79c7a4e87179

Server : 0857f7fdba0a13452f70c13fff2ea271

 

Do you want to retry?

----------

 

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

Réponses

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

Warning

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

Messages

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

Differences

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

Nouveau code source

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

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

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

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

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

# Starting debugging API
POL_Debug_Init

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

# Setting Wine Version
WORKING_WINE_VERSION="1.7.55"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

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

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

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

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

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

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

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

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

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

POL_SetupWindow_Close
exit 0

Réponses

taralx Jeudi 19 Novembre 2015 à 21:52
taralx Anonymous

Messages

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

Réponses

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

Warning

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

Messages

Add ability to choose 64-Bit architecture.

Differences

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

Nouveau code source

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

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

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

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

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

# Starting debugging API
POL_Debug_Init

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

# Setting Wine Version
WORKING_WINE_VERSION="1.7.35"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

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

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

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

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

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

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

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

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

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

POL_SetupWindow_Close
exit 0

Réponses

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

Edité par petch

RobLoach Mardi 17 Novembre 2015 à 3:15
RobLoach

Warning

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

Messages

This makes the initial install run do two things:

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

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

Differences

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

Nouveau code source

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

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

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

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

# Starting debugging API
POL_Debug_Init

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

# Setting Wine Version
WORKING_WINE_VERSION="1.7.35"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

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

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

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

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

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

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

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

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

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

Réponses

Tristyn159 Lundi 9 Novembre 2015 à 22:23
Tristyn159 Anonymous

Messages

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

Réponses

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

Messages

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

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

and this

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

And i have sound problems and it spams

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

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

 

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

 

Réponses

RobLoach Jeudi 17 September 2015 à 11:01
RobLoach

Warning

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

Messages

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

Differences

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

Nouveau code source

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

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

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

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

# Starting debugging API
POL_Debug_Init

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

# Setting Wine Version
WORKING_WINE_VERSION="1.7.35"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

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

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

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

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

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

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

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

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

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

Réponses

F1reStorM Jeudi 10 September 2015 à 21:51
F1reStorM Anonymous

Messages

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

Réponses

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

Warning

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

Messages

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

There are just two noticeable issues that I have encountered:

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

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

Differences

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

Nouveau code source

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

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

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

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

# Starting debugging API
POL_Debug_Init

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

# Setting Wine Version
WORKING_WINE_VERSION="1.7.4-CSMT"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

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

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

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

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

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

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

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

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

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

Réponses

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

Messages

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

Réponses

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

Warning

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

Messages

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

Differences

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

Nouveau code source

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

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

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

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

# Starting debugging API
POL_Debug_Init

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

# Setting Wine Version
WORKING_WINE_VERSION="1.7.35"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

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

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

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

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

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

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

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

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

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

Réponses

wisemonkey Jeudi 9 Octobre 2014 à 7:24
wisemonkey Anonymous

Messages

OS: Kubuntu 14.04

POL ver: 4.2.2

Wine Ver: 1.5.28GuildWars2

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

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

Réponses

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

Messages

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

 

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

Réponses

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

Messages

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

Réponses

KozRoss Mercredi 3 September 2014 à 7:59
KozRoss Anonymous

Messages

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

Already Running

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

Réponses

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

Warning

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

Messages

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

Differences

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

Nouveau code source

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

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

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

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

# Starting debugging API
POL_Debug_Init

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

# Setting Wine Version
WORKING_WINE_VERSION="1.5.28-GuildWars2"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

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

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

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

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

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

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

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

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

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

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

Réponses

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

Warning

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

Messages

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

I updated installation script to set it automatically.
 

Differences

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

Nouveau code source

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

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

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

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

# Starting debugging API
POL_Debug_Init

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

# Setting Wine Version
WORKING_WINE_VERSION="1.5.28-GuildWars2"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

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

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

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

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

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

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

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

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

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

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

Réponses

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

Messages

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

Réponses

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

Messages

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

Réponses

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

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