dxvk: Resident Evil 2 remake stucks at the loading screen

In RESIDENT EVIL 2 / BIOHAZARD RE:2 I can play the intro level (at the gas station) which ends with a cutscene where Leon and Claire are driving the police car. After that there is a loading screen, but the game doesn’t load the next level. If I quit the game with Alt+F4, I see this error: re2r_2019-01-25_20-55-29

Software information

RESIDENT EVIL 2 / BIOHAZARD RE:2 https://store.steampowered.com/app/883710/ I tried max and min graphics settings, both characters.

System information

  • GPU: Nvidia GTX 1060 6GB
  • Driver: 415.27
  • Wine version: Proton 3.16-6 beta and wine-4.0-rc7 (Staging)
  • DXVK version: 0.95. I tried to compile a newer version, but get errors like these: error: ‘mutex’ in namespace ‘std’ does not name a type error: ‘mutex’ is not a member of ‘std’

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 57 (5 by maintainers)

Most upvoted comments

Guys, guys, it works! The instruction:

  1. Download scripts from https://github.com/tonix64/python-installcab
  2. Edit installcab.py the way described here: https://github.com/tonix64/python-installcab/issues/1 (uncomment lines 129-137 which look like value = value.replace("%SystemRoot%", "C:\\windows"))
  3. Launch the terminal in the folder with these scripts and run this: $ export WINEPREFIX=/your_path_to_steam_library/steamapps/compatdata/883710/pfx/ $ ./install-mf-64.sh
  4. Copy mfplat.dll to /your_path_to_steam_library/steamapps/common/RESIDENT EVIL 2 BIOHAZARD RE2/ That’s it!

My terminal output:

$ ./install-mf-64.sh mediafoundation

  • wow64_microsoft-windows-mediafoundation_31bf3856ad364e35_6.1.7601.17514_none_04d9defd57c1f6bf.manifest (wow64)
  • amd64_microsoft-windows-mediafoundation_31bf3856ad364e35_6.1.7601.17514_none_fa8534ab236134c4.manifest (win64)
  • mf.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/syswow64
  • mf.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/system32
  • mfps.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/system32 002f:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet 002f:err:mscoree:LoadLibraryShim error reading registry key for installroot 002f:err:mscoree:LoadLibraryShim error reading registry key for installroot 002f:err:mscoree:LoadLibraryShim error reading registry key for installroot 002f:err:mscoree:LoadLibraryShim error reading registry key for installroot 002f:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 002f:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 0033:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet 0033:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 0033:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 0023:fixme:dwmapi:DwmIsCompositionEnabled 0x6dbd1518 0035:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69ebd3de, context 0x856590, init_notify 0, handle 0x114fa10): stub 004f:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet 004f:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 004f:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 004d:fixme:dwmapi:DwmIsCompositionEnabled 0x6d5d3018 0051:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0cb608, context 0x8d8870, init_notify 0, handle 0x111fc88): stub wine: configuration in ‘/2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx’ has been updated. mf
  • wow64_microsoft-windows-mf_31bf3856ad364e35_6.1.7601.17514_none_b5899692ced89b37.manifest (wow64)
  • amd64_microsoft-windows-mf_31bf3856ad364e35_6.1.7601.17514_none_ab34ec409a77d93c.manifest (win64) mfreadwrite
  • wow64_microsoft-windows-mfreadwrite_31bf3856ad364e35_6.1.7601.17514_none_21d097c56304ba5a.manifest (wow64)
  • amd64_microsoft-windows-mfreadwrite_31bf3856ad364e35_6.1.7601.17514_none_177bed732ea3f85f.manifest (win64)
  • mfreadwrite.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/system32
  • mfreadwrite.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/syswow64 wmadmod
  • amd64_microsoft-windows-wmadmod_31bf3856ad364e35_6.1.7601.17514_none_e474f0ac34979bc4.manifest (win64)
  • x86_microsoft-windows-wmadmod_31bf3856ad364e35_6.1.7601.17514_none_885655287c3a2a8e.manifest (win32)
  • wmadmod.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/syswow64
  • wmadmod.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/system32 wmvdecod
  • x86_microsoft-windows-wmvdecod_31bf3856ad364e35_6.1.7601.17514_none_c491ee3d3e923b78.manifest (win32)
  • amd64_microsoft-windows-wmvdecod_31bf3856ad364e35_6.1.7601.17514_none_20b089c0f6efacae.manifest (win64)
  • wmvdecod.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/syswow64
  • wmvdecod.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/system32 wmadmod
  • amd64_microsoft-windows-wmadmod_31bf3856ad364e35_6.1.7601.17514_none_e474f0ac34979bc4.manifest (win64)
  • x86_microsoft-windows-wmadmod_31bf3856ad364e35_6.1.7601.17514_none_885655287c3a2a8e.manifest (win32)
  • wmadmod.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/syswow64
  • wmadmod.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/system32

Done! Now you need to get mfplat.dll version 12.0.7601.23471 from elsewhere and place it in your application directory (it was different before editing the script and had errors)

A screenshot from the video that wasn’t played before: 20190129175846_1

A game screenshot after: 20190129180230_1

Don’t forget to replace the old DXVK files in /your_path_to_steam_library/steamapps/common/Proton 3.16 Beta/dist/lib64/wine/dxvk/ with the newest version 0.96. Also, run winetricks mf before executing the Python script to make sure you have file ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe to extract dlls from.

I searched for mfplat.dll version 12.0.7601.23471 using https://duckduckgo.com/ and it was the second in the search results (make sure that it is for windows 7 64bit or it won’t work)

You can email me if you can’t find it and I will send it to you

If anyone is viewing this issue still in hopes to run RE2 through Proton, I’ve made a comprehensive guide detailing every fix and every step: https://steamcommunity.com/sharedfiles/filedetails/?id=1654060648

just wanted to say installcab.py is in python2 so if you are on a distro like Arch Linux, instead of the third step on https://github.com/doitsujin/dxvk/issues/886#issuecomment-458487008 use this (assuming you are in the installcab.py directory and exported the WINEPREFIX path):

python2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe mediafoundation python2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe _mf python2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe mfreadwrite python2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe wmadmod python2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe wmvdecod

the mfplat.dll file in https://github.com/ValveSoftware/Proton/files/2705555/WMF_workaround.zip is working for me.

Just finished Clairs chapter…no problems at all FPS was great all the way on max settings.

@laichiaheng Made a video for you for making and finding the WINEPREFIX of Lutris to work with. https://www.youtube.com/watch?v=HYCCsGatnrg So in the video the prefix would be ~/Documents/Random_game/ I installed RE2 in the default steam library so for me it was ~/.local/share/Steam/steamapps/compatdata/883710/pfx/ But the location of the game to put mfplat.dll file was in ~/.local/share/Steam/steamapps/common/RESIDENT EVIL 2 BIOHAZARD RE2/

Just to say I got this running on my end with those same drivers and that same GPU and manually upgraded DXVK 0.95. I’ll try to play up to this part.