Table of Contents

Information

Prerequisites

Notes

Install

GOG.com

mkdir -p ~/'Wine Prefixes' && WINEPREFIX=~/'Wine Prefixes/Grim Dawn' WINEARCH='win64' wine ~/'Downloads/Grim Dawn/setup_grim_dawn_'*'.exe'

Clean Up

rm -rf ~/'Downloads/Grim Dawn' ~/'Desktop/Grim Dawn.desktop' && sync

DXVK

Information

Download

Install

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

Desktop Launcher

Initial

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'

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'

Quick Commands

Winecfg

WINEPREFIX=~/'Wine Prefixes/Grim Dawn' winecfg

Winetricks

WINEPREFIX=~/'Wine Prefixes/Grim Dawn' winetricks

Registry Editor

WINEPREFIX=~/'Wine Prefixes/Grim Dawn' regedit

Kill

WINEPREFIX=~/'Wine Prefixes/Grim Dawn' wineserver -k

Execute

Grim Dawn

64-bit

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'

32-bit

cd ~/'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'

Repair

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'

File Manager

Root

gio open ~/'Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn'
1)
C:\GOG Games\Grim Dawn