Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Danganronpa V3: Killing Harmony - Black screen (567640) #838

Open
Mastergatto opened this issue Aug 28, 2018 · 44 comments
Open

Danganronpa V3: Killing Harmony - Black screen (567640) #838

Mastergatto opened this issue Aug 28, 2018 · 44 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues XAudio2 Uses the XAudio2 subsystem

Comments

@Mastergatto
Copy link

The game does indeed launch, but as soon as it launches it doesn't do anything, just a black screen.

Debug log: https://gist.github.com/Mastergatto/830e025a56a36e3e5a6db40f2942b29a
System Information: https://gist.github.com/Mastergatto/082c71debf222b58246af7781e558e0c
(Maybe) relevant ticket on winehq bugzilla: https://bugs.winehq.org/show_bug.cgi?id=43814

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Aug 29, 2018
@Rabcor
Copy link

Rabcor commented Nov 6, 2018

Did you try any launch options? Wine D3D? Disabling ESync?

Did you check if you can disable the intro video with launch options? or removing the video file (if applicable)?

@Mastergatto
Copy link
Author

I have tried to force WineD3D but the game won't even start, as for disabling esync, no changes. I'm not aware of any game launch options for Danganronpa V3.

@Rabcor
Copy link

Rabcor commented Nov 7, 2018

I am of the understanding that the issue is related to the intro video, if you can disable that it might launch; I am also of the understanding that it's failure to play is related to windows media foundation.

From the thread you linked to at winehq:

Using a native mfplat.dll and mfreadwrite.dll can work around this issue, though doing so also requires Windows Media Foundation registry entries to be present or crashes will happen.

