Proton icon indicating copy to clipboard operation
Proton copied to clipboard

RESIDENT EVIL 7 biohazard (418370)

Open pprotonrep opened this issue 7 years ago • 43 comments

Steam displays "Running" for about 30 seconds and nothing happens. steam-418370.log

  • Ubuntu 18.04.1 LTS (64 bit 4.15.0-33-generic)
  • GeForce GTX 1070/PCIe/SSE2 (396.54)
  • Proton Beta 3.7-4

System information from steam

pprotonrep avatar Aug 30 '18 21:08 pprotonrep

try proton Beta 3.7-5

liberodark avatar Aug 30 '18 22:08 liberodark

Oh, wow i didn't even know that 3.7-5 was out, thanks @liberodark :bowing_man:

Unfortunately i experienced exactly the same same behaviour.

pprotonrep avatar Aug 30 '18 22:08 pprotonrep

Can confirm the same issues on both 3.7.5 and 3.7.3. Ubuntu 18.04.1 LTS AMD R9 390

markmorris avatar Sep 03 '18 22:09 markmorris

I have the same Issue with 3.7.5 and 3.7.3

Kde neon Ubuntu 18.04 base with GTX970m

SasakiSadako avatar Sep 04 '18 06:09 SasakiSadako

The main issue is Anti-Tamper, denuvo does not run in wine from what i have read. (Source: Google)

markmorris avatar Sep 23 '18 13:09 markmorris

Its a bug in wine's mfplat. Not denuvo. https://bugs.winehq.org/show_bug.cgi?id=45372 https://bugs.winehq.org/show_bug.cgi?id=45741

nickfaces avatar Nov 05 '18 14:11 nickfaces

Can somebody confirm if there are .wmv files in this game? Somebody linked from issue 1464, but I can't find a clear reference to .wmv files in this issue or in the log.

I'm not familiar with mfplat, is that related to windows media files playback?

HonkingGoose avatar Jan 28 '19 00:01 HonkingGoose

It needs Mfplat.dll (Windows Media Foundation) https://bugs.winehq.org/show_bug.cgi?id=46133

The vidoe files are ASF files that have .mov.1.x64 extension.

Ahmed-E-86 avatar Jan 28 '19 00:01 Ahmed-E-86

I'm trying this game with a WMF wine prefix.

It launches, I get past all the logos and I'm prompted to make a new save file, but I click yes and it just says failed to make a save file, and I'm stuck on this loop because the game forces you to make a save file to start.

Any ideas as to why it won't write the file or how to get around it would be nice.

indeedwatson avatar Jan 29 '19 01:01 indeedwatson

@indeedwatson

I'm trying this game with a WMF wine prefix.

It launches, I get past all the logos and I'm prompted to make a new save file, but I click yes and it just says failed to make a save file, and I'm stuck on this loop because the game forces you to make a save file to start.

Any ideas as to why it won't write the file or how to get around it would be nice.

Maybe the same problem Bayonetta has with being unable to read/write to a file. This probably won't work, but you could try this ntdll.dll workaround found here https://github.com/ValveSoftware/Proton/issues/262

ghost avatar Jan 29 '19 08:01 ghost

I'm trying this game with a WMF wine prefix.

It launches, I get past all the logos and I'm prompted to make a new save file, but I click yes and it just says failed to make a save file, and I'm stuck on this loop because the game forces you to make a save file to start.

Any ideas as to why it won't write the file or how to get around it would be nice.

The main issue happens after the save not before it. I don't know why you can't make a new save. Check your hard with Gparted, and make sure that you have writing permission with the partition contains the game files.

Ahmed-E-86 avatar Jan 29 '19 12:01 Ahmed-E-86

Hello @ahmed-elsayed2017, redistribution of dlls from Windows is problematic. You've earned a 24 hour timeout for the link spam pointing to it.

kisak-valve avatar Jan 30 '19 00:01 kisak-valve

Resident Evil 7 Biohazard starts after modifying some lines to the old fix toni did before.

PS: This fix will work with some game that require Windows Media Foundation.

screenshot_20190130_014143

The modified script (without any dlls from Windows) : python-installcab-master.zip

You need to write: winetricks mf export WINEPREFIX=/The/Location/Of/The/Game/Prefix ./install-mf-64.sh You need to copy mfplat.dll version 12.0.7601.23471 (Windows7 64bit) to the game folder

Ahmed-E-86 avatar Jan 31 '19 00:01 Ahmed-E-86

Will this trick work with the Playable Teaser? Can you post a report on PROTONDB?

CSahajdacny avatar Jan 31 '19 01:01 CSahajdacny

