| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:linux:wine:guild_wars_2 [2025/12/07 22:26] – [ArcDPS] Sean Rhone | games:linux:wine:guild_wars_2 [2025/12/11 17:16] (current) – [Updater] Sean Rhone |
|---|
| |
| ====== Install ====== | ====== Install ====== |
| | |
| | ===== Initial Prefix ===== |
| | |
| | **** |
| | |
| | mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Guild Wars 2' WINEARCH='win64' wineboot --init && WINEPREFIX=~/'.wine/Guild Wars 2' winecfg /v 'win7' && WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'winemenubuilder.exe' /t 'REG_SZ' /d '' /f |
| |
| ===== Guild Wars 2 ===== | ===== Guild Wars 2 ===== |
| * Email/pass -> ''[x]'' Remember both -> Log In -> ''[x]'' Auto-Play -> Close | * 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' winecfg /v 'win7' && 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' | mkdir -p ~/'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' wine ~/'Downloads/Guild Wars 2/Gw2Setup.exe' |
| |
| ===== Restore Gw2.dat ===== | ===== Restore Gw2.dat ===== |
| |
| ===== DXVK ===== | ===== DXVK ===== |
| |
| ==== master ==== | |
| |
| * https://github.com/doitsujin/dxvk/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package)) | |
| * Last tested: ''dxvk-master-0118eaff27d0d9637e4f4b53e114cdab381b480c.zip'' | |
| |
| 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' | |
| |
| ==== Release ==== | ==== Release ==== |
| |
| rm -Rf '/tmp/dxvk-'* && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' -C '/tmp' && mv -fv '/tmp/dxvk-'*'/x64/d3d11.dll' '/tmp/dxvk-'*'/x64/dxgi.dll' ~/'.wine/Guild Wars 2/drive_c/windows/system32' && rm -Rf '/tmp/dxvk-'* | rm -Rf '/tmp/dxvk-'* && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' -C '/tmp' && mv -fv '/tmp/dxvk-'*'/x64/d3d11.dll' '/tmp/dxvk-'*'/x64/dxgi.dll' ~/'.wine/Guild Wars 2/drive_c/windows/system32' && rm -Rf '/tmp/dxvk-'* |
| | |
| | ==== master ==== |
| | |
| | * https://github.com/doitsujin/dxvk/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package)) |
| | * Last tested: ''dxvk-master-6cec53d975a79ababe4b8965ce04e7b96903dd1b.zip'' |
| | |
| | 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 ==== | ==== Dll Overrides ==== |
| |
| * https://www.deltaconnected.com/arcdps/x64/ | * https://www.deltaconnected.com/arcdps/x64/ |
| * :?: Might require above ''d3d11'' override if DXVK isn't used | * :?: Might require above ''d3d11'' override |
| |
| wget -O '/tmp/d3d11.dll' 'https://www.deltaconnected.com/arcdps/x64/d3d11.dll' && mv -f '/tmp/d3d11.dll' ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/d3d11.dll' | rm -f '/tmp/d3d11.dll' && wget -O '/tmp/d3d11.dll' 'https://www.deltaconnected.com/arcdps/x64/d3d11.dll' && mv -f '/tmp/d3d11.dll' ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/d3d11.dll' |
| |
| rm -fv ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/d3d11.dll' | ==== Remove ==== |
| | |
| | **** |
| | |
| | rm -Rf ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/d3d11.dll' ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/addons/arcdps' |
| | |
| | ==== arcdps.ini ==== |
| | |
| | mkdir -p ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/addons/arcdps' && nano ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/addons/arcdps/arcdps.ini' |
| | |
| | <code> |
| | [session] |
| | ignore_error_log=1 |
| | check_version3=0 |
| | check_version3_ext=0 |
| | check_version3_lang=0 |
| | no_warn_nonessential_patterns=1</code> |
| | |
| | ====== Scripts ====== |
| | |
| | ===== ArcDPS ===== |
| | |
| | * https://www.deltaconnected.com/arcdps/ |
| | |
| | nano ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/arcdps-update.sh' && chmod +x ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/arcdps-update.sh' |
| | |
| | <code> |
| | #!/bin/bash |
| | |
| | rm -f '/tmp/d3d11.dll' |
| | wget -q -O '/tmp/d3d11.dll' 'https://www.deltaconnected.com/arcdps/x64/d3d11.dll' |
| | |
| | mv -f '/tmp/d3d11.dll' ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/d3d11.dll' |
| | |
| | zenity --title 'ArcDPS Updater' --text 'ArcDPS update complete' --icon ~/'.wine/Icons/GW2-256.png' --timeout '2' --info |
| | |
| | # End</code> |
| | |
| | ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/arcdps-update.sh' |
| |
| ====== Desktop Launcher ====== | ====== Desktop Launcher ====== |
| Name=Guild Wars 2 | Name=Guild Wars 2 |
| Categories=Game; | 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" | 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" |
| Type=Application | Type=Application |
| StartupNotify=false | StartupNotify=false |
| Icon=/home/CHANGEME/.wine/Icons/GW2-256.png | Icon=/home/CHANGEME/.wine/Icons/GW2-256.png |
| StartupWMClass=gw2-64.exe | StartupWMClass=gw2-64.exe |
| Actions=Update;Screenshots;Kill;Repair;Notes; | Actions=Update;Update-ArcDPS;Screenshots;Kill;Repair;Notes; |
| |
| [Desktop Action Update] | [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" | 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 | Name=Update Game Data |
| | |
| | [Desktop Action Update-ArcDPS] |
| | Exec='/bin/bash' -c "~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/arcdps-update.sh'" |
| | Name=Update ArcDPS |
| |
| [Desktop Action Screenshots] | [Desktop Action Screenshots] |
| ==== Guild Wars 2 ==== | ==== 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 |
| |
| 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 | <code>-useOldFov</code> |
| |
| ==== Updater ==== | ==== Updater ==== |
| |
| * ''-image'' | * ''-image'' |
| | * '' -nodelta'' |
| |
| 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 | 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 |
| |
| 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 x | 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 x |
| | |
| | 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'/NAS/Games/PC/GW2/Gw2.dat' |
| |
| ==== Repair ==== | ==== Repair ==== |
| |
| * ''-repair'' | * ''-repair'' |
| | * '' -nodelta'' |
| |
| 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 | 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 |
| <code> | <code> |
| # General | # General |
| dxgi.enableHDR = "False" | |
| d3d9.dpiAware = "False" | |
| dxvk.allowFse = "True" | |
| d3d9.samplerLodBias = "-2.0" | |
| d3d11.samplerLodBias = "-2.0" | d3d11.samplerLodBias = "-2.0" |
| |
| # Intel | # Intel |
| dxvk.hideIntegratedGraphics = "False" | dxvk.hideIntegratedGraphics = "False" |
| d3d9.hideIntelGpu = "False" | |
| dxgi.hideIntelGpu = "False" | dxgi.hideIntelGpu = "False" |
| dxvk.enableGraphicsPipelineLibrary = "True" | |
| |
| # Tweaks | |
| dxvk.latencySleep = "False" | |
| dxvk.enableMemoryDefrag = "False" | |
| dxvk.tilerMode = "False" | |
| d3d9.useD32forD24 = "True" | |
| d3d11.relaxedBarriers = "True" | |
| d3d9.invariantPosition = "False" | |
| d3d11.disableMsaa = "True" | |
| dxvk.enableDescriptorBuffer = "True" | |
| d3d9.floatEmulation = "False" | |
| dxvk.lowerSinCos = "False" | |
| d3d9.deviceLocalConstantBuffers = "True" | |
| |
| # HUD | # HUD |