ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.35k stars 1.02k forks source link

Resident Evil 2 (883710) Remake #2266

Closed laichiaheng closed 1 year ago

laichiaheng commented 5 years ago

Compatibility Report

System Information

I confirm:

steam-883710.log

Symptoms

After I pass the 1st chapter, it keeps loading forever

Reproduction

Leave the gas station.

kisak-valve commented 5 years ago

Possibly Media Foundation related.

laichiaheng commented 5 years ago

Is there any workaround for it?

kisak-valve commented 5 years ago

There's a chance a nasty workaround like https://github.com/ValveSoftware/Proton/issues/1102#issuecomment-419678627 might help, but that needs several libraries from a Window 7 install to attempt and is not easy.

f0rmatme commented 5 years ago

https://github.com/jzengc/wine/tree/proton_3.16_mf

this might work

f0rmatme commented 5 years ago

Can I pass the 1st chapter in the demo? if so i can test that MF branch, I just might buy the game and test it too.

The red PC still causes the game to break.

f0rmatme commented 5 years ago

https://github.com/ValveSoftware/Proton/issues/838#issuecomment-447379664 Another fix

f0rmatme commented 5 years ago

<Link removed by moderator>

This build has mf support i think? Try it with the fix. Source : https://www.gamingonlinux.com/articles/theres-a-brand-new-steam-play-beta-version-out-with-faudio-also-a-steam-play-whitelist-update.13143/comment_id=143171

nsivov commented 5 years ago

@james-munson please don't upload and link windows dlls like that, if they were distributable, we'd use standalone installer instead.

@kisak-valve I think it's better to remove this link https://github.com/ValveSoftware/Proton/issues/2266#issuecomment-457803041.

laichiaheng commented 5 years ago

<Link removed by moderator>

This build has mf support i think? Try it with the fix. Source : https://www.gamingonlinux.com/articles/theres-a-brand-new-steam-play-beta-version-out-with-faudio-also-a-steam-play-whitelist-update.13143/comment_id=143171

Do I need to create the compatibilitytools.d folder by myself?

I answer myself, yes. Why do they know these folder names? I'm redownloading the game, if it works, I can save lots of money from buying hard drive.

f0rmatme commented 5 years ago

@nsivov that's not my upload. @laichiaheng ? https://github.com/ValveSoftware/Proton#install-proton-locally

f0rmatme commented 5 years ago

sudo mkdir ~/.steam/steam/compatibilitytools.d/ and extract that build into that folder

laichiaheng commented 5 years ago

Is it possible to build Proton with the latest wine-staging? The performance of Proton is really worse than wine-staging, Proton always runs at 4Xfps, no matter how low the setting is, wine-staging almost runs at 60fps always.

laichiaheng commented 5 years ago

<Link removed by moderator>

This build has mf support i think? Try it with the fix. Source : https://www.gamingonlinux.com/articles/theres-a-brand-new-steam-play-beta-version-out-with-faudio-also-a-steam-play-whitelist-update.13143/comment_id=143171

Bad news, it doesn't work.

f0rmatme commented 5 years ago

try this version of wine https://github.com/spinozaure/wine/

or

https://github.com/kakra/wine-proton/releases

https://github.com/kakra/wine-proton/releases/download/wine-proton_3.16-4.0-unofficial-1/wine-proton_3.16-4.0-unofficial-1.tar.xz

, unpack within existing "Proton 3.16 Beta" folder.

laichiaheng commented 5 years ago

Steam isn't able to download any Proton now, weird.

laichiaheng commented 5 years ago

@james-munson I tried the 2nd method, and It didn't work.

f0rmatme commented 5 years ago

Downloading the game will do more testing did you try this? https://github.com/ValveSoftware/Proton/issues/838#issuecomment-447379664

laichiaheng commented 5 years ago

@james-munson Yes, I did, the game crashed. Do I need to copy the 32bit dlls to SysWow64?

