Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
games:wine:grim_dawn [2018/01/06 14:22] – Sean Rhone | games:wine:grim_dawn [2019/11/03 19:04] – WIP 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 ===== | |
| |
* Enable Gallium Nine for AMD Open-Source Graphics | |
* Enable CSMT for NVIDIA Proprietary Graphics | |
| |
====== 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 |
Icon=FDA1_Grim Dawn.0 | Icon=FDA1_Grim Dawn.0 |
Actions=Repair; | Actions=Kill;Cache; |
| |
[Desktop Action Repair] | [Desktop Action Kill] |
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 WINEPREFIX='/home/CHANGEME/Wine Prefixes/Grim Dawn' wineserver -k |
Name=Check and Repair Data</code> | 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' |
===== Execute ===== | ===== Execute ===== |
| |
==== Grim Dawn ==== | ==== Battle.net App ==== |
| |
**** | **** |
| |
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 | cd ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/Battle.net' && WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wine ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe' |
| |
==== Repair ==== | ==== World of Warcraft (Battle.net App) ==== |
| |
**** | **** |
| |
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' | cd ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft' && WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wine ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/World of Warcraft Launcher.exe' |
| |
| ==== Grim Dawn ==== |
| |
| **** |
| |
| 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/x64/Grim Dawn.exe' |
| |
===== File Manager ===== | ===== File Manager ===== |