ReverseNX - Flag your console as handheld or docked

ReverseNX_logo_transparent_v4.png

ReverseNX

Combination of SaltyNX patches that force games to think that you are using docked or handheld mode.

You can use it to change graphics settings and unlock some options that are available only in docked/handheld mode. For now in experimental phase, because SaltyNX has many bugs that need to be patched.

To download latest SaltyNX, check links at the end of post.

_____________

To use ReverseNX, you need to use ReverseNX-Tool which can be downloaded at the end of this post. Check readme in repo to learn how to use it.


When forcing docked mode, it is recommended to use OC settings exactly as used in docked mode:
Code:
handheld_charging_gpu=768
handheld_charging_mem=1600

______________

Known issues:
  • SaltyNX is still under development, so it may cause issues on it's own. More in SaltyNX repo.
______________

Thanks to @Kirby567fan and @crow132 for testing.
To @RattletraPM for logo.
To @SunTheCourier for sys-clk Editor on which I have based ReverseNX-Tool >=2.0.0
To Borealis contributors for Borealis which I'm using from 3.0.0
______________

ReverseNX-Tool

github repo: https://github.com/masagrator/ReverseNX-Tool
Releases: https://github.com/masagrator/ReverseNX-Tool/releases

____________

SaltyNX
github repo: https://github.com/masagrator/SaltyNX
Releases: https://github.com/masagrator/SaltyNX/releases

 
Last edited by masagrator,

ColorBoyKent

Well-Known Member
Newcomer
Joined
Jul 19, 2019
Messages
59
Trophies
0
Age
27
XP
120
Country
United States
OK i got it working im pretty sure this time thanks zelda graphics better wit no lie is there a way to do it with no charger in handheld
 

Trice

Well-Known Member
Member
Joined
Jan 20, 2009
Messages
153
Trophies
1
XP
1,260
Country
Switzerland
Not if you want full docked performance. sys-clk has a fixed limit if you don't use a charger to not stress the battery too much.
 

Zkajavier

Well-Known Member
Member
Joined
Sep 13, 2009
Messages
358
Trophies
1
XP
1,334
Country
Costa Rica
OK i got it working im pretty sure this time thanks zelda graphics better wit no lie is there a way to do it with no charger in handheld

No. But you can buy a battery case for your switch so it charges while you play. Otherwise you need you'll need to stick to the charger.

However I wish there was a way to make the docked flag to get enabled only when the console is charging.
 

Trice

Well-Known Member
Member
Joined
Jan 20, 2009
Messages
153
Trophies
1
XP
1,260
Country
Switzerland
No. But you can buy a battery case for your switch so it charges while you play. Otherwise you need you'll need to stick to the charger.

However I wish there was a way to make the docked flag to get enabled only when the console is charging.
This will only work if the battery case supplies the same amount of power as the official charger does. Otherwise the sys-clk overclocking limit still applies.
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,284
Trophies
3
XP
12,053
Country
Poland
Hm might be doable, if the replacement function was modified to check for charging and return the relevant value, instead of hardcoding it.
I tried. psm is unreachable (wrong handle error when trying to initialize), hidscaninput is crashing SaltyNX (I was thinking of adding button scanning for loading docked or handheld mode when loading game). It looks like it's supporting (outside of function using svc calls and memcpy to edit code) only libnx C functions like mkdir.

Everyone can fork and try by itself. I'm maybe wrong.

