Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:wine:grim_dawn [2018/01/06 14:22] – Sean Rhone | games:wine:grim_dawn [2019/11/03 21:27] (current) – Sean Rhone |
---|
====== Information ====== | ====== Information ====== |
| |
* Grim Dawn ((http://www.grimdawn.com)) | * [[https://www.grimdawn.com/|Grim Dawn]] |
* GOG ((https://www.gog.com)) | * [[https://www.gog.com/game/grim_daw|GOG.com]] |
* 32-bit ((Grim Dawn may get a 64-bit binary in the future since it has a x64 dll folder)) | * :!: 64-bit |
| * [[https://appdb.winehq.org/objectManager.php?sClass=application&iId=15568|WineHQ AppDB]] |
| * [[https://www.protondb.com/app/219990|ProtonDB]] |
| |
===== Prerequisites ===== | ===== Prerequisites ===== |
| |
* [[distros:fedora_workstation_gnome | Fedora Workstation]] | * [[distros:fedora_workstation_gnome|Fedora Workstation]] |
| * [[notes:wine|Wine]] |
| |
===== Notes ===== | ===== Notes ===== |
| |
* Enable Gallium Nine for AMD Open-Source Graphics | * 64-bit executable is always D3D11 |
* Enable CSMT for NVIDIA Proprietary Graphics | * 32-bit executable can be either D3D11 (default) or D3D9 (command-line argument) |
| * :!: 64-bit executable starts to a black screen as of 2019/10/03, and is unusable |
| * :!: 32-bit executable in D3D9 mode has rendering issues at the main menu as of 2019/10/03, and is likely unusable |
| * The only good-known config currently is 32-bit in D3D11 mode with DXVK |
| |
====== Install ====== | ====== Install ====== |
| |
===== Grim Dawn ===== | ===== GOG.com ===== |
| |
* Expects a ''.7z'' archive at ''~/Downloads'' containing the setup executable and data bin files | * Install to default directory when prompted ((C:\GOG Games\Grim Dawn)) |
* Install to default directory when prompted | * :!: Disregard runtime errors after installation |
* May present various errors at the end of installation due to VC++ Redist installation, these are safe to ignore | |
| |
mkdir -p ~/'Wine Prefixes' ~/'Downloads/Grim Dawn' && cd ~/'Downloads/Grim Dawn' && 7za x ~/'Downloads/setup_grim_dawn_'*'.7z' && sync && WINEPREFIX=~/'Wine Prefixes/Grim Dawn' WINEARCH='win32' winetricks --unattended 'vcrun2010' 'vcrun2012' 'vcrun2015' && sync && WINEPREFIX=~/'Wine Prefixes/Grim Dawn' wine ~/'Downloads/Grim Dawn/setup_grim_dawn'*'.exe' | mkdir -p ~/'Wine Prefixes' && WINEPREFIX=~/'Wine Prefixes/Grim Dawn' WINEARCH='win64' wine ~/'Downloads/Grim Dawn/setup_grim_dawn_'*'.exe' |
| |
===== Sandbox ===== | ===== Clean Up ===== |
| |
**** | **** |
| |
WINEPREFIX=~/'Wine Prefixes/Grim Dawn' winetricks 'sandbox' | rm -rf ~/'Downloads/Grim Dawn' ~/'Desktop/Grim Dawn.desktop' && sync |
| |
===== CSMT/Gallium Nine ===== | ====== DXVK ====== |
| |
**** | ===== Information ===== |
| |
WINEPREFIX=~/'Wine Prefixes/Grim Dawn' winecfg | * https://github.com/doitsujin/dxvk |
| |
===== Clean Up ===== | * D3D11 to Vulkan |
| |
| ===== Download ===== |
| |
| * https://github.com/doitsujin/dxvk/releases |
| |
| ===== Install ===== |
| |
**** | **** |
| |
rm -Rf ~/'Downloads/setup_grim_dawn_'*'.7z' ~/'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 |
| |
====== Desktop Launchers ====== | ====== Desktop Launcher ====== |
| |
===== Initial ===== | ===== Initial ===== |
**** | **** |
| |
rm -Rf ~/'.local/share/applications/wine/Programs/GOG.com' && mkdir -p ~/'.local/share/applications/wine/Programs/Grim Dawn' | 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 ===== | ===== Grim Dawn ===== |
[Desktop Entry] | [Desktop Entry] |
Name=Grim Dawn | 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. This ARPG features complex character development, hundreds of unique items, crafting and quests with choice & consequence. | 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 | Categories=Game;AdventureGame;RolePlaying |
Exec=env 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 | 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 | Type=Application |
StartupNotify=true | StartupNotify=true |
Path=/home/CHANGEME/Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn | Path=/home/CHANGEME/Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn/x64 |
Icon=FDA1_Grim Dawn.0 | Icon=FDA1_Grim Dawn.0 |
Actions=Repair; | Actions=32;DX9;Kill;Cache; |
| |
[Desktop Action Repair] | [Desktop Action 32] |
Exec=env WINEDEBUG='-all' WINEPREFIX='/home/CHANGEME/Wine Prefixes/Grim Dawn' wine '/home/CHANGEME/Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn/Repair.exe' | 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' |
Name=Check and Repair Data</code> | 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' | sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/Grim Dawn/Grim Dawn.desktop' |
==== Grim Dawn ==== | ==== 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' |
| |
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/Grim Dawn.exe' /d3d9 | WINEPREFIX=~/'Wine Prefixes/Grim Dawn' wine ~/'Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn/Grim Dawn.exe' |
| |
==== Repair ==== | ==== Repair ==== |