It could also be that the game just needs wmp9 or wmp10 installed to work; but we cannot install that on a 64-bit prefix yet (and since the game is 64 bit it won't run on a 32-bit one anyways) which is an issue Valve is aware of (I think, been reported several times at least.)

@Mastergatto
Copy link
Author

Thanks, looks like it's indeed the lack of WMF support that causes troubles. It would make my day if Valve makes this game work on Wine/Proton.

@Mastergatto
Copy link
Author

Maybe it won't work out of box right now, but finally there's a workaround that works for this game too.

In case anyone needs the wmf.reg, here it is:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.3g2]
"{271C3902-6095-4c45-A22F-20091816EE9E}"="MPEG4 Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.3gp]
"{271C3902-6095-4c45-A22F-20091816EE9E}"="MPEG4 Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.3gp2]
"{271C3902-6095-4c45-A22F-20091816EE9E}"="MPEG4 Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.3gpp]
"{271C3902-6095-4c45-A22F-20091816EE9E}"="MPEG4 Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.aac]
"{926f41f7-003e-4382-9e84-9e953be10562}"="ADTS Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.adt]
"{926f41f7-003e-4382-9e84-9e953be10562}"="ADTS Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.adts]
"{926f41f7-003e-4382-9e84-9e953be10562}"="ADTS Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.asf]
"{41457294-644C-4298-A28A-BD69F2C0CF3B}"="ASF Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.avi]
"{7AFA253E-F823-42f6-A5D9-714BDE467412}"="AVI Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.dvr-ms]
"{a8721937-e2fb-4d7a-a9ee-4eb08c890b6e}"="MF SBE Source ByteStreamHandler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.m4a]
"{271C3902-6095-4c45-A22F-20091816EE9E}"="MPEG4 Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.m4v]
"{271C3902-6095-4c45-A22F-20091816EE9E}"="MPEG4 Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.mov]
"{271C3902-6095-4c45-A22F-20091816EE9E}"="MPEG4 Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.mp3]
"{A82E50BA-8E92-41eb-9DF2-433F50EC2993}"="MP3 Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.mp4]
"{271C3902-6095-4c45-A22F-20091816EE9E}"="MPEG4 Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.mp4v]
"{271C3902-6095-4c45-A22F-20091816EE9E}"="MPEG4 Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.nsc]
"{B084785C-DDE0-4d30-8CA8-05A373E185BE}"="NSC Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.sami]
"{7A56C4CB-D678-4188-85A8-BA2EF68FA10D}"="SAMI Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.smi]
"{7A56C4CB-D678-4188-85A8-BA2EF68FA10D}"="SAMI Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.wav]
"{42C9B9F5-16FC-47ef-AF22-DA05F7C842E3}"="WAV Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.wm]
"{41457294-644C-4298-A28A-BD69F2C0CF3B}"="ASF Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.wma]
"{41457294-644C-4298-A28A-BD69F2C0CF3B}"="ASF Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\.wmv]
"{41457294-644C-4298-A28A-BD69F2C0CF3B}"="ASF Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\audio/3gpp]
"{271C3902-6095-4c45-A22F-20091816EE9E}"="MPEG4 Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\audio/3gpp2]
"{271C3902-6095-4c45-A22F-20091816EE9E}"="MPEG4 Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\audio/aac]
"{926f41f7-003e-4382-9e84-9e953be10562}"="ADTS Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\audio/aacp]
"{926f41f7-003e-4382-9e84-9e953be10562}"="ADTS Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\audio/L16]
"{3FFB3B8C-EB99-472b-8902-E1C1B05F07CF}"="LPCM Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\audio/mp4]
"{271C3902-6095-4c45-A22F-20091816EE9E}"="MPEG4 Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\audio/mpeg]
"{A82E50BA-8E92-41eb-9DF2-433F50EC2993}"="MP3 Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\audio/vnd.dlna.adts]
"{926f41f7-003e-4382-9e84-9e953be10562}"="ADTS Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\audio/wav]
"{42C9B9F5-16FC-47ef-AF22-DA05F7C842E3}"="WAV Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\audio/x-aac]
"{926f41f7-003e-4382-9e84-9e953be10562}"="ADTS Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\audio/x-mp3]
"{A82E50BA-8E92-41eb-9DF2-433F50EC2993}"="MP3 Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\audio/x-mpeg]
"{A82E50BA-8E92-41eb-9DF2-433F50EC2993}"="MP3 Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\audio/x-ms-wma]
"{41457294-644C-4298-A28A-BD69F2C0CF3B}"="ASF Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\audio/x-wav]
"{42C9B9F5-16FC-47ef-AF22-DA05F7C842E3}"="WAV Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\video/3gpp]
"{271C3902-6095-4c45-A22F-20091816EE9E}"="MPEG4 Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\video/3gpp2]
"{271C3902-6095-4c45-A22F-20091816EE9E}"="MPEG4 Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\video/avi]
"{7AFA253E-F823-42f6-A5D9-714BDE467412}"="AVI Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\video/mp4]
"{271C3902-6095-4c45-A22F-20091816EE9E}"="MPEG4 Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\video/msvideo]
"{7AFA253E-F823-42f6-A5D9-714BDE467412}"="AVI Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\video/x-ms-asf]
"{41457294-644C-4298-A28A-BD69F2C0CF3B}"="ASF Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\video/x-ms-wm]
"{41457294-644C-4298-A28A-BD69F2C0CF3B}"="ASF Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\video/x-ms-wmv]
"{41457294-644C-4298-A28A-BD69F2C0CF3B}"="ASF Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers\video/x-msvideo]
"{7AFA253E-F823-42f6-A5D9-714BDE467412}"="AVI Byte Stream Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\HardwareMFT]
"EnableDecoders"=dword:00000000
"EnableEncoders"=dword:00000001
"EnableVideoProcessors"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\Platform]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\Platform\EVR]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\Platform\EVR\{16260968-C914-4aa1-8736-B7A6F3C5AE9B}]
"SWVideoDecodePowerLevel"=dword:00000000
"OptimizationFlags"=dword:00000590

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\Platform\EVR\{5C67A112-A4C9-483f-B4A7-1D473BECAFDC}]
"SWVideoDecodePowerLevel"=dword:00000064
"OptimizationFlags"=dword:00000a10

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\Platform\EVR\{651288E5-A7ED-4076-A96B-6CC62D848FE1}]
"SWVideoDecodePowerLevel"=dword:00000032
"OptimizationFlags"=dword:00000590

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\RemoteDesktop]
"PluginCLSID"="{636c15cf-df63-4790-866a-117163d10a46}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\SchemeHandlers]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\SchemeHandlers\file:]
"{477EC299-1421-4bdd-971F-7CCB933F21AD}"="File Scheme Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\SchemeHandlers\http:]
"{9EC4B4F9-3029-45ad-947B-344DE2A249E2}"="Urlmon Scheme Handler"
"{E9F4EBAB-D97B-463e-A2B1-C54EE3F9414D}"="Net Scheme Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\SchemeHandlers\httpd:]
"{44CB442B-9DA9-49df-B3FD-023777B16E50}"="Http Scheme Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\SchemeHandlers\httpnd:]
"{2EEEED04-0908-4cdb-AF8F-AC5B768A34C9}"="Drm Scheme Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\SchemeHandlers\https:]
"{37A61C8B-7F8E-4d08-B12B-248D73E9AB4F}"="Secure Http Scheme Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\SchemeHandlers\httpsd:]
"{37A61C8B-7F8E-4d08-B12B-248D73E9AB4F}"="Secure Http Scheme Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\SchemeHandlers\httpt:]
"{E9F4EBAB-D97B-463e-A2B1-C54EE3F9414D}"="Net Scheme Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\SchemeHandlers\httpu:]
"{E9F4EBAB-D97B-463e-A2B1-C54EE3F9414D}"="Net Scheme Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\SchemeHandlers\mcast:]
"{E9F4EBAB-D97B-463e-A2B1-C54EE3F9414D}"="Net Scheme Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\SchemeHandlers\mms:]
"{E9F4EBAB-D97B-463e-A2B1-C54EE3F9414D}"="Net Scheme Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\SchemeHandlers\rtsp:]
"{E9F4EBAB-D97B-463e-A2B1-C54EE3F9414D}"="Net Scheme Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\SchemeHandlers\rtspt:]
"{E9F4EBAB-D97B-463e-A2B1-C54EE3F9414D}"="Net Scheme Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\SchemeHandlers\rtspu:]
"{E9F4EBAB-D97B-463e-A2B1-C54EE3F9414D}"="Net Scheme Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\SchemeHandlers\sdp:]
"{E9F4EBAB-D97B-463e-A2B1-C54EE3F9414D}"="Net Scheme Handler"