And you can't apply libnx functions to NSO game. That's impossible atm (you would need to import relevant libnx libraries to game first that will be readable and always read by game. SetOperationMode and SetPerformanceMode are used only (after first read) when GetOperationModeNotification and GetPerformanceModeNotification come that mode was changed (so only when docking/undocking physically) but I didn't test what would happen if it always return 1 :D. I was thinking now of using cheat engine of Atmosphere to create homebrew that will change in real time modes if it would work, but as you can see - 0.3X is crashing because of cheats. :(
 
Last edited by masagrator,

ColorBoyKent

Well-Known Member
Newcomer
Joined
Jul 19, 2019
Messages
59
Trophies
0
Age
27
XP
120
Country
United States
I tried. psm is unreachable (wrong handle error when trying to initialize), hidscaninput is crashing SaltyNX (I was thinking of adding button scanning for loading docked or handheld mode when loading game). It looks like it's supporting (outside of function using svc calls and memcpy to edit code) only libnx C functions like mkdir.

Everyone can fork and try by itself. I'm maybe wrong.

And you can't apply libnx functions to NSO game. That's impossible atm (you would need to import relevant libnx libraries to game first that will be readable and always read by game. SetOperationMode and SetPerformanceMode are used only (after first read) when GetOperationModeNotification and GetPerformanceModeNotification come that mode was changed (so only when docking/undocking physically) but I didn't test what would happen if it always return 1 :D. I was thinking now of using cheat engine of Atmosphere to create homebrew that will change in real time modes if it would work, but as you can see - 0.3X is crashing because of cheats. :(
Does 60fps mod for god eater 3 not work with the ReverseNX because it works but not as constant as in handheld mode it work with dock but not a full constant 60fps but handheld mode does wording is bad but you get what im trying to say
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,284
Trophies
3
XP
12,053
Country
Poland
60 FPS works best in handheld mode. And still you won't get in God Eater 3 stable 60 FPS for 100% of game. The most demanding are second hub and one of last cutscenes.

And try to use commas, question marks and dots. For real your posts are hard to read.
 
Last edited by masagrator,

Trice

Well-Known Member
Member
Joined
Jan 20, 2009
Messages
153
Trophies
1
XP
1,260
Country
Switzerland
The regular Handheld 720p output needs less power, so it has quite a bit more breathing room when it comes to overclocking. We can't overclock the Switch that much from what it's clocked in docked mode already, at least not safely for an extended period of time, so anything that's taxing the system even more, like going from 30fps to 60fps, will cripple the performance really easily.
 

hdhani

Member
Newcomer
Joined
Jun 26, 2019
Messages
15
Trophies
0
Age
36
XP
113
Country
United Kingdom

So I need to download reversenx first copy the files to my sd card and then launch the nro file to use the tool? Is there a way to check if it's working when I launch a game or I just need to experiment and see if the gfx looks better?

Would I need to restart the switch each time I change the settings in the tool or its applied straight away?
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,284
Trophies
3
XP
12,053
Country
Poland
1. After copying ReverseNX you need to restart Switch to make this working.
2. After changing flags you don't need to restart Switch, but SaltyNX crashes sometimes in background, so if you don't see a change in game after some time of playing without restarting Switch - restart Switch.
3. log file in SaltySD folder has informations about saltyNX. If something is not working, check log and put it here. If there is no log, you wrongly copied folders or you are using Hekate launch menu.
 

hdhani

Member
Newcomer
Joined
Jun 26, 2019
Messages
15
Trophies
0
Age
36
XP
113
Country
United Kingdom
1. After copying ReverseNX you need to restart Switch to make this working.
2. After changing flags you don't need to restart Switch, but SaltyNX crashes sometimes in background, so if you don't see a change in game after some time of playing without restarting Switch - restart Switch.
3. log file in SaltySD folder has informations about saltyNX. If something is not working, check log and put it here. If there is no log, you wrongly copied folders or you are using Hekate launch menu.

Thanks got it working! But the performance is slower. Haven't applied any oc settings yet but am reading that this only works if the charger is plugged in? If that's the case then I'll probably uninstall this not sure if I want to play the switch with the wire plugged in. Nice work anyway! The gfx were looking a bit better from what I saw so far
 

Zkajavier

Well-Known Member
Member
Joined
Sep 13, 2009
Messages
358
Trophies
1
XP
1,334
Country
Costa Rica
Thanks got it working! But the performance is slower. Haven't applied any oc settings yet but am reading that this only works if the charger is plugged in? If that's the case then I'll probably uninstall this not sure if I want to play the switch with the wire plugged in. Nice work anyway! The gfx were looking a bit better from what I saw so far
You need to apply OC settings to at least Docked clocks and use the charger otherwise it will just slow it down. The first post explains this quite well.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub:
  • Sheeba- @ Sheeba-:
    I can't wait to hack my 11.00 PS4 pro
    Sheeba- @ Sheeba-: I can't wait to hack my 11.00 PS4 pro