Homebrew  Updated

FPSLocker - set custom FPS target in retail games

An overlay that with SaltyNX 0.8.0+ allows to set custom LCD refresh rate and FPS in Nintendo Switch retail games.

Disclaimer: Tool is utilizing detection of graphics API to manipulate FPS. It supports special patches that are helping with going above 30 FPS in games using proprietary FPS locks.

You can see here how it works (I was utilizing Witcher 3 dynamic resolution config mod to make anything above 30 FPS available):


More in README (I recommend to read it + also SaltyNX readme if you don't know how it works)
Repo: https://github.com/masagrator/FPSLocker
Releases: https://github.com/masagrator/FPSLocker/releases
Patches: https://github.com/masagrator/FPSLocker-Warehouse
 
Last edited by masagrator,

ChanseyIsTheBest

Well-Known Member
Member
Joined
Aug 26, 2022
Messages
392
Trophies
0
Location
Australia
XP
1,090
Country
Australia
Don't sleep on the refresh rate change - honestly this a huge deal. So many games on Erista at 1020/537/1996 on battery (with undervolt + tightened ram timings) you can get a beautiful 40fps at 40hz and it is so much smoother than 30fps as 40fps is frametime halfway between 30 and 60fps. So you are getting 50% more smoothness for a 33% performance cost.

On Mariko (besides OLEDs lol) in handheld (1963/998/2400 on battery with undervolt and tightened ram timings) I want to play handheld at 60fps at 720p without dropping res but now I can drop framerate to 40 or 45fps and get a beautiful image with docked resolution (I.e. things like Hogwarts Legacy, Lego 2K Drive, Princess Peach Showtime, Crash N Sane Trilogy, Sonic Frontiers). Now we can really get best of both worlds. 45fps looks scarily close to 60fps now.

As a bonus this also fixes some questionably programmed Unity games from stuttering if you set Hz to 50 (Pac-Man World Repac and Super Monkey Ball Banana Rumble) because they both update their camera internally at 50fps instead of 60fps. 50fps on 60hz looks awful but 50fps on 50hz looks great. This might benefit more Unity games as well (tell me and no it doesn't fix Final Fantasy Stutter Remasters)

And the cherry on top is that this heavily benefits double buffer games (i.e. Can't maintain 60fps drops to 30fps now turns into can't maintain 45fps drops to 22.5fps. Helps stuff like Xenoblade series get 60FPS.)

Thanks for masagrator for letting me test this and the rest of the 60FPS discord. He went to a lot of trouble to update a whole bunch of patches to fix issues. I am amazed by how much Switch Homebrew keeps evolving and don't even know what's left at this point.
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,598
Trophies
3
XP
12,828
Country
Poland
Any advance in oled?
Except for finding how to tweak blinking?
4bdba689105b6589064418df1deba127.jpg
 

i-snake-z

Active Member
Newcomer
Joined
Sep 19, 2020
Messages
29
Trophies
0
Age
22
XP
114
Country
Portugal
Except for finding how to tweak blinking?
View attachment 461083
Ehehe , I think 40 hz its really a game changer for the switch. Do you think is possible to change the output to the tv to 120hz? If the output is 120hz with gane at 40 fps it will run smooth. Some game in ps5 do this. Btw you guys are awesome thanks for the great work 😀.
 

Deetlemore

Well-Known Member
Newcomer
Joined
May 29, 2023
Messages
46
Trophies
0
XP
326
Country
United States
Are there any inherent risks to adjusting the refresh rate downwards on an LCD Switch? I can understand "overclocking" the refresh rate to be risky, but I'd assume lowering is should be safe? The warning given before accessing that screen wigged me out.
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,598
Trophies
3
XP
12,828
Country
Poland
The warning given before accessing that screen wigged me out.
And that's good. I don't want people to use it thinking it's 100% safe as theoretically there are risks with stuck and dead pixels, but nobody reported such issue so far. I'm setting my display to 45 Hz whenever running game at 60 FPS requires heavy overclocking and no issue popped out.
Post automatically merged:

Maybe they don’t have the option hide in the HOS. Do you have some early build that don’t exclude oled switch’s or you didn’t released? Just curious if mine will work or not. Ehehe
You can find on Google forks with this restriction removed. Of course don't go to me if it doesn't work as expected as I am not providing support for forks.
 
Last edited by masagrator,
  • Like
Reactions: Deetlemore

Deetlemore

Well-Known Member
Newcomer
Joined
May 29, 2023
Messages
46
Trophies
0
XP
326
Country
United States
And that's good. I don't want people to use it thinking it's 100% safe as theoretically there are risks with stuck and dead pixels, but nobody reported such issue so far. I'm setting my display to 45 Hz whenever running game at 60 FPS requires heavy overclocking and no issue popped out.
I gotcha, better safe than sorry sort of thing. I may have to give it a shot for TOTK because running it at 45 FPS mostly feels good, but I definitely get some frame pacing issues with the screen at 60 Hz.
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,598
Trophies
3
XP
12,828
Country
Poland
I gotcha, better safe than sorry sort of thing. I may have to give it a shot for TOTK because running it at 45 FPS mostly feels good, but I definitely get some frame pacing issues with the screen at 60 Hz.
Changing refresh rate makes experience miles better. Only con is that prerendered cutscenes are choppy.
 

i-snake-z

Active Member
Newcomer
Joined
Sep 19, 2020
Messages
29
Trophies
0
Age
22
XP
114
Country
Portugal
And that's good. I don't want people to use it thinking it's 100% safe as theoretically there are risks with stuck and dead pixels, but nobody reported such issue so far. I'm setting my display to 45 Hz whenever running game at 60 FPS requires heavy overclocking and no issue popped out.
Post automatically merged:


You can find on Google forks with this restriction removed. Of course don't go to me if it doesn't work as expected as I am not providing support for forks.
Didn’t find anything. Ca you send me the link please ? Thanks you are really awesome.
 

kingsley86

New Member
Newbie
Joined
Nov 9, 2024
Messages
4
Trophies
0
Age
35
XP
10
Country
Italy
Hello, anybody else has the NX-FPS not running issue on the latest version of FPSLocker and sys-patch (1.54) on latest CFW 19.0.1 ? Thank you!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    kijetesantakalu042 @ kijetesantakalu042: @SylverReZ I would but he isn't my child.