Table of Contents

Information

Prerequisites

Install

Guild Wars

mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Guild Wars' WINEARCH='win32' winetricks 'winxp' && sync && wget -O ~/'Downloads/GwSetup.exe' 'https://cloudfront.guildwars2.com/client/GwSetup.exe' && mkdir -p ~/'.wine/Guild Wars/dxvk_shader_cache' && MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars' DXVK_STATE_CACHE_PATH=~/'.wine/Guild Wars/dxvk_shader_cache' WINEPREFIX=~/'.wine/Guild Wars' wine ~/'Downloads/GwSetup.exe'

Restore Gw.dat

mv ~/'Downloads/Guild Wars/Gw.dat' ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars'

Clean Up

cd ~ && rm -Rf ~/'Downloads/Guild Wars' ~/'Downloads/GwSetup.exe' ~/'Desktop/Guild Wars.desktop' && sync

Libraries

DXVK

ls ~/'Downloads/dxvk-master-'*'.zip' && rm -Rf '/tmp/dxvk-master' && mkdir -p '/tmp/dxvk-master' && unzip ~/'Downloads/dxvk-master-'*'.zip' -d '/tmp/dxvk-master/' && cp --backup '/tmp/dxvk-master/x32/'*'.dll' ~/'.wine/Guild Wars/drive_c/windows/system32/' && WINEPREFIX=~/'.wine/Guild Wars' winetricks 'd3d9=native' 'd3d10core=native' 'd3d11=native' 'dxgi=native' && mkdir -p ~/'.wine/Guild Wars/dxvk_shader_cache' && sync

Desktop Launcher

Initial

rm -rf ~/'.local/share/applications/wine/Programs/Guild Wars'

Guild Wars

mkdir -p ~/'.local/share/applications/wine/Programs/Guild Wars' && nano ~/'.local/share/applications/wine/Programs/Guild Wars/Guild Wars.desktop'
[Desktop Entry]
Name=Guild Wars
Categories=Game;AdventureGame;RolePlaying
Exec='/bin/bash' -c "cd ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars' DXVK_STATE_CACHE_PATH=~/'.wine/Guild Wars/dxvk_shader_cache' WINEPREFIX=~/'.wine/Guild Wars' wine ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars/Gw.exe' -lodfull -bmp -email 'x' -password 'x' -character 'x'"
Type=Application
StartupNotify=true
Icon=C711_Gw.0
StartupWMClass=gw.exe
Actions=Kill;Update;Repair;Notes;

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

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

[Desktop Action Repair]
Exec='/bin/bash' -c "cd ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars' DXVK_STATE_CACHE_PATH=~/'.wine/Guild Wars/dxvk_shader_cache' WINEPREFIX=~/'.wine/Guild Wars' wine ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars/Gw.exe' -repair"
Name=Check and Repair Data

[Desktop Action Notes]
StartupNotify=false
Exec=gio open 'https://wiki.realmofespionage.xyz/games:wine:guild_wars_1'
Name=Installation Notes

# End

Quick Commands

Winecfg

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

Winetricks

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

Registry Editor

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

Kill

WINEPREFIX=~/'.wine/Guild Wars' wineserver --kill && killall -9 'Gw.exe'

Reset Game Settings

cd ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars' DXVK_STATE_CACHE_PATH=~/'.wine/Guild Wars/dxvk_shader_cache' WINEPREFIX=~/'.wine/Guild Wars' wine ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars/Gw.exe' -prefresetlocal

Execute

Guild Wars

cd ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars' DXVK_STATE_CACHE_PATH=~/'.wine/Guild Wars/dxvk_shader_cache' WINEDEBUG='' WINEPREFIX=~/'.wine/Guild Wars' wine ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars/Gw.exe' -lodfull
-email "x" -password "x" -character "x"

Updater

cd ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' && MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars' WINEPREFIX=~/'.wine/Guild Wars' wine ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars/Gw.exe' -image

Repair

cd ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars' DXVK_STATE_CACHE_PATH=~/'.wine/Guild Wars/dxvk_shader_cache' WINEPREFIX=~/'.wine/Guild Wars' wine ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars/Gw.exe' -repair

File Manager

Root

gio open ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars'
2)
should be about 5500+ files around 140 MB
3)
need to be signed into GitHub, and select the latest master artifacts package