http://bugs.winehq.org/show_bug.cgi?id=11729
Summary: Unreal Tournament: dinput mode makes game unplayable Product: Wine Version: 0.9.56. Platform: All OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dinput AssignedTo: wine-bugs@winehq.org ReportedBy: liquid.acid@gmx.net
Hi there,
new Unreal Tournament bug after the "error on exit" bug was fixed. This one is different however, because it has to do with input.
The problem is that once you active direct input in the UT configuration menu and restart (so the change becomes active) the input sort of stops working.
What exactly happens: I'm currently not talking about being in-game. I'm just in the menu where you land after pressing ESC in the intro sequence. Upon pressing ESC you end up with the cursor in the upper left position on the virtual windows (currently using virtual desktop, so debugging is easier). The first entry of the game menu is opened automatically (Game), and I can now move the cursor through the opened game entry, selecting the children. Or I can move over to the next entry (Multiplayer, Options, Stat, Tools, ...) and select children there. OK, this is when dinput is OFF.
Now I go into the options, activate dinput and leave the game. Then I start the game again and encounter this. Upon pressing ESC the cursor is still transferred to the upper left position and the menu opens.
What is different: When clicking the menu "away" (click on non-menu components) and then trying to open them again (by clicking on them) the menu item won't open (no drop-down effect). I can hear the soundeffect of the menu opening, but nothing more. I can even click something (suspecting that the menu is invisible, but there). So the only thing I can do is switching the app to window mode (there is a button in the upper right corner that does that) and then use the X-button on the window to close the application.
Another difference is that marking checkboxes doesn't work anymore. I was going to make another try and restarted the app, this time moving right into the config menu to deactivate input. This works, because ESC always lets the menu pop up. However removing the tick from the checkbox proved to be impossible.
I had to modify the UnrealTournament.ini to switch dinput off.
I created a log from the dinput run, going to attach this.
Greets, Tobias
http://bugs.winehq.org/show_bug.cgi?id=11729
--- Comment #1 from Tobias Jakobi liquid.acid@gmx.net 2008-02-25 13:58:19 --- Created an attachment (id=10970) --> (http://bugs.winehq.org/attachment.cgi?id=10970) UT when no directinput is activated
http://bugs.winehq.org/show_bug.cgi?id=11729
--- Comment #2 from Tobias Jakobi liquid.acid@gmx.net 2008-02-25 13:58:35 --- Created an attachment (id=10971) --> (http://bugs.winehq.org/attachment.cgi?id=10971) UT when dinput is on
http://bugs.winehq.org/show_bug.cgi?id=11729
--- Comment #3 from Tobias Jakobi liquid.acid@gmx.net 2008-03-09 07:28:17 --- Reconfirming this bug with wine-0.9.57
http://bugs.winehq.org/show_bug.cgi?id=11729
Jan Buecken jb.faq@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #4 from Jan Buecken jb.faq@gmx.de 2008-03-09 07:35:26 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=11729
Jan Buecken jb.faq@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jb.faq@gmx.de
http://bugs.winehq.org/show_bug.cgi?id=11729
--- Comment #5 from Jan Buecken jb.faq@gmx.de 2008-04-23 13:14:40 --- Reconfirming with 0.9.60 Does this bug has anything to do with bug: http://bugs.winehq.org/show_bug.cgi?id=6971 ???
http://bugs.winehq.org/show_bug.cgi?id=11729
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|All |Other
--- Comment #6 from Vitaliy Margolen vitaliy@kievinfo.com 2008-05-31 00:03:37 --- Can you try with native dinput, dinput8 ?
http://bugs.winehq.org/show_bug.cgi?id=11729
--- Comment #7 from Tobias Jakobi liquid.acid@gmx.net 2008-06-04 18:52:37 --- Hi Vitaliy,
first I want to reconfirm the problem with wine-1.0_rc3.
I tried running UT with native dinput.dll and native dinput8.dll. This does the trick. I can now open again menus and also remove the mark from the checkbox.
Any traces I could create?
Greets, Tobias
Further DLL file informations: dinput.dll: Microsoft DirectInput, v. 4.05.00.0155 dinput8.dll: Microsoft DirectInput, v. 4.08.00.0400 (I've got these from DLL-files.com)
http://bugs.winehq.org/show_bug.cgi?id=11729
Tobias Jakobi liquid.acid@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://download.beyondunreal | |.com/fileworks.php/official/ | |ut/utdemo348.exe Keywords| |download
--- Comment #8 from Tobias Jakobi liquid.acid@gmx.net 2008-09-25 13:45:39 --- Reconfirming, this time with the the demo version.
I also added the download keyword and added the URL.
http://bugs.winehq.org/show_bug.cgi?id=11729
--- Comment #9 from Tobias Jakobi liquid.acid@gmx.net 2008-10-13 16:10:21 --- Reconfirming with wine-1.1.6
http://bugs.winehq.org/show_bug.cgi?id=11729
--- Comment #10 from Tobias Jakobi liquid.acid@gmx.net 2009-01-29 15:45:33 --- Reconfirming with wine-1.1.13, virtual desktop off and UT in fullscreen mode.
Switching UT into windowed mode makes the menus work again and also ticking the checkboxes works.
http://bugs.winehq.org/show_bug.cgi?id=11729
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vitaliy@kievinfo.com
http://bugs.winehq.org/show_bug.cgi?id=11729
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|Other |PC-x86-64
--- Comment #11 from Vitaliy Margolen vitaliy@kievinfo.com 2009-02-01 14:29:40 --- Patch sent: http://www.winehq.org/pipermail/wine-patches/2009-February/068742.html
The problem is - Wine lets mouse & keyboard events pass to message loops in exclusive mode. That meant that game processed the same event 2 times - once from dinput second from message loop (WM_LBUTTONDOWN & WM_LBUTTONUP).
http://bugs.winehq.org/show_bug.cgi?id=11729
--- Comment #12 from Tobias Jakobi liquid.acid@gmx.net 2009-02-01 17:40:02 --- Thanks Vitaliy!
Just tried the patch against wine-1.1.13 and it fixes the problem completly. Now waiting for the patch to enter git master.
Greets, Tobias
http://bugs.winehq.org/show_bug.cgi?id=11729
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #13 from Austin English austinenglish@gmail.com 2009-02-02 09:55:41 --- Patch was committed.
http://bugs.winehq.org/show_bug.cgi?id=11729
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org 2009-02-13 11:11:03 --- Closing bugs fixed in 1.1.15.