@indeedwatson
Copy link

@Mastergatto could you explain what to do with those registry keys exactly? I'm having the same issue with the newly released GRIS. I've read the post you linked several times but I don't know exactly what I should do.

@Mastergatto
Copy link
Author

Mastergatto commented Dec 14, 2018

  1. Download and extract the .reg files from here

  2. You have to copy mf.dll, mferror.dll, mfplat.dll, mfreadwrite.dll, msmpeg2adec.dll, msmpeg2vdec.dll, sqmapi.dll from your Windows 7 (NOT 10, because it won't work) installation into system32. Those libraries must be put in the game's prefix ( one example is: /home/user/SteamLibrary/compatdata/(STEAMID)/pfx/drive_c/windows/system32), where (STEAMID) is the ID number of the game you want to make work, in this case 683320 for GRIS.

  3. Set the WINEPREFIX to that of the game's pfx. 683320 is for GRIS, or change it to 567640 for Danganronpa V3
    $ export WINEPREFIX='/path/to/SteamLibrary/steamapps/compatdata/683320/pfx' #Check and modify carefully the path!

  4. Make sure those libraries are registered and loaded in this order (Native, Builtin) in winecfg, with this command:
    $ winecfg

  5. Finally, execute these commands (beware the path!):

$ wine start regedit.exe mf.reg #check the path also for mf.reg and wmf.reg
$ wine start regedit.exe wmf.reg
$ wine64 start regedit.exe mf.reg
$ wine64 start regedit.exe wmf.reg
  1. If you have copied the 64-bit version of the libraries, which is the case of the .dlls provided here, execute also these commands:
    $ wine64 regsvr32 msmpeg2vdec.dll
    $ wine64 regsvr32 msmpeg2adec.dll

6b. Otherwise, execute those commands for the 32-bit .dlls from your Windows 7 32-bit (NOT 10, which is not well supported by wine):

    $ wine regsvr32 msmpeg2vdec.dll
    $ wine regsvr32 msmpeg2adec.dll

@SeerLite
Copy link

Hi! Thanks for all the effort put into this!
I've been following your instructions to run the game, but I get the following error once i try to run wine64 regsvr32 msmpeg2vdec.dll:
regsvr32: Failed to load DLL 'msmpeg2vdec.dll'
What could be causing this error?
I copied the 64-bit versions of the DLLs found in C:\Windows\SysWOW64 to /path/to/steam/prefix/drive_c/syswow64, and followed the steps, but it just doesn't work.

@Mastergatto
Copy link
Author

Mastergatto commented Dec 22, 2018

Sorry, I have messed up things a bit, 64bit libraries too are supposed to be put in system32, not in syswow64, I recommend you to restart all in a clean prefix. I have corrected the guide, sorry for causing any inconveniences.

@SeerLite
Copy link

Ok, so I deleted the pfx/ and ran the game from steam to generate a new pfx/ to start from scratch, and then followed the same procedure.
This time I copied the DLLs from C:\Windows\System32 to pfx/drive_c/windows/system32.
Then I ran winecfg (yes, I had $WINEPREFIX set), and in the Libraries tab I added all the DLLs that I had copied. Only 2 of them did not show up in the dropdown by default: msmpeg2vdec and msmpeg2adec. I added them manually, and continued with the steps above.
I'm getting the same error as before: regsvr32: Failed to load DLL 'msmpeg2vdec.dll'. What would be causing it this time?
Again, thanks for all the effort put into this!

@Mastergatto
Copy link
Author

Mastergatto commented Dec 22, 2018

Huh, that's strange... Did you imported correctly the two .reg with wine and wine64? Are there other error messages before regsvr32: Failed to load DLL 'msmpeg2vdec.dll'? Have you tried to register msmpeg2vdec and msmpeg2adec with the other command? (if wine regsvr32 msmpeg2vdec.dll gives you errors, then try with wine64, or the other way)
Also, it could be that the Media Foundation package for Windows 10 (if you have it) is not fully supported by wine, in this case can you try those libraries for Windows 7 64-bit?
wmf_workaround.zip

@SeerLite
Copy link

SeerLite commented Dec 22, 2018

Hey! It worked! Thank you so much! Really, thanks.
It seems the problem was that the DLLs were for Windows 10. I used the ones you put in the zip file and loaded them with wine64. This finally worked and now the game runs correctly (it has some performance issues but I can probably get around that with some configuration).
Thank you so much!

@Mastergatto
Copy link
Author

Mastergatto commented Dec 22, 2018

That's really good, I have updated the guide with the warning to not use windows 10 dlls.

@Mastergatto
Copy link
Author

That sound promising, but it's something we can use right now, or it's only useful to Valve and/or Wine developers? In the latter case you should open a new ticket about it.

@ruabmbua

This comment has been minimized.

@Mastergatto

This comment has been minimized.

@ruabmbua

This comment has been minimized.

@NextGenRyo
Copy link

@dubcusb hey how you get the dlls to register? I get the same error regsvr32: Failed to load DLL 'msmpeg2vdec.dll' In winecfg not all the dlls I put in system32 show up.

@laichiaheng

This comment has been minimized.

@SeerLite
Copy link

@mixalis1987 Add the dlls that don't show up in "New override for library" in winecfg. (Exclude the ".dll").
For example if "msmpeg2vdec" is missing in the list, type msmpeg2vdec and click Add. Make sure they are loaded in the order "(native, builtin)" and then Apply.
After that, try the command again. I hope it works!

@NextGenRyo
Copy link

@dubcusb Unfortunately I already tried that and it didn't work.

@SeerLite
Copy link

SeerLite commented Jan 27, 2019

Hmm.
What architecture (32bit / 64bit) is your pc?
What's the exact path of the folder you dropped the DLLs in? (It should be something like ~/.steam/steam/steamapps/compatdata/567640/pfx/drive_c/windows32)
Did you try using both wine and wine64 in the commands to load the DLLs?

@NextGenRyo
Copy link

NextGenRyo commented Jan 27, 2019

@dubcusb Its 64bit and yes I did try both wine and wine64 commands both said the same error message. I put the DLL's in /run/media/michael/Backup/Games/Steam_Library/steamapps/compatdata/883710/pfx/drive_c/windows/system32/ I install all stuff on different HDD

@SeerLite
Copy link

Hm. Well, I'm sorry but I have no idea why it wouldn't work.
Are you using the DLLs from the zip file Mastergatto provided?
Also, just in case this has anything to do with the problem: What Windows version do you have selected in winecfg (Applications > Windows Version)? Try setting it to Windows 7 and try again.

@flibitijibibo flibitijibibo added the XAudio2 Uses the XAudio2 subsystem label Feb 11, 2019
@dreamer dreamer mentioned this issue Apr 7, 2019
2 tasks
@Geechan
Copy link

Geechan commented Apr 17, 2019

@Mastergatto I have to report that your download links for the .dll files are no longer available, which makes attempting this fix impossible. I am also not sure what you meant with Step 4 and checking the path, as I could not find mf.reg and wmf.reg anywhere. I assume these two files also came with your download link.

@kisak-valve
Copy link
Member

Hello @Geechan, it's been covered elsewhere on the issue tracker, but redistribution of dlls from Windows is legally problematic, which is why they were removed from Github.

@Geechan
Copy link

Geechan commented Apr 17, 2019

@kisak-valve Makes sense. In that case, perhaps the .reg files could still be posted here as they're a critical component to fixing this. Specifically the mf.reg file, as the wmf.reg file has been posted above.

@Mastergatto
Copy link
Author

Sure, here are the missing .reg files. I'm updating the guide as it seems the Windows dlls aren't allowed here.
WMF_regs.zip

@ValveSoftware ValveSoftware deleted a comment from Severus157 Jun 28, 2019
@Severus157
Copy link

Wow such a great help from ValveSoftware... Great... This guide is stupid and useless since it doesn't work on Linux...

@kisak-valve
Copy link
Member

kisak-valve commented Jun 28, 2019

Hello @Severus157, for clarity, you requested that someone else post copyrighted libraries, and it's clearly noted that we can't redistribute that here.

There's ongoing work to improve support for Media Foundation happening upstream which is the way forward in terms of getting the game to work.

@stalag17
Copy link

stalag17 commented Aug 5, 2019

Hello all.
First of all i am a novice linux user. It came with new purchased laptop and i do not want to change. My distro is Endless 3.4. And i cannot play this game due to reasons above. How can i play this game could anyone describe step by step like telling an idiot?

Thanks for help.

@Severus157
Copy link

@stalag17
Unfortunately Valve isn't interested in allowing help here in this thread, since it includes Windows Libraries you can only get from Windows 7 in 32bit if you have a computer that old to extract.

I don't think I am allowed to Post a link... But you can check on ProtonDB. Someone created a script and hosted on github. You should be able to do it.
Sorry I just don't know how to get past Valves stupid Anti-Help Philosophy. Also don't know if there is some kind of Private Chat on Github...

@stalag17
Copy link

stalag17 commented Aug 5, 2019

Thanks for response. That is the only game i cannot play in my library. Game looks awsome.

@dlove67
Copy link

dlove67 commented Aug 5, 2019

@stalag17 you can check protondb for the workaround. You're looking for something that mentions "mfplat.dll". You should be able to grab it from a working windows 7 install, since you shouldn't offhandedly trust any linked dlls.

@Severus157 They are helping, they just don't want you posting illegal (or almost definitely illegal) things.

@Severus157
Copy link

Severus157 commented Aug 5, 2019

@stalag17
Yeah I'm really grateful for the existing Github workaround I'm not able to post cause of Valve. I can play this game now!

If you check ProtonDB you can find it :).

