15 KiB
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 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.
Download
See it in action:
Features
- 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
- 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)
- increase and decrease field of view (FOV)
- set the game to borderless window mode
- disable camera auto rotate adjustment on movement (annoying for mouse users)
- display hidden counters such as death/kill count and optionally log them to file to display in OBS
- game modifications
- global game speed modifier
- player speed modifier
- automatically patch game on startup
- seamlessly switch between windowed, borderless and borderless fullscreen
- hotkey for patching while in (borderless) window mode
Usage
The following graphical guide has to be done if you want to unlock the game's framerate or play on a higher refresh rate in fullscreen. If you do not wish to use that feature you can scroll down further to the guides on all other features. The graphic setup has to be done only once but as the patcher hot-patches the memory you have to start the patcher every time you want use any of its features.
The game enforces VSYNC and forces 60 Hz in fullscreen even on 144 Hz monitors so we have to override these.
TL;DR Nvidia: Use Nvidia Control Panel to set 'Vsync' to 'Off' and 'Preferred Refreshrate' to 'Highest available' on a Sekiro Profile. Troubleshoot: delete the (premade) Sekiro profile, add a new profile by stating the full file path to sekiro.exe and try again. If Preferred Refreshrate is missing or game still locks to 60fps see the guide further down on Nvidia Profile Inspector an general troubleshooting.
TL;DR AMD: Use Radeon Settings to set 'Wait for Vertical Refresh' to 'Enhanced Sync' on a Sekiro profile. Start Sekiro in windowed mode and switch to fullscreen once ingame. Troubleshoot: see the guide further down below.
60 Hz monitors: disable VSYNC via driver (use 'Enhanced Sync' on AMD) and use fullscreen, see guide below
high refresh rate monitors: use borderless or force monitor to always use highest available refresh rate and then use fullscreen, see guide below
Follow these steps on Nvidia:
- Open Nvidia Control Panel
- Navigate to
Display -> Change resolution - Make sure your monitor is set to the highest Refresh rate possible:
- Navigate to
3D Settings -> Manage 3D settings -> Program Settings - Check if you already have a Sekiro Profile in dropdown and if so DELETE IT
- Manually add Sekiro into a clean new profile:
Add -> Browse ->Navigate tosekiro.exeand select it - Make sure that there is a file path to Sekiro and that it is indeed correct and you haven't loaded a premade (empty) profile
- Set
Preferred refresh ratetoHighest available - Set
Vertical synctoOff - Hit apply and close Nvidia Control Panel
- Start
Sekiro FPS Unlocker and moreand set FPS lock to your desired framerate - Start the game and use fullscreen (144 Hz or 60 Hz Monitors) or borderless window mode (144 Hz Monitors)
- These steps will force disable vsync so it won't limit your fps to monitor refresh rate and also force the monitor to ignore the games request to run at 60 Hz if in fullscreen
If you do not have 'Preferred refresh rate' or 'Vertical sync' follow these steps (Nvidia):
- Delete the Sekiro Profile in Nvidia Control panel as otherwise it will block all settings from Profile Inspector
- Hit apply and close the Nvidia Control panel
- Download and extract the Nvidia Inspector
- Start the Nvidia Profile Inspector
- Check if there already is a profile for Sekiro and if so DELETE IT using the red 'X' button
- Press the yellow star icon in the menu bar to create a new Profile (1)
- Name it
Sekiroand select it in dropdown - Press the blue window icon with the plus symbol to add an application to this profile (2)
- Change file type to
Application Absolute Path, navigate to yoursekiro.exeand select it - Make sure that the file path to the game is correct (3)
- Under
2 - Sync and RefreshsetPrefered RefreshratetoHighest availableandVertical SynctoForce off(4) - Hit
Apply changesand you are good to go (5)
Follow these steps on AMD:
- Right click on Desktop ->
Display settings - Scroll down anD click
Advanced Display Settings -> Display Adapter Properties - Switch to
Monitortab and make sure your monitor is set to the highest Refresh rate possible: - Open Radeon Settings
- Navigate to
Gaming -> Sekiroor add it manually if it's missing:Add -> Browse -> Sekiro - Set
Wait for Vertical RefreshtoEnhanced Sync: - Apply and close Radeon Settings
- Start
Sekiro FPS Unlocker and moreand set FPS lock to your desired frame rate - Launch the game in windowed mode, then switch to fullscreen once in game
- The last step is important as AMD somehow does not correctly disable VSYNC otherwise
If you do not have 'Enhanced Sync' follow these steps (AMD):
- Try setting
Wait for Vertical RefreshtoAlways offinstead: - Be aware however that it seems like AMDs latest drivers are buggy in that regard
To play the game with GSYNC do these additional steps (Nvidia):
- Under Nvidia Control Panel navigate to
3D Settings -> Manage 3D settings -> Program Settings -> Sekiro - Set
Monitor TechnologytoG-SYNC - Set
Vertical synctoOffagain as enabling G-SYNC re-enables it - Make sure that
Preferred refresh rateis still set toHighest available - If you do not have
Preferred refresh rateorVertical syncsee the guide above on how to use the Nvidia Profile Inspector - Don't forget to Apply and close Nvidia Control Panel
- Use a 3rd party frame rate limiter like RTSS and set a frame rate limit just a few fps below your monitor refresh rate, on a 144Hz Monitor use 138
- Start
Sekiro FPS Unlocker and moreand set FPS lock to your monitors refresh rate - Start the game and set it to Fullscreen
- Enjoy perfectly tearing free variable high refresh rates without VSYNC
Troubleshooting:
- Make sure you followed the appreciate steps and didn't skip any (especially not the deletion of the Sekiro profile!)
- Try disabling
Fullscreen optimizationfor Sekiro: right mouse click onsekiro.exe -> Compatibility-> tick 'Disable fullscreen optimizations' - Try adding the whole game folder and
Sekiro FPS Unlocker and moreto your antivirus's exclusion list - Try disabling
Steam Broadcast(streaming via overlay) - Do a clean reinstall of your graphic driver:
- Download latest graphic drivers for your GPU
- Download DDU
- Disconnect internet so windows update won't auto-install minimal driver as soon as you uninstall them
- Boot into safe mode
- Completely uninstall graphic drivers and all of their utilities using DDU
- Reboot
- Install the latest driver
- Reconnect internet
- Close and disable all screen recording and streaming applications
- Close and disable all overlays
- Close and disable all performance "booster" programs and alike
To add a custom resolution
- Start the game
- Start
Sekiro FPS Unlocker and more, set you desired resolution and enable it by ticking the check box - Set your custom resolution in the graphical settings
- 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
- Start the game
- Load up your save game
- Start
Sekiro FPS Unlocker and more, set you desired FOV value and enable it by ticking the check box
To use borderless window mode:
- Start the game
- Go to
Settings -> Graphical settings -> Monitor Modeand set it toWindowed - Set your resolution
- Start
Sekiro FPS Unlocker and moreand enable borderless window mode - If you want fullscreen borderless enable
Fullscreen stretch
To display total death/kill counters in OBS
- Start the game
- Load up your save game
- Start
Sekiro FPS Unlocker and moreand enableLog statscheck box - In OBS Sources window click
+and selectText (GDI+)from the list, text properties window will pop up - In text properties window, enable
Read from filecheckbox and clickBrowse - Navigate to the folder where
Sekiro FPS Unlocker and moreexecutable is located - Select either
DeathCounter.txt(only tracks true deaths, excluding revives) orTotalKillsCounter.txt - Customize font style, color and position
- To add additional counters repeat steps 4-7
To use any of the game modifications
- Start the game
- Load up your save game
- Start
Sekiro FPS Unlocker and moreand expandGame modifications - Set your desired values and then tick the checkbox you'd wish to enable
- Be aware that player and game speed modifications can potentially crash the game in certain cutscenes and NPC interactions
Preview
Unlocked framerate
Increased FOV, borderless window and 90% game speed
Prerequisites
- .NET Framework 4.5
- administrative privileges (for patching)
- 64 bit OS
Building
Use Visual Studio 2017 or newer to build
Contributing
Feel free to open an issue or create a pull request at any time
License
This project is licensed under the MIT License - see the LICENSE file for details
Credits
- Me_TheCat for his contribution to log stats and display them in OBS
- Cielos for some camera adjustment offsets
- Zullie the Witch#7202 for game speed and player speed modifier offsets
- jackfuste for FOV offset and basic running speed fix
- TyChii93#2376 for AMD and widescreen testing
- Darius Dan for the icon
Limitations
- 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
- due to how the game renders altering HUD is limited to 16:9 even on 21:9 resolutions
- 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.1 (2019-04-07)
- Added an option to disable automatic camera rotation adjust on movement (thanks to Cielos for some offsets)
- Added +25% FOV option
- Improved initial load time and patching speed
- v1.2.0 (2019-04-02)
- Added stats (kills & deaths for now) with an option to log them to file for display in OBS (thanks to Me_TheCat for his contribution)
- Player speed modifier will stick between quicktravel now
- v1.1.0.1 (2019-03-31)
- Fixed topmost for borderless
- v1.1.0 (2019-03-30)
- Added game speed modifier (thanks to Zullie the Witch#7202 for offset)
- Added player speed modifier (thanks to Zullie the Witch#7202 for offset)
- Custom resolution now support displays down to 1280x720
- Settings are saved and loaded from config file now
- FOV will now stick even between loads
- Fixed a potential issue with unlimited frame rate unlock
- Fixed a potential issue when user tried to enable borderless while in minimized fullscreen
- Improved initial load time til game is patchable
- v1.0.2 (2019-03-26)
- Added option to reduce FOV (request)
- Added option to stretch borderless window to fullscreen regardless of window resolution
- Fixed borderless Z-order issue where task bar could be infront of window (thanks to Forkinator for reporting)
- Fixed resolution issues in borderless (thanks to King Henry V#6946 for reporting)
- v1.0.1 (2019-03-26)
- Fixed scaling issue in borderless window mode (thanks to Spacecop42#0947 for reporting)
- v1.0.0 (2019-03-25)
- Initial release