ValveSoftware / Proton

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

Persona 5 Strikers (1382330) #4636

Open NyaomiDEV opened 3 years ago

NyaomiDEV commented 3 years ago

Compatibility Report

System Information

I confirm:

steam-1382330.log.gz

Symptoms

Game hangs into a black screen upon startup and creation of the savefile. Trying to stop the game will not actually stop it (it is frozen in the background)

Reproduction

Get a copy of the game and try to run it

kisak-valve commented 3 years ago

Hello @AryToNeX, it might be interesting to also test with Proton Experimental and share a log.

NyaomiDEV commented 3 years ago

steam-1382330.log

Here it is.

NyaomiDEV commented 3 years ago

This seems to be another case in which the game does not manage to run because of cutscene playbacks. Even the logos are technically cutscenes here.

I'd say Media Foundation all over again (and this would be a common issue on Japanese titles using all kinds of proprietary Microsoft formats for stuff)

data/pd has cutscenes in it, encoded in Microsoft ASF image

Zoey-21 commented 3 years ago

I was able to manually change the value for movies in the config file from 0 to a 1 and that gets the game working minus the video cutscenes. Deleting the folder holding the videos also works. In-game cutscenes work fine. The game play itself works like on any other platform.

jr1991-g commented 3 years ago

In the terminal all I see is lots of err: D3D11Device::OpenSharedResource: Not implemented. At that point you either get a black screen or the phone is greyed out. On Linux https://youtu.be/2ynUlAmbg_g?t=273 Expected behavior https://youtu.be/T8bPGuSWxRA?t=1498

alosarjos commented 3 years ago

So, I guess right now we need to wait for video codecs somehow (Which this time are different from the mfplat that comes with GE build) and maybe THe OpenSharedResource, which doesn't seem to be a WIP: https://github.com/doitsujin/dxvk/issues/899

Hoping the phone is something that can be fixed with the video codec too...

NyaomiDEV commented 3 years ago

So, I guess right now we need to wait for video codecs somehow (Which this time are different from the mfplat that comes with GE build) and maybe THe OpenSharedResource, which doesn't seem to be a WIP: doitsujin/dxvk#899

Hoping the phone is something that can be fixed with the video codec too...

It might be a small video cutscene indeed, but shared resources are 2D stuff so it is not excluded that the video frames are actually shared and then put into the phone. Being a story driven game, sure the game breaking problem is the video codec one. Again, Japan developers being so tied to Microsoft stuff for some reason. I am starting to hate them.

eth0OS commented 3 years ago

It's really sad. I haven't played or watched much Persona 5 Strikers gameplay, but judging by the Persona 5 released on consoles, the smartphone interactions might be a reasonable part of the game, if it won't be possible to get it fully working, I don't think we will get the full experience of the game, even if someone works a way around it. Well, at least one can hope it draws enough attention for a full solution to come by the time we have some ETA for Persona 5 Royal.

NyaomiDEV commented 3 years ago

It's really sad. I haven't played or watched much Persona 5 Strikers gameplay, but judging by the Persona 5 released on consoles, the smartphone interactions might be a reasonable part of the game, if it won't be possible to get it fully working, I don't think we will get the full experience of the game, even if someone works a way around it. Well, at least one can hope it draws enough attention for a full solution to come by the time we have some ETA for Persona 5 Royal.

This is a KOEI TECMO game with ATLUS' supervision, thus it is using an engine made by KTG. If and when P5R drops for Steam, it will be using another engine with other challenges, for sure.

Also, the actually important phone interactions seem to work: https://youtu.be/2ynUlAmbg_g?t=118

CygnusTerminal commented 3 years ago

So, I guess right now we need to wait for video codecs somehow (Which this time are different from the mfplat that comes with GE build) and maybe THe OpenSharedResource, which doesn't seem to be a WIP: doitsujin/dxvk#899

Hoping the phone is something that can be fixed with the video codec too...

Probably not going to happen, OpenSharedResource requires functions not implemented by Wine, and they seem to be a huge task to accomplish. Major roadblock hit right here. I hate when this japanese companies make this half-assed ports. It seems they use Microsoft's propietary stuff just because. Can't wrap my head around it... We can only hope that they do not keep this trend up.

njdom24 commented 3 years ago

I'm a layman when it comes to this stuff, but would these wine patches be relevant here?

ghost commented 3 years ago

I'm a layman when it comes to this stuff, but would these wine patches be relevant here?

Potentially. Here's Derek's Wine branch with shared resource stuff, and Josh's DXVK branch with shared resource stuff.

https://github.com/Guy1524/wine/tree/shared-resources https://github.com/Joshua-Ashton/dxvk/tree/dxvk-shared-resources

There's been no changes since 2019. I have no clue if this code was ever functional at all, or if it could help Persona 5 Strikers.

CygnusTerminal commented 3 years ago

I could give it a go on my test Arch, i hope it does, but it seems they are no longer maintained?

wantija commented 3 years ago

Does the game run when you load a save file past the phone parts, or are they essential to choose missions and access gameplay?

jr1991-g commented 3 years ago

Does the game run when you load a save file past the phone parts, or are they essential to choose missions and access gameplay?

Yes it runs fine after that, it's stable. However you'll experience random black screens even with movies set to off. I'm in the second palace, five black screens so far. Save often! It's not fun to do all over again.

A bit off topic, but I saw that W7 users are using dxvk to run this (game is win 10 only) and they get the same results as we do.

NerduMiner commented 3 years ago

