| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:linux:wine:guild_wars_2 [2025/12/07 22:46] – [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 ==== |
| 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 -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 ====== | ====== Scripts ====== |
| mv -f '/tmp/d3d11.dll' ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/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 '1' --info | zenity --title 'ArcDPS Updater' --text 'ArcDPS update complete' --icon ~/'.wine/Icons/GW2-256.png' --timeout '2' --info |
| |
| # End</code> | # End</code> |
| |
| 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 ==== |
| <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 |