http://bugs.winehq.org/show_bug.cgi?id=13683
--- Comment #24 from Christopher Thielen christopher@thielen.co --- Created attachment 47562 --> http://bugs.winehq.org/attachment.cgi?id=47562 Brief gameplay with WINEDEBUG=+cursor,+icon,+resource including toggling 'Q' a few times to attempt to get the second cursor to show up
As per Erich Hoover's suggestion, here is the beginnings 20 seconds of the game with WINEDEBUG=+cursor,+icon,+resource, attempting to figure out how the game draws a cursor in the first place.
TRACE lines for cursor and icon do show up, though I cannot say whether they're significant:
trace:icon:ICO_LoadIcon 0x360000 0x360086 trace:cursor:CreateIconFromResourceEx 0x37dc22 (1128 bytes), ver 00030000, 32x32 icon trace:cursor:ungrab_clipping_window no longer clipping trace:icon:DrawIconEx (hdc=0x2002d,pos=23.4,hicon=0x10044,extend=32.32,istep=0,br=(nil),flags=0x0000000b) trace:resource:LdrFindResource_U module 0x7e920000 type #0018 name #0002 lang 0000 level 3 trace:resource:find_entry_by_id root 0x7e93f3b4 dir 0x7e93f3b4 id 0018 not found trace:cursor:LoadCursorW (nil), #7f00 trace:resource:LoadImageW ((nil),#7f00,2,0,0,0x00008040) trace:cursor:CURSORICON_Load (nil), #7f00, 0x0, depth 32, fCursor 1, flags 0x8040
In particular, this line may correlate to my pressing 'Q' (i.e. when the cursor should switch):
trace:cursor:LoadIconW (nil), #7f05
Is there a way to patch the code quickly to dump the cursor resource being used by the LoadIconW in order to confirm its the missing cursor?
Here are the total cursor:LoadIconW, which should at least toggle between two cursors:
trace:cursor:LoadIconW (nil), #7f05 trace:cursor:LoadIconW (nil), #7f05 trace:cursor:LoadIconW 0x7edb0000, L"" trace:cursor:LoadIconW (nil), L"" trace:cursor:LoadIconW (nil), #7f05 trace:cursor:LoadIconW 0x7edf0000, #0001 trace:cursor:LoadIconW 0x7edb0000, #0001 trace:cursor:LoadIconW (nil), #7f05 trace:cursor:LoadIconW (nil), #7f00 trace:cursor:LoadIconW (nil), #7f00