Next revision | Previous revision |
games:wine:monster_hunter_world [2020/03/09 05:15] – created Sean Rhone | games:wine:monster_hunter_world [2020/04/15 12:56] (current) – [mf-install] Sean Rhone |
---|
* [[http://monsterhunterworld.com/|Monster Hunter World]] | * [[http://monsterhunterworld.com/|Monster Hunter World]] |
* [[https://store.steampowered.com/app/582010/MONSTER_HUNTER_WORLD/|Steam]] | * [[https://store.steampowered.com/app/582010/MONSTER_HUNTER_WORLD/|Steam]] |
* 64-bit | * [[https://github.com/ValveSoftware/Proton/issues/175|Proton Issue Tracker]] |
* [[https://www.protondb.com/app/582010|ProtonDB]] | * [[https://www.protondb.com/app/582010|ProtonDB]] |
* [[https://appdb.winehq.org/objectManager.php?sClass=version&iId=37601|WineHQ AppDB]] | * [[https://appdb.winehq.org/objectManager.php?sClass=version&iId=37601|WineHQ AppDB]] |
| |
* [[distros:fedora_workstation_gnome|Fedora Workstation]] | * [[distros:fedora_workstation_gnome|Fedora Workstation]] |
* [[notes:wine|Wine]] | |
| |
====== Install ====== | ===== Notes ===== |
| |
* :!: TODO | * Benefits from a Fsync-compatible kernel |
| * Benefits or requires GloriousEggroll's custom Proton build |
| |
===== Battle.net App ===== | ====== Install ====== |
| |
* Install to default directory when prompted ((C:/Program Files (x86)/Battle.net)) | |
* [ ] Launch Battle.net when you start your computer | |
* Log-in | |
* :!: Change Battle.net App settings | |
* Close | |
| |
mkdir -p ~/'Wine Prefixes' && wget 'dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe' -O ~/'Downloads/Battle.net-Setup.exe' && WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' WINEARCH='win64' wine ~/'Downloads/Battle.net-Setup.exe' | |
| |
===== Restore World of Warcraft ===== | ===== Steam ===== |
| |
**** | **** |
| |
rm -Rf ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft' && mv ~/'Downloads/World of Warcraft' ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)' && sync | sudo dnf install 'steam' |
| |
===== World of Warcraft ===== | ===== Custom Proton ===== |
| |
* Install World of Warcraft Classic | * [[https://github.com/GloriousEggroll/proton-ge-custom|GloriousEggroll/proton-ge-custom GitHub]] |
* Requires 4GB+ free space | * [[https://github.com/GloriousEggroll/proton-ge-custom/releases|Releases]] |
* :!: Will likely report "something broke" after starting the install, this can be safely ignored | |
| |
cd ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/Battle.net' && WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' wine ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe' | * :!: ''Proton-5.5-GE-1'' did not fix video playback, and introduces an issue with exiting the game |
| * ''Proton-5.4-GE-3'' is fine |
| |
===== Clean Up ===== | mkdir -p ~/'.steam/root/compatibilitytools.d' && gio open ~/'.steam/root/compatibilitytools.d' |
| |
**** | ===== Monster Hunter World ===== |
| |
rm -rf ~/'Downloads/Battle.net-Setup.exe' ~/'Desktop/Battle.net.desktop' ~/'Desktop/World of Warcraft Classic.desktop' && sync | * Install from Steam or restore from backup through Steam |
| * :!: Need to go to properties and force the use of a specific compatibility tool, specifically the one downloaded on the previous step |
| * :!: This can take up to 20-30 minutes |
| |
====== DXVK ====== | ===== mf-install ===== |
| |
===== Information ===== | * [[https://github.com/z0z0z/mf-install|z0z0z/mf-install GitHub]] |
| |
* https://github.com/doitsujin/dxvk | * This fixes movie playback, notably trying to play back weapon preview videos |
| * :!: If MH:W freezes when trying to play a movie, or for seemingly no reason, this may be required |
| * :!: Observe [[https://github.com/ValveSoftware/Proton/issues/175|Proton issue #175]] and [[https://www.protondb.com/app/582010|ProtonDB]] to see if there's any reports related to this |
| * :!: As of 2020/04/06, ''Proton-5.4-GE-3'' requires this |
| * :!: Be aware of [[https://github.com/z0z0z/mf-install/issues/44|issue #44]] with CPUs with more than 8 cores |
| |
* D3D11 to Vulkan | ==== Download ==== |
| |
===== Download ===== | |
| |
* https://github.com/doitsujin/dxvk/releases | |
| |
===== Install ===== | |
| |
**** | **** |
| |
rm -rf '/tmp/dxvk-'* && cd '/tmp' && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' && cd ~ && WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' '/tmp/dxvk-'*'/setup_dxvk.sh' install && rm -rf '/tmp/dxvk-'* && mkdir -p ~/'Wine Prefixes/World of Warcraft Classic/dxvk_state_cache' && sync | rm -Rf '/tmp/mf-install' && git clone --branch 'master' --depth '1' 'https://github.com/z0z0z/mf-install.git' '/tmp/mf-install' && sync |
| |
====== AddOns ====== | ==== Install ==== |
| |
===== Folder ===== | * :!: The ''PROTON'' environment variable needs to point to a folder containing the Proton compatibility tool planned to be used |
| |
**** | cd '/tmp/mf-install' && WINEPREFIX=~/'.steam/steam/steamapps/compatdata/582010/pfx' PROTON=~/'.steam/root/compatibilitytools.d/Proton-5.4-GE-3' ./mf-install.sh -proton |
| |
mkdir -p ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/Interface/AddOns' && gio open ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/Interface/AddOns' | |
| |
===== AddOn Name ===== | |
| |
* Addon URL (obvious TODO) | |
| |
====== Settings ====== | |
| |
===== Fonts ===== | |
| |
==== Information ==== | |
| |
* Create ''Fonts'' folder in WoW root folder | |
* Drop fonts into this folder ending in ''.ttf'' and rename to the following | |
* :!: TODO: This should work in Classic if it worked in Legion, but this is untested | |
| |
gio open '/usr/share/fonts' | |
| |
ARIALN | |
| |
FRIENDS | |
| |
FRIZQT__ | |
| |
MORPHEUS | |
| |
skurri | |
| |
==== Folder ==== | ==== Clean-up ==== |
| |
**** | **** |
| |
mkdir -p ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/Fonts' && gio open ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/Fonts' | cd ~ && rm -Rf '/tmp/mf-install' && sync |
| |
===== CVars ===== | ====== Steam Launcher ====== |
| |
==== WeatherDensity ==== | * [[notes:wine#other|More Environment Variables]] |
| * See [[https://github.com/ValveSoftware/Proton#runtime-config-options|Runtime Config Options]] for Proton-specific environment variables |
| * :!: For any environment variables added, make sure ''%command%'' is placed at the end of the line |
| |
* http://wowwiki.wikia.com/wiki/CVar_weatherDensity | ===== Log ===== |
| |
/console WeatherDensity 3 | * Can be used to test if ''fsync'' is being used |
| * :!: Probably shouldn't keep this enabled all the time |
| |
==== violenceLevel ==== | PROTON_LOG=1 %command% |
| |
* http://wowwiki.wikia.com/wiki/CVar_violenceLevel | ===== NVIDIA Optimus ===== |
| |
/console violenceLevel 5 | * If using [[http://download.nvidia.com/XFree86/Linux-x86_64/440.64/README/primerenderoffload.html|PRIME Render Offload]] |
| |
====== Desktop Launcher ====== | __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only %command% |
| |
===== Initial ===== | ====== Settings ====== |
| |
**** | * :!: A lot of this needs verification and is quick observation |
| |
rm -Rf ~/'.local/share/applications/wine/Programs/Battle.net' ~/'.local/share/applications/wine/Programs/World of Warcraft Classic' && mkdir -p ~/'.local/share/applications/wine/Programs/World of Warcraft Classic' | * MH:W uses more video memory under this configuration (Proton + DXVK) than Windows 10 natively |
| * :!: Use of High-resolution textures on a 6GB GTX 1060 at 1080p goes over 6GB of video memory usage, and causes significant performance drops |
| * Volumetric lighting should be set to Low; doesn't seem to affect graphics quality, but hits performance hard above Low |
| * Vsync should be disabled seemingly |
| |
===== World of Warcraft (Battle.net App) ===== | ====== File Manager ====== |
| |
nano ~/'.local/share/applications/wine/Programs/World of Warcraft Classic/World of Warcraft Classic.desktop' | ===== Compatibility Tools ===== |
| |
<code> | |
[Desktop Entry] | |
Name=World of Warcraft Classic | |
Comment=The drums of war thunder once again... Return to a lost era of Azeroth and enjoy the timeless stories that defined this world at war. | |
Categories=Game;AdventureGame;RolePlaying | |
Exec=env DXVK_LOG_LEVEL='none' DXVK_STATE_CACHE_PATH='/home/CHANGEME/Wine Prefixes/World of Warcraft Classic/dxvk_state_cache' MESA_GLSL_CACHE_DIR='/home/CHANGEME/Wine Prefixes/World of Warcraft Classic' WINEDEBUG=-all WINEPREFIX='/home/CHANGEME/Wine Prefixes/World of Warcraft Classic' wine '/home/CHANGEME/Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/World of Warcraft Launcher.exe' | |
Type=Application | |
StartupNotify=true | |
Path=/home/CHANGEME/Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft | |
Icon=5C12_World of Warcraft Launcher.0 | |
Actions=Kill;Cache; | |
| |
[Desktop Action Kill] | |
Exec=env WINEPREFIX='/home/CHANGEME/Wine Prefixes/World of Warcraft Classic' wineserver -k | |
Name=Force-close | |
| |
[Desktop Action Cache] | |
Exec=bash -c "rm -Rf ~/'Wine Prefixes/World of Warcraft Classic/dxvk_state_cache' ~/'Wine Prefixes/World of Warcraft Classic/mesa_shader_cache' ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/Cache' ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/Logs' ~/'Wine Prefixes/World of Warcraft Classic/drive_c/windows/temp/'* ~/'Wine Prefixes/World of Warcraft Classic/drive_c/users/'$USER'/Temp/'* && sync" | |
Name=Cache Clean-up</code> | |
| |
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/World of Warcraft Classic/World of Warcraft Classic.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 Classic/World of Warcraft Classic.desktop' | |
| |
====== Quick Commands ====== | |
| |
===== Winecfg ===== | |
| |
**** | **** |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' winecfg | gio open ~/'.steam/steam/compatibilitytools.d' |
| |
===== Winetricks ===== | |
| |
**** | |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' winetricks | |
| |
===== Registry Editor ===== | |
| |
**** | |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' regedit | |
| |
===== Kill ===== | |
| |
**** | |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' wineserver -k | |
| |
===== Execute ===== | |
| |
==== Battle.net App ==== | |
| |
* [[notes:wine#environment_variables|More Environment Variables]] | |
| |
cd ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/Battle.net' && | |
| |
DXVK_HUD='full' | |
| |
WINEDEBUG='-all' | |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' wine ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe' | |
| |
==== World of Warcraft (Battle.net App) ==== | |
| |
* [[notes:wine#environment_variables|More Environment Variables]] | |
| |
cd ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft' && | |
| |
DXVK_HUD='full' | |
| |
WINEDEBUG='-all' | |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' wine ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/World of Warcraft Launcher.exe' | |
| |
==== World of Warcraft ==== | |
| |
* [[notes:wine#environment_variables|More Environment Variables]] | |
| |
cd ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_' && | |
| |
DXVK_HUD='full' | |
| |
WINEDEBUG='-all' | |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' wine ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/Wow.exe' | |
| |
===== File Manager ===== | |
| |
==== Root ==== | ===== Wine Prefix ===== |
| |
**** | **** |
| |
gio open ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_' | gio open ~/'.steam/steam/steamapps/compatdata/582010/pfx' |
| |
==== AddOns ==== | ===== Game Data ===== |
| |
**** | **** |
| |
gio open ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/AddOns' | gio open ~/'.steam/steam/steamapps/common/Monster Hunter World' |