http://bugs.winehq.org/show_bug.cgi?id=27238
Summary: Tesla: The Weather Man demo: movement keys not working Product: Wine Version: 1.3.20 Platform: x86 URL: http://www.thoughtquake.com/content/TeslaDemo_1.01.exe OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com
The movement keys are not interpreted by the game. By default the game assigns WASD for movement and <Space> for jumping. None of them work in Wine. Interestingly, other keys work: <R>: brings up the research tab <Backspace>: restart the level <Esc>: back to the menu <X>: skips the videos
I can reassign the keys in the options menu but whatever I choose for movement, they are not accepted by the game.
Terminal output doesn't reveal too much: fixme:win:EnumDisplayDevicesW ((null),0,0x32f440,0x00000000), stub! fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
Native dinput/dinput8 dlls don't help: the game seems not to use either of them (+loaddll). The same problem exists in Wine-1.0.1, too. I've tried the game in virtual desktop as well as in fullscreen mode.
Fedora 14 32-bit Nvidia GeForce 250 / driver 270.41.06 Gnome + Metacity Xserver 1.9.5
http://bugs.winehq.org/show_bug.cgi?id=27238
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=27238
--- Comment #1 from GyB gyebro69@gmail.com 2012-02-24 23:41:40 CST --- Still a problem in Wine-1.4-rc5.
https://bugs.winehq.org/show_bug.cgi?id=27238
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #2 from Jarkko K jarkko_korpi@hotmail.com --- I tried demo with 1.7.16, couldnt move either. I had similar issue with some other games too.
https://bugs.winehq.org/show_bug.cgi?id=27238
--- Comment #3 from Béla Gyebrószki gyebro69@gmail.com --- Still in wine-1.7.34-36-g4493323
https://bugs.winehq.org/show_bug.cgi?id=27238
Teras teras@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |teras@luukku.com
--- Comment #4 from Teras teras@luukku.com --- The same 1.7.36
https://bugs.winehq.org/show_bug.cgi?id=27238
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #5 from Sebastian Lackner sebastian@fds-team.de --- The game uses GetKeyState() on a separate thread without creating a message queue. This has the effect that the wineserver call fails, but since the game works fine on Windows we can assume that the function should return something useful. I have added a patch to Wine Staging which falls back to the global key state when the thread has no queue:
https://github.com/wine-compholio/wine-staging/tree/master/patches/server-Ke...
It needs more tests since I am not exactly sure if this matches the Windows behaviour.
https://bugs.winehq.org/show_bug.cgi?id=27238
--- Comment #6 from Teras teras@luukku.com --- I tested the patch shortly.
I tested the game with pure wine and then with the patch. Without the patch I cant move the guy, but it works with the patch.
But I did notice something, it may be totally unrelated to the patch. I don't know. I havent seen how this works on real windows.
Arrow keys seem to work in the game menu with the patch and without it, but if you go into gameplay and press esc, you get a menu what you want to do. You cant browse the menu with arrow keys. It doesnt work with or without the patch. But you can pick the selections with mouse.
wine 1.7.37
https://bugs.winehq.org/show_bug.cgi?id=27238
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |31899
https://bugs.winehq.org/show_bug.cgi?id=27238
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wineserver Summary|Tesla: The Weather Man |Tesla: The Weather Man |demo: movement keys not |demo: movement keys not |working |working (GetKeyState should | |fallback to | |GetAsyncKeyState for | |threads without message | |queue)
--- Comment #7 from Sebastian Lackner sebastian@fds-team.de --- Some manual tests confirm that the patch from comment #5 matches the Windows behaviour. Bug 31899 is very similar, and shows that there are additional problems with the GetKeyState function (for threads where the message queue was already created). Setting component to wineserver.
https://bugs.winehq.org/show_bug.cgi?id=27238
--- Comment #8 from Sebastian Lackner sebastian@fds-team.de --- This should be fixed by http://source.winehq.org/git/wine.git/commit/8723d3455eb78fb0321a94970b2b8f3...
Could you please retest?
https://bugs.winehq.org/show_bug.cgi?id=27238
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |8723d3455eb78fb0321a94970b2 | |b8f39262f65d3 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #9 from Sebastian Lackner sebastian@fds-team.de --- Reported fixed.
https://bugs.winehq.org/show_bug.cgi?id=27238
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.48.