I have a problem where a 1x1 pixel is rendered to the screen when the game requests the default screen resolution. image I have bypassed the hang on the logo videos by disabling movies in config.xml, so I can hear the game reach the title screen, and I assume the game is functioning as normal besides the graphics output. I confirmed this behavior on 5.13-6 specifically. GPU: Nvidia GTX 1060 3GB Driver: 460.56 Kernel Version: 5.11.6-1-MANJARO Full System Report: https://gist.github.com/NerduMiner/7e6778fbd3af2fa61d34d193f8e6b3ff steam-1382330.log

NerduMiner commented 3 years ago

I discovered the problem was related to setting the game to display in windowed mode. I suggest anyone dealing with the same problem to try changing DisplaySetting to 1 and Resolution to somewhere around 4 in config.xml located at: /steamapps/compatdata/1382330/pfx/drive_c/users/steamuser/Application Data/SEGA/Steam/P5S

AnzoDK commented 2 years ago

Okay WONDERFUL NEWS!

settings <movie> to 1 in the xml file works as usual and gets you to the main menu, BUT with the new Proton Experimental you can get past the phone!!!

So the err: D3D11Device::OpenSharedResource: Not implemented error from wine is ONLY for the movies/cutscenes.. I'd like the cutscenes to work, so I'll test a few things and keep you posted - I'm really excited to see it work on linux!!

AnzoDK commented 2 years ago

Okay WONDERFUL NEWS!

settings <movie> to 1 in the xml file works as usual and gets you to the main menu, BUT with the new Proton Experimental you can get past the phone!!!

So the err: D3D11Device::OpenSharedResource: Not implemented error from wine is ONLY for the movies/cutscenes.. I'd like the cutscenes to work, so I'll test a few things and keep you posted - I'm really excited to see it work on linux!!

Trying to apply some of the fixes from P4G to P5S and seeing how that works out, but SEGA/ATLUS's weird copyprotection locked me out for 24 hours due to rapid prefix switching - Guess I'll try again another day

SpadeTheSkeleton commented 2 years ago

Trying to apply some of the fixes from P4G to P5S and seeing how that works out, but SEGA/ATLUS's weird copyprotection locked me out for 24 hours due to rapid prefix switching - Guess I'll try again another day

Does this method still works?

AnzoDK commented 2 years ago

Trying to apply some of the fixes from P4G to P5S and seeing how that works out, but SEGA/ATLUS's weird copyprotection locked me out for 24 hours due to rapid prefix switching - Guess I'll try again another day

Does this method still works?

No sorry - mixed up 2 different scenes so one worked, but the other still don't - The issue is directX's SharedResource which is a feature we might have to wait a long time for before it gets ported to wine or proton, sorry for causing confusion..

SpadeTheSkeleton commented 2 years ago

No worries! I recently bought the game since it was on sale, then realized it doesn't work.... I'll still keep it since i am dual booting linux and windows but will soon wipe my hard drive that has windows to do a virtual machine instead. Thanks for a quick response!

ghost commented 2 years ago

Proton 7.0 just released and I tried this game with it. Same behavior and soft lock when you open the phone. Interesting log file info though.

This is what it does immediately when it gets to that point.

47846.511:0128:012c:fixme:vulkan:wine_vk_surface_set_offscreen Redirecting vulkan surface offscreen, expect degraded performance.
47846.511:0128:012c:fixme:vulkan:wine_vk_surface_set_offscreen Redirecting vulkan surface offscreen, expect degraded performance.
winegstreamer error: decodebin0: Your GStreamer installation is missing a plug-in.
winegstreamer error: decodebin0: ../src-gst_base/gst/playback/gstdecodebin2.c(4719): gst_decode_bin_expose (): /GstBin:bin0/GstDecodeBin:decodebin0:
no suitable plugins found:
Couldn't set protonvideoconverter0 to READY

winegstreamer error: decodebin1: Your GStreamer installation is missing a plug-in.
winegstreamer error: decodebin1: ../src-gst_base/gst/playback/gstdecodebin2.c(4719): gst_decode_bin_expose (): /GstBin:bin1/GstDecodeBin:decodebin1:
no suitable plugins found:
Couldn't set protonvideoconverter1 to READY

This gstreamer message continues on for 90 attempts then quits.

Here is the entire relevant portion of the log when it encounters the problem: p5s.txt

@ plagman When can I enable support for my locally installed gst-plugins-fugly

SpadeTheSkeleton commented 2 years ago

So we're pretty much screwed until they fix it, oh well.

AnzoDK commented 2 years ago

So we're pretty much screwed until they fix it, oh well.

One day my friend... One day...

Otherwise we'll just have to do it ourselfs >:)

SpadeTheSkeleton commented 2 years ago

One day my friend... One day...

Otherwise we'll just have to do it ourselfs >:)

One day, hopefully. If not, fine by me.

kuator commented 2 years ago

https://github.com/doitsujin/dxvk/pull/2516?

ghost commented 2 years ago

@kuator Still does not work with latest Proton bleeding-edge as of today. I know some of the shared resources stuff is already merged in it and some other games that require it already work.

kisak-valve commented 2 years ago

Hello @kuator, your last comment was removed because the workaround you mentioned is legally problematic.

BlackStargenX commented 1 year ago

Just checked to make sure. Proton 8 game will crash on first loading screen. So GE is still they way to go.

kisak-valve commented 1 year ago

Please Fix Persona 5 Strikers video codec

Issue transferred from https://github.com/ValveSoftware/Proton/issues/6731. @Logge1002 posted on 2023-04-30T14:35:52:

Compatibility Report

System Information

Game will work with proton ge 7.54 but the video playback only shows the video itself and the music track. Sfx and all voices are missing. Please fix that in the future. Already tried installing codecs with protontricks but didn’t help.

Monoverde888 commented 1 year ago

not sure if this can be implemented as I'm new to this but wouldn't this help? https://steamdeckhq.com/news/persona-5-strikers-cutscene-audio-fixed/