Homebrew Discussion SaltyNX Discussion Thread

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,303
Trophies
3
XP
12,089
Country
Poland
Because more and more people are asking about SaltyNX stuff more than tools using it I have decided to make separate thread for it. Here I will be answering questions about SaltyNX and SaltyNX-Tool only, any issue with existing plugins themself are not part of this discussion.

Overview:
SaltyNX is a background process for code injection/modification. It's used by ReverseNX-Tool, ReverseNX-RT, Status Monitor in pair with NX-FPS, UnityGraphics, many Smash mods, etc.
It was made by shinyquagsire23 who never updated it since July 2019. I have decided to maintain it to work with newest devkit and firmwares, add some functions and try to repair some things.

I'm not as skilled as original author, so don't expect from me that I will fix every issue. Code has many leftovers from testing phases and was never cleared out properly.

Link to my fork: https://github.com/masagrator/SaltyNX
Link to homebrew that is for configuring my fork of SaltyNX: https://github.com/masagrator/SaltyNX-Tool

Link to original repo: https://github.com/shinyquagsire23/SaltyNX

Plugin source code examples:
https://github.com/masagrator/NX-FPS/blob/master/source/main.cpp
https://github.com/masagrator/UnityGraphics/tree/master/Plugin/source
 
Last edited by masagrator,

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,303
Trophies
3
XP
12,089
Country
Poland
As of recent news: I have probably fixed plugins issue with all FIFA games (FIFA 18, 20 and 21 are working. 19 wasn't tested yet) and Darksiders 2.

Luigi's Mansion 3, GRID and Immortals Fenyx Rising are still not working. I need to test only Alien Isolation and I will be releasing it to get feedback if those changes didn't break any game that was working before.

EDIT: https://github.com/masagrator/SaltyNX/releases/tag/0.4.0a
 
Last edited by masagrator,

Furtle

Member
Newcomer
Joined
Oct 28, 2020
Messages
13
Trophies
0
Age
40
XP
62
Country
United Kingdom
Having problems with saltynx crashing when trying to open games, every time. Running latest atmosphere and Hekate. Saltynx seems to be running in the background fine and plugins loaded, all crashes though upon opening games. Any ideas?
Thanks
 

icefox

Well-Known Member
Newcomer
Joined
Jun 16, 2018
Messages
99
Trophies
0
Age
44
XP
528
Country
United States
Having problems with saltynx crashing when trying to open games, every time. Running latest atmosphere and Hekate. Saltynx seems to be running in the background fine and plugins loaded, all crashes though upon opening games. Any ideas?
Thanks
got same problem. since updating to ofw12 and latest atmosphere saltynx crashes to the blue screen with error code 2168-0002 every time. I had to disable it for anything to run. Anyone has any idea?
 

Du'Islingr

Well-Known Member
Member
Joined
May 5, 2016
Messages
148
Trophies
0
Age
30
XP
371
Country
United States
@masagrator does this not work on horizon 15? seems like saltynx crashes whenever i launch an app after reboot which also causes app to crash. but reopening app works as saltynx ofc is no longer working. doesnt seem to matter if a plugin is present or not.
 

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,155
Country
United States
@masagrator does this not work on horizon 15? seems like saltynx crashes whenever i launch an app after reboot which also causes app to crash. but reopening app works as saltynx ofc is no longer working. doesnt seem to matter if a plugin is present or not.

I’m running SaltyNX on 15.0.0 w/ no issues thus far. I did have issues w/ other apps but after completely redoing my SDCard to clean things up things are pretty darn stable.
 

jdbutler2

New Member
Newbie
Joined
Aug 31, 2022
Messages
1
Trophies
0
Age
34
Location
Texas
XP
35
Country
United States
@masagrator does this not work on horizon 15? seems like saltynx crashes whenever i launch an app after reboot which also causes app to crash. but reopening app works as saltynx ofc is no longer working. doesnt seem to matter if a plugin is present or not.
Having the same issue. It's my first time installing it/trying to use it. Happens on HOS 14 and 15

EDIT: It was only when NXFPS was enabled. I fixed it by cleaning up the archive bit in Hekate.
 
Last edited by jdbutler2,

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,155
Country
United States

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,303
Trophies
3
XP
12,089
Country
Poland
Is there still no news on the new dev working on a alternative to SaltyNX? (Is it cancelled by now?)
They practically stop working on all Switch projects for a while now. Understand this as you want.


Also there's really 0 chances you could fix the 32bit game support on SaltyNX for using your ReverseNX-RT awesome tool?
0. I'm too stupid to even understand how SaltyNX works from A-Z and adding support for 32-bits require knowledge how ELFs are build and how manually parse it to memory so nothing will break.
 

burhansalih

Well-Known Member
Member
Joined
Jan 11, 2009
Messages
1,598
Trophies
1
Location
London, England
XP
2,496
Country
United Kingdom
Hey, wondering if someone can help.

I have downloaded everything I need to get 60FPS or at least target 60FPS on RDR.

When I run FPSLocker it says no game is running....then when I launch it I get a red SaltyNX is not working.

I've obviously put something in the wrong place..

help much appreciated.
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,303
Trophies
3
XP
12,089
Country
Poland
Hey, wondering if someone can help.

I have downloaded everything I need to get 60FPS or at least target 60FPS on RDR.

When I run FPSLocker it says no game is running....then when I launch it I get a red SaltyNX is not working.

I've obviously put something in the wrong place..

help much appreciated.


If it's everything correct, then you have probably too many sysmodules installed or something that collides with SaltyNX. Delete them until it works
 

burhansalih

Well-Known Member
Member
Joined
Jan 11, 2009
Messages
1,598
Trophies
1
Location
London, England
XP
2,496
Country
United Kingdom


If it's everything correct, then you have probably too many sysmodules installed or something that collides with SaltyNX. Delete them until it works


Thank you I'll give it a go....I dont have any sys modules its the first time im trying..Thank you ill give your instructions a try.

ok I have done all that and I still get SaltyNX not running.
 
Last edited by burhansalih,

burhansalih

Well-Known Member
Member
Joined
Jan 11, 2009
Messages
1,598
Trophies
1
Location
London, England
XP
2,496
Country
United Kingdom

Attachments

  • CleanShot 2023-08-22 at 14.05.36@2x.png
    CleanShot 2023-08-22 at [email protected]
    187.9 KB · Views: 32
  • CleanShot 2023-08-22 at 14.05.44@2x.png
    CleanShot 2023-08-22 at [email protected]
    140.7 KB · Views: 31

burhansalih

Well-Known Member
Member
Joined
Jan 11, 2009
Messages
1,598
Trophies
1
Location
London, England
XP
2,496
Country
United Kingdom
now after running some game upload saltysd.log from SaltyNX folder

Cool I’ll get this for you tomorrow as I’m not at home atm.
Post automatically merged:

Hey, here you go.

SaltySD: got SD card.
SaltySD: new max 82, 2 00000004e3c7b1d4
SaltySD: TID 420000000007e51a is a homebrew application, aborting bootstrap...
SaltySD: new max 83, 0 00000004e3c7b1d4
SaltySD: TID 0100000000000035 is a system application, aborting bootstrap...
SaltySD: new max 84, 0 00000004e3c7b1d4
SaltySD: TID 0100000000001000 is a system application, aborting bootstrap...
SaltySD: new max 85, 0 00000004e3c7b1d4
SaltySD: TID 010000000000100c is a system application, aborting bootstrap...
SaltySD: cmd 7 handler
SaltySD: new max 86, 1 0000003638a07110
SaltySD: TID 010000000000100d is a system application, aborting bootstrap...
SaltySD: new max 87, 0 0000003638a07110
SaltySD: found valid AttachProcess event:
tid 01007820196a6000 pid 0000000000000087
name Application
isA64 1 addrSpace 3 enableDebug 1
enableAslr 1 useSysMemBlocks 1 poolPartition 0
exception 0000000000000000
SaltySD: debug event 4, passing...
SaltySD: svcGetDebugEventInfo returned 8c01, breaking
.text to 11a4e04000, .data to 11a7f50000
SaltySD: cmd 1 handler, proc handle 2503f6, heap 79dd600000, path saltysd_core.elf
SaltySD: loading sdmc:/SaltySD/saltysd_core.elf, size 0x5d3b8
SaltySD: Search for size 6b000
SaltySD: Found free address space at c3f5aa000, size 6b000
SaltySD: cmd 2 handler
SaltySD: cmd 4 handler
SaltySD: got SD card.
SaltySD: new max 82, 2 0000000b44be41d4
SaltySD: TID 420000000007e51a is a homebrew application, aborting bootstrap...
SaltySD: new max 83, 0 0000000b44be41d4
SaltySD: TID 0100000000000035 is a system application, aborting bootstrap...
SaltySD: new max 84, 0 0000000b44be41d4
SaltySD: TID 0100000000001000 is a system application, aborting bootstrap...
SaltySD: new max 85, 0 0000000b44be41d4
SaltySD: TID 010000000000100c is a system application, aborting bootstrap...
SaltySD: cmd 7 handler
SaltySD: new max 86, 0 0000000b44be41d4
SaltySD: found valid AttachProcess event:
tid 01007820196a6000 pid 0000000000000086
name Application
isA64 1 addrSpace 3 enableDebug 1
enableAslr 1 useSysMemBlocks 1 poolPartition 0
exception 0000000000000000
SaltySD: debug event 4, passing...
SaltySD: svcGetDebugEventInfo returned 8c01, breaking
.text to 3b29e04000, .data to 3b2cf50000
SaltySD: cmd 1 handler, proc handle 1e83f6, heap 68d7400000, path saltysd_core.elf
SaltySD: loading sdmc:/SaltySD/saltysd_core.elf, size 0x5d3b8
SaltySD: Search for size 6b000
SaltySD: Found free address space at 92a9e7000, size 6b000
SaltySD: cmd 2 handler
SaltySD: cmd 4 handler
SaltySD: got SD card.
SaltySD: new max 82, 2 000000088ac6f1d4
SaltySD: TID 420000000007e51a is a homebrew application, aborting bootstrap...
SaltySD: new max 83, 0 000000088ac6f1d4
SaltySD: TID 0100000000000035 is a system application, aborting bootstrap...
SaltySD: new max 84, 0 000000088ac6f1d4
SaltySD: TID 0100000000001000 is a system application, aborting bootstrap...
SaltySD: new max 85, 0 000000088ac6f1d4
SaltySD: TID 010000000000100c is a system application, aborting bootstrap...
SaltySD: new max 86, 0 000000088ac6f1d4
SaltySD: found valid AttachProcess event:
tid 01007820196a6000 pid 0000000000000086
name Application
isA64 1 addrSpace 3 enableDebug 1
enableAslr 1 useSysMemBlocks 1 poolPartition 0
exception 0000000000000000
SaltySD: debug event 4, passing...
SaltySD: svcGetDebugEventInfo returned 8c01, breaking
.text to 6f3ee04000, .data to 6f41f50000
SaltySD: cmd 1 handler, proc handle 1c03f6, heap cdf200000, path saltysd_core.elf
SaltySD: loading sdmc:/SaltySD/saltysd_core.elf, size 0x5d3b8
SaltySD: Search for size 6b000
SaltySD: Found free address space at 1bf66a000, size 6b000
SaltySD: cmd 2 handler
SaltySD: cmd 4 handler
SaltySD: cmd 3 handler, memcpy(6f8e0ed2dc, 25d1f9cbb8, 4)
SaltySD: cmd 3 handler, memcpy(6f8e0ed2e0, 1bf6b3460, 10)
SaltySD: cmd 3 handler, memcpy(6f8e0ed4ac, 25d1f9cbb8, 4)
SaltySD: cmd 3 handler, memcpy(6f8e0ed4b0, 1bf6b3460, 10)
SaltySD: cmd 1 handler, proc handle 2a83f5, heap cdf26b000, path NX-FPS.elf
SaltySD: loading sdmc:/SaltySD/plugins/NX-FPS.elf, size 0x1b280
SaltySD: Search for size 1c000
SaltySD: Found free address space at 51fa0d000, size 1c000
SaltySD: cmd 6 handler, size: 59
SaltySD: cmd 7 handler
SaltySD: cmd 3 handler, memcpy(6f40cea178, 25d1f9cb08, 18)
SaltySD: cmd 8 handler
SaltySD: cmd 8 Main found. BID: 90D38D285A365D9E
SaltySD: cmd 7 handler
SaltySD: cmd 7 handler
SaltySD: cmd 7 handler
SaltySD: new max 87, 1 0000005de0e07110
SaltySD: TID 010000000000100d is a system application, aborting bootstrap...
 
Last edited by burhansalih,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Goku likes to flip the bean to get others healthy