f0rmatme commented 5 years ago

did you update dvxk?

f0rmatme commented 5 years ago

32bit to normal system 32 and 64 in SysWow64

laichiaheng commented 5 years ago

@james-munson Yes. It always stuck at 10% loading page, then it crashes.

laichiaheng commented 5 years ago

32bit to normal system 32 and 64 in SysWow64

No, In Windows-64bit, System32 stores 64bit dlls, SysWow64 stores 32bit dlls.

f0rmatme commented 5 years ago

having the same issue, just gets stuck on loading no matter what i try

laichiaheng commented 5 years ago

@james-munson Windows is the only way to go, I just bought a 500GB SSD to install Windows 10 for this game 30min ago, now I'm going to install Windows 10.

f0rmatme commented 5 years ago

https://www.reddit.com/r/linux_gaming/comments/ajyx51/resident_evil_2_playable_with_the_latest_dxvk_and/

laichiaheng commented 5 years ago

@james-munson Damn! I just spent my money on SSD to play this game, I didn't have to spend that much! I can install Linux on this SSD though.

laichiaheng commented 5 years ago

@james-munson Are you able to play this game now?

f0rmatme commented 5 years ago

@laichiaheng no, not even with the newest dvxk, a guy on the that reddit post might have a fix. I crash once i get in game after the trucker cut scene

"The solution was to export the CLSID branch, rename the paths in Wine's notepad, and then re-import the corrected .reg file.

I'm going to see how it's doing with that. "

Not sure how to do that.

f0rmatme commented 5 years ago

DarkeoX Check for the prefix registry, look at the "mf.dll" and "mfReadwrite.dll" paths under HKEY_CLASSES_ROOT\CLSID.

The Python thingy messed up in my install. Used "%SYSTEMROOT%" in the path but somehow Wine appends it as a relative path to the game's dir and of course can't find the dlls.

I had to export that branch of the registry, edit it in Wine's notepad not to mess up encoding and stuff, rewritting all "%SYSTEMROOT%\System32\mf.dll" occurrences to "C:..." proper ones.

SergeyLatyshev commented 5 years ago

The solution: https://github.com/doitsujin/dxvk/issues/886#issuecomment-458487008

Sur3 commented 5 years ago

With proton I can't play the game at all, when starting the game a black window opens and then directly closes and that's it. I also cant start the game using wine-staging from command line, because it then says it can't initialize the steam api even if steam is running. Only way I can run this game is by running the windows version of steam in wine-staging and then I also experience the bug described here that it can't load the second chapter.

SergeyLatyshev commented 5 years ago

You can't play with Proton because it has DXVK 0.94, and RE2 works only with newer versions. Replace DXVK files in the Proton folder with DXVK 0.96 if you want to play with Proton.

Sur3 commented 5 years ago

Thanks replacing the libraries in the dxvk folders helped, should I replace the libraries in the fakedlls folder as well or what is that copy in the fakedlls folder good for? Also the game seems to run more smooth in wine-staging, couldn't steam add an option to use system wine instead of proton in the steam play settings? Also the save games seem not to be compatible, I could not load my wine-staging-windows-steam gamesave and had to create a new one.

Sur3 commented 5 years ago

The loading fix seems not to work for me, proton crashes when trying with the mf fix.. re2proton-crash.log

Sur3 commented 5 years ago

Ok I finally got it working, the problem was I commented out the lines in the install script, should have read the instructions more carefully.. :upside_down_face:

kisak-valve commented 5 years ago

[RE2] Savegame import not possible because of region mismatch

Issue transferred from https://github.com/ValveSoftware/Proton/issues/2313. @Mershl posted on 2019-02-05T19:34:24:

Compatibility Report

System Information

I confirm:

Symptoms

