https://bugs.winehq.org/show_bug.cgi?id=48598
Bug ID: 48598 Summary: MudRunner crashes during loading screen Product: Wine Version: 5.1 Hardware: x86-64 OS: Linux Status: NEW Severity: minor Priority: P2 Component: directx-d3dx9 Assignee: wine-bugs@winehq.org Reporter: andrey.goosev@gmail.com Distribution: ---
Continuation of bug 45481
fixme:d3dx:d3dx9_animation_controller_RegisterAnimationOutput iface 13983368, name "root", matrix 1C7757E8, scale 00000000, rotation 00000000, translation 00000000 stub. fixme:d3dx:d3dx9_keyframed_animation_RegisterAnimationSRTKeys set 13983388, name "root", scale_keys_count 1, rotation_keys_count 1, translation_keys_count 1, scale_keys 1C697398, rotation_keys 1C697378, translation_keys 1C6973B0, animation_index 0032D854 stub. fixme:d3dx:d3dx9_animation_controller_RegisterAnimationSet iface 13983368, anim_set 13983388 stub. fixme:d3dx:d3dx9_animation_controller_SetTrackAnimationSet iface 13983368, track 18, anim_set 13983388 stub. fixme:d3dx:d3dx9_animation_controller_SetTrackDesc iface 13983368, track 18, desc 0032D860 stub. fixme:d3dx:d3dx9_animation_controller_GetTrackAnimationSet iface 13983368, track 0, anim_set 0032DBEC stub.
wine-5.1-299-gd1373e8aae
https://bugs.winehq.org/show_bug.cgi?id=48598
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
http://bugs.winehq.org/show_bug.cgi?id=48598
Connor McAdams cmcadams@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cmcadams@codeweavers.com
--- Comment #1 from Connor McAdams cmcadams@codeweavers.com --- The crash here is an access violation when trying to dereference the interface pointer returned by GetTrackAnimationSet():
7730.260:0138:013c:fixme:d3dx:d3dx9_animation_controller_GetTrackAnimationSet iface 000000000F7DB550, track 0, anim_set 000000000011DC20 stub. 7730.260:0138:013c:warn:seh:dispatch_exception backtrace: --- Exception 0xc0000005. 7730.260:0138:013c:trace:seh:dispatch_exception code=c0000005 (EXCEPTION_ACCESS_VIOLATION) flags=0 addr=00000001406B754A
Storing the animation set passed into RegisterAnimationSet() and returning it from GetTrackAnimationSet() is enough to stop the game from crashing. I'll try to get an upstream MR for that.
This gets the game running, but it has rendering issues. The game uses SetRawValue() on a D3DXPC_STRUCT effect parameter:
27225.914:0138:013c:fixme:d3dx:d3dx_effect_SetRawValue Unhandled parameter class D3DXPC_STRUCT.
It's a structure with multiple vec3s. I hacked in support for that and the game runs and renders fine with builtin d3dx9. Once this bug is fixed, we'll likely need a separate bug report for the SetRawValue() bug.