https://bugs.winehq.org/show_bug.cgi?id=44498
Bug ID: 44498 Summary: Legend of Kay anniversary not playing wmv cutscene because "fixme:mfplat:MFStartup (65648, 0): stub" Product: Wine Version: 2.21 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mfplat Assignee: wine-bugs@winehq.org Reporter: andy86@fastwebnet.it Distribution: ---
Hello. Legend of Kay anniversary non playing wmv cutscene, crash or skip it.
In a backtrace just before crash wine print:
fixme:mfplat:MFStartup (65648, 0): stub
and, in case of crash:
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bc7495e
I try with native mfplat.dll for seeing the difference, nothing differences apart other fixme/trace errors.
ps: i use wine-staging with csmt patch.
https://bugs.winehq.org/show_bug.cgi?id=44498
andy andy86@fastwebnet.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Product|Wine |Wine-staging CC| |andy86@fastwebnet.it, | |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Component|mfplat |-unknown Distribution|--- |ArchLinux
https://bugs.winehq.org/show_bug.cgi?id=44498
andy andy86@fastwebnet.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |mfplat Product|Wine-staging |Wine
https://bugs.winehq.org/show_bug.cgi?id=44498
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|mfplat |-unknown
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Please attach full terminal output, as a text file.
https://bugs.winehq.org/show_bug.cgi?id=44498
--- Comment #2 from andy andy86@fastwebnet.it --- Created attachment 60458 --> https://bugs.winehq.org/attachment.cgi?id=60458 full terminal output
Error or crash occurs always after "fixme:mfplat:MFStartup (65648, 0): stub".
In this case not crash but just skip cutscene.
If i select "continue game" instead of "new game" or skipping cutscene "fixme:mfplat" do not appears.
Reading this game required windows media foundation, that mfplat.dll is part of: http://steamcommunity.com/app/313810/discussions/0/520518053430510644/?ctp=3...
https://bugs.winehq.org/show_bug.cgi?id=44498
andy andy86@fastwebnet.it changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=43814
https://bugs.winehq.org/show_bug.cgi?id=44498
Toni eldrad@autistici.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eldrad@autistici.org
--- Comment #3 from Toni eldrad@autistici.org --- Looks like a duplicate of 44498 that has a workaround for the crash, although to actually play the videos would need more true implementation of mfplat and related dlls (usually mf.dll, mfreadwrote.dll, plus decorders)
https://bugs.winehq.org/show_bug.cgi?id=44498
--- Comment #4 from Toni eldrad@autistici.org --- Or maybe we could refocus this on "Not playing wmv videos because of missing Windows Media Foundation" implementation.
Then workarounds that could help a future implementation could be discussed, I've investigated and found some info, although I don't have a working workaround.
I have tried importing related registry entries and dlls for another game with the same problem (Darksiders Warmastered), and while I wasn't successfull this is what i have tried for now:
It seems once mfplat.dll and related registry entries are in place you will start to see queries for missing com classes that lead to certain required dlls (that change depending on windows versions, afaics w7 uses one set, while 8 and 10 use a different set).
registry entries:
- HKLM/Software/Microsoft/Windows Media Foundation/* - HKLM/Software/Classes/MediaFoundation/* - classid/InProcess definitions for the below dlls
involved dlls:
- mfplat.dll - mf.dll - mfreadwrite.dll - wmadmod.dll - wmvdmod.dll or wmvdecod.dll
I will try again in the future but for now that's as far as I could reach with an initial attempt. Reaching to a winetricks verb installing a working set of dlls would be a good step, but most of these dlls seem to be distributed inside .msu installers which are not supported atm. The only exception I've seen is the w10 pack, but using those dlls leads to missing functionality in unrelated dlls.
https://bugs.winehq.org/show_bug.cgi?id=44498
--- Comment #5 from Toni eldrad@autistici.org --- Btw, before I meant duplicate of https://bugs.winehq.org/show_bug.cgi?id=43607.
Also, https://bugs.winehq.org/show_bug.cgi?id=43814 talks about (but doesn't detail) a workaround for playing mpeg videos with mfplat.
All of these bugs seem to talk about similar issues related to incomplete media foundation implementation, that seems to be something like the new quartz.
https://bugs.winehq.org/show_bug.cgi?id=44498
andy andy86@fastwebnet.it changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=43607
--- Comment #6 from andy andy86@fastwebnet.it ---
Or maybe we could refocus this on "Not playing wmv videos because of missing Windows Media Foundation" implementation.
I think so too. :-)
for another game with the same problem (Darksiders Warmastered)
For Darksiders classic simply need "winetricks wmv9vcm".
Detail: https://github.com/Winetricks/winetricks/issues/659
For LoK this not enough.
With native mfplat and mfreadwrite crash still happens, i yet try registry keys spoken in 43814, but crash still happens.
I try now with native wmadmod and wmvdmod, nothing change, crash still happens.
https://bugs.winehq.org/show_bug.cgi?id=44498
--- Comment #7 from Toni eldrad@autistici.org --- (In reply to andy from comment #6)
for another game with the same problem (Darksiders Warmastered)
For Darksiders classic simply need "winetricks wmv9vcm".
Seems they reimplemented video playback on warmastered
With native mfplat and mfreadwrite crash still happens, i yet try registry keys spoken in 43814, but crash still happens.
You might want to try different versions of mfplat and mfreadwrite, also in my experience mfplat.dll is enough to avoid crashes in some applications (so you may want to try only with that one first), but it depends on the version used, for warmastered first time I used 11.0.6001.7000 that did work ok, other versions could run into more errors due to missing dll methods in other parts of wine.
If this doesn't work it can be helpful to post debug logs from different combinations to see what's going on. In my experience after using mfplat.dll you will start to see new err:ole:CoGetClassObject that lead to new dlls or registry entries that are needed.
https://bugs.winehq.org/show_bug.cgi?id=44498
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=44498
--- Comment #8 from andy andy86@fastwebnet.it ---
In my experience after using mfplat.dll you will start to see new err:ole:CoGetClassObject that lead to new dlls or registry entries that are needed.
Tried. Found:
err:ole:CoGetClassObject no class object {48e2ed0f-98c2-4a37-bed5-166312ddd83f}
then search on the web and found:
http://www.windowrdb.com/w.php?w=hkcr-clsid-48e2ed0f-98c2-4a37-bed5-166312dd...
and add it to the registry.
Retry to run the game result in new error:
00b4:err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,66,00,72,00,65,00,61,00,64,00,77,00,72,00,69,00,74,00,65,00,2e,00,64,00,6c,00,6c,00,00,00" 00b4:err:ole:CoGetClassObject no class object {48e2ed0f-98c2-4a37-bed5-166312ddd83f} could be created for context 0x1
:-\
https://bugs.winehq.org/show_bug.cgi?id=44498
--- Comment #9 from Toni eldrad@autistici.org --- (In reply to andy from comment #8)
Retry to run the game result in new error:
You likely got some other error and the dll could not load properly, you can try other versions of the dll, or check your logs above that, but advancing is not easy and I don't think this bug is the best place to post that kind of stuff unless you can get it further than other testers...
I did manage to get all the dlls commented above loaded and it's com classes and instances found (no more CoGetClassObject errors), but still there can be some more problems after that (might be because I used dlls mixed from different versions of windows, or maybe at some point the problem was something else). I still want to keep trying but really takes a long time testing and advancing through missing dlls and registry entries.
https://bugs.winehq.org/show_bug.cgi?id=44498
--- Comment #10 from andy andy86@fastwebnet.it --- I understand. The hex code i put in reg key is a .dll path encoding in exa.
I decode it and it point to mfreadwrite.dll in system32, but i've put .dll in game folder, then result in not found.
Substituting hex code with "mfreadwrite.dll" without path, no more CoGetClassObject error in my log, but crash still remain.
I always hope in a future complete "windows media foundation" implementation on wine.
https://bugs.winehq.org/show_bug.cgi?id=44498
andy andy86@fastwebnet.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Legend of Kay anniversary |Not playing wmv videos |not playing wmv cutscene |because of missing Windows |because |Media Foundation" |"fixme:mfplat:MFStartup |implementation (Legend of |(65648, 0): stub" |Kay anniversary, ...)
https://bugs.winehq.org/show_bug.cgi?id=44498
andy andy86@fastwebnet.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Not playing wmv videos |Not playing wmv videos |because of missing Windows |because of missing "Windows |Media Foundation" |Media Foundation" |implementation (Legend of |implementation (Legend of |Kay anniversary, ...) |Kay anniversary, ...)
https://bugs.winehq.org/show_bug.cgi?id=44498
--- Comment #11 from Toni eldrad@autistici.org --- (In reply to andy from comment #10)
Substituting hex code with "mfreadwrite.dll" without path, no more CoGetClassObject error in my log, but crash still remain.
Might be because now you miss registry entries that tell mfplat/mfreadwrite what codecs to use.
https://bugs.winehq.org/show_bug.cgi?id=44498
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |mfplat Summary|Not playing wmv videos |Legend of Kay: Anniversary |because of missing "Windows |Edition needs |Media Foundation" |{48e2ed0f-98c2-4a37-bed5-16 |implementation (Legend of |6312ddd83f} |Kay anniversary, ...) |(CLSID_MFReadWriteClassFact | |ory)
--- Comment #12 from Zebediah Figura z.figura12@gmail.com --- Adjusted title to describe specific problems. We try to avoid meta-bugs here (and this is still probably too much of one).
https://bugs.winehq.org/show_bug.cgi?id=44498
andy andy86@fastwebnet.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #13 from andy andy86@fastwebnet.it --- Excuse me, but what do you mean with "meta-bug"?
In any case, I think your new title do not describe problem, that is "wmv videos do not playing", and it's not sure that missing registry key is the problem, because registry keys is needed just with native .dll, not with built-in.
See bug 43814.
https://bugs.winehq.org/show_bug.cgi?id=44498
andy andy86@fastwebnet.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Legend of Kay: Anniversary |Legend of Kay: Anniversary |Edition needs |Edition not play .wmv |{48e2ed0f-98c2-4a37-bed5-16 |cutscene (requires some |6312ddd83f} |Windows Media Foundation |(CLSID_MFReadWriteClassFact |implementation) |ory) |
https://bugs.winehq.org/show_bug.cgi?id=44498
--- Comment #14 from Toni eldrad@autistici.org --- (In reply to andy from comment #13)
Excuse me, but what do you mean with "meta-bug"?
He means a bug that tries to fix too many issues in one go, spawning endless discussion etc. Bugs are supposed to aim just for one issue at a time.
Or in other words we have been naughty by taking personal discussion about workarounds into the bugtracker :D, we should be doing that in personal email or forums.
https://bugs.winehq.org/show_bug.cgi?id=44498
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Legend of Kay: Anniversary |Legend of Kay: Anniversary |Edition not play .wmv |Edition does not play |cutscene (requires some |cutscenes (needs |Windows Media Foundation |{48e2ed0f-98c2-4a37-bed5-16 |implementation) |6312ddd83f} | |CLSID_MFReadWriteClassFacto | |ry)
--- Comment #15 from Zebediah Figura z.figura12@gmail.com --- (In reply to Toni from comment #14)
(In reply to andy from comment #13)
Excuse me, but what do you mean with "meta-bug"?
He means a bug that tries to fix too many issues in one go, spawning endless discussion etc. Bugs are supposed to aim just for one issue at a time.
Or in other words we have been naughty by taking personal discussion about workarounds into the bugtracker :D, we should be doing that in personal email or forums.
Extensive discussion of workarounds is best avoided in bugzilla, but that's not really what I was referring to. I mean something more along the lines of using subjects like "mfplat is unimplemented". mfplat is a very broad component, and there are many parts that need implementation. Such a bug would not be able really to be marked fixed until all of mfplat is implemented, i.e. probably never.
We prefer to track one issue per bug, even if a program has multiple related issues.
https://bugs.winehq.org/show_bug.cgi?id=44498
--- Comment #16 from Toni eldrad@autistici.org --- Workaround is ready:
- "winetricks mf" (just necessary one time to cache w7sp1 installer) - use install-mf.sh from https://github.com/tonix64/python-installcab - get mfplat.dll (v12.0.7601) from somewhere else and place in system32 or (probably) game directory
Together with andy we tested it works for "Legend of Kay", "Darksiders Warmastered" and "Secret of Mana".
I'm just providing the info here since it might help other users with similar problems (app not playing wmv videos due to missing wmf). Please don't discuss the workaround here you can use the above github issues.
https://bugs.winehq.org/show_bug.cgi?id=44498
--- Comment #17 from Toni eldrad@autistici.org --- Zebediah btw, about the new title you set for this, I'm not so sure it's right. Probably that component (mfreadwrite.dll) is needed if you have native mfplat.dll already installed.
I think with just regular wine the problem is probably some unimplemented function in mfplat.dll that makes the game crash.
https://bugs.winehq.org/show_bug.cgi?id=44498
Ahmed Elsayed ahmed.com@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ahmed.com@aol.com
--- Comment #18 from Ahmed Elsayed ahmed.com@aol.com --- (In reply to Toni from comment #16)
Workaround is ready:
- "winetricks mf" (just necessary one time to cache w7sp1 installer)
- use install-mf.sh from https://github.com/tonix64/python-installcab
- get mfplat.dll (v12.0.7601) from somewhere else and place in system32 or
(probably) game directory
Together with andy we tested it works for "Legend of Kay", "Darksiders Warmastered" and "Secret of Mana".
I'm just providing the info here since it might help other users with similar problems (app not playing wmv videos due to missing wmf). Please don't discuss the workaround here you can use the above github issues.
This workaround is not working with Resident Evil 7 Biohazard.
https://bugs.winehq.org/show_bug.cgi?id=44498
--- Comment #19 from andy andy86@fastwebnet.it --- Hello. Make sure that all .dll, expecially mfplat that isn't included in Tony's script, are set as "native" in winecfg (or regedit), otherwise wine may follow up to use builtin instead. (place it in system32 may not be enought, you can use WINEDEBUG="+loaddll" to verify if dll is load as native or built-in)
You can send my an e-mail if you need help, consider I haven't RE7, but I can try to help you to understand if request .dll is correct loaded.
https://bugs.winehq.org/show_bug.cgi?id=44498
--- Comment #20 from Ahmed Elsayed ahmed.com@aol.com --- I copied the 64bit version of Mfplate.dll to the game directory. Do I need to copy the 32bit version of Mfplate.dll to system32 folder?
https://bugs.winehq.org/show_bug.cgi?id=44498
--- Comment #21 from Ahmed Elsayed ahmed.com@aol.com --- 002a:err:module:import_dll Library MFReadWrite.dll not found
https://bugs.winehq.org/show_bug.cgi?id=44498
--- Comment #22 from andy andy86@fastwebnet.it --- Hello. We can't discuss about workaround and/or other game in this topic. I send you an email in reply to your question.
https://bugs.winehq.org/show_bug.cgi?id=44498
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=44498
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #23 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-5.10?
https://bugs.winehq.org/show_bug.cgi?id=44498
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |b91fbb1c2822a513d671c73ccfd | |b56760819184c
--- Comment #24 from Zebediah Figura z.figura12@gmail.com --- MFReadWriteClassFactory was implemented in https://source.winehq.org/git/wine.git/commitdiff/b91fbb1c2822a513d671c73ccfdb56760819184c. Please open new bugs for subsequent failures.
https://bugs.winehq.org/show_bug.cgi?id=44498
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #25 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.11.