http://bugs.winehq.org/show_bug.cgi?id=19226
Summary: Braid: Both Shift keys needed to move puzzle pieces Product: Wine Version: 1.1.25 Platform: PC URL: http://www.playgreenhouse.com/game/NNONE-000001-01/ OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: elton@schiert.net
Steps to reproduce: -Download Braid Demo from http://www.playgreenhouse.com/game/NNONE-000001-01/ -Install and run it -Enter the first level and play until you have collected at least one puzzle piece (this takes just one minute) -You can now exit the level and go back to the house -Stand in front of the puzzle area and use it -On this screen you are supposed to be able to move the pieces around by placing the cursor over them, holding any Shift key and using the cursor keys or WASD -This works on Windows; but with Wine I need to press both (left and right) Shift keys to be able to move a piece
Notes: -Only the puzzle screen is affected. Rest of the game works with any Shift key. -Once both Shift keys have been pressed in order to "grab" a piece one can let go one key and is still able to move the piece around until one lets go of the 2nd Shift key. Only then the piece is "released"
http://bugs.winehq.org/show_bug.cgi?id=19226
el elton@schiert.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=19226
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2009-07-19 11:38:58 --- Confirming. This is something outside of dinput - native doesn't fix it.
http://bugs.winehq.org/show_bug.cgi?id=19226
--- Comment #2 from el elton@schiert.net 2009-09-13 13:08:40 --- Still happens with today's git.
http://bugs.winehq.org/show_bug.cgi?id=19226
--- Comment #3 from el elton@schiert.net 2009-12-22 12:13:20 --- Still happens with today's git.
http://bugs.winehq.org/show_bug.cgi?id=19226
--- Comment #4 from Austin English austinenglish@gmail.com 2010-03-14 18:20:43 --- Somewhat related, but when you use both shift keys and attempt to move the piece, you can only move up or right. Left and down are broken. If you release one shift key, all four directions work (or if you use the mouse).
http://bugs.winehq.org/show_bug.cgi?id=19226
--- Comment #5 from Austin English austinenglish@gmail.com 2010-03-14 18:45:01 --- (In reply to comment #4)
Somewhat related, but when you use both shift keys and attempt to move the piece, you can only move up or right. Left and down are broken. If you release one shift key, all four directions work (or if you use the mouse).
Ignore that, it's a game bug, occurs on windows 7 as well.
http://bugs.winehq.org/show_bug.cgi?id=19226
--- Comment #6 from Austin English austinenglish@gmail.com 2010-03-16 00:42:19 --- Created an attachment (id=26832) --> (http://bugs.winehq.org/attachment.cgi?id=26832) braid email
I emailed the Braid author and got a bit more info. I've attached the email, since it's got code, but here's the important comments: What the heck, I looked at it now. The code has a few layers to it, but....
In Braid, the Shift key during gameplay (for rewind) only cares if Direct Input says it is being held down.
The Shift key on the puzzle screen actually looks for a key-down event. So I would say the problem is that for some reason a key-down event is not happening in directinput for the shift key.
Here's the code that generates app-level key-down events in Braid. dik_table[] is just an array that translates DirectInput key constants into app-level key constants: ... So for some reason the event is not appearing or else DI_DOWN_FLAG is not set.
The code that sets whether a key is being held down or not does not go through this same routine.. it uses GetDeviceState every frame, for maximum robustness...
So I would guess that GetDeviceState is doing the right thing in Wine, but GetDeviceData from the keyboard is not.
http://bugs.winehq.org/show_bug.cgi?id=19226
Sven Arvidsson sa@whiz.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sa@whiz.se
http://bugs.winehq.org/show_bug.cgi?id=19226
--- Comment #7 from el elton@schiert.net 2010-08-12 08:51:54 --- Still happens with today's git.
Also, a new observation: The game does not really require you to press both Shift_L and Shift_R. Any two shift keys will do. So if you have two keyboards connected you can press and hold Shift_L on both keyboards and it will grab the piece.
http://bugs.winehq.org/show_bug.cgi?id=19226
--- Comment #8 from el elton@schiert.net 2010-11-11 10:26:43 CST --- Still happens with today's git.
http://bugs.winehq.org/show_bug.cgi?id=19226
el elton@schiert.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |ABANDONED
--- Comment #9 from el elton@schiert.net 2010-12-22 20:27:09 CST --- Linux version is available.
http://bugs.winehq.org/show_bug.cgi?id=19226
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |dank@kegel.com Resolution|ABANDONED |
--- Comment #10 from Dan Kegel dank@kegel.com 2010-12-22 21:03:01 CST --- *I* care :-)
http://bugs.winehq.org/show_bug.cgi?id=19226
Vanack Sabbadium cyclops@fastwebnet.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cyclops@fastwebnet.it
--- Comment #11 from Vanack Sabbadium cyclops@fastwebnet.it 2011-05-09 09:56:05 CDT --- This bug can be reproduced also in the full game, and as today (wine version 1.3.19), it still exists.
http://bugs.winehq.org/show_bug.cgi?id=19226
Alexey Loukianov mooroon2@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mooroon2@mail.ru
--- Comment #12 from Alexey Loukianov mooroon2@mail.ru 2012-05-25 08:47:29 CDT --- I can confirm that this bug is still present in current git HEAD (tested with wine-1.5.4-336-g91e95e1). Not a big deal as you could use gamepad (through x360ce DI->XI wrapper) or mouse to solve puzzles, and pressing both shift keys also allows one to solve the puzzle. On the other hand this bug is the only thing that keeps Steam version of game (Steam auto-installs d3dx9_*.dlls for you on the first launch, so you do not need to install d3dx9_36.dll override manually) from being rated Platinum.
https://bugs.winehq.org/show_bug.cgi?id=19226
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Abandoned? Status|REOPENED |NEW
--- Comment #13 from Ken Sharp imwellcushtymelike@gmail.com --- Is this still an issue in Wine 1.7.45 or later?
https://bugs.winehq.org/show_bug.cgi?id=19226
--- Comment #14 from Vanack Sabbadium ubuntugamingproject@gmail.com --- (In reply to Ken Sharp from comment #13)
Is this still an issue in Wine 1.7.45 or later?
Well, i tried Wine 1.7.46 and the issue seems to be solved. Apparentely, you can use one shift, but it has to be pushed more than once to work properly (2 or 3 times and then it works).
https://bugs.winehq.org/show_bug.cgi?id=19226
Sven Arvidsson sa@whiz.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|sa@whiz.se |
https://bugs.winehq.org/show_bug.cgi?id=19226
--- Comment #15 from Matheus matheus.venturini@acad.ufsm.br --- I have tested the GOG release with Wine 7.0 and I could not reproduce this bug nor the one mentioned by Vanack, it has possibly been fixed by some change in Wine at some point since the last update in 2015.