Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
games:wine:grim_dawn [2019/11/03 18:53] – WIP Sean Rhone | games:wine:grim_dawn [2019/11/03 19:55] – Sean Rhone |
---|
* [[https://www.grimdawn.com/|Grim Dawn]] | * [[https://www.grimdawn.com/|Grim Dawn]] |
* [[https://www.gog.com/game/grim_daw|GOG.com]] | * [[https://www.gog.com/game/grim_daw|GOG.com]] |
* 64-bit | * :!: 64-bit |
* [[https://appdb.winehq.org/objectManager.php?sClass=application&iId=15568|WineHQ AppDB]] | * [[https://appdb.winehq.org/objectManager.php?sClass=application&iId=15568|WineHQ AppDB]] |
* [[https://www.protondb.com/app/219990|ProtonDB]] | * [[https://www.protondb.com/app/219990|ProtonDB]] |
| |
| ===== Notes ===== |
| |
| * 64-bit executable is always D3D11 |
| * 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 |
| |
===== Prerequisites ===== | ===== Prerequisites ===== |
| |
* Install to default directory when prompted ((C:\GOG Games\Grim Dawn)) | * 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' | 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/Battle.net.desktop' ~/'Desktop/World of Warcraft.desktop' && sync | rm -rf ~/'Downloads/Grim Dawn' ~/'Desktop/Grim Dawn.desktop' && sync |
| |
====== DXVK ====== | ====== DXVK ====== |
**** | **** |
| |
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 '/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 |
| |
====== Settings ====== | |
| |
===== Fonts ===== | |
| |
==== Information ==== | |
| |
* Create ''Fonts'' folder in WoW root folder | |
* Drop fonts into this folder ending in ''.ttf'' and rename to the following | |
| |
gio open '/usr/share/fonts' | |
| |
ARIALN | |
| |
FRIENDS | |
| |
FRIZQT__ | |
| |
MORPHEUS | |
| |
skurri | |
| |
==== Folder ==== | |
| |
**** | |
| |
mkdir -p ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/_retail_/Fonts' && gio open ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/_retail_/Fonts' | |
| |
===== CVars ===== | |
| |
==== WeatherDensity ==== | |
| |
* http://wowwiki.wikia.com/wiki/CVar_weatherDensity | |
| |
/console WeatherDensity 3 | |
| |
==== violenceLevel ==== | |
| |
* http://wowwiki.wikia.com/wiki/CVar_violenceLevel | |
| |
/console violenceLevel 5 | |
| |
====== Desktop Launcher ====== | ====== Desktop Launcher ====== |
**** | **** |
| |
rm -Rf ~/'.local/share/applications/wine/Programs/Battle.net' ~/'.local/share/applications/wine/Programs/World of Warcraft' && mkdir -p ~/'.local/share/applications/wine/Programs/World of Warcraft' | 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' |
| |
===== World of Warcraft (Battle.net App) ===== | ===== Grim Dawn ===== |
| |
nano ~/'.local/share/applications/wine/Programs/World of Warcraft/World of Warcraft.desktop' | nano ~/'.local/share/applications/wine/Programs/Grim Dawn/Grim Dawn.desktop' |
| |
<code> | <code> |
[Desktop Entry] | [Desktop Entry] |
Name=World of Warcraft | Name=Grim Dawn |
Comment=Azeroth paid a terrible price to end the apocalyptic march of the Legion’s crusade—but even as the world’s wounds are tended, it is the shattered trust between the Alliance and Horde that may prove hardest to mend. | 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 DXVK_LOG_LEVEL='none' DXVK_STATE_CACHE_PATH='/home/CHANGEME/Wine Prefixes/World of Warcraft/dxvk_state_cache' MESA_GLSL_CACHE_DIR='/home/CHANGEME/Wine Prefixes/World of Warcraft' WINEDEBUG=-all WINEPREFIX='/home/CHANGEME/Wine Prefixes/World of Warcraft' wine '/home/CHANGEME/Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/World of Warcraft Launcher.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/x64/Grim Dawn.exe' |
Type=Application | Type=Application |
StartupNotify=true | StartupNotify=true |
Path=/home/CHANGEME/Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft | Path=/home/CHANGEME/Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn/x64 |
Icon=5C12_World of Warcraft Launcher.0 | Icon=FDA1_Grim Dawn.0 |
Actions=Kill;Cache; | 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] | [Desktop Action Kill] |
Exec=env WINEPREFIX='/home/CHANGEME/Wine Prefixes/World of Warcraft' wineserver -k | Exec=env WINEPREFIX='/home/CHANGEME/Wine Prefixes/Grim Dawn' wineserver -k |
Name=Force-close | Name=Force-close |
| |
[Desktop Action Cache] | [Desktop Action Cache] |
Exec=bash -c "rm -Rf ~/'Wine Prefixes/World of Warcraft/dxvk_state_cache' ~/'Wine Prefixes/World of Warcraft/mesa_shader_cache' ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/_retail_/Cache' ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/_retail_/Logs' ~/'Wine Prefixes/World of Warcraft/drive_c/windows/temp/'* ~/'Wine Prefixes/World of Warcraft/drive_c/users/'$USER'/Temp/'* && sync" | 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> | Name=Cache Clean-up</code> |
| |
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/World of Warcraft/World of Warcraft.desktop' | sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/Grim Dawn/Grim Dawn.desktop' |
| |
==== High-Quality Icon ==== | |
| |
* 512x512 icon | |
| |
mkdir -p ~/'.local/share/icons/hicolor/512x512/apps' && wget 'https://i.imgur.com/xZMEiix.png' -O ~/'.local/share/icons/hicolor/512x512/apps/WBE5_Wow.0.png' && sed -i 's/5C12_World of Warcraft Launcher.0/'WBE5_Wow.0'/g' ~/'.local/share/applications/wine/Programs/World of Warcraft/World of Warcraft.desktop' | |
| |
====== Quick Commands ====== | ====== Quick Commands ====== |
**** | **** |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' winecfg | WINEPREFIX=~/'Wine Prefixes/Grim Dawn' winecfg |
| |
===== Winetricks ===== | ===== Winetricks ===== |
**** | **** |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' winetricks | WINEPREFIX=~/'Wine Prefixes/Grim Dawn' winetricks |
| |
===== Registry Editor ===== | ===== Registry Editor ===== |
**** | **** |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' regedit | WINEPREFIX=~/'Wine Prefixes/Grim Dawn' regedit |
| |
===== Kill ===== | ===== Kill ===== |
**** | **** |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wineserver -k | WINEPREFIX=~/'Wine Prefixes/Grim Dawn' wineserver -k |
| |
===== Execute ===== | ===== Execute ===== |
| |
==== Battle.net App ==== | ==== Grim Dawn ==== |
| |
**** | === 64-bit === |
| |
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' | cd ~/'Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn/x64' && |
| |
==== World of Warcraft (Battle.net App) ==== | DXVK_HUD='full' |
| |
**** | WINEDEBUG='-all' |
| |
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' | WINEPREFIX=~/'Wine Prefixes/Grim Dawn' wine ~/'Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn/x64/Grim Dawn.exe' |
| |
==== World of Warcraft ==== | === 32-bit === |
| |
**** | * :!: Add the ''/d3d9'' command-line argument to start in D3D9 mode instead of D3D11 |
| |
cd ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/_retail_' && | cd ~/'Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn' && |
| |
DXVK_HUD='full' | DXVK_HUD='full' |
WINEDEBUG='-all' | WINEDEBUG='-all' |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wine ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/_retail_/Wow.exe' | WINEPREFIX=~/'Wine Prefixes/Grim Dawn' wine ~/'Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn/Grim Dawn.exe' |
| |
===== File Manager ===== | ==== Repair ==== |
| |
==== Root ==== | |
| |
**** | **** |
| |
gio open ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/_retail_' | 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' |
| |
==== AddOns ==== | ===== File Manager ===== |
| |
| ==== Root ==== |
| |
**** | **** |
| |
gio open ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/_retail_/AddOns' | gio open ~/'Wine Prefixes/Grim Dawn/drive_c/GOG Games/Grim Dawn' |