More actions
NX-FPS | |
---|---|
File:Nxfpsswitch.png | |
General | |
Author | masagrator |
Type | Plugins |
Version | 1.2.1 |
License | MIT License |
Last Updated | 2023/04/02 |
Links | |
Download | |
Website | |
Source | |
Support Author | |
If you're looking to collect FPS data in Nintendo Switch games, NX-FPS is a great SaltyNX plugin to consider. To get started, you'll need to install my fork of SaltyNX 0.5.0+ from here.
Once you've installed the necessary software, simply put the NX-FPS.elf file into /SaltySD/plugins
. This plugin currently supports graphics APIs such as NVN, EGL, and Vulkan.
To read FPS data from the plugin, you can either use the Status Monitor Overlay 0.8.1+ from [1] or write your own code. If you're interested in writing your own code, I've provided instructions based on the Status Monitor Overlay code:
- You'll need to include the old ipc.h file from [2] as well as SaltyNX.h from [3].
- Connect to SaltyNX SharedMemory by connecting to SaltyNX, retrieving the SharedMemory handle, terminating the connection with SaltyNX, and then assigning SharedMemory to your homebrew.
Media
How to overclock the Nintendo Switch and view FPS - Sysclk & NX FPS Homebrew mods Atmosphere CFW - (Nevercholt)
Screenshots
https://dlhb.gamebrew.org/switchhomebrews/nxfpsswitch-01.pnga https://dlhb.gamebrew.org/switchhomebrews/nxfpsswitch-02.pnga
Troubleshooting
Q: Why I got constantly 255?
A: 255 is default value before plugin starts counting frames. This may be a sign that:
- Game is using different API or function than what is currently supported
- Plugin missed symbol when initializing (for whatever reason)
Try first to run game again few times. If it's still 255, make an issue and state name of game. Next updates will include support for other graphics APIs.
Changelog
1.2.1
- Fix "main" address detection
1.2
- Add support for nvnQueueAcquireTexture that was used with some old games (for example Outlast) before deprecation.
1.1
- Allow loading LOCK bins produced by FPSLocker 1.1+
1.0
- Allow manipulating FPS
0.4
- Move writing data into SaltyNX SharedMemory. Requires SaltyNX 0.5.0+ to work.
- If you use Status Monitor Overlay, you must update it to version 0.8.1+ to use it.
0.3
- Added support for Vulkan, so games like The Talos Principle and DOOM 64 are now supported.
0.2
- Added support for EGL, which means games like The Unholy Society and Layton's Mystery Journey: Katrielle and the Millionaires' Conspiracy are now supported.
0.1
- First Release.
Thanks to
- RetroNX channel for help with coding stuff,
- CTCaer for providing many useful informations and convincing me to the end that I should target high precision,
- Herbaciarz for providing video footage.
External links
- Official Website - https://gbatemp.net/threads/nx-fps-saltynx-plugin-collecting-fps-data.559065/
- Github - https://github.com/masagrator/NX-FPS