Homebrew  Updated

FPSLocker - set custom FPS target in retail games

An overlay that with SaltyNX 0.7.0+ allows to set custom 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,
1.2.2

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,312
Trophies
3
XP
12,108
Country
Poland
Released version 1.2.2.

Per the request I have added an option that allows setting double buffer in games that are triple buffered.
Obvious pros of using it is better framepacing and lower input lag.
Con is that any FPS drops are severe.

So it's recommended to use it only for games that have nearly stellar performance at 30 or 60 FPS, but suffer from bad framepacing or big input lag.
 

Mike_77712

Well-Known Member
Member
Joined
Apr 7, 2016
Messages
333
Trophies
0
Age
26
XP
1,064
Country
United States
Released version 1.2.2.

Per the request I have added an option that allows setting double buffer in games that are triple buffered.
Obvious pros of using it is better framepacing and lower input lag.
Con is that any FPS drops are severe.

So it's recommended to use it only for games that have nearly stellar performance at 30 or 60 FPS, but suffer from bad framepacing or big input lag.
i'd love to try this out on galaga 88. nasty input lag in that game
 

Valkyrie743

Member
Newcomer
Joined
Dec 25, 2019
Messages
15
Trophies
0
Age
34
XP
115
Country
United States
sorry for my incompendents with this kind of thing but is it possible to force a double buffered game to be triple buffered? ( like TOTK or BOTW) ?? if so how can i go about this?
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,312
Trophies
3
XP
12,108
Country
Poland
sorry for my incompendents with this kind of thing but is it possible to force a double buffered game to be triple buffered? ( like TOTK or BOTW) ?? if so how can i go about this?
No. Logic behind most of double buffered games in Switch is heavily custom and not only this requires ton of work to edit internal game classes to properly support third framebuffer, but also you must disable any tricks that are used to take advantage of delay caused by double buffer. Like in Captain Tsubasa First one is pretty easy to do with exefs patch because they are not hardcoding offsets of each framebuffer class, but framebuffer is glitching very frequently because game tries to push frame that technically is not finished.

Emulators can workaround them at the expense of higher RAM usage which on Switch is not that pheasible without RAM swap to 6GB.
 

huyincai

Member
Newcomer
Joined
Apr 2, 2023
Messages
18
Trophies
0
Age
22
XP
205
Country
China
No. Logic behind most of double buffered games in Switch is heavily custom and not only this requires ton of work to edit internal game classes to properly support third framebuffer, but also you must disable any tricks that are used to take advantage of delay caused by double buffer. Like in Captain Tsubasa First one is pretty easy to do with exefs patch because they are not hardcoding offsets of each framebuffer class, but framebuffer is glitching very frequently because game tries to push frame that technically is not finished.

Emulators can workaround them at the expense of higher RAM usage which on Switch is not that pheasible without RAM swap to 6GB.
My friend successfully upgraded the ram to 8 GB,and he found TOTK uses almost 7GB,but no fps improvement.Would triple buffer help a little?
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,312
Trophies
3
XP
12,108
Country
Poland
Well,can fpslocker force game to be triple buffer?
No. Logic behind most of double buffered games in Switch is heavily custom and not only this requires ton of work to edit internal game classes to properly support third framebuffer, but also you must disable any tricks that are used to take advantage of delay caused by double buffer. Like in Captain Tsubasa First one is pretty easy to do with exefs patch because they are not hardcoding offsets of each framebuffer class, but framebuffer is glitching very frequently because game tries to push frame that technically is not finished.
:rolleyes:
This applies to ToTK and BoTW too.
 

SerpentStomper

Member
Newcomer
Joined
Jul 28, 2023
Messages
5
Trophies
0
Age
62
XP
27
Country
United States
Can all of this work with Ryujinx emulator?

I have those SDcard and atmosphere folders, so I followed your guide and got the overlays and fps lock stuff but is it different for someone using emulator? I press LB, down D-pad, Right Stick and nothing comes up in game.

The reason I ended up here is because I disabled the Vsync in Skyrim through it's ini file, and it runs awesome on M1 Mac to 65in 4K tv, but something is wrong and it seems to be Vsync related, and I think this is the fix. When I move the movement will stutter even though I'm mostly on 60fps the whole time. Worse in first person for some reason, the feet shuttle and make noise it's like controls are bugged but I think it's the frame timing thing I just don't fully get all this stuff.

What I don't understand is if we need to do all of this because dynamic resolution makes the timing jump around, how come we can't just disable DR? I turned it off in ini file but shuttering still happens. I've increase the MS range so it won't engage and left it on too, still no fix.

