mkdir -p ~/'Wine Prefixes' && WINEPREFIX=~/'Wine Prefixes/Grim Dawn' WINEARCH='win64' wine ~/'Downloads/Grim Dawn/setup_grim_dawn_'*'.exe'
rm -rf ~/'Downloads/Grim Dawn' ~/'Desktop/Grim Dawn.desktop' && sync
rm -rf '/tmp/dxvk-'* && cd '/tmp' && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' && cd ~ && WINEPREFIX=~/'Wine Prefixes/Grim Dawn' '/tmp/dxvk-'*'/setup_dxvk.sh' install && rm -rf '/tmp/dxvk-'* && mkdir -p ~/'Wine Prefixes/Grim Dawn/dxvk_state_cache' && sync
rm -Rf ~/'.local/share/applications/wine/Programs/GOG.com' ~/'.local/share/applications/wine/Programs/Grim Dawn' && mkdir -p ~/'.local/share/applications/wine/Programs/Grim Dawn'
nano ~/'.local/share/applications/wine/Programs/Grim Dawn/Grim Dawn.desktop'
[Desktop Entry] Name=Grim Dawn Comment=Enter an apocalyptic fantasy world where humanity is on the brink of extinction, iron is valued above gold and trust is hard earned. Categories=Game;AdventureGame;RolePlaying Exec=env DXVK_LOG_LEVEL='none' DXVK_STATE_CACHE_PATH='/home/CHANGEME/Wine Prefixes/Grim Dawn/dxvk_state_cache' MESA_GLSL_CACHE_DIR='/home/CHANGEME/Wine Prefixes/Grim Dawn' WINEDEBUG=-all WINEPREFIX='/home/CHANGEME/Wine Prefixes/Grim Dawn' wine '/home/CHANGEME/Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn/x64/Grim Dawn.exe' Type=Application StartupNotify=true Path=/home/CHANGEME/Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn/x64 Icon=FDA1_Grim Dawn.0 Actions=32;DX9;Kill;Cache; [Desktop Action 32] Exec=env DXVK_LOG_LEVEL='none' DXVK_STATE_CACHE_PATH='/home/CHANGEME/Wine Prefixes/Grim Dawn/dxvk_state_cache' MESA_GLSL_CACHE_DIR='/home/CHANGEME/Wine Prefixes/Grim Dawn' WINEDEBUG=-all WINEPREFIX='/home/CHANGEME/Wine Prefixes/Grim Dawn' wine '/home/CHANGEME/Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn/Grim Dawn.exe' Path=/home/CHANGEME/Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn Name=Run 32-bit with D3D11 [Desktop Action DX9] Exec=env DXVK_LOG_LEVEL='none' DXVK_STATE_CACHE_PATH='/home/CHANGEME/Wine Prefixes/Grim Dawn/dxvk_state_cache' MESA_GLSL_CACHE_DIR='/home/CHANGEME/Wine Prefixes/Grim Dawn' WINEDEBUG=-all WINEPREFIX='/home/CHANGEME/Wine Prefixes/Grim Dawn' wine '/home/CHANGEME/Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn/Grim Dawn.exe' /d3d9 Path=/home/CHANGEME/Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn Name=Run 32-bit with D3D9 [Desktop Action Kill] Exec=env WINEPREFIX='/home/CHANGEME/Wine Prefixes/Grim Dawn' wineserver -k Name=Force-close [Desktop Action Cache] Exec=bash -c "rm -Rf ~/'Wine Prefixes/Grim Dawn/dxvk_state_cache' ~/'Wine Prefixes/Grim Dawn/mesa_shader_cache' ~/'Wine Prefixes/Grim Dawn/drive_c/windows/temp/'* ~/'Wine Prefixes/Grim Dawn/drive_c/users/'$USER'/Temp/'* && sync" Name=Cache Clean-up
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/Grim Dawn/Grim Dawn.desktop'
WINEPREFIX=~/'Wine Prefixes/Grim Dawn' winecfg
WINEPREFIX=~/'Wine Prefixes/Grim Dawn' winetricks
WINEPREFIX=~/'Wine Prefixes/Grim Dawn' regedit
WINEPREFIX=~/'Wine Prefixes/Grim Dawn' wineserver -k
cd ~/'Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn/x64' &&
DXVK_HUD='full'
WINEDEBUG='-all'
WINEPREFIX=~/'Wine Prefixes/Grim Dawn' wine ~/'Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn/x64/Grim Dawn.exe'
/d3d9
command-line argument to start in D3D9 mode instead of D3D11cd ~/'Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn' &&
DXVK_HUD='full'
WINEDEBUG='-all'
WINEPREFIX=~/'Wine Prefixes/Grim Dawn' wine ~/'Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn/Grim Dawn.exe'
cd ~/'Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn' && WINEPREFIX=~/'Wine Prefixes/Grim Dawn' wine ~/'Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn/Repair.exe'
gio open ~/'Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn'