Skip to content

xenia-mousehook v1.13.1

Compare
Choose a tag to compare
@emoose emoose released this 17 Feb 19:18
· 165 commits to ge007-mousehook since this release

v1.13 includes initial mouselook support for Perfect Dark XBLA!

Built from https://github.com/emoose/xenia/tree/ge007-mousehook

Supported games: GoldenEye XBLA, Perfect Dark XBLA, Halo 3, Halo 3: ODST, Halo Reach, Halo 4

Go fullscreen with F11 for mousehook to work properly, and check the README for a list of keyboard binds & how to customize them yourself.

mousehook-related settings can be changed in the Documents\Xenia\xenia.config.toml file, inside the [MouseHook] section after the mousehook build has been run at least once.

Key bindings can be changed in the bindings.ini file, the readme explains the format used in there.

NOTE: This is an unofficial non-supported build of Xenia, don't expect to get much help/support for it.

Changelog

  • (v1.13.1) GoldenEye: removed gun-centering delay
  • (v1.13) GoldenEye: initial mouselook/bindings support for Perfect Dark XBLA (TU0 and debug/devkit builds)
  • (v1.13) Halo3: added support for Halo 4 TU0/TU8
  • (v1.13) GoldenEye: added temporary 'ge_always_allow_inputs' cvar to prevent camera inputs from being ignored during cutscenes etc (mostly useful for speedrunners, will be removed once we find a better way to handle checking for fade-in)
  • (v1.13) GoldenEye: made fired bullets match up with swayed gun position
  • (v1.12.3) GoldenEye: tweaked gun centering/sway, feels a lot better now
  • (v1.12.2) GoldenEye: add 'ge_gun_sway' cvar to allow disabling weapon sway
  • (v1.12.1) GoldenEye: add weapon sway when turning camera
  • (v1.12) MouseHook: update bindings.ini (default non-GE/Halo binds should match xenia-master now)
  • (v1.12) GoldenEye: speedup gun-centering, hopefully closer to gamepad now
  • (v1.12) MouseHook: support XBUTTON1/2 as mouse4/5, plus Alt and symbol keys
  • (v1.12) GoldenEye: add 'ge_menu_sensitivity' config var, simplify some code
  • (v1.11) MouseHook: allow custom key bindings set in bindings.ini
  • (v1.11) MouseHook: add support for ODST & Reach, and potential OOB-crash fix
  • (v1.10a) GoldenEye: fix bullets being fired toward last aim-mode crosshair position
  • (v1.10) GoldenEye: smoothly move gun back to normal position after aiming
  • (v1.10) RawInput: return 0 after handling inputs (maybe helps with crashes?)
  • (v1.10) GoldenEye: add 'disable_autoaim' config variable (default true)
  • (v1.9) GoldenEye: added checks to prevent camera from moving when it shouldn't be (cutscenes/menu/etc)
  • (v1.9) GoldenEye: automatically disable autoaim & lookahead settings
  • (v1.9) GoldenEye: improved camera turning/movement when in aim-mode (also added aim_turn_distance config var that can be tweaked to change the distance needed for camera to start moving)
  • (v1.8a) GoldenEye: limit gun/crosshair movement, allow camera movement when in aim mode
  • (v1.8) GoldenEye: allow mouse to move weapon & crosshair when in aim mode
  • (v1.7a) GoldenEye: allow mouse to move menu crosshair
  • (v1.7) Simplified some RawInput related code, might help with some strange edge cases.
  • (v1.7) Added support for Halo 3 via Halo3Game class - supports TU0, TU3 and the March 8th 'delta' builds.
  • (v1.7) Improved memory-accesses to use Xenia's TranslateVirtual function instead, may help with crashes on some systems.
  • (v1.7) Reworked code to use HookableGame class that supported games can inherit from, along with GoldeneyeGame class for handing GE XBLA.
  • (v1.6) Added 'remove_blur' and 'debug_menu' config vars to xenia.config.toml, to enable certain game patches (from xenia-canary's game-patches repo)
  • (v1.6) Added 'swap_wheel' config var to allow swapping the scroll-wheel binds
  • (v1.6) Swapped scroll-wheel, scroll-down is next weapon, scroll-up is previous
  • (v1.6) Bound Tab to Back button (for objectives) - thanks to Graslu00 for suggesting!
  • (v1.5) Change scroll-wheel to next/prev weapon, bind Enter to start button - thanks to Graslu00!
  • (v1.5) Keep mouse pointer inside fullscreen game window (hopefully)
  • (v1.4) Add support for keyboard raw input
  • (v1.4) Make WinKey input driver take precedence over others
  • (v1.4) Now uses 'Q' to swap weapons, and 'F' to swap gadgets
  • (v1.3) Added 'invert_y', 'swap_buttons' & 'sensitivity' config variables, change them inside xenia.config.toml under [MouseHook] section after running the mousehook build
  • (v1.2) Fix negative mouse-wheel movements, swap actions for wheelup/wheeldown
  • (v1.1) Now uses RawInput instead of window-input, lets us remove some hacks and get better mouse data
  • (v1.0) Initial release using window-inputs, keeps mouse pointer hidden when in fullscreen

TODO

  • Add support for other games (if anyone has any leads on camera offsets let me know and I'll gladly try working them in!)
  • Improve key remapping (shift key? other keyboard layouts?)
  • Allow changing FOV
  • GE: stop camera movement when watch is being brought up/lowered
  • GE: remap right-click as B button during menus
  • Investigate crashes (do any still happen after 1.7?)
  • Backport to June 2020 Xenia for AMD users (which June 2020 build/commit works best?)