So any help is appreciated, greatly. Getting the Switch port of Skyrim to look better than my Xbox version all on a tiny MacBook I can leave closed and connected to tv or on the go has been awesome , I can't believe how good it looks especially with that FSR setting turned on in Ryujinx, but this one hiccup has become my mortal enemy. Please help me fix this stutter and get this bad boy sync'd up!
 

episode_nexus29

New Member
Newbie
Joined
Sep 13, 2023
Messages
1
Trophies
0
Age
38
XP
3
Country
Philippines
So I saw this tool used by MVG. i'm curious, i have atmosphere to latest firmware, are there any risk of bricking my switch doing this? if i fail with the install, can i just go back? seeing as i just need to copy and paste these tools and just overwrite the atmosphere folder.

please help.
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,312
Trophies
3
XP
12,108
Country
Poland
seeing as i just need to copy and paste these tools and just overwrite the atmosphere folder.
You know that you won't overwrite any file used by Atmosphere to work, right? :creep:
Post automatically merged:

Can't wait for the MGS Master Collection Vol.1 to be released to see if this tool can do its magic and increase FPS to 60.
And even if not, we have already experience from 3DS version where it was 60 FPS unlocked what to search.
 

SkullHex2

Well-Known Member
Member
Joined
Feb 27, 2017
Messages
246
Trophies
0
XP
1,302
Country
United States
Hey, just wanted to thank you for this. Pretty amazing stuff, not to mention all the patches you've worked on.
masagrator GOAT
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    I had a Wii-U it sucked lol
  • Psionic Roshambo @ Psionic Roshambo:
    Even hacked it sucked lol
  • The Real Jdbye @ The Real Jdbye:
    nah the Wii U wasn't bad
    +1
  • The Real Jdbye @ The Real Jdbye:
    the hardware is good
  • Psionic Roshambo @ Psionic Roshambo:
    The controller sucked
  • The Real Jdbye @ The Real Jdbye:
    it has good games, just not enough of them
    +2
  • ColdBlitz @ ColdBlitz:
    the indie games on wii u were amazing though
  • ColdBlitz @ ColdBlitz:
    and also some of nintendo's first party games
  • ColdBlitz @ ColdBlitz:
    some of the best selling games on the switch are wii u ports (that are priced way too high
    like come on 60 for a game thats a decade old??)
    +1
  • Xdqwerty @ Xdqwerty:
    @ColdBlitz, i forgot breath of the wild released for the Wii u
  • The Real Jdbye @ The Real Jdbye:
    $60 for a game that's a decade old might be unheard of on PC but actually is not uncommon on consoles
    +1
  • The Real Jdbye @ The Real Jdbye:
    especially Nintendo because they only ever lower the price of games when they do a greatest hits/platinum hits/players choice re-release
  • Xdqwerty @ Xdqwerty:
    @The Real Jdbye, and the HD collections released for 7th gen consoles too
  • The Real Jdbye @ The Real Jdbye:
    but they don't seem to have done any of those for the switch yet and maybe never will
  • ColdBlitz @ ColdBlitz:
    I think we all forgot breath of the wild released for the wii u tbh
    +1
  • Xdqwerty @ Xdqwerty:
    @The Real Jdbye, tbh the HD collections are more justified since they include more than just 1 game per copy
  • Xdqwerty @ Xdqwerty:
    @SylverReZ I read that non-binary people identify as a blend of male and female. The point is i think i'm a blend of those and thus non binary
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Non-binary people are those who don't identify themselves exclusively as male or female.
  • cearp @ cearp:
    I don't identify as anything, unless I need to get on a plane then I show ID
    +3
  • AncientBoi @ AncientBoi:
    👈 [homo, queer, fag, coksuker, etc......]
    +3
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, I meant that I read that they can also identify as what i mentioned
    +2
  • BigOnYa @ BigOnYa:
    I identify as Long Rod Johnson, cause a cat called me that once.
    +2
  • AncientBoi @ AncientBoi:
    [takes a 👀 in your pants] Liar :angry:
    +3
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, and thus that would make me non binary since i feel like a blend of both male and female
    +1
  • AncientBoi @ AncientBoi:
    @Xdqwerty only time will tell, what/whom you are. At 14 is a bit young to "Define" yourself. :)
    +3
    AncientBoi @ AncientBoi: @Xdqwerty only time will tell, what/whom you are. At 14 is a bit young to "Define" yourself. :) +3