User Tools

Site Tools


games:linux:wine:guild_wars_2

Information

Prerequisites

Install

Guild Wars 2

  • Install to default location 1)
  • Email/pass → [x] Remember both → Log In → [x] Auto-Play → Close
mkdir -p ~/'.wine' ~/'Downloads/Guild Wars 2' && WINEPREFIX=~/'.wine/Guild Wars 2' WINEARCH='win64' wineboot --init && WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'winemenubuilder.exe' /t 'REG_SZ' /d '' /f && wget -O ~/'Downloads/Guild Wars 2/Gw2Setup.exe' 'https://cloudfront.guildwars2.com/client/branches/Gw2Setup-64.exe' && WINEPREFIX=~/'.wine/Guild Wars 2' wine ~/'Downloads/Guild Wars 2/Gw2Setup.exe'

Restore Gw2.dat

mv ~/'Downloads/GW2/Gw2.dat' ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2'

Clean-up

rm -Rf ~/'Downloads/Guild Wars 2' ~/'Downloads/GW2'

Libraries

DXVK

master

rm -Rf '/tmp/dxvk-master' && unzip ~/'Downloads/dxvk-master-'*'.zip' -d '/tmp/dxvk-master' && mv -fv '/tmp/dxvk-master/x64/d3d11.dll' '/tmp/dxvk-master/x64/dxgi.dll' ~/'.wine/Guild Wars 2/drive_c/windows/system32'

Dll Overrides

WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d11' /t 'REG_SZ' /d 'native' /f && WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'dxgi' /t 'REG_SZ' /d 'native' /f

Desktop Launcher

Guild Wars 2

mkdir -p ~/'.local/share/applications/wine/Programs/Guild Wars 2' ~/'Documents/Guild Wars 2/Screens' && nano ~/'.local/share/applications/wine/Programs/Guild Wars 2/Guild Wars 2.desktop' && sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/Guild Wars 2/Guild Wars 2.desktop' && update-desktop-database --quiet ~/'.local/share/applications'
[Desktop Entry]
Name=Guild Wars 2
Categories=Game;
Exec='/bin/bash' -c "cd ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && WINEPREFIX=~/'.wine/Guild Wars 2' wine ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -autologin -bmp -nodelta -mapLoadinfo -ignorecoherentgpucrash -mumble 0 -useOldFov"
Type=Application
StartupNotify=true
Icon=/home/CHANGEME/.wine/Icons/GW2-256.0.ico
StartupWMClass=gw2-64.exe
SingleMainWindow=true
Actions=Update;Screenshots;Kill;Repair;Notes;

[Desktop Action Update]
Exec='/bin/bash' -c "cd ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && WINEPREFIX=~/'.wine/Guild Wars 2' wine ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -image -nodelta"
Name=Update Game Data

[Desktop Action Screenshots]
StartupNotify=false
Exec='/bin/bash' -c "gio open ~/'Documents/Guild Wars 2/Screens'"
Name=Screenshots

[Desktop Action Kill]
Exec='/bin/bash' -c "WINEPREFIX=~/'.wine/Guild Wars 2' wineserver --kill"
Name=Force-close

[Desktop Action Repair]
Exec='/bin/bash' -c "cd ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && WINEPREFIX=~/'.wine/Guild Wars 2' wine ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -image -nodelta -repair"
Name=Repair Game Data

[Desktop Action Notes]
StartupNotify=false
Exec='/bin/bash' -c "gio open 'https://wiki.realmofespionage.xyz/games;linux;wine;guild_wars_2'"
Name=Install Notes

# End

Icon

mkdir -p ~/'.wine/Icons' && cd ~/'.wine/Icons' && wrestool --output='GW2-256.0.ico' --extract --type='14' --name='1' ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' && cd ~

Quick Commands

Winecfg

WINEPREFIX=~/'.wine/Guild Wars 2' winecfg

Winetricks

WINEPREFIX=~/'.wine/Guild Wars 2' winetricks

Registry Editor

WINEPREFIX=~/'.wine/Guild Wars 2' regedit

Kill

WINEPREFIX=~/'.wine/Guild Wars 2' wineserver --kill

Execute

Guild Wars 2

cd ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && WINEPREFIX=~/'.wine/Guild Wars 2' wine ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -autologin -bmp -nodelta -mapLoadinfo -ignorecoherentgpucrash -mumble 0 -useOldFov

Updater

  • -image
cd ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && WINEPREFIX=~/'.wine/Guild Wars 2' wine ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -image -nodelta

External

  • Updates Gw2.dat on external USB
cd ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && WINEPREFIX=~/'.wine/Guild Wars 2' wine ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -image -nodelta -dat '/run/media/'$USER'/688EDD408EDD0808/Gw2.dat'

Repair

  • -repair
cd ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && WINEPREFIX=~/'.wine/Guild Wars 2' wine ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -image -nodelta -repair
gio open ~/'Documents/Guild Wars 2/VerifyResults.log'

Network Diagnostics

  • -diag
cd ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && WINEPREFIX=~/'.wine/Guild Wars 2' wine ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -diag
gio open ~/'Documents/Guild Wars 2/NetworkDiag.log'

Root Folder

gio open ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2'
1)
C:\Program Files\Guild Wars 2
2)
need to be signed into GitHub, and select the latest master artifacts package
/usr/local/www/wiki/data/pages/games/linux/wine/guild_wars_2.txt · Last modified: by Sean Rhone