Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:wine:grim_dawn [2019/11/03 19:48] – Sean Rhone | games:wine:grim_dawn [2024/08/13 16:13] (current) – removed Sean Rhone |
---|
====== Information ====== | |
| |
* [[https://www.grimdawn.com/|Grim Dawn]] | |
* [[https://www.gog.com/game/grim_daw|GOG.com]] | |
* 64-bit | |
* [[https://appdb.winehq.org/objectManager.php?sClass=application&iId=15568|WineHQ AppDB]] | |
* [[https://www.protondb.com/app/219990|ProtonDB]] | |
| |
===== TODO ===== | |
| |
* :!: The 64-bit binary doesn't seem to work; starts to a black screen | |
| |
===== Prerequisites ===== | |
| |
* [[distros:fedora_workstation_gnome|Fedora Workstation]] | |
* [[notes:wine|Wine]] | |
| |
====== Install ====== | |
| |
===== GOG.com ===== | |
| |
* Install to default directory when prompted ((C:\GOG Games\Grim Dawn)) | |
* :!: Disregard runtime errors after installation | |
| |
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 ===== | |
| |
* https://github.com/doitsujin/dxvk | |
| |
* D3D11 to Vulkan | |
| |
===== Download ===== | |
| |
* https://github.com/doitsujin/dxvk/releases | |
| |
===== 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' | |
| |
<code> | |
[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</code> | |
| |
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 === | |
| |
* :!: Add the ''/d3d9'' command-line argument to start in D3D9 mode instead of D3D11 | |
| |
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' | |