Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:linux:wine:guild_wars_2 [2025/07/03 23:45] – Sean Rhone | games:linux:wine:guild_wars_2 [2025/07/04 02:00] (current) – Sean Rhone |
---|
* Standalone | * Standalone |
* 64-bit | * 64-bit |
| |
===== Wine Resources ===== | |
| |
* [[https://appdb.winehq.org/objectManager.php?sClass=application&iId=14130|WineHQ AppDB]] | |
* [[https://lutris.net/games/guild-wars-2/|Lutris]] | |
| |
===== Prerequisites ===== | ===== Prerequisites ===== |
| |
* [[distros:fedora_workstation_gnome|Fedora Workstation]] | * [[linux;distros;ubuntu|Ubuntu]] |
* [[notes:wine|Wine]] | * [[linux;notes;wine|Wine]] |
| |
====== Install ====== | ====== Install ====== |
===== Guild Wars 2 ===== | ===== Guild Wars 2 ===== |
| |
* Install to default directory when prompted ((''C:\Program Files\Guild Wars 2'')) | * Install to default directory ((''C:\Program Files\Guild Wars 2'')) |
* Log-in when launcher progresses enough | * Email/pass -> Save -> ''[x]'' Auto-Play -> Close |
* Ideally save the username and password, and enable Auto-play | |
* Close the launcher | |
| |
mkdir -p ~/'.wine' ~/'Downloads/Guild Wars 2' && wget -O ~/'Downloads/Guild Wars 2/Gw2Setup.exe' 'https://cloudfront.guildwars2.com/client/branches/Gw2Setup-64.exe' && WINEPREFIX=~/'.wine/Guild Wars 2' WINEARCH='win64' WINEDLLOVERRIDES='winemenubuilder.exe=d' wine ~/'Downloads/Guild Wars 2/Gw2Setup.exe' | mkdir -p ~/'.wine' ~/'Downloads/Guild Wars 2' && wget -O ~/'Downloads/Guild Wars 2/Gw2Setup.exe' 'https://cloudfront.guildwars2.com/client/branches/Gw2Setup-64.exe' && WINEPREFIX=~/'.wine/Guild Wars 2' WINEARCH='win64' WINEDLLOVERRIDES='winemenubuilder.exe=d' wine ~/'Downloads/Guild Wars 2/Gw2Setup.exe' |
===== Restore Gw2.dat ===== | ===== Restore Gw2.dat ===== |
| |
* This expects ''Gw2.dat'' in the ''~/Downloads/Guild Wars 2'' folder | **** |
* 2023/09/27: ''Gw2.dat'' after ''-image'' is 74.7 GB | |
| |
mv ~/'Downloads/Guild Wars 2/Gw2.dat' ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && sync | mv ~/'Downloads/GW2/Gw2.dat' ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2' |
| |
===== Clean-up ===== | ===== Clean-up ===== |
**** | **** |
| |
rm -Rf ~/'Downloads/Guild Wars 2' ~/'Desktop/Guild Wars 2.desktop' ~/'.wine/Guild Wars 2/'*'.dxvk-cache' && sync | rm -Rf ~/'Downloads/Guild Wars 2' && sync |
| |
====== Libraries ====== | ====== Libraries ====== |
| |
===== DXVK ===== | ===== DXVK ===== |
| |
| ==== master ==== |
| |
* https://github.com/doitsujin/dxvk/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package)) | * https://github.com/doitsujin/dxvk/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package)) |
| * Last tested: ''dxvk-master-24fcf3817ed5dd815f2e4d28c2f3cdc24238e60a.zip'' |
| |
| rm -Rf '/tmp/dxvk-master' && unzip ~/'Downloads/dxvk-master-'*'.zip' -d '/tmp/dxvk-master' && mv -fv '/tmp/dxvk-master/x64/'*'.dll' ~/'.wine/Guild Wars 2/drive_c/windows/system32' |
| |
| ==== Release ==== |
| |
| * https://github.com/doitsujin/dxvk/releases |
| * Last tested: ''dxvk-2.6.2.tar.gz'' |
| |
| rm -Rf '/tmp/dxvk-'* && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' -C '/tmp' && mv -fv '/tmp/dxvk-'*'/x64/'*'.dll' ~/'.wine/Guild Wars 2/drive_c/windows/system32' |
| |
| ==== DLLs ==== |
| |
| WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d8' /t 'REG_SZ' /d 'native' /f |
| |
| WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d9' /t 'REG_SZ' /d 'native' /f |
| |
| WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d10core' /t 'REG_SZ' /d 'native' /f |
| |
| WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d11' /t 'REG_SZ' /d 'native' /f |
| |
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/x64/'*'.dll' ~/'.wine/Guild Wars 2/drive_c/windows/system32/' && cp --backup '/tmp/dxvk-master/x32/'*'.dll' ~/'.wine/Guild Wars 2/drive_c/windows/syswow64/' && WINEPREFIX=~/'.wine/Guild Wars 2' winetricks 'd3d9=native' 'd3d10core=native' 'd3d11=native' 'dxgi=native' && mkdir -p ~/'.wine/Guild Wars 2/dxvk_shader_cache' && sync | WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'dxgi' /t 'REG_SZ' /d 'native' /f |
| |
====== Desktop Launcher ====== | ====== Desktop Launcher ====== |
* ''Gw2-64.exe -image'' | * ''Gw2-64.exe -image'' |
| |
cd ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && DXVK_STATE_CACHE_PATH=~/'.wine/Guild Wars 2/dxvk_shader_cache' WINEPREFIX=~/'.wine/Guild Wars 2' WINEDEBUG='' wine ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -image -nodelta | cd ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && WINEPREFIX=~/'.wine/Guild Wars 2' WINEDEBUG='' wine ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -image -nodelta |
| |
==== Repair ==== | ==== Repair ==== |