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
Last revisionBoth sides next revision
games:wine:guild_wars_2 [2022/05/30 14:45] – [Prerequisites] Sean Rhonegames:wine:guild_wars_2 [2023/09/27 05:29] – [Restore Gw2.dat] Sean Rhone
Line 13: Line 13:
  
   * [[distros:fedora_workstation_gnome|Fedora Workstation]]   * [[distros:fedora_workstation_gnome|Fedora Workstation]]
-  * :!: [[notes:wine|Wine]] ((GW2 benefits from Esync significantly)) +  * [[notes:wine|Wine]]
- +
-===== Notes ===== +
- +
-  * ''-dx9single'' reduces performance when Esync is enabled+
  
 ====== Install ====== ====== Install ======
Line 28: Line 24:
   * 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 ~/'Downloads/Guild Wars 2/Gw2Setup.exe'+  mkdir -p ~/'.wine' ~/'Downloads/Guild Wars 2' && wget -O ~/'Downloads/Guild Wars 2/Gw2Setup.exe' 'https://account.arena.net/content/download/gw2/win/64' && MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars 2' DXVK_STATE_CACHE_PATH=~/'.wine/Guild Wars 2' WINEPREFIX=~/'.wine/Guild Wars 2' WINEARCH='win64' wine ~/'Downloads/Guild Wars 2/Gw2Setup.exe'
  
 ===== Restore Gw2.dat ===== ===== Restore Gw2.dat =====
  
   * This expects ''Gw2.dat'' in the ''~/Downloads/Guild Wars 2'' folder   * This expects ''Gw2.dat'' in the ''~/Downloads/Guild Wars 2'' folder
 +  * 2023/09/27: ''Gw2.dat'' after ''-image'' is 74.7 GB
  
-  mv ~/'Downloads/Guild Wars 2/Gw2.dat' ~/'Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && sync +  mv ~/'Downloads/Guild Wars 2/Gw2.dat' ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && sync
- +
-===== 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 1080p native resolution, use a virtual desktop of ''1280x720'' and default ''96'' dpi +
-  * [x] Automatically capture the mouse in full-screen windows +
- +
-  WINEPREFIX=~/'Wine Prefixes/Guild Wars 2' winecfg+
  
 ===== Clean-up ===== ===== Clean-up =====
Line 49: Line 37:
 **** ****
  
-  rm -Rf ~/'Downloads/Guild Wars 2' ~/'Desktop/Guild Wars 2.desktop' && sync+  rm -Rf ~/'Downloads/Guild Wars 2' ~/'Desktop/Guild Wars 2.desktop' ~/'.wine/Guild Wars 2/'*'.dxvk-cache' && sync
  
-====== DXVK ======+====== Libraries ======
  
-===== Information =====+===== DXVK =====
  
-  * https://github.com/doitsujin/dxvk +  * https://github.com/doitsujin/dxvk/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package))
-  * https://github.com/Sporif/dxvk-async +
- +
-  * D3D11 to Vulkan +
-  * Async +
- +
-===== Download ===== +
- +
-  * https://github.com/Sporif/dxvk-async/releases +
- +
-===== Install ===== +
- +
-****+
  
-  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.shinstall && rm -rf '/tmp/dxvk-'&& cd ~ && mkdir -p ~/'Wine Prefixes/Guild Wars 2/dxvk_state_cache' && sync+  ls ~/'Downloads/dxvk-master-'*'.zip' && rm -Rf '/tmp/dxvk-master' && mkdir -p '/tmp/dxvk-master' && unzip ~/'Downloads/dxvk-master-'*'.zip' -d '/tmp/dxvk-master/' && cp --backup '/tmp/dxvk-master/x64/'*'.dll' ~/'.wine/Guild Wars 2/drive_c/windows/system32/&& cp --backup '/tmp/dxvk-master/x32/'*'.dll~/'.wine/Guild Wars 2/drive_c/windows/syswow64/' && WINEPREFIX=~/'.wine/Guild Wars 2' winetricks 'd3d9=native' 'd3d10core=native' 'd3d11=native' 'dxgi=native' && mkdir -p ~/'.wine/Guild Wars 2/dxvk_shader_cache' && sync
  
 ====== Desktop Launcher ====== ====== Desktop Launcher ======
Line 86: Line 62:
 [Desktop Entry] [Desktop Entry]
 Name=Guild Wars 2 Name=Guild Wars 2
-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 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' -autologin+Exec='/bin/bash' -c "cd ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars 2' DXVK_STATE_CACHE_PATH=~/'.wine/Guild Wars 2/dxvk_shader_cache' WINEPREFIX=~/'.wine/Guild Wars 2' wine ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -autologin -bmp"
 Type=Application Type=Application
 StartupNotify=true StartupNotify=true
-Path=/home/CHANGEME/Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2 
 Icon=1431_Gw2-64.0 Icon=1431_Gw2-64.0
