Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:linux:wine:guild_wars_2 [2025/08/17 12:05] – [Guild Wars 2] Sean Rhone | games:linux:wine:guild_wars_2 [2025/08/28 23:07] (current) – [Updater] Sean Rhone |
---|
| |
* [[linux;distros;opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]] | * [[linux;distros;opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]] |
* [[linux;notes;wine|Wine]] | * [[linux;notes;wine|Wine]] (old WoW64) |
| |
===== TODOs ===== | |
| |
* Keybinds for Action Cam, auto-walk, and screenshot (mouse 4/5 and middle?) | |
* Test non-Staging Wine with ''arial'' font ([[https://forums.freebsd.org/threads/what-about-gaming-on-freebsd.723/page-13#post-713261|post]]) | |
| |
====== Install ====== | ====== Install ====== |
===== Guild Wars 2 ===== | ===== Guild Wars 2 ===== |
| |
* Install to default directory ((''C:\Program Files\Guild Wars 2'')) | * Install to default location ((''C:\Program Files\Guild Wars 2'')) |
* Email/pass -> Save -> ''[x]'' Auto-Play -> Close | * Email/pass -> ''[x]'' Remember both -> Log In -> ''[x]'' Auto-Play -> Close |
| |
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' && 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 ===== | ===== Restore Gw2.dat ===== |
**** | **** |
| |
rm -Rf ~/'Downloads/Guild Wars 2' && sync | rm -Rf ~/'Downloads/Guild Wars 2' ~/'Downloads/GW2' |
| |
====== Libraries ====== | ====== Libraries ====== |
| |
* 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-59826f3412a9e45eb502ce2c8800345a694c937d.zip'' | * Last tested: ''dxvk-master-bcb0abde99af4c86b9662309b40f6d6e98b72cae.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' | 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' |
| |
rm -Rf '/tmp/dxvk-master' && unzip ~/'Downloads/dxvk-master-'*'.zip' -d '/tmp/dxvk-master' && mv -fv '/tmp/dxvk-master/x32/'*'.dll' ~/'.wine/Guild Wars 2/drive_c/windows/syswow64' | |
| |
==== Release ==== | |
| |
* https://github.com/doitsujin/dxvk/releases | |
* Last tested: ''dxvk-2.7.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' | |
| |
rm -Rf '/tmp/dxvk-'* && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' -C '/tmp' && mv -fv '/tmp/dxvk-'*'/x32/'*'.dll' ~/'.wine/Guild Wars 2/drive_c/windows/syswow64' | |
| |
==== Dll Overrides ==== | ==== Dll Overrides ==== |
**** | **** |
| |
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 && WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'dxgi' /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 && 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 ====== |
===== Guild Wars 2 ===== | ===== Guild Wars 2 ===== |
| |
* TODO: Refactor + icon | 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' |
| |
mkdir -p ~/'.local/share/applications/wine/Programs/Guild Wars 2' && nano ~/'.local/share/applications/wine/Programs/Guild Wars 2/Guild Wars 2.desktop' && update-desktop-database --quiet ~/'.local/share/applications' | |
| |
<code> | <code> |
[Desktop Entry] | [Desktop Entry] |
Name=Guild Wars 2 | 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" | 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 | Type=Application |
StartupNotify=true | StartupNotify=true |
Icon=GW2-256.0 | Icon=/home/CHANGEME/.wine/Icons/GW2-256.0.ico |
StartupWMClass=gw2-64.exe | StartupWMClass=gw2-64.exe |
| SingleMainWindow=true |
Actions=Update;Screenshots;Kill;Repair;Notes; | Actions=Update;Screenshots;Kill;Repair;Notes; |
| |
| |
<code> | <code> |
mkdir -p ~/'.local/share/icons/hicolor/256x256/apps' && cd ~/'.local/share/icons/hicolor/256x256/apps' && wrestool --output='GW2-256.0.png' --extract --type='14' --name='1' ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' && cd ~</code> | 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 ~</code> |
| |
====== Quick Commands ====== | ====== Quick Commands ====== |
| |
===== Execute ===== | ===== Execute ===== |
| |
==== AIO ==== | |
| |
* Updater + Execute | |
| |
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 && WINEPREFIX=~/'.wine/Guild Wars 2' wineserver --kill && 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 | |
| |
==== 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' -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 |
| |
| === 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 ==== |
gio open ~/'Documents/Guild Wars 2/NetworkDiag.log' | gio open ~/'Documents/Guild Wars 2/NetworkDiag.log' |
| |
===== File Manager ===== | ==== Root Folder ==== |
| |
==== Root ==== | |
| |
**** | **** |