Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
games:wine:guild_wars_2 [2019/05/21 20:58] – Sean Rhone | games:wine:guild_wars_2 [2020/01/06 12:48] – Add NVIDIA Optimus envs Sean Rhone |
---|
====== Information ====== | ====== Information ====== |
| |
* Guild Wars 2 ((https://www.guildwars2.com)) | * [[https://www.guildwars2.com|Guild Wars 2]] |
| * Standalone |
* 64-bit | * 64-bit |
| |
| ===== Wine Resources ===== |
| |
* [[https://appdb.winehq.org/objectManager.php?sClass=application&iId=14130|WineHQ AppDB]] | * [[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]] | * [[distros:fedora_workstation_gnome|Fedora Workstation]] |
| * [[notes:wine|Wine]] |
| |
===== Notes ===== | ===== Notes ===== |
| |
* Esync is built into Staging and should be used for better performance | * ''-dx9single'' should not be used with Esync enabled as it reduces performance |
* D9VK should be used | |
| |
====== Install ====== | ====== Install ====== |
* Install to default directory when prompted ((''C:\Program Files\Guild Wars 2'')) | * Install to default directory when prompted ((''C:\Program Files\Guild Wars 2'')) |
* Log-in when launcher progresses enough | * Log-in when launcher progresses enough |
* Select AUTO-PLAY and close the launcher | * Ideally save the username and password, and enable Auto-play |
| * Close the launcher |
| |
mkdir -p ~/'Wine Prefixes' ~/'Downloads/Guild Wars 2' && wget -O ~/'Downloads/Guild Wars 2/Gw2Setup.exe' 'https://account.arena.net/content/download/gw2/win/64' && WINEPREFIX=~/'Wine Prefixes/Guild Wars 2' WINEARCH='win64' wine explorer /desktop='GW2','1280x720' ~/'Downloads/Guild Wars 2/Gw2Setup.exe' | mkdir -p ~/'Wine Prefixes' ~/'Downloads/Guild Wars 2' && wget -O ~/'Downloads/Guild Wars 2/Gw2Setup.exe' 'https://account.arena.net/content/download/gw2/win/64' && WINEPREFIX=~/'Wine Prefixes/Guild Wars 2' WINEARCH='win64' wine explorer /desktop='GW2','1280x720' ~/'Downloads/Guild Wars 2/Gw2Setup.exe' |
| |
* :!: Use a virtual desktop to potentially avoid the launcher causing the DE to slow to a crawl | * :!: Use a virtual desktop to potentially avoid the launcher causing the DE to slow to a crawl |
* At 4K native resolution, use a virtual desktop of 2560×1440 and 192 dpi | * At 4K native resolution, use a virtual desktop of ''2560×1440'' and ''192'' dpi |
* At 1080p native resolution, use a virtual desktop of 1280x720 and default 96 dpi | * At 1080p native resolution, use a virtual desktop of ''1280x720'' and default ''96'' dpi |
* [x] Automatically capture the mouse in full-screen windows | * [x] Automatically capture the mouse in full-screen windows |
| |
WINEPREFIX=~/'Wine Prefixes/Guild Wars 2' winecfg | WINEPREFIX=~/'Wine Prefixes/Guild Wars 2' winecfg |
| |
===== Clean Up ===== | ===== Clean-up ===== |
| |
**** | **** |
rm -Rf ~/'Downloads/Guild Wars 2' ~/'Desktop/Guild Wars 2.desktop' && sync | rm -Rf ~/'Downloads/Guild Wars 2' ~/'Desktop/Guild Wars 2.desktop' && sync |
| |
====== D9VK ====== | ====== DXVK ====== |
| |
===== Information ===== | ===== Information ===== |
| |
* https://github.com/Joshua-Ashton/d9vk | * https://github.com/doitsujin/dxvk |
| |
* D3D9 to Vulkan | * D3D9 to Vulkan |
===== Download ===== | ===== Download ===== |
| |
* https://git.froggi.es/joshua/d9vk/-/jobs ((until D9VK potentially starts releasing builds)) | * https://github.com/doitsujin/dxvk/releases |
* Download the latest artifacts | |
| |
===== Install ===== | ===== Install ===== |
| |
* :!: If there is anything else in ''/tmp/build'', it will be deleted | **** |
| |
| rm -rf '/tmp/dxvk-'* && cd '/tmp' && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' && cd ~ && WINEPREFIX=~/'Wine Prefixes/Guild Wars 2' '/tmp/dxvk-'*'/setup_dxvk.sh' install && rm -rf '/tmp/dxvk-'* && mkdir -p ~/'Wine Prefixes/Guild Wars 2/dxvk_state_cache' && sync |
| |
| ===== D3D Dependencies ===== |
| |
| * https://github.com/Joshua-Ashton/d9vk/issues/200 |
| |
rm -Rf '/tmp/build' && unzip ~/'Downloads/d9vk-master'*'.zip' -d '/tmp' && WINEPREFIX=~/'Wine Prefixes/Guild Wars 2' '/tmp/build/dxvk-release/setup_dxvk.sh' install && sync && rm -Rf '/tmp/build' | WINEPREFIX=~/'Wine Prefixes/Guild Wars 2' winetricks d3dx9 d3dcompiler_43 |
| |
====== Desktop Launcher ====== | ====== Desktop Launcher ====== |
Comment=Guild Wars 2 is an online role-playing game with fast-paced action combat, a rich and detailed universe of stories, awe-inspiring landscapes to explore, two challenging player vs. player modes—and no subscription fees! | Comment=Guild Wars 2 is an online role-playing game with fast-paced action combat, a rich and detailed universe of stories, awe-inspiring landscapes to explore, two challenging player vs. player modes—and no subscription fees! |
Categories=Game;AdventureGame;RolePlaying | Categories=Game;AdventureGame;RolePlaying |
Exec=env DXVK_LOG_LEVEL='none' WINEDEBUG='-all' WINEPREFIX='/home/CHANGEME/Wine Prefixes/Guild Wars 2' wine '/home/CHANGEME/Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -autologin | Exec=env DXVK_LOG_LEVEL='none' DXVK_STATE_CACHE_PATH='/home/CHANGEME/Wine Prefixes/Guild Wars 2/dxvk_state_cache' MESA_GLSL_CACHE_DIR='/home/CHANGEME/Wine Prefixes/Guild Wars 2' __NV_PRIME_RENDER_OFFLOAD='1' __VK_LAYER_NV_optimus='NVIDIA_only' WINEDEBUG='-all' WINEPREFIX='/home/CHANGEME/Wine Prefixes/Guild Wars 2' wine '/home/CHANGEME/Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -autologin |
Type=Application | Type=Application |
StartupNotify=true | StartupNotify=true |
| |
[Desktop Action Update] | [Desktop Action Update] |
Exec=env WINEDEBUG='-all' WINEPREFIX='/home/CHANGEME/Wine Prefixes/Guild Wars 2' wine '/home/CHANGEME/Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -image | Exec=env DXVK_LOG_LEVEL='none' DXVK_STATE_CACHE_PATH='/home/CHANGEME/Wine Prefixes/Guild Wars 2/dxvk_state_cache' MESA_GLSL_CACHE_DIR='/home/CHANGEME/Wine Prefixes/Guild Wars 2' WINEDEBUG='-all' WINEPREFIX='/home/CHANGEME/Wine Prefixes/Guild Wars 2' wine '/home/CHANGEME/Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -image |
Name=Update Game Data | Name=Update Game Data |
| |
[Desktop Action Repair] | [Desktop Action Repair] |
Exec=env WINEDEBUG='-all' WINEPREFIX='/home/CHANGEME/Wine Prefixes/Guild Wars 2' wine '/home/CHANGEME/Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -repair | Exec=env DXVK_LOG_LEVEL='none' DXVK_STATE_CACHE_PATH='/home/CHANGEME/Wine Prefixes/Guild Wars 2/dxvk_state_cache' MESA_GLSL_CACHE_DIR='/home/CHANGEME/Wine Prefixes/Guild Wars 2' WINEDEBUG='-all' WINEPREFIX='/home/CHANGEME/Wine Prefixes/Guild Wars 2' wine '/home/CHANGEME/Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -repair |
Name=Check and Repair Data | Name=Check and Repair Data |
| |
| |
==== Guild Wars 2 ==== | ==== Guild Wars 2 ==== |
| |
**** | |
| |
cd ~/'Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && | cd ~/'Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && |
| |
| DXVK_LOG_LEVEL='none' |
| |
WINEDEBUG='-all' | WINEDEBUG='-all' |
GALLIUM_HUD='cpu0+cpu1+cpu2+cpu3;GPU-load,requested-VRAM+VRAM-usage;fps' | GALLIUM_HUD='cpu0+cpu1+cpu2+cpu3;GPU-load,requested-VRAM+VRAM-usage;fps' |
| |
WINEPREFIX=~/'Wine Prefixes/Guild Wars 2' wine ~/'Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -autologin | __NV_PRIME_RENDER_OFFLOAD='1' __VK_LAYER_NV_optimus='NVIDIA_only' |
| |
| DXVK_STATE_CACHE_PATH=~/'Wine Prefixes/Guild Wars 2/dxvk_state_cache' MESA_GLSL_CACHE_DIR=~/'Wine Prefixes/Guild Wars 2' WINEPREFIX=~/'Wine Prefixes/Guild Wars 2' wine ~/'Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -autologin |
| |
<code>-dx9single</code> | <code>-dx9single</code> |