User Tools

Site Tools


games:wine:guild_wars_2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
games:wine:guild_wars_2 [2019/05/21 21:01] Sean Rhonegames:wine:guild_wars_2 [2022/10/01 08:44] – [Information] Sean Rhone
Line 1: Line 1:
 ====== Information ====== ====== Information ======
  
-  * Guild Wars 2 ((https://www.guildwars2.com))+  * [[https://www.guildwars2.com|Guild Wars 2]] 
 +  * Standalone
   * 64-bit   * 64-bit
 +  * :!: 2022/10/01: This does not work as-is with Wine Staging as it needs a patch ((''fixme:vulkan:X11DRV_vkCreateWin32SurfaceKHR Application requires child window rendering, which is not implemented yet'')), therefore either a custom Wine package is needed, Lutris, or Steam/Proton (TODO: Get the actual issue report URL for it)
 +
 +===== 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:opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]] +  * [[distros:fedora_workstation_gnome|Fedora Workstation]] 
-  * [[notes:wine|Wine]]+  * :!: [[notes:wine|Wine]] ((GW2 benefits from Esync significantly))
  
 ===== Notes ===== ===== Notes =====
  
-  * Esync is built into Staging and should be used for better performance +  * ''-dx9single'' reduces performance when Esync is enabled by at least 15 FPS
-  * D9VK should be used+
  
 ====== Install ====== ====== Install ======
Line 19: Line 24:
 ===== Guild Wars 2 ===== ===== Guild Wars 2 =====
  
-  * :!: When the launcher is shown, the desktop environment slows down noticeably 
   * 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
Line 25: Line 29:
   * Close the launcher   * 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 ~/'Downloads/Guild Wars 2/Gw2Setup.exe'
  
 ===== Restore Gw2.dat ===== ===== Restore Gw2.dat =====
Line 35: Line 39:
 ===== Wine Configuration ===== ===== Wine Configuration =====
  
-  * :!: 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
Line 48: Line 51:
   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 
 +  * https://github.com/Sporif/dxvk-async
  
-  * D3D9 to Vulkan+  * D3D11 to Vulkan 
 +  * Async
  
 ===== Download ===== ===== Download =====
  
-  * https://git.froggi.es/joshua/d9vk/-/jobs ((until D9VK potentially starts releasing builds)) +  * https://github.com/Sporif/dxvk-async/releases
-  * Download the latest artifacts+
  
 ===== Install ===== ===== Install =====
  
-  :!: If there are any other files in ''/tmp/build'', they will be **deleted**+****
  
-  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'+  rm -rf '/tmp/dxvk-'&& cd '/tmp' && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz&& chmod +x '/tmp/dxvk-'*'/setup_dxvk.sh' && cd ~ && WINEPREFIX=~/'Wine Prefixes/Guild Wars 2' '/tmp/dxvk-'*'/setup_dxvk.sh' install && rm -rf '/tmp/dxvk-'* && cd ~ && mkdir -p ~/'Wine Prefixes/Guild Wars 2/dxvk_state_cache' && sync
  
 ====== Desktop Launcher ====== ====== Desktop Launcher ======
Line 84: Line 88:
 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='noneWINEDEBUG='-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 MESA_SHADER_CACHE_DIR='/home/CHANGEME/Wine Prefixes/Guild Wars 2DXVK_STATE_CACHE_PATH='/home/CHANGEME/Wine Prefixes/Guild Wars 2/dxvk_state_cache' 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
 Path=/home/CHANGEME/Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2 Path=/home/CHANGEME/Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2
-Icon=0637_Gw2-64.0+Icon=1431_Gw2-64.0
 Actions=Kill;Update;Repair;Cache; Actions=Kill;Update;Repair;Cache;
  
