Homebrew WIP NX-FPS - SaltyNX plugin collecting FPS data

jnl1

Well-Known Member
Member
Joined
Jan 12, 2020
Messages
502
Trophies
0
Age
36
XP
1,617
Country
Germany
How does the exceptions.txt work?
Name of the game followed by version of the game followed by title id?

For example:
;Immortals: Fenyx Rising
;1.0.1
01006E60131B6000

Would this be correct?
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,268
Trophies
3
XP
12,036
Country
Poland
How does the exceptions.txt work?
Name of the game followed by version of the game followed by title id?

For example:
;Immortals: Fenyx Rising
;1.0.1
01006E60131B6000

Would this be correct?
Only what it needs is titleid.

; are used only to comment what this titleid is and what is the issue. It's not required to write comments.

01006E60131B6000 means that no plugin will be loaded, but still it will try to bootstrap and apply asm64 patches.

X01006E60131B6000 means SaltyNX won't do anything for this game, avoiding bootstrapping
 
  • Like
Reactions: IZUNYA and jnl1

IZUNYA

Well-Known Member
Member
Joined
Dec 24, 2019
Messages
376
Trophies
0
XP
783
Country
France
Thanks a lot , i can load it now , i had to edit the exception TXT with the TID :

;Immortals: Fenyx Rising
;1.0.1
X01004A600EC0A000
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,268
Trophies
3
XP
12,036
Country
Poland
I can confirm is not working on Immortals Fenyx Rising. The plugin crashes the game before loading it. Can the plugin be unabled only for that game? And if it can, how?

Add titleid [...] to exceptions.txt

Only what it needs is titleid.

; are used only to comment what this titleid is and what is the issue. It's not required to write comments.

01006E60131B6000 means that no plugin will be loaded, but still it will try to bootstrap and apply asm64 patches.

X01006E60131B6000 means SaltyNX won't do anything for this game, avoiding bootstrapping
 
Last edited by masagrator,
  • Like
Reactions: LinkMaster130693

protivakid

Well-Known Member
Member
Joined
May 6, 2014
Messages
197
Trophies
0
Age
38
XP
629
Country
United States
So SX-OS user here. I'm seeing 254 fps on everything. Looked over the readme, my setup seems correct so not sure what I am doing wrong. Any advice?
 

nwhiteman42

Well-Known Member
Member
Joined
Sep 5, 2015
Messages
119
Trophies
0
Age
25
Location
Michigan
XP
398
Country
United States
I saw this same behavior in Atmosphere and reinstalling SaltyNX fixed it for me. Used on FW 11.0.1 Atmosphere 0.18.1 and Status-Monitor 0.6.3
 

clianvXAi

Active Member
Newcomer
Joined
Feb 23, 2019
Messages
36
Trophies
0
Age
42
XP
307
Country
Romania
I saw this same behavior in Atmosphere and reinstalling SaltyNX fixed it for me. Used on FW 11.0.1 Atmosphere 0.18.1 and Status-Monitor 0.6.3
What version of tesla did you used? I tried 1.06 and 1.04 but couldn’t make it work for fps counter to show in tesla. I use fw 11.0.1 and Atmosphere 0.18.1.
 

Brandon10075

Active Member
Newcomer
Joined
Aug 1, 2018
Messages
31
Trophies
0
Age
26
XP
141
Country
Malaysia
Im using SXOS 3.1 (11.0.0) it works then it will randomly stop working, stuck at 30 sometimes 254, is there a fix? Thanks
ovlloader & tesla SaltyNX 0.4.0 at latest build
 

Chrisssj2

Well-Known Member
Member
Joined
Feb 12, 2008
Messages
2,704
Trophies
1
XP
4,383
Country
Netherlands
This plugin doesn't seem to work for me. using latest atmosphere for FW13 and latest saltynx.
As soon as I go into the status monitor menu to show fps. my switch freezes.
 
Last edited by Chrisssj2,

sofakng

Well-Known Member
Member
Joined
Jul 3, 2007
Messages
114
Trophies
1
XP
518
Country
United States
I'm using the newest HWFLY chip for the OLED switch but I'm a bit confused. I'm always seeing "254" in the FPS counter and the full/mini displays of the Status Overlay do not show the FPS.

The SaltyNX github contains the following info:
For SX OS remember to rename atmosphere folder to sxos

Does this mean I should have \sxos\contents\0000000000534C56\... ?

I obviously can't rename my existing \atmosphere folder because that would break everything else.

It appears to be somewhat working because when I start WarioWare it generates \SaltySD\saltysd.log and saltysd_core.log (which I've attached to this post).

Thanks for any help!
 

Attachments

  • saltysd.log.txt
    791 bytes · Views: 56
  • saltysd_core.log.txt
    251 bytes · Views: 42
Last edited by sofakng,

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,268
Trophies
3
XP
12,036
Country
Poland
For last few days I was reworking NX-FPS, Status Monitor and SaltyNX to support passing FPS data via SharedMemory.
SaltyNX is the one hosting SharedMemory.
Status Monitor and NX-FPS are taking copy-handle from SaltyNX and mapping memory.

Pros of this solution:
- Debugger is not more needed to read data, so dmnt:cht and svcdebug are completely gone from Status Monitor. This solves issues with microstutterings (not visible in video, but hearable from audio) and using it in the same time with other debuggers
- NX-FPS plugin now is not writing anything to sdcard
- Status Monitor now is not reading anything from sdcard (detection is handled by using SharedMemory).

This won't change existing SaltyNX compability issues.
Now is going through test phase if there is no memory leak or mishandling system.

If you want to test it yourself, you must compile SaltyNX, Status Monitor and NX-FPS from those PRs.
https://github.com/masagrator/SaltyNX/pull/22
https://github.com/masagrator/Status-Monitor-Overlay/pull/22
https://github.com/masagrator/NX-FPS/pull/7

Only known issue is that SaltyNX is not handling at all issues with SharedMemory reserved offsets.
This will impact usage ONLY if somebody would like to take advantage of SharedMemory and it would use it in combination with other plugin using SharedMemory like NX-FPS since you won't be able to determine what offset should be used.
This is something I want to fix before releasing it officially.
 
Last edited by masagrator,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/WOppJ92RgGU?si=KE79L6A_3jESsGQM