Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
games:wine:world_of_warcraft_classic [2023/05/28 20:41] – Sean Rhone | games:wine:world_of_warcraft_classic [2023/05/29 14:58] – Sean Rhone |
---|
| |
WINEPREFIX=~/'.wine/World of Warcraft Classic' winetricks 'win10' | WINEPREFIX=~/'.wine/World of Warcraft Classic' winetricks 'win10' |
| |
| ====== DXVK ====== |
| |
| ===== Download ===== |
| |
| * https://github.com/doitsujin/dxvk/actions |
| |
| ===== Install ===== |
| |
| * TODO: Backup original prefix dlls first in separate command |
| |
| ls ~/'Downloads/dxvk-'*'.zip' && rm -Rf '/tmp/dxvk-actions' && mkdir -p '/tmp/dxvk-actions' && unzip ~/'Downloads/dxvk-'*'.zip' -d '/tmp/dxvk-actions' && cp --backup '/tmp/dxvk-actions/x64/'*'.dll' ~/'.wine/World of Warcraft Classic/drive_c/windows/system32/' && cp --backup '/tmp/dxvk-actions/x32/'*'.dll' ~/'.wine/World of Warcraft Classic/drive_c/windows/syswow64/' && WINEPREFIX=~/'.wine/World of Warcraft Classic' winetricks 'd3d9=native' 'd3d10core=native' 'd3d11=native' 'dxgi=native' && sync |
| |
| ====== vkd3d-proton ====== |
| |
| ===== Download ===== |
| |
| * https://github.com/HansKristian-Work/vkd3d-proton/actions |
| |
| ===== Install ===== |
| |
| **** |
| |
| ls ~/'Downloads/vkd3d-proton-'*'.zip' && rm -Rf '/tmp/vkd3d-proton-actions' && mkdir -p '/tmp/vkd3d-proton-actions' && unzip ~/'Downloads/vkd3d-proton-'*'.zip' -d '/tmp/vkd3d-proton-actions' && cp --backup '/tmp/vkd3d-proton-actions/x64/'*'.dll' ~/'.wine/World of Warcraft Classic/drive_c/windows/system32/' && cp --backup '/tmp/vkd3d-proton-actions/x86/'*'.dll' ~/'.wine/World of Warcraft Classic/drive_c/windows/syswow64/' && WINEPREFIX=~/'.wine/World of Warcraft Classic' winetricks 'd3d12=native' 'd3d12core=native' && sync |
| |
====== Desktop Launcher ====== | ====== Desktop Launcher ====== |
Comment=Classic-era World of Warcraft | Comment=Classic-era World of Warcraft |
Categories=Game | Categories=Game |
Exec=env MESA_SHADER_CACHE_DIR='/home/CHANGEME/.wine/World of Warcraft Classic' DXVK_STATE_CACHE_PATH='/home/CHANGEME/.wine/World of Warcraft Classic' VKD3D_SHADER_CACHE_PATH='/home/CHANGEME/.wine/World of Warcraft Classic' __GL_SHADER_DISK_CACHE_PATH='/home/CHANGEME/.wine/World of Warcraft Classic' WINEPREFIX='/home/CHANGEME/.wine/World of Warcraft Classic' wine '/home/CHANGEME/.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/World of Warcraft Launcher.exe' | Exec=env MESA_SHADER_CACHE_DIR='/home/CHANGEME/.wine/World of Warcraft Classic' WINEPREFIX='/home/CHANGEME/.wine/World of Warcraft Classic' wine '/home/CHANGEME/.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/World of Warcraft Launcher.exe' |
Type=Application | Type=Application |
StartupNotify=true | StartupNotify=true |
Path=/home/CHANGEME/.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft | Path=/home/CHANGEME/.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft |
Icon=B271_Diablo II Resurrected Launcher.0 | Icon=5298_World of Warcraft Launcher.0 |
Actions=Kill;Cache; | Actions=Kill; |
| |
[Desktop Action Kill] | [Desktop Action Kill] |
Exec=env WINEPREFIX='/home/CHANGEME/Wine Prefixes/Diablo II Resurrected' wineserver -k | Exec=env WINEPREFIX='/home/CHANGEME/.wine/World of Warcraft Classic' wineserver -k |
Name=Force-close | Name=Force-close</code> |
| |
[Desktop Action Cache] | |
Exec=bash -c "rm -Rf ~/'Wine Prefixes/Diablo II Resurrected/mesa_shader_cache' ~/'Wine Prefixes/Diablo II Resurrected/vkd3d-proton.cache' ~/'Wine Prefixes/Diablo II Resurrected/GLCache' ~/'Wine Prefixes/Diablo II Resurrected/drive_c/windows/temp/'* ~/'Wine Prefixes/Diablo II Resurrected/drive_c/users/'$USER'/Temp/'* && sync" | |
Name=Cache Clean-up</code> | |
| |
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/World of Warcraft Classic/World of Warcraft Classic.desktop' | sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/World of Warcraft Classic/World of Warcraft Classic.desktop' |
# Environment Variables | # Environment Variables |
export MESA_SHADER_CACHE_DIR=~/'.wine/World of Warcraft Classic' | export MESA_SHADER_CACHE_DIR=~/'.wine/World of Warcraft Classic' |
export DXVK_STATE_CACHE_PATH=~/'.wine/World of Warcraft Classic' | #export __GL_SHADER_DISK_CACHE_PATH=~/'.wine/World of Warcraft Classic' |
export VKD3D_SHADER_CACHE_PATH=~/'.wine/World of Warcraft Classic' | |
export __GL_SHADER_DISK_CACHE_PATH=~/'.wine/World of Warcraft Classic' | |
export WINEPREFIX=~/'.wine/World of Warcraft Classic' | export WINEPREFIX=~/'.wine/World of Warcraft Classic' |
| |