added option to disable came reset on lockon

This commit is contained in:
uberhalit 2019-04-13 04:34:19 +02:00
parent e33a1f97f2
commit 7d6ba33c93
5 changed files with 148 additions and 79 deletions

View file

@ -1,6 +1,6 @@
# Sekiro FPS Unlocker and more
A small utility to remove frame rate limit, add custom resolutions with 21:9 widescreen support, change field of view (FOV), borderless window mode, display and log stats (OBS), disable camera auto adjust on movement and various game modifications for [Sekiro: Shadows Die Twice](https://www.sekirothegame.com/) written in C#.
A small utility to remove frame rate limit, add custom resolutions with 21:9 widescreen support, change field of view (FOV), borderless window mode, display and log stats (OBS), disable automatic camera adjustments and various game modifications for [Sekiro: Shadows Die Twice](https://www.sekirothegame.com/) written in C#.
Patches games memory while running, does not modify any game files. Works with every game version (legit steam & oh-not-so-legit), should work with all future updates. Also available on [Nexus Mods](https://www.nexusmods.com/sekiro/mods/13/).
## Download
@ -14,12 +14,13 @@ Patches games memory while running, does not modify any game files. Works with e
* does not modify any game files, RAM patches only
* works with legit, unmodified steam version as well as with unpacked, not-so-legit versions
* GSYNC and FreeSync support even in borderless window mode
* G-SYNC and FreeSync support even in borderless window mode
* unlock frame rate (remove FPS limit) by setting a new custom limit
* add a custom resolution, 21:9 widescreen supported (will overwrite the default 1920x1080 / 1280x720 resolution, HUD limited to 16/9)
* add a custom resolution, 21:9 widescreen supported (will overwrite the default 1920x1080 / 1280x720 resolution, HUD limited to 16:9)
* increase and decrease field of view (FOV)
* set the game to borderless window mode
* disable camera auto rotate adjustment on movement (intended for mouse users)
* disable centering of camera (cam reset) on lock-on if there is no target
* display hidden counters such as death/kill count and optionally log them to file to display in OBS
* game modifications
* global game speed modifier (increase or decrease)
@ -93,37 +94,42 @@ The game enforces VSYNC and forces 60 Hz in fullscreen even on 144 Hz monitors s
### To play the game with GSYNC do these additional steps (Nvidia):
1. Under Nvidia Control Panel navigate to `3D Settings -> Manage 3D settings -> Program Settings -> Sekiro`
2. Set `Monitor Technology` to `G-SYNC`
3. If you want to play in (borderless) window mode you have to set `Vertical sync` to `Off` again as enabling G-SYNC re-enables it, if you play in exclusive fullscreen you can keep VSync on `Application controlled` to help remove frame time stutters ([see here](https://www.blurbusters.com/gsync/gsync101-input-lag-tests-and-settings/15/))
4. Make sure that `Preferred refresh rate` is still set to `Highest available`
5. [![Control Panel](https://camo.githubusercontent.com/b7b491c24020fd3eca41d857bd58b1c0c2ee037f/68747470733a2f2f692e696d6775722e636f6d2f614a41744444632e706e67)](#)
6. If you do not have `Preferred refresh rate` or `Vertical sync` see the guide above on how to use the Nvidia Profile Inspector
7. Don't forget to Apply and close Nvidia Control Panel
8. Use a 3rd party frame rate limiter like [RTSS](https://www.guru3d.com/files-details/rtss-rivatuner-statistics-server-download.html) and set a frame rate limit just a few fps below your monitor refresh rate, on a 144Hz Monitor use 138
9. Start `Sekiro FPS Unlocker and more` and set FPS lock to your monitors refresh rate
10. Start the game and set it to Fullscreen
11. Enjoy perfectly tearing free variable high refresh rates without VSYNC
3. You can keep `Vertical sync` on `Use the 3D application setting` now to help remove frame time stutters ([see here](https://www.blurbusters.com/gsync/gsync101-input-lag-tests-and-settings/15/))
1. Make sure that `Preferred refresh rate` is still set to `Highest available`
2. [![Control Panel](https://camo.githubusercontent.com/f6c4192ab2f29a0764a3f125dac7f29e4b3377ff/68747470733a2f2f692e696d6775722e636f6d2f636562643154792e706e67)](#)
3. If you do not have `Preferred refresh rate` or `Vertical sync` see the guide above on how to use the Nvidia Profile Inspector
4. Don't forget to Apply and close Nvidia Control Panel
5. Use a 3rd party frame rate limiter like [RTSS](https://www.guru3d.com/files-details/rtss-rivatuner-statistics-server-download.html) and set a frame rate limit just a few fps below your monitor refresh rate, on a 144Hz Monitor use 138
6. Start `Sekiro FPS Unlocker and more` and set FPS lock to your monitors refresh rate
7. Start the game and set it to Fullscreen
8. Enjoy perfectly tearing free variable high refresh rates without VSYNC
### To add a custom resolution:
1. Start the game
2. Start `Sekiro FPS Unlocker and more`, set you desired resolution and enable it by ticking the check box
3. Set your custom resolution in the graphical settings
4. Be aware that your monitor has to natively support this resolution and the ingame HUD will be limited to 16/9
3. Select your custom resolution in the graphical settings
4. Be aware that your monitor has to natively support this resolution and the ingame HUD will be limited to 16:9
### To use the FOV changer:
1. Start the game
2. Load up your save game
3. Start `Sekiro FPS Unlocker and more`, set you desired FOV value and enable it by ticking the check box
3. Start `Sekiro FPS Unlocker and more`, set you desired FOV value (can be negative) and enable it by ticking the check box
### To use borderless window mode:
1. Start the game
2. Go to `Settings -> Graphical settings -> Monitor Mode` and set it to `Windowed`
3. Set your resolution
4. Start `Sekiro FPS Unlocker and more` and enable borderless window mode
5. If you want fullscreen borderless enable `Fullscreen stretch`
4. Start `Sekiro FPS Unlocker and more`
5. If you want to use a custom resolution make sure you patch and select it now
6. Enable borderless window mode
7. If you want fullscreen borderless enable `Fullscreen stretch`
### On 'Disable camera auto rotate on movement':
This will completely disable the automatic camera rotation adjustments when you are moving. This is mostly intended for mouse users, enabling it on non-native windows controllers will not work perfectly (some rotation adjustments will be left) and you will temporary lose the ability to slow-tilt (deadzones). Disabling the automatic camera adjustments makes little sense on controllers. If you changed your input device or made a mistake while selecting it simply close the utility, delete the `SekiroFpsUnlockAndMore.xml` file and restart the mod.
### On 'Disable camera reset on lock-on':
You you press your target lok-on key and no target is in sight the game will reset and center your camera position and disable your input while its doing so. Ticking this checkbox will remove this behavior of the game.
### To display total death/kill counters in OBS:
1. Start the game
2. Load up your save game
@ -164,7 +170,7 @@ This will completely disable the automatic camera rotation adjustments when you
## Preview
[![Sekiro FPS Unlocker and more](https://camo.githubusercontent.com/e48e4e663b9a9248789d498aa7add145a7734910/68747470733a2f2f692e696d6775722e636f6d2f42304341545a762e706e67)](#)
[![Sekiro FPS Unlocker and more](https://camo.githubusercontent.com/3f6b08a963cba377d653341ddfa4a2e347ea9182/68747470733a2f2f692e696d6775722e636f6d2f656d56627175432e706e67)](#)
### Unlocked framerate
[![Sekiro FPS Unlocker and more](https://camo.githubusercontent.com/272adde7c1a0d81c0e91e7d7fb68868bed0a04ae/68747470733a2f2f692e696d6775722e636f6d2f46514b6671504e2e706e67)](#)
@ -203,15 +209,19 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
* the game has forced VSYNC so unlocking the frame rate when your monitor has 60Hz will do nothing. You'll have to disable VSYNC in Nvidia Control Panel or AMD Radeon Settings first, see Usage
* in fullscreen the game forces the monitor to 60 Hz so you'll have to handle this with driver override too, see Usage
* your monitor has to support your custom resolution otherwise it won't show up correctly
* your monitor has to natively support your custom resolution otherwise it won't show up correctly
* due to how the game renders the HUD is limited to 16:9 even on 21:9 resolutions
* disabling automatic camera rotation adjustment on movement is intended for mouse users only, using it on a non-native windows controller can disable up-down controls
* disabling automatic camera rotation adjustment on movement is intended for mouse users only, using it on a non-native windows controller will disable slow-tolting on sticks
* Player speed modification needs a loaded save before it can be activated
* Player and game speed modification can potentially crash the game in certain cutscenes and NPC interactions, use with caution
* the hotkey won't work if the game runs in exclusive, true fullscreen mode
## Version History
* v1.2.2.0 (2019-04-13)
* FOV can be set to any value between -95% and +95% now
* Adden option to disable camera reset on lock-on if there is no target to lock-on
* Fixed an issue with custom resolutions on certain system configurations
* v1.2.1.1 (2019-04-09)
* Added prompt to let user decide between mouse or controller input
* This selection will fix locked up-down controls (pitch) on controllers if 'disable camera auto rotation" is used