https://bugs.winehq.org/show_bug.cgi?id=21403
--- Comment #14 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Sebastian Lackner from comment #13)
Thanks for providing the demo, could you try the staged patch? The problem is that IDirectInput8::Initialize is called while holding the loader lock, so the hook thread can never start up properly.
The patch works so that Shiva Editor and the 2 games start OK, thanks Sebastian. Now the problem is that they don't exit properly (freeze on exit) unless native dinput or dinput8.dll is installed: err:ntdll:RtlpWaitForCriticalSection section 0x7bce13e0 "loader.c: loader_section" wait timed out in thread 003b, blocked by 0032, retrying (60 sec)
Could you check if this is due to the patch or a different issue that needs a separate bug report, please?
Easy to test with Shiva Editor v1.9.x, because the app doesn't need other native component to start up. After installation launch the editor with ShiVa.exe and wait until the main user interface is fully loaded, then close the app (either by closing the main window or via the main menu). It hangs on exit. Native dinput.dll works around it. Shiva Editor 1.9.2 download: ftp://www.shiva-engine.com/ShiVa_1.9.2.0.WEB.exe
ShiVa_1.9.2.0.WEB.exe (820M) sha1: 59dc9d189871a10de1c6b4e1e3999996e60e4af5
If you want to test with that Arvoch demo, the game needs native msvcr71, WMP10 plus native devenum and quartz installed to get to the main menu. Select <Exit> in the main menu, click <Exit> again on the splash screen, then close the reminder message. The game hangs up at this point and native dinput8.dll works around that.
wine-1.7.51-268-g781b88b (Staging) Fedora 22 32-bit