Homebrew Discussion SaltyNX Discussion Thread

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,305
Trophies
3
XP
12,097
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,305
Trophies
3
XP
12,097
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,156
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,156
Country
United States

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,305
Trophies
3
XP
12,097
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,501
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,305
Trophies
3
XP
12,097
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,501
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,501
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: 33
  • CleanShot 2023-08-22 at 14.05.44@2x.png
    CleanShot 2023-08-22 at [email protected]
    140.7 KB · Views: 33

burhansalih

Well-Known Member
Member
Joined
Jan 11, 2009
Messages
1,598
Trophies
1
Location
London, England
XP
2,501
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
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
    K3Nv2 @ K3Nv2: @BigOnYa...