Will this trick work with the Playable Teaser?

It should work.

Can you post a report on PROTONDB?

It is a manual fix that is not easy to follow for some people and reuquires dlls from Windows (which is illegal somehow).

Ahmed-E-86 avatar Jan 31 '19 13:01 Ahmed-E-86

It is a manual fix that is not easy to follow for some people and reuquires dlls from Windows (which is illegal somehow).

That is not a problem for me because I have another PC with Windows 7.

CSahajdacny avatar Jan 31 '19 15:01 CSahajdacny

I've made a comprehensive guide detailing as much as I could with information from this issue and some others to run RE2 through Proton. I'm not sure if it will work exactly for RE7 but the solution seems to be the same. https://steamcommunity.com/sharedfiles/filedetails/?id=1654060648

Phil25 avatar Feb 13 '19 16:02 Phil25

Thank you @Phil25! I tried it and was able to get to the first cinematic (after choosing "Continue game" on the typewriter) but unfortunately the game crashed again, and now it doesn't even start anymore. I should do it once more, with clean/minimal steps, but it means I should delete the files and redownload the game (~30GB)... I'll try again at some point, but not now :sweat_smile:

Also I had to manually download windows6.1-KB976932-X64.exe into ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe from this link: https://www.microsoft.com/en-us/download/details.aspx?id=5842 (the winetricks mf command only downloaded the X86 version at first).

I also followed this guide to install Wine 4 (could be useful to others on Debian 9): https://kifarunix.com/how-to-install-wine-4-0-on-debian-9-8/

pawamoy avatar Apr 27 '19 16:04 pawamoy

@pawamoy I've written a script to easily add media foundation support to a wine prefix.

You could try that. You may or may not have to delete the current folder at steamapps/compatdata/418370 and run the game again to generate a new one, before running the script.

ghost avatar Apr 27 '19 20:04 ghost

Hi @z0z0z, thanks for the script :slightly_smiling_face: I just tried it, unfortunately the game crashes at startup.

I deleted my compatdata and userdata folders for RE7, restarted the game, re-deleted userdata, used your script, restarted the game. It crashes before the intro.

It seems the Python script I got from the other guide is making it work better (I got to the intro, it crashes during it). Will continue to experiment. Thank you a lot anyways :slightly_smiling_face: !!

EDIT: tried many things without success, it just seems too random. I don't know why it worked at some point and then stopped working. I will wait for more people figuring it out.

pawamoy avatar Apr 28 '19 13:04 pawamoy

Following the steps @ahmed-elsayed2017 posted I got the game running, everything seems to be working fine so far on the latest Proton, getting good performance at ultra.

Playing on lubuntu 18.04, a GTX 1070 (latest propiatery drivers), and an i7-7700k with 16GB of ram.

2019-05-31-155237_1915x1077_scrot

Edit; I'm seriously baffled by just how good this is running? I'm sitting at well over 150fps here!

solenum avatar May 31 '19 14:05 solenum

Good luck! Here are the steps I needed to take to get it running.

export WINEPREFIX=/home/<user>/.steam/steamapps/compatdata/418370/pfx/
export WINEARCH=win64
winetricks mf
git clone https://github.com/tonix64/python-installcab
cd python-installcab/
./install-mf-64.sh

# Get a copy of mfplat.dll (From your own windows install or whatever) 
# Move it to /home/<user>/.steam/steamapps/common/RESIDENT EVIL 7 biohazard/
# Play!

# MD5 checksum of 421K file, this version works for me.
# 54b5dcd55b223bc5df50b82e1e9e86b1  mfplat.dll

Edit; Recorded some gameplay

solenum avatar May 31 '19 15:05 solenum

For me work after fix on Arch after various tries, the method is correct and the problem is video play.

Download https://github.com/tonix64/python-installcab winetricks mf export WINEPREFIX=/The/Location/Of/The/Game/Prefix NOTE: NOT GAME FOLDER, WINE PREFIX INSTEAD!!!! ./install-mf-64.sh (on arch linux this require python2 fix) You need to copy mfplat.dll version 12.0.7601.23471 (Windows7 64bit) to the game folder

md5sum 2188de5fa5c741fb2b81eb9f37d26ba7 mfplat.dll

RorraVox avatar Jun 09 '19 03:06 RorraVox

steam-418370.log Getting this on Ubuntu 18.04 (5.x kernel) with Proton 4.2-9 (and all other available Proton versions)

mfplat.dll is the recommended version (RE2 Remake works fine)