@dlove67
But why is it illegal to help someone installing Libraries you cannot get if you don't have a 20 year old spare computer... Thats something I don't get. Who the heck has this lying around...
And how are you expecting anyone has access to a spare Windows 7 PC.... At least I don't have this junk lying around.

@dlove67
Copy link

dlove67 commented Aug 5, 2019

@Severus157 Because of copyright law. Anyway, it doesn't matter why it's illegal in this case, just that it is.

@Severus157
Copy link

@dlove67
Well that just proves Valve has a stupid Anti-Help Policy...
Lucky you, to have a spare 20 year old Computer lying around here.

I don't have this lying around and most certainly no Windoof License. So I would never be able to ever play this game on Valves Policies!
And this isn't fair. All cause of Valve. I can only play this game cause someone created the script where the correct libraries are included.
And really I tried a lot dll download sites but not a single download was working with wine...

@stalag17
Copy link

stalag17 commented Aug 6, 2019

Yes you are right. I wrote to steam support about this. And the replied to me that use ubuntu version.xxx. Question and answer completely not related. No solution they recommended.

@momumi
Copy link

momumi commented Nov 20, 2019

I tried the workaround mentioned by @Mastergatto but the game still gets stuck on a black screen on my system. I also tried the same workaround for another game that needs Media Foundation, and it didn't work there either. However it did work on an old intel based laptop that I have that's also running Arch.