-Actions=Kill;Update;Repair;Cache;+StartupWMClass=gw2-64.exe 
 +Actions=Cache;Kill;Update;Repair;Notes; 
 + 
 +[Desktop Action Cache] 
 +Exec='/bin/bash' -c "rm -Rf ~/'.wine/Guild Wars 2/mesa_shader_cache/'* ~/'.wine/Guild Wars 2/dxvk_shader_cache/'* && sync && notify-send 'The Guild Wars 2 cache has been cleaned.'" 
 +Name=Cache Cleanup
  
 [Desktop Action Kill] [Desktop Action Kill]
-Exec=env WINEPREFIX='/home/CHANGEME/Wine Prefixes/Guild Wars 2' wineserver -k+Exec='/bin/bash' -c "WINEPREFIX=~/'.wine/Guild Wars 2' wineserver --kill"
 Name=Force-close Name=Force-close
  
 [Desktop Action Update] [Desktop Action Update]
-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+Exec='/bin/bash' -c "cd ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars 2' DXVK_STATE_CACHE_PATH=~/'.wine/Guild Wars 2/dxvk_shader_cache' WINEPREFIX=~/'.wine/Guild Wars 2' wine ~/'.wine/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 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 +Exec='/bin/bash' -c "cd ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars 2' DXVK_STATE_CACHE_PATH=~/'.wine/Guild Wars 2/dxvk_shader_cache' WINEPREFIX=~/'.wine/Guild Wars 2' wine ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -repair" 
-Name=Check and Repair Data+Name=Repair Game Data
  
-[Desktop Action Cache+[Desktop Action Notes] 
-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+StartupNotify=false 
-Name=Cache Clean-up</code>+Exec='/bin/bash-c "gio open 'https://wiki.realmofespionage.xyz/games:wine:guild_wars_2'" 
 +Name=Installation Notes
  
-  sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/Guild Wars 2/Guild Wars 2.desktop'+# End</code>
  
 ====== Quick Commands ====== ====== Quick Commands ======
Line 119: Line 99:
 **** ****
  
-  WINEPREFIX=~/'Wine Prefixes/Guild Wars 2' winecfg+  WINEPREFIX=~/'.wine/Guild Wars 2' winecfg
  
 ===== Winetricks ===== ===== Winetricks =====
Line 125: Line 105:
 **** ****
  
-  WINEPREFIX=~/'Wine Prefixes/Guild Wars 2' winetricks+  WINEPREFIX=~/'.wine/Guild Wars 2' winetricks
  
 ===== Registry Editor ===== ===== Registry Editor =====
Line 131: Line 111:
 **** ****
  
-  WINEPREFIX=~/'Wine Prefixes/Guild Wars 2' regedit+  WINEPREFIX=~/'.wine/Guild Wars 2' regedit
  
 ===== Kill ===== ===== Kill =====
Line 137: Line 117:
 **** ****
  
-  WINEPREFIX=~/'Wine Prefixes/Guild Wars 2' wineserver -k+  WINEPREFIX=~/'.wine/Guild Wars 2' wineserver --kill
  
 ===== Execute ===== ===== Execute =====
Line 143: Line 123:
 ==== Guild Wars 2 ==== ==== Guild Wars 2 ====
  
-  cd ~/'Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && +****
  
-  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'+  cd ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars 2' DXVK_STATE_CACHE_PATH=~/'.wine/Guild Wars 2/dxvk_shader_cache' WINEPREFIX=~/'.wine/Guild Wars 2' WINEDEBUG='' wine ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe-autologin
  
-  DXVK_HUD=full+=== Other ===
  
-  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+  * https://wiki.guildwars2.com/wiki/Command_line_arguments
  
-<code>-dx9single</code>+<code>-prefreset</code>
  
 <code>-forwardrenderer</code> <code>-forwardrenderer</code>
Line 159: Line 139:
 ==== Updater ==== ==== Updater ====
  
-****+  ''Gw2-64.exe -image''
  
-  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+  cd ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars 2' DXVK_STATE_CACHE_PATH=~/'.wine/Guild Wars 2/dxvk_shader_cache' WINEPREFIX=~/'.wine/Guild Wars 2' WINEDEBUG='' wine ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -image
  
 ==== Repair ==== ==== Repair ====
  
-****+  ''Gw2-64.exe -repair''
  
-  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+  cd ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars 2' DXVK_STATE_CACHE_PATH=~/'.wine/Guild Wars 2/dxvk_shader_cache' WINEPREFIX=~/'.wine/Guild Wars 2' WINEDEBUG='' wine ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe' -repair
  
 ===== File Manager ===== ===== File Manager =====
Line 175: Line 155:
 **** ****
  
-  gio open ~/'Wine Prefixes/Guild Wars 2/drive_c/Program Files/Guild Wars 2'+  gio open ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2'
  
/var/www/wiki/data/pages/games/wine/guild_wars_2.txt · Last modified: 2023/09/27 06:05 by Sean Rhone