Resident Evil 2 saves contain the regional settings they were created in. At startup it performs a region check (reading sCountry, Locale and sLanguage from registry, eventually more) and marks the saves invalid if the regions do not match. Setting the regional settings in the Windows Region&Language panel to match the ones used to create the savegame solves this issue. Editing the wine prefix managed by Proton for RE2 does not solve this issue as the fields are (automatically) reset to "United States"/"ENU"/"409" after the edit.

Reproduction

Sur3 commented 5 years ago

This Savegame problem is probably the same I mentioned before why I can't load my wine-staging saves using proton and vice versa.

SleepingSloth commented 5 years ago

I'm having an issue were my game crashes as soon as the first Leon cut scene starts with a new game my exact setup steps are from

https://github.com/doitsujin/dxvk/issues/886#issuecomment-458487008

  1. Install game
  2. Launch the game so proton creates the prefixes
  3. export WINEPREFIX=$/.steam/steam/steamapps/compatdata/883710/pfx
  4. ./install-mf-64.sh
  5. place "mfplat.dll"

Also if I re-install the game and don't follow steps 3 and 4 the game runs just fine then gets stuck on the indefinite loading scene before the credits start.

steam-883710.log

SergeyLatyshev commented 5 years ago

You don't have to re-install the game if something went wrong, just delete steamapps/compatdata/883710/pfx folder and launch the game again so Steam could generate a new clean wineprefix. Are you sure you have run winetricks mf? Do you have file ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe? Have you edited installcab.py properly? Does your Linux distribution have python2 as a default Python interpreter?

SleepingSloth commented 5 years ago

@SergeyLatyshev Yes I ran winetricks mf, I edited lines 129 to 137 in installcab.py and I used python2 to install it

hivehivemind commented 5 years ago

Can't get past the countdown timer by the end of the game. The countdown disappears and the door to progress has an invisible wall, which makes the game impossible to finish. Using DXVK 0.96.

--

Update: Latest Proton 3.16-7 broke the game saves. Probably related to region/keyboard/time changes by Proton since the game performs a region check for each save. Seems to be a problem with every Proton update. Same as https://github.com/ValveSoftware/Proton/issues/2266#issuecomment-460790101

farfalleflickan commented 5 years ago

Yupp, save games are broken. Can't seem to get it working no matter how I edit things.

laichiaheng commented 5 years ago

I can save the game without problems with Proton 3.16-7

doitsujin commented 5 years ago

@laichiaheng the problem is that it is impossible to load save data created with an older Proton version, so everyone who played the game before lost all their progress.

Same story with saves created on Proton vs saves created on Windows though.

laichiaheng commented 5 years ago

@doitsujin Yes, I saved the game in Windows 10 and Proton3.16-6, and I still can load and save them in Proton3.16-7

Mershl commented 5 years ago

@laichiaheng I suspect your regional setting in Windows 10 is equal to the default setting in Proton.

Do we have a workaround to overwrite the regional settigns in a proton prefix? They keep reseting back to US for me.

laichiaheng commented 5 years ago

I didn't do anything to the region setting, it automatically selects my region for me.

hivehivemind commented 5 years ago

Deleting your wineprefix path for the game (ex. Steam/steamapps/compatdata/883710) and let Steam create a new one by starting the game through Proton again seems to be a workaround for the save compatibility issue and the game loads properly. Not a fix, but it's a way to get the save working again. If you're doing it, make a backup of the old wineprefix path to prevent losing saves.

Edit: It seems that you have to at least continue your save on Windows and delete the prefix to go back to playing the save again on Proton after it rebuilds the prefix, not only deleting the prefix. It works but it's a bad workaround.

Still, the Leon B campaign endgame countdown's still not working here.

doitsujin commented 5 years ago

Deleting the prefix doesn't fix the problem for me.

NextGenRyo commented 5 years ago

@SleepingSloth If your still having problems. Are you sure the mfplat file is the correct version? and not using windows 10 version of mfplat? The mfplat must be from windows 7 and version 12.0.7601.23471 that's the only one that currently works.