marinesciencedude / xenia-canary-mousehook

Xbox 360 Emulator Research Project, Mousehook included
https://xenia.jp
Other
36 stars 3 forks source link

Gears Of Wars support #27

Closed Clippy95 closed 1 month ago

Clippy95 commented 3 months ago

Mousehook for Gears Of Wars 1: Base and TU5 Gears Of Wars 2: Base and TU6 Gears Of Wars 3: Base and TU6 Gears Of Wars Judgement: Base and TU4 Right stick around is used once again like Saints Row 2 Really only required for Gears 3 & Judgment as Y axis will keep centering to 0 even if it's being changed, option to enable such workaround for 1&2 is included but disabled by default as I haven't seen any issues.

EDIT: Also I recommend to tell users to lower sensitivity to 0 if they're using workaround which is enabled by default for 3 & Judgment, won't make a huge difference it's pretty minute.

Thanks to: @AdrianCassar : Math for mouse / and making mousehook for the games originally in the discord. Sowa_95 in the Xenia discord for showing me how to mod Gears Of Wars for LookUpScale and LookRightScale. bomayeknee in Xenia discord: tutorial on how to find these addresses quickly for Gears Of Wars.

Clippy95 commented 2 months ago

As of now it works but there is a problem with auto centering, if you move Y after sprinting the auto centering is still happening, it doesn't get disabled like when moved with right-stick https://github.com/user-attachments/assets/3c11c53a-905b-4faa-807f-d07f0e083a16 Could implement the same right stick work around as Saints Row 2 and patch LookUpScale and LookRightScale, those can't be patched at runtime like SR though

Here's how it is with the right stick workaround implemented and LookUpScale + LookRightScale set to 0.1

https://github.com/user-attachments/assets/d6d2f5c6-09a7-4c00-b7de-dac074750dac