https://bugs.winehq.org/show_bug.cgi?id=48684
Bug ID: 48684 Summary: "BlazBlue: Calamity Trigger" class {94c1affa-66e7-4961-9521-cfdef3128d4f} not registered Product: Wine Version: 5.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: xactengine Assignee: wine-bugs@winehq.org Reporter: lvb.crd@protonmail.com Distribution: ---
Created attachment 66546 --> https://bugs.winehq.org/attachment.cgi?id=66546 output from bbtc.exe with backtrace
I think the game has two problems and one of them is related to "xaudio2: Rewrite to use FAudio" or so:
0024:trace:ole:CoGetClassObject CLSID: {94c1affa-66e7-4961-9521-cfdef3128d4f},IID: {00000001-0000-0000-c000-000000000046} 0024:err:ole:CoGetClassObject class {94c1affa-66e7-4961-9521-cfdef3128d4f} not registered 0024:err:ole:CoGetClassObject no class object {94c1affa-66e7-4961-9521-cfdef3128d4f} could be created for context 0x1
wine-versoin: wine-5.2-312-gc6b852e3c3 (no any additional dlls from winetrick or the like) game: BBCT.EXE "BlazBlue: Calamity Trigger" gog-version
"The game starts and crashes immediately."
https://bugs.winehq.org/show_bug.cgi?id=48684
--- Comment #1 from Iglu47 (Dmitry) lvb.crd@protonmail.com --- Created attachment 66547 --> https://bugs.winehq.org/attachment.cgi?id=66547 output with patch
also I tried this patch: https://gist.github.com/flibitijibibo/2c8fb8b7fa730a23fcf47a4deaf47792/debac... but it gives 0024:fixme:xact3:IXACT3EngineImpl_QueryInterface (0x6d9d0b0)->({e72c1b9a-d717-41c0-81a6-50eb56e80649},0x31f830), not found 0024:fixme:ole:CoCreateInstanceEx no instance created for interface {e72c1b9a-d717-41c0-81a6-50eb56e80649} of class {94c1affa-66e7-4961-9521-cfdef3128d4f}, hres is 0x80004002
https://bugs.winehq.org/show_bug.cgi?id=48684
--- Comment #2 from Iglu47 (Dmitry) lvb.crd@protonmail.com --- Comment on attachment 66546 --> https://bugs.winehq.org/attachment.cgi?id=66546 output from bbtc.exe with backtrace
WINEDEBUG=+seh,+d3d,+ole
https://bugs.winehq.org/show_bug.cgi?id=48684
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |STAGED Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/xactengine-initi | |al Ever confirmed|0 |1 CC| |leslie_alistair@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=48684
--- Comment #3 from Iglu47 (Dmitry) lvb.crd@protonmail.com --- Created attachment 66562 --> https://bugs.winehq.org/attachment.cgi?id=66562 +seh,+ole,+xact3 with patchset
I tried to https://github.com/wine-staging/wine-staging/commit/afdf5020ff0c6395d02de9d8...
Installing some packages lib32 version of gstreamer give less errors, but it still give me: fixme:xact3:IXACT3EngineImpl_Initialize FACTAudioEngine_Initialize returned -2 err:xact3:IXACT3EngineImpl_CreateInMemoryWaveBank Failed to CreateInMemoryWaveBank: -1
https://bugs.winehq.org/show_bug.cgi?id=48684
--- Comment #4 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Iglu47 (Dmitry) from comment #3)
Created attachment 66562 [details] +seh,+ole,+xact3 with patchset
I tried to https://github.com/wine-staging/wine-staging/commit/ afdf5020ff0c6395d02de9d8febc184707884ece
Installing some packages lib32 version of gstreamer give less errors, but it still give me: fixme:xact3:IXACT3EngineImpl_Initialize FACTAudioEngine_Initialize returned -2 err:xact3:IXACT3EngineImpl_CreateInMemoryWaveBank Failed to CreateInMemoryWaveBank: -1
Thank you.
I don't have this games to debug with but the above issue is to do with the size of the data structure not being handled correctly. (FAudio issue).
https://bugs.winehq.org/show_bug.cgi?id=48684
Iglu47 (Dmitry) lvb.crd@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #66562|0 |1 is obsolete| |
--- Comment #5 from Iglu47 (Dmitry) lvb.crd@protonmail.com --- Created attachment 66576 --> https://bugs.winehq.org/attachment.cgi?id=66576 +seh,+ole,+xact3 with patchset-afdf5020
one more with https://github.com/wine-staging/wine-staging/commit/afdf5020ff0c6395d02de9d8...
if disable fullscreen mode it gives more clear output and crash only after "press button to start" moment (but it's already another issue)
(In reply to Alistair Leslie-Hughes from comment #4)
I don't have this games to debug with but the above issue is to do with the size of the data structure not being handled correctly. (FAudio issue).
I'm understood, thank you.
https://bugs.winehq.org/show_bug.cgi?id=48684
--- Comment #6 from Iglu47 (Dmitry) lvb.crd@protonmail.com --- Created attachment 66588 --> https://bugs.winehq.org/attachment.cgi?id=66588 +seh,+ole,+gstreamer,+xact3 with patchset wine-stg-e61a75f7
Game not crash now
trace:xact3:DllMain Using FAudio version 200300 trace:ole:apartment_getclassobject added new loaded dll L"C:\windows\system32\xactengine3_3.dll" trace:xact3:DllGetClassObject ({94c1affa-66e7-4961-9521-cfdef3128d4f}, {00000001-0000-0000-c000-000000000046}, 0x31f870) trace:xact3:IXACT3EngineImpl_Initialize (0x6cd81b8)->(0x31f954) trace:xact3:IXACT3EngineImpl_CreateInMemoryWaveBank (0x6cd81b8)->(0x7cf9080, 10282056, 0x0, 0x0, 0x2e88a20) trace:xact3:IXACT3EngineImpl_CreateInMemoryWaveBank Created in-memory WaveBank: 0x6cdb220 trace:xact3:IXACT3EngineImpl_CreateSoundBank (0x6cd81b8)->(0x86c74d0, 10904, 0x0, 0x0, 0x2e88a24) trace:xact3:IXACT3EngineImpl_CreateSoundBank Created SoundBank: 0x6ce9c20
Initial issue fixed on staging with patchset 'xactengine-initial' and Faduio 20.03.r3.gb5f57cb
Thank you, Alistair Leslie-Hughes
https://bugs.winehq.org/show_bug.cgi?id=48684
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |cacbac0963586925ce21995cf7c | |27f663a059212 Status|STAGED |RESOLVED Resolution|--- |FIXED
--- Comment #7 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed by https://source.winehq.org/git/wine.git/?a=commit;h=cacbac0963586925ce21995cf...
https://bugs.winehq.org/show_bug.cgi?id=48684
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.15.