Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
games:wine:guild_wars_1 [2023/09/10 21:33] – Sean Rhone | games:wine:guild_wars_1 [2023/09/27 06:10] – [Prerequisites] Sean Rhone |
---|
===== Prerequisites ===== | ===== Prerequisites ===== |
| |
* [[distros:fedora_workstation_gnome | Fedora Workstation]] | * [[distros:fedora_workstation_gnome|Fedora Workstation]] |
| * [[notes:wine|Wine]] |
| |
====== Install ====== | ====== Install ====== |
| |
* Install to default directory when prompted | * Install to default directory when prompted |
* Wait for initial download to complete ((should be about 5500+ files around 140MB)) | * Wait for initial download to complete ((should be about 5500+ files around 140 MB)) |
* Game will start up, at a low resolution, full-screen; close it | * The game will automatically launch after initial download; close it |
| |
mkdir -p ~/'.wine' ~/'Downloads/Guild Wars' && wget -O ~/'Downloads/Guild Wars/GwSetup.exe' 'http://cloudfront.guildwars2.com/client/GwSetup.exe' && WINEPREFIX=~/'.wine/Guild Wars' WINEARCH='win32' wine ~/'Downloads/Guild Wars/GwSetup.exe' | mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Guild Wars' WINEARCH='win32' winetricks 'winxp' && sync && wget -O ~/'Downloads/GwSetup.exe' 'https://cloudfront.guildwars2.com/client/GwSetup.exe' && MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars' DXVK_STATE_CACHE_PATH=~/'.wine/Guild Wars' WINEPREFIX=~/'.wine/Guild Wars' wine ~/'Downloads/GwSetup.exe' |
| |
===== Restore Gw.dat ===== | ===== Restore Gw.dat ===== |
| |
**** | * This expects ''Gw.dat'' in the ''~/Downloads/Guild Wars'' folder |
| * 2023/09/27: ''Gw.dat'' after ''-image'' is TODO GB |
| |
mv ~/'Downloads/Guild Wars/Gw.dat' ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' | mv ~/'Downloads/Guild Wars/Gw.dat' ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' |
| |
===== Graphics ===== | ===== Clean Up ===== |
| |
* Enable CSMT or Gallium Nine | |
| |
WINEPREFIX=~/'.wine/Guild Wars' winecfg | |
| |
===== Video Memory ===== | |
| |
**** | **** |
| |
WINEPREFIX=~/'.wine/Guild Wars 2' wine reg add 'HKCU\Software\Wine\Direct3D' /v 'VideoMemorySize' /t 'REG_SZ' /d '8192' /f | cd ~ && rm -Rf ~/'Downloads/Guild Wars' ~/'Downloads/GwSetup.exe' ~/'Desktop/Guild Wars.desktop' && sync |
| |
===== Sandbox ===== | ====== Desktop Launcher ====== |
| |
**** | ===== Initial ===== |
| |
WINEPREFIX=~/'.wine/Guild Wars' winetricks 'sandbox' | |
| |
===== Clean Up ===== | |
| |
**** | **** |
| |
rm -Rf ~/'Downloads/Guild Wars' && sync | rm -rf ~/'.local/share/applications/wine/Programs/Guild Wars' |
| |
====== Desktop Launchers ====== | |
| |
===== Guild Wars ===== | ===== Guild Wars ===== |
[Desktop Entry] | [Desktop Entry] |
Name=Guild Wars | Name=Guild Wars |
Comment=In a world torn by conflict, where human kingdoms are all but destroyed and guilds sacrifice all for a chance to control the Hall of Heroes, a champion must rise from the ruins of a once-proud land to lead refugees from the ashes and fulfill an ancient prophecy. Will that hero be you? | |
Categories=Game;AdventureGame;RolePlaying | Categories=Game;AdventureGame;RolePlaying |
Exec=env WINEDEBUG='-all' WINEPREFIX='/home/CHANGEME/.wine/Guild Wars' wine '/home/CHANGEME/.wine/Guild Wars/drive_c/Program Files/Guild Wars/Gw.exe' -email "x" -password "x" -character "x" -lodfull | Exec='/bin/bash' -c "cd ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars' WINEPREFIX=~/'.wine/Guild Wars' wine ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars/Gw.exe' -lodfull -bmp -email 'x' -password 'x' -character 'x'" |
Type=Application | Type=Application |
StartupNotify=true | StartupNotify=true |
Path=/home/CHANGEME/.wine/Guild Wars/drive_c/Program Files/Guild Wars | Icon=C711_Gw.0 |
Icon=0637_Gw2-64.0 | StartupWMClass=gw.exe |
Actions=Kill;Update;Repair; | Actions=Kill;Update;Repair;Notes; |
| |
[Desktop Action Kill] | [Desktop Action Kill] |
Exec=env WINEPREFIX='/home/CHANGEME/.wine/Guild Wars' wineserver -k | Exec='/bin/bash' -c "WINEPREFIX=~/'.wine/Guild Wars' wineserver --kill" |
Name=Force-close | Name=Force-close Guild Wars |
| |
[Desktop Action Update] | [Desktop Action Update] |
Exec=env WINEDEBUG='-all' WINEPREFIX='/home/CHANGEME/.wine/Guild Wars' wine '/home/CHANGEME/.wine/Guild Wars/drive_c/Program Files/Guild Wars/Gw.exe' -image | Exec='/bin/bash' -c "cd ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' && MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars' WINEPREFIX=~/'.wine/Guild Wars' wine ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars/Gw.exe' -image" |
Name=Update Game Data | Name=Update Game Data |
| |
[Desktop Action Repair] | [Desktop Action Repair] |
Exec=env WINEDEBUG='-all' WINEPREFIX='/home/CHANGEME/.wine/Guild Wars' wine '/home/CHANGEME/.wine/Guild Wars/drive_c/Program Files/Guild Wars/Gw.exe' -repair | Exec='/bin/bash' -c "cd ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars' WINEPREFIX=~/'.wine/Guild Wars' wine ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars/Gw.exe' -repair" |
Name=Check and Repair Data</code> | Name=Check and Repair Data |
| |
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/Guild Wars/Guild Wars.desktop' | [Desktop Action Notes] |
| StartupNotify=false |
| Exec=gio open 'https://wiki.realmofespionage.xyz/games:wine:guild_wars_1' |
| Name=Installation Notes |
| |
| # End</code> |
| |
====== Quick Commands ====== | ====== Quick Commands ====== |
**** | **** |
| |
WINEPREFIX=~/'.wine/Guild Wars' wineserver -k | WINEPREFIX=~/'.wine/Guild Wars' wineserver --kill && killall -9 'Gw.exe' |
| |
===== Execute ===== | ===== Reset Settings ===== |
| |
==== Guild Wars ==== | |
| |
**** | **** |
| |
cd ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' && | cd ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars' WINEPREFIX=~/'.wine/Guild Wars' wine ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars/Gw.exe' -prefresetlocal |
| |
mesa_glthread=true | ===== Execute ===== |
| |
WINEDEBUG='-all' | ==== Guild Wars ==== |
| |
GALLIUM_HUD='cpu0+cpu1+cpu2+cpu3;GPU-load,requested-VRAM+VRAM-usage;API-thread-offloaded-slots+API-thread-direct-slots+API-thread-num-syncs;fps' | cd ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars' WINEDEBUG='' WINEPREFIX=~/'.wine/Guild Wars' wine ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars/Gw.exe' -lodfull |
| |
WINEPREFIX=~/'.wine/Guild Wars' wine ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars/Gw.exe' | <code>-email "x" -password "x" -character "x"</code> |
| |
==== Updater ==== | ==== Updater ==== |
**** | **** |
| |
cd ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' && WINEPREFIX=~/'.wine/Guild Wars' wine ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars/Gw.exe' -image | cd ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' && MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars' WINEPREFIX=~/'.wine/Guild Wars' wine ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars/Gw.exe' -image |
| |
==== Repair ==== | ==== Repair ==== |
**** | **** |
| |
cd ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' && WINEPREFIX=~/'.wine/Guild Wars' wine ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars/Gw.exe' -repair | cd ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Guild Wars' WINEPREFIX=~/'.wine/Guild Wars' wine ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars/Gw.exe' -repair |
| |
===== File Manager ===== | ===== File Manager ===== |
**** | **** |
| |
gio open ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars' | gio open ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' |