System Specs

CPU: Ryzen 9 3900X
GPU: RX 570
Motherboard: Asus CROSSHAIR-VII-HERO WIFI
Driver: mesa-19.2.4-1, mesa-aco
Distro: Arch Linux
Kernel: 5.3, 5.4.0-rc8
Proton: 4.11-8, 3.16-9, 4.19-GE-1
system information

I also tried the workarounds in #2927 for 3rd gen Ryzen (clearcpuid=514 and kerkel 5.4.0-rc8) with no luck.

@Sudland
Copy link

Sudland commented Nov 20, 2019

@momumi Exactly the same problem here. My laptop running skylake with the same distro setup as my ryzen desktop can play Danganronpa V3 just fine.

System Specs

CPU: Ryzen 9 3900X
GPU: Vega 64
Motherboard: MS-7B87/B450M GAMING PLUS (AGESA 1.0.0.4)
Driver: Mesa 20.0.0-devel (git-36c055c9b7)
Distro: Gentoo
Kernel: 5.3.11-lqx2
Proton: 4.11-8, 4.19-GE-1
system information

Tried the same solution @momumi did to no avail.

I also tried the workarounds in #2927 for 3rd gen Ryzen (clearcpuid=514 and kerkel 5.4.0-rc8) with no luck.

I can try out patches or tweaks, if i'm not too busy.

@momumi
Copy link

momumi commented Nov 21, 2019

Searching 3900x media foundation site:protondb.com on google, I couldn't find any one who got media foundation working on protondb with 3900x. However, it seems 3600 and 3700x users had no problem, so it looks like a problem with 3900x specifically and not the rest of the Zen2 processors.

I also tried using the media foundation dlls from Win10 instead of Win7, but wine just crashed when I tried to use them.

@momumi
Copy link

momumi commented Nov 21, 2019

I managed to get it to work by disabling SMT (Simultaneous multithreading) in the BIOS. This isn't a permanent solution since it cuts your processors thread count in half (24 -> 12), so you should re-enable it when your done.

Edit:
Instead of disabling SMT, you can add taskset -c 0-15 command% to the games launch options in Steam.

@soredake
Copy link
Contributor

Game starts into black screen
изображение
steam-567640.log

@soredake
Copy link
Contributor

With latest proton-exp game crashes instead of showing black screen
steam-567640.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues XAudio2 Uses the XAudio2 subsystem
Projects
None yet
Development

No branches or pull requests