Line 96: Line 100:
  
 [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 MESA_SHADER_CACHE_DIR='/home/CHANGEME/Wine Prefixes/Guild Wars 2' DXVK_STATE_CACHE_PATH='/home/CHANGEME/Wine Prefixes/Guild Wars 2/dxvk_state_cache' 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 MESA_SHADER_CACHE_DIR='/home/CHANGEME/Wine Prefixes/Guild Wars 2' DXVK_STATE_CACHE_PATH='/home/CHANGEME/Wine Prefixes/Guild Wars 2/dxvk_state_cache' 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
  
 [Desktop Action Cache] [Desktop Action Cache]
-Exec=bash -c "rm -Rf ~/'Wine Prefixes/Guild Wars 2/drive_c/users/'$USER'/Application Data/Guild Wars 2/Coherent Dumps/'* ~/'Wine Prefixes/Guild Wars 2/drive_c/windows/temp/'* ~/'Wine Prefixes/Guild Wars 2/drive_c/users/'$USER'/Temp/'* && sync"+Exec=bash -c "rm -Rf ~/'Wine Prefixes/Guild Wars 2/mesa_shader_cache/'* ~/'Wine Prefixes/Guild Wars 2/dxvk_state_cache/'~/'Wine Prefixes/Guild Wars 2/drive_c/users/'$USER'/Application Data/Guild Wars 2/Coherent Dumps/'* ~/'Wine Prefixes/Guild Wars 2/drive_c/windows/temp/'* ~/'Wine Prefixes/Guild Wars 2/drive_c/users/'$USER'/Temp/'* && sync"
 Name=Cache Clean-up</code> Name=Cache Clean-up</code>
  
   sed -i 's/'CHANGEME'/'$USER'/g' ~/'.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'
 +
 +===== Steam Launcher =====
 +
 +  * Guild Wars 2
 +
 +  Guild Wars 2
 +
 +  nano ~/'Wine Prefixes/Guild Wars 2/steam-launcher.sh' && chmod +x ~/'Wine Prefixes/Guild Wars 2/steam-launcher.sh'
 +
 +<code>
 +#!/bin/sh
 +
 +# Environment Variables
 +export MESA_SHADER_CACHE_DIR=~/'Wine Prefixes/Guild Wars 2'
 +export DXVK_STATE_CACHE_PATH=~/'Wine Prefixes/Guild Wars 2/dxvk_state_cache' 
 +export WINEPREFIX=~/'Wine Prefixes/Guild Wars 2'
 +
 +# Working Directory
 +cd ~/'Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2'
 +
 +# Launch
 +wine ~/'Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -autologin
 +
 +# End</code>
  
 ====== Quick Commands ====== ====== Quick Commands ======
Line 138: Line 166:
  
 ==== 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' && 
  
-  WINEDEBUG='-all'+  GALLIUM_HUD='cpu0+cpu1+cpu2+cpu3,cpu4+cpu5+cpu6+cpu7;cpu8+cpu9+cpu10+cpu11,cpu12+cpu13+cpu14+cpu15;GPU-load,requested-VRAM+VRAM-usage;fps,API-thread-offloaded-slots+API-thread-direct-slots+API-thread-num-syncs'
  
-  GALLIUM_HUD='cpu0+cpu1+cpu2+cpu3;GPU-load,requested-VRAM+VRAM-usage;fps'+  DXVK_HUD=full
  
-  WINEPREFIX=~/'Wine Prefixes/Guild Wars 2' wine ~/'Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -autologin+  MESA_SHADER_CACHE_DIR=~/'Wine Prefixes/Guild Wars 2' DXVK_STATE_CACHE_PATH=~/'Wine Prefixes/Guild Wars 2/dxvk_state_cache' 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>
Line 159: Line 185:
 **** ****
  
-  cd ~/'Wine Prefixes/Guild Wars 2/drive_c/Program Files/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' -image && sync+  cd ~/'Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2' &&   MESA_SHADER_CACHE_DIR=~/'Wine Prefixes/Guild Wars 2' DXVK_STATE_CACHE_PATH=~/'Wine Prefixes/Guild Wars 2/dxvk_state_cache' WINEPREFIX=~/'Wine Prefixes/Guild Wars 2' wine ~/'Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -image && sync
  
 ==== Repair ==== ==== Repair ====
Line 165: Line 191:
 **** ****
  
-  cd ~/'Wine Prefixes/Guild Wars 2/drive_c/Program Files/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' -repair && sync+  cd ~/'Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2' &&   MESA_SHADER_CACHE_DIR=~/'Wine Prefixes/Guild Wars 2' DXVK_STATE_CACHE_PATH=~/'Wine Prefixes/Guild Wars 2/dxvk_state_cache' WINEPREFIX=~/'Wine Prefixes/Guild Wars 2' wine ~/'Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -repair && sync
  
 ===== File Manager ===== ===== File Manager =====
Line 174: Line 200:
  
   gio open ~/'Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2'   gio open ~/'Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2'
 +
C:/www/wiki/data/pages/games/wine/guild_wars_2.txt · Last modified: 2023/09/27 06:05 by Sean Rhone