652.972:0029:0064:trace:seh:call_teb_handler handler at 0x7bcc3c30 returned 1 652.972:0029:0064:warn:seh:call_stack_handlers exception data not found in L"MFPlat.DLL" Unhandled exception: page fault on read access to 0x7ffffcf64d8 in 64-bit code (0x000007ff385d9128).

RE7 immediately crashes to desktop after showing initial logos and save game notifications. Never make it to main menu/intro video.

inconceeeivable avatar Jul 02 '19 00:07 inconceeeivable

Follow-up to my last post on this...I found that it works if using "WINEDEBUG": "-all,warn+all,-ntdll" in the user_settings.py file...

Any idea why? Is the problem possibly being caused by a default trace/debug config? I found the "fix" by accident attempting to debug the problem (and hitting a brick wall).

inconceeeivable avatar Jul 07 '19 22:07 inconceeeivable

https://github.com/doitsujin/dxvk/issues/728#issuecomment-459839962

RorraVox avatar Jul 28 '19 17:07 RorraVox

Hi! With actual mf fix, RE7 crash always for me in Lucas ingame video. I found a solution using two different libraries version for mfplat, wmadmod and wmvdecod. Those libraries improve stability with videos and solve problem with ingame video.

This is the install-mf-64-re7.sh modified script than I use:

#! /bin/bash
cd "$(dirname "$0")"

export WINEPREFIX=/mnt/SteamWindows/steamapps/compatdata/418370/pfx
export RE7PATH=/mnt/SteamWindows/steamapps/common/RESIDENT\ EVIL\ 7\ biohazard

python2 installcab.py windows6.1-KB976932-X64.exe mediafoundation
python2 installcab.py windows6.1-KB976932-X64.exe mf_
python2 installcab.py windows6.1-KB976932-X64.exe mfreadwrite
python2 installcab.py windows6.1-KB976932-X64.exe wmvdecod
python2 installcab.py windows6.1-KB976932-X64.exe wmadmod

cp versions/mfplat_12.0.7601.23471.dll $WINEPREFIX/drive_c/windows/system32/mfplat.dll
cp versions/wmvdecod_6.1.7601.23403.dll $WINEPREFIX/drive_c/windows/system32/wmvdecod.dll
cp versions/wmadmod_6.1.7601.23403.dll $WINEPREFIX/drive_c/windows/system32/wmadmod.dll

#Clean
rm $WINEPREFIX/drive_c/users/$USER -R
rm $WINEPREFIX/drive_c/windows/system32/gecko/ -R
rm $WINEPREFIX/drive_c/windows/mono/ -R
rm $WINEPREFIX/drive_c/windows/syswow64/gecko/ -R
rm $WINEPREFIX/drive_c/windows/Installer/ -R
rm $WINEPREFIX/drive_c/ProgramData/Package\ Cache/ -R
rm "$RE7PATH/re7.dxvk-cache"

echo "Done!"

I hope you find it useful.

PD: Replace WINEPREFIX and RE7PATH with your values.

cyberconan avatar Aug 02 '19 22:08 cyberconan

Finished game and show all credit video (about 15 minutes) with no crashes. I have updated previous post with my final script setup. Crash are still ramdonly presents, but with this libraries I could finish game. Regards!

cyberconan avatar Aug 03 '19 15:08 cyberconan

Anyone tried to play "Not A Hero" DLC? It crashes all the time at a specific location. Cannot get further. Did not have any problem with RE7.

xexpanderx avatar Apr 19 '20 21:04 xexpanderx

Resident Evil 7 graphical issues with menus

Issue transferred from https://github.com/ValveSoftware/Proton/issues/4215. @PopeRigby posted on 2020-09-23T01:54:37:

Compatibility Report

  • Name of the game with compatibility issues: Resident Evil 7
  • Steam AppID of the game: 418370

System Information

  • GPU: RX 5700 XT
  • Driver/LLVM version: mesa 20.1.8-1
  • Kernel version: 5.8.10.arch1-1
  • Link to full system information report as Gist: https://gist.github.com/PopeRigby/1e4df53972638052a2cab7de86f4f847
  • Proton version:
    • 5.0-9
    • 5.11-GE-2-MF
    • 5.11-GE-3-MF
    • 5.6-GE-1

I confirm:

  • [x] that I haven't found an existing compatibility report for this game.
  • [x] that I have checked whether there are updates for my system available.

steam-418370.log

Symptoms

The tape recorder in the main menu has glitched out text, and all the menu options in the options menu have black bars over them.

Reproduction

I've tried multiple different versions of Proton GE and none of them fix the issue. I also tried using Proton 5.0-9 along with <Workaround removed by moderator>

kisak-valve avatar Sep 23 '20 02:09 kisak-valve