Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:wine:guild_wars_1 [2023/09/27 06:10] – [Prerequisites] Sean Rhone | games:wine:guild_wars_1 [2024/08/13 16:13] (current) – removed Sean Rhone |
---|
====== Information ====== | |
| |
* Guild Wars ((https://www.guildwars.com)) | |
* 32-bit | |
| |
===== Prerequisites ===== | |
| |
* [[distros:fedora_workstation_gnome|Fedora Workstation]] | |
* [[notes:wine|Wine]] | |
| |
====== Install ====== | |
| |
===== Guild Wars ===== | |
| |
* Install to default directory when prompted | |
* Wait for initial download to complete ((should be about 5500+ files around 140 MB)) | |
* The game will automatically launch after initial download; close it | |
| |
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 ===== | |
| |
* 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' | |
| |
===== Clean Up ===== | |
| |
**** | |
| |
cd ~ && rm -Rf ~/'Downloads/Guild Wars' ~/'Downloads/GwSetup.exe' ~/'Desktop/Guild Wars.desktop' && sync | |
| |
====== Desktop Launcher ====== | |
| |
===== Initial ===== | |
| |
**** | |
| |
rm -rf ~/'.local/share/applications/wine/Programs/Guild Wars' | |
| |
===== Guild Wars ===== | |
| |
* :!: This needs edited and cannot be copy/pasted as-is | |
* Values for ''email'', ''password'', and ''character'' need filled in for auto-login | |
| |
mkdir -p ~/'.local/share/applications/wine/Programs/Guild Wars' && nano ~/'.local/share/applications/wine/Programs/Guild Wars/Guild Wars.desktop' | |
| |
<code> | |
[Desktop Entry] | |
Name=Guild Wars | |
Categories=Game;AdventureGame;RolePlaying | |
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 | |
StartupNotify=true | |
Icon=C711_Gw.0 | |
StartupWMClass=gw.exe | |
Actions=Kill;Update;Repair;Notes; | |
| |
[Desktop Action Kill] | |
Exec='/bin/bash' -c "WINEPREFIX=~/'.wine/Guild Wars' wineserver --kill" | |
Name=Force-close Guild Wars | |
| |
[Desktop Action Update] | |
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 | |
| |
[Desktop Action 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 | |
| |
[Desktop Action Notes] | |
StartupNotify=false | |
Exec=gio open 'https://wiki.realmofespionage.xyz/games:wine:guild_wars_1' | |
Name=Installation Notes | |
| |
# End</code> | |
| |
====== Quick Commands ====== | |
| |
===== Winecfg ===== | |
| |
**** | |
| |
WINEPREFIX=~/'.wine/Guild Wars' winecfg | |
| |
===== Winetricks ===== | |
| |
**** | |
| |
WINEPREFIX=~/'.wine/Guild Wars' winetricks | |
| |
===== Registry Editor ===== | |
| |
**** | |
| |
WINEPREFIX=~/'.wine/Guild Wars' regedit | |
| |
===== Kill ===== | |
| |
**** | |
| |
WINEPREFIX=~/'.wine/Guild Wars' wineserver --kill && killall -9 'Gw.exe' | |
| |
===== Reset Settings ===== | |
| |
**** | |
| |
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 | |
| |
===== Execute ===== | |
| |
==== Guild Wars ==== | |
| |
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 | |
| |
<code>-email "x" -password "x" -character "x"</code> | |
| |
==== Updater ==== | |
| |
**** | |
| |
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 ==== | |
| |
**** | |
| |
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 ===== | |
| |
==== Root ==== | |
| |
**** | |
| |
gio open ~/'.wine/Guild Wars/drive_c/Program Files/Guild Wars' | |
| |