ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.94k stars 1.05k forks source link

Hitman: Contracts (247430) #3532

Open shoober420 opened 4 years ago

shoober420 commented 4 years ago

Whitelist Request

System Information

Works great out of the box.

tunanachos commented 4 years ago

Hi there

Couple of issues I'm having; when playing this game I cannot change what screen it is played in (must be the primary one) otherwise in game 47 just spins around looking up and right (I assume that the mouse is being forced to the middle of my primary monitor).

image

That I don't mind - I can play at my desktop instead (and could also be a problem with my xranr settings or something).

However, the biggest issue is mouse clicks aren't detected in-game. I can bring up the Steam overlay in-game and use the mouse there, but in game left click and right click don't work (which being attack and inventory makes it unplayable).

Any idea what's going here? Totally at a loss.. I've even tried using my 360 controller in Steams Big Picture mode, it works (can move about etc) but again, no left or right click input (trigger buttons).

I'm almost hesitant to blame anything other than the game itself here, but if anyone has any idea why such issues might arise I'd be grateful to hear from you.

edit: Well, changing the primary attack and inventory keys in-game to - and = respectively I can now shoot and access my inventory using the 360 controller (although if I was just using keyboard and mouse I'd be up screwed creek..). However, the issue with it not being playable on a second monitor remains.

I'm assuming one or both of these issues could be within the game itself as prior to posting I found another user on the Steam forums complaining about the same issue towards the end he says;

randomly, throughout Bjarkhov Bomb, there is suddenly times where i cannot access my inventory. not only can i not access my inventory (right mouse click), but i cannot even pick up a gun and use it. it's like the only thing my mouse will do is look around. i can't attack, even if i pick up a gun. i can't choose weapons or anything. so, half-way through the level, or even sometimes at the beginning, i just can't do anything. not crap but run and look around. pick up stuff and drop it. that's it. i have not been able to make it through the level yet and it is driving me insane.)

That's all I got for now.

kisak-valve commented 4 years ago

Hitman: Contracts (247430)

Issue transferred from https://github.com/ValveSoftware/Proton/issues/4144. @krzysztofcichocki posted on 2020-08-23T11:06:45:

Compatibility Report

System Information

I confirm:

steam-247430.log

Symptoms

Mouse buttons do not work in game eg game menu options, selecting weapons, firing weapons. However mouse movement works fine. Menus could be navigated with a keyboard but firing a weapon does not work with mouse 1.

Reproduction

Launch game, try to navigate main menu with mouse cursor. If you start the game by navigating the menu option with a keyboard, the mission loads and mouse movement works however mouse buttons do not.

Eonm commented 4 years ago

Hi all,

I fixed the mouse/keyboard issues by adding the following lines to HitmanContracts.ini file.

UseDirectInputMouse
UseDirectInputKeyboard

(see : https://bugs.winehq.org/show_bug.cgi?id=21158)