Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perfect Dark Zero support #37

Merged

Conversation

Clippy95
Copy link

@Clippy95 Clippy95 commented Oct 18, 2024

as per #36

  • Camera hook
  • Cover camera hook
  • Gun sway
  • Turret cam
  • Hovercraft cam
  • Jetpac cam
    - Camspy cam; need a flag. current pause flag is shared with camspy so emulate RS with it
  • Gadgets: `currently emulates LS as mouse for gadgets'
  • TU0
  • TU3
  • Plat hits?
  • Coop support
    Original bases seem to be for player1, if player2 is connected with mousehook they can control player1 character's angle

@Clippy95
Copy link
Author

Clippy95 commented Nov 7, 2024

This is mostly finished but mousehook seems to have a bug where it switches the bindings from the one set in bindings.ini to the ones in HID.WinKey

@Clippy95 Clippy95 marked this pull request as ready for review December 13, 2024 11:48
@marinesciencedude marinesciencedude merged commit a07ff93 into marinesciencedude:mousehook Dec 14, 2024
3 checks passed
marinesciencedude pushed a commit that referenced this pull request Dec 14, 2024
* Perfect Dark Zero support

* Add sway

* Add cover camera

* pause flag

* clamp cover

* Change calculation of FOVscaling for FOV patch

* Patch gun sway

* TU3 support

* Right Stick emulation for intro mission

* lint

* Fix pointer crash

* lint

* Read compile date & version instead of build name

* Platinum Hits verison support, modifier & initial bindings

* Different pointer for Platinum Hits and remove address range check for radians X

* Sniper ADS fov fix

* remove pdz_scale_base_fov_sens cvar

* rebase

* Gun sway edits for ADS

* Turret camera support, only tested for TU3

* Local player address for TU3, fixes coop thanks to @A1eNaz for helping me find it

* Port multi base address to TU0 & Plat hits for coop fix

* universal_address chain for isSpecialCam

* Hovercraft cam support

* Jetpac unsupported note

* Emulate LS with mouse when using gadgets.

* Disable mouse LS emulation if SHIFT is held down

* Jetpac cam support

* Update README.md

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Dec 14, 2024
* Perfect Dark Zero support

* Add sway

* Add cover camera

* pause flag

* clamp cover

* Change calculation of FOVscaling for FOV patch

* Patch gun sway

* TU3 support

* Right Stick emulation for intro mission

* lint

* Fix pointer crash

* lint

* Read compile date & version instead of build name

* Platinum Hits verison support, modifier & initial bindings

* Different pointer for Platinum Hits and remove address range check for radians X

* Sniper ADS fov fix

* remove pdz_scale_base_fov_sens cvar

* rebase

* Gun sway edits for ADS

* Turret camera support, only tested for TU3

* Local player address for TU3, fixes coop thanks to @A1eNaz for helping me find it

* Port multi base address to TU0 & Plat hits for coop fix

* universal_address chain for isSpecialCam

* Hovercraft cam support

* Jetpac unsupported note

* Emulate LS with mouse when using gadgets.

* Disable mouse LS emulation if SHIFT is held down

* Jetpac cam support

* Update README.md

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Dec 17, 2024
* Perfect Dark Zero support

* Add sway

* Add cover camera

* pause flag

* clamp cover

* Change calculation of FOVscaling for FOV patch

* Patch gun sway

* TU3 support

* Right Stick emulation for intro mission

* lint

* Fix pointer crash

* lint

* Read compile date & version instead of build name

* Platinum Hits verison support, modifier & initial bindings

* Different pointer for Platinum Hits and remove address range check for radians X

* Sniper ADS fov fix

* remove pdz_scale_base_fov_sens cvar

* rebase

* Gun sway edits for ADS

* Turret camera support, only tested for TU3

* Local player address for TU3, fixes coop thanks to @A1eNaz for helping me find it

* Port multi base address to TU0 & Plat hits for coop fix

* universal_address chain for isSpecialCam

* Hovercraft cam support

* Jetpac unsupported note

* Emulate LS with mouse when using gadgets.

* Disable mouse LS emulation if SHIFT is held down

* Jetpac cam support

* Update README.md

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Dec 19, 2024
* Perfect Dark Zero support

* Add sway

* Add cover camera

* pause flag

* clamp cover

* Change calculation of FOVscaling for FOV patch

* Patch gun sway

* TU3 support

* Right Stick emulation for intro mission

* lint

* Fix pointer crash

* lint

* Read compile date & version instead of build name

* Platinum Hits verison support, modifier & initial bindings

* Different pointer for Platinum Hits and remove address range check for radians X

* Sniper ADS fov fix

* remove pdz_scale_base_fov_sens cvar

* rebase

* Gun sway edits for ADS

* Turret camera support, only tested for TU3

* Local player address for TU3, fixes coop thanks to @A1eNaz for helping me find it

* Port multi base address to TU0 & Plat hits for coop fix

* universal_address chain for isSpecialCam

* Hovercraft cam support

* Jetpac unsupported note

* Emulate LS with mouse when using gadgets.

* Disable mouse LS emulation if SHIFT is held down

* Jetpac cam support

* Update README.md

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Dec 23, 2024
* Perfect Dark Zero support

* Add sway

* Add cover camera

* pause flag

* clamp cover

* Change calculation of FOVscaling for FOV patch

* Patch gun sway

* TU3 support

* Right Stick emulation for intro mission

* lint

* Fix pointer crash

* lint

* Read compile date & version instead of build name

* Platinum Hits verison support, modifier & initial bindings

* Different pointer for Platinum Hits and remove address range check for radians X

* Sniper ADS fov fix

* remove pdz_scale_base_fov_sens cvar

* rebase

* Gun sway edits for ADS

* Turret camera support, only tested for TU3

* Local player address for TU3, fixes coop thanks to @A1eNaz for helping me find it

* Port multi base address to TU0 & Plat hits for coop fix

* universal_address chain for isSpecialCam

* Hovercraft cam support

* Jetpac unsupported note

* Emulate LS with mouse when using gadgets.

* Disable mouse LS emulation if SHIFT is held down

* Jetpac cam support

* Update README.md

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Dec 27, 2024
* Perfect Dark Zero support

* Add sway

* Add cover camera

* pause flag

* clamp cover

* Change calculation of FOVscaling for FOV patch

* Patch gun sway

* TU3 support

* Right Stick emulation for intro mission

* lint

* Fix pointer crash

* lint

* Read compile date & version instead of build name

* Platinum Hits verison support, modifier & initial bindings

* Different pointer for Platinum Hits and remove address range check for radians X

* Sniper ADS fov fix

* remove pdz_scale_base_fov_sens cvar

* rebase

* Gun sway edits for ADS

* Turret camera support, only tested for TU3

* Local player address for TU3, fixes coop thanks to @A1eNaz for helping me find it

* Port multi base address to TU0 & Plat hits for coop fix

* universal_address chain for isSpecialCam

* Hovercraft cam support

* Jetpac unsupported note

* Emulate LS with mouse when using gadgets.

* Disable mouse LS emulation if SHIFT is held down

* Jetpac cam support

* Update README.md

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Dec 27, 2024
* Perfect Dark Zero support

* Add sway

* Add cover camera

* pause flag

* clamp cover

* Change calculation of FOVscaling for FOV patch

* Patch gun sway

* TU3 support

* Right Stick emulation for intro mission

* lint

* Fix pointer crash

* lint

* Read compile date & version instead of build name

* Platinum Hits verison support, modifier & initial bindings

* Different pointer for Platinum Hits and remove address range check for radians X

* Sniper ADS fov fix

* remove pdz_scale_base_fov_sens cvar

* rebase

* Gun sway edits for ADS

* Turret camera support, only tested for TU3

* Local player address for TU3, fixes coop thanks to @A1eNaz for helping me find it

* Port multi base address to TU0 & Plat hits for coop fix

* universal_address chain for isSpecialCam

* Hovercraft cam support

* Jetpac unsupported note

* Emulate LS with mouse when using gadgets.

* Disable mouse LS emulation if SHIFT is held down

* Jetpac cam support

* Update README.md

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Dec 31, 2024
* Perfect Dark Zero support

* Add sway

* Add cover camera

* pause flag

* clamp cover

* Change calculation of FOVscaling for FOV patch

* Patch gun sway

* TU3 support

* Right Stick emulation for intro mission

* lint

* Fix pointer crash

* lint

* Read compile date & version instead of build name

* Platinum Hits verison support, modifier & initial bindings

* Different pointer for Platinum Hits and remove address range check for radians X

* Sniper ADS fov fix

* remove pdz_scale_base_fov_sens cvar

* rebase

* Gun sway edits for ADS

* Turret camera support, only tested for TU3

* Local player address for TU3, fixes coop thanks to @A1eNaz for helping me find it

* Port multi base address to TU0 & Plat hits for coop fix

* universal_address chain for isSpecialCam

* Hovercraft cam support

* Jetpac unsupported note

* Emulate LS with mouse when using gadgets.

* Disable mouse LS emulation if SHIFT is held down

* Jetpac cam support

* Update README.md

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Jan 3, 2025
* Perfect Dark Zero support

* Add sway

* Add cover camera

* pause flag

* clamp cover

* Change calculation of FOVscaling for FOV patch

* Patch gun sway

* TU3 support

* Right Stick emulation for intro mission

* lint

* Fix pointer crash

* lint

* Read compile date & version instead of build name

* Platinum Hits verison support, modifier & initial bindings

* Different pointer for Platinum Hits and remove address range check for radians X

* Sniper ADS fov fix

* remove pdz_scale_base_fov_sens cvar

* rebase

* Gun sway edits for ADS

* Turret camera support, only tested for TU3

* Local player address for TU3, fixes coop thanks to @A1eNaz for helping me find it

* Port multi base address to TU0 & Plat hits for coop fix

* universal_address chain for isSpecialCam

* Hovercraft cam support

* Jetpac unsupported note

* Emulate LS with mouse when using gadgets.

* Disable mouse LS emulation if SHIFT is held down

* Jetpac cam support

* Update README.md

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Jan 3, 2025
* Perfect Dark Zero support

* Add sway

* Add cover camera

* pause flag

* clamp cover

* Change calculation of FOVscaling for FOV patch

* Patch gun sway

* TU3 support

* Right Stick emulation for intro mission

* lint

* Fix pointer crash

* lint

* Read compile date & version instead of build name

* Platinum Hits verison support, modifier & initial bindings

* Different pointer for Platinum Hits and remove address range check for radians X

* Sniper ADS fov fix

* remove pdz_scale_base_fov_sens cvar

* rebase

* Gun sway edits for ADS

* Turret camera support, only tested for TU3

* Local player address for TU3, fixes coop thanks to @A1eNaz for helping me find it

* Port multi base address to TU0 & Plat hits for coop fix

* universal_address chain for isSpecialCam

* Hovercraft cam support

* Jetpac unsupported note

* Emulate LS with mouse when using gadgets.

* Disable mouse LS emulation if SHIFT is held down

* Jetpac cam support

* Update README.md

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Jan 3, 2025
* Perfect Dark Zero support

* Add sway

* Add cover camera

* pause flag

* clamp cover

* Change calculation of FOVscaling for FOV patch

* Patch gun sway

* TU3 support

* Right Stick emulation for intro mission

* lint

* Fix pointer crash

* lint

* Read compile date & version instead of build name

* Platinum Hits verison support, modifier & initial bindings

* Different pointer for Platinum Hits and remove address range check for radians X

* Sniper ADS fov fix

* remove pdz_scale_base_fov_sens cvar

* rebase

* Gun sway edits for ADS

* Turret camera support, only tested for TU3

* Local player address for TU3, fixes coop thanks to @A1eNaz for helping me find it

* Port multi base address to TU0 & Plat hits for coop fix

* universal_address chain for isSpecialCam

* Hovercraft cam support

* Jetpac unsupported note

* Emulate LS with mouse when using gadgets.

* Disable mouse LS emulation if SHIFT is held down

* Jetpac cam support

* Update README.md

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Jan 25, 2025
* Perfect Dark Zero support

* Add sway

* Add cover camera

* pause flag

* clamp cover

* Change calculation of FOVscaling for FOV patch

* Patch gun sway

* TU3 support

* Right Stick emulation for intro mission

* lint

* Fix pointer crash

* lint

* Read compile date & version instead of build name

* Platinum Hits verison support, modifier & initial bindings

* Different pointer for Platinum Hits and remove address range check for radians X

* Sniper ADS fov fix

* remove pdz_scale_base_fov_sens cvar

* rebase

* Gun sway edits for ADS

* Turret camera support, only tested for TU3

* Local player address for TU3, fixes coop thanks to @A1eNaz for helping me find it

* Port multi base address to TU0 & Plat hits for coop fix

* universal_address chain for isSpecialCam

* Hovercraft cam support

* Jetpac unsupported note

* Emulate LS with mouse when using gadgets.

* Disable mouse LS emulation if SHIFT is held down

* Jetpac cam support

* Update README.md

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Jan 25, 2025
* Perfect Dark Zero support

* Add sway

* Add cover camera

* pause flag

* clamp cover

* Change calculation of FOVscaling for FOV patch

* Patch gun sway

* TU3 support

* Right Stick emulation for intro mission

* lint

* Fix pointer crash

* lint

* Read compile date & version instead of build name

* Platinum Hits verison support, modifier & initial bindings

* Different pointer for Platinum Hits and remove address range check for radians X

* Sniper ADS fov fix

* remove pdz_scale_base_fov_sens cvar

* rebase

* Gun sway edits for ADS

* Turret camera support, only tested for TU3

* Local player address for TU3, fixes coop thanks to @A1eNaz for helping me find it

* Port multi base address to TU0 & Plat hits for coop fix

* universal_address chain for isSpecialCam

* Hovercraft cam support

* Jetpac unsupported note

* Emulate LS with mouse when using gadgets.

* Disable mouse LS emulation if SHIFT is held down

* Jetpac cam support

* Update README.md

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Jan 26, 2025
* Perfect Dark Zero support

* Add sway

* Add cover camera

* pause flag

* clamp cover

* Change calculation of FOVscaling for FOV patch

* Patch gun sway

* TU3 support

* Right Stick emulation for intro mission

* lint

* Fix pointer crash

* lint

* Read compile date & version instead of build name

* Platinum Hits verison support, modifier & initial bindings

* Different pointer for Platinum Hits and remove address range check for radians X

* Sniper ADS fov fix

* remove pdz_scale_base_fov_sens cvar

* rebase

* Gun sway edits for ADS

* Turret camera support, only tested for TU3

* Local player address for TU3, fixes coop thanks to @A1eNaz for helping me find it

* Port multi base address to TU0 & Plat hits for coop fix

* universal_address chain for isSpecialCam

* Hovercraft cam support

* Jetpac unsupported note

* Emulate LS with mouse when using gadgets.

* Disable mouse LS emulation if SHIFT is held down

* Jetpac cam support

* Update README.md

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Jan 29, 2025
* Perfect Dark Zero support

* Add sway

* Add cover camera

* pause flag

* clamp cover

* Change calculation of FOVscaling for FOV patch

* Patch gun sway

* TU3 support

* Right Stick emulation for intro mission

* lint

* Fix pointer crash

* lint

* Read compile date & version instead of build name

* Platinum Hits verison support, modifier & initial bindings

* Different pointer for Platinum Hits and remove address range check for radians X

* Sniper ADS fov fix

* remove pdz_scale_base_fov_sens cvar

* rebase

* Gun sway edits for ADS

* Turret camera support, only tested for TU3

* Local player address for TU3, fixes coop thanks to @A1eNaz for helping me find it

* Port multi base address to TU0 & Plat hits for coop fix

* universal_address chain for isSpecialCam

* Hovercraft cam support

* Jetpac unsupported note

* Emulate LS with mouse when using gadgets.

* Disable mouse LS emulation if SHIFT is held down

* Jetpac cam support

* Update README.md

---------

Co-authored-by: Clippy95 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants