Hacking Homebrew Is it feasible to MITM the internet connection/module?

  • Thread starter Thread starter hippy dave
  • Start date Start date
  • Views Views 48,042
  • Replies Replies 95
  • Likes Likes 5
If it is fixed by unlinking an NNID account, it is likely that you did not disable cloud saves before blocking Nintendo/creating your emuMMC (if you have one).

If you are looking for what you need SPECIFICALLY FOR GAMES THAT REQUIRE AIRPLANE/FLIGHT MODE, you can use BestPig's plugin as they listed in the previous pages. You will also need SaltyNX to be able to use it.
my switch is banned though so even if I unblocked i cannot access the screen to disable cloud saves.
 
Issue: Doom (2017) update 1.2

If loading with the internet turned on (airplane mode off) and network is unreachable, You will get error "Notice - Loading Title Storage", and get stuck on that screen.

Patch: _ZN2nn4nifm20SubmitNetworkRequestEv.asm64 (is required to bypass that Notice screen)

You will also require these (which are already posted in the thread):
_ZN2nn4nifm31HandleNetworkRequestErrorResultEv.asm64 (bypass flight mode popup)
_ZN2nn4nifm18IsNetworkAvailableEv.asm64 (prevent crash if internt is on)

Patch file does the following:
movz x0, #0
ret
 

Attachments

  • Like
Reactions: Kanzar
Hey all, I'm on Horizon 16.1.0, Atmosphere 1.6.2, trying to disable the check on Portal 2 but none of the plugins and patches will work. I've tried
  • Just the NX-NONET.elf plugin
  • Just the _ZN2nn4nifm18IsNetworkAvailableEv.asm64 patch
  • The plugin + all 3 asm64 patches
Any idea what might be going wrong? The game starts normally without WiFi, but crashes if WiFi is connected. It's as if SaltyNX and the plugins/patches weren't there at all.

Also interestingly, it crashes right away the first time I load it after boot, but then takes longer to crash the next times (and then stops crashing if I disable WiFi). That first crash seems to be something else than the network check.
 
Hey all, I'm on Horizon 16.1.0, Atmosphere 1.6.2, trying to disable the check on Portal 2 but none of the plugins and patches will work. I've tried
  • Just the NX-NONET.elf plugin
  • Just the _ZN2nn4nifm18IsNetworkAvailableEv.asm64 patch
  • The plugin + all 3 asm64 patches
Any idea what might be going wrong? The game starts normally without WiFi, but crashes if WiFi is connected. It's as if SaltyNX and the plugins/patches weren't there at all.

Also interestingly, it crashes right away the first time I load it after boot, but then takes longer to crash the next times (and then stops crashing if I disable WiFi). That first crash seems to be something else than the network check.
https://github.com/masagrator/PortalNXSideLoader

Install Portal2-NoWeb-NXSideLoader.zip
 
  • Like
Reactions: hippy dave
Hi, I think Tomb Raider Remastered tries to connect and crashes when it can't ?
I've tried to start the game in airplane mode and it asks to disable it for seemingly no reason, makes me think it wants to make an internet check
 
Hi, I think Tomb Raider Remastered tries to connect and crashes when it can't ?
I've tried to start the game in airplane mode and it asks to disable it for seemingly no reason, makes me think it wants to make an internet check
Nope, it crashes because of SaltyNX. Update SaltyNX to newest version that just released.
 
can i do with mortal kombat 11 game this game requied wifi on every open or it will stuck in updating game data :(
 
I’ve used the patches from posts #23 and #60 from this thread for a while now and they work great! There is only one game I play for which those patches don’t block all those annoying error codes for me on and that game is Disgaea 5. Every time I open the game I get the error code 2110-0111 when I first open the game (The error code text is “An error has occurred. Please try again later.”) (This error code is a different one than that I would receive if I didn’t have those groups of patches on my SD Card.)

I’ve looked online to try to learn how to make my own SaltyNX patches (or to find some forum sharing already created ones) but I can’t find any resources that would teach me (newbie to actually creating code here). I know how to use a Hex editor but I wouldn’t know even remotely which processes I would need to tweak to prevent this error code from popping up (do you use the SaltyNX text files on your SD Card to parse the processes you need to target?) or what I would then need to name the .asm64 file. Can anyone help point me in the right direction for what to do to remove this error code?
 
I’m genuinely very sorry for spamming this again but it’s been over a month since my last post and I just would really love for there to be some SaltyNX patches to stop those internet-based error messages from popping up every time I open Disgaea 5. (They cause me an irrational amount of anxiety.)

I would even be willing to pay a real-money commission for someone to create some for me but obviously I don’t know how to go about doing that in a way where the person who would create the patches could have 100% faith they would be compensated by me for the work that they do and of course I think the pool of people who even know enough about Switch hacking/homebrew to create those patches is so small…If anyone out there in reading this has any ideas at all, please feel free to hit me up! (Like would Fiverr work…? I don’t know lol)
 
Last edited by ForMyCats,
is it still working in recent times?
i tried the patch with arcade archive and aca neogeo titles but it didn't load the games.

for example, one of the posts here mentioned "aca neogeo metal gear slug" but it didn't work for me. it failed with "arcade archive vs. super mario bros." and some games from "taito milestones 2" as well.

just tried Death Coming (it was also listed as "working") and it said "an error occured".
setting airplane mode off didn't work for me.

running atmosphere 1.8.0 on 18.0 firmware. saltynx enabled.
 
Last edited by klonoa,
  • Like
Reactions: CptanPanic
is it still working in recent times?
i tried the patch with arcade archive and aca neogeo titles but it didn't load the games.

for example, one of the posts here mentioned "aca neogeo metal gear slug" but it didn't work for me. it failed with "arcade archive vs. super mario bros." and some games from "taito milestones 2" as well.

just tried Death Coming (it was also listed as "working") and it said "an error occured".
setting airplane mode off didn't work for me.

running atmosphere 1.8.0 on 18.0 firmware. saltynx enabled.
Can you try again with your games?
I added some more function patchs, it should works now with Death Coming, ACA NEOGEO METAL SLUG and Arcade Archives VS SUPER MARIO BROS

Didn't tested it with everything, but it seems more reliable than previous ones.
The only game I tested that has not worked is "Castle of Shikigami 2", but it's a 32bit games.
Tell me if there is anything that is not working has expected.
 

Attachments

I made those SaltyNX patches that block network error popups without blocking access to internet functions.

https://github.com/masagrator/SaltyNX-Patches/tree/main/BlockNetworkErrorHandling

When
C++:
nn::nifm::HandleNetworkRequestErrorResult()
finds out that network request wasn't successful, before calling an applet it calls
C++:
nn::nifm::PrepareHandlingNetworkRequestResult(nn::nifm::RequestHandle, nn::applet::LibraryAppletHandle*)
to get applet handle. I'm editing that function to return error instead. Checked it against nnSDK of World of Goo as very old and 32-bit game, and against nnSDK of Silksong to be sure that this function didn't change across years.

I made them because No Man's Sky 6.30.0 for some reason pops up this error applet every few seconds when you are not connected to internet.
 
Last edited by masagrator,
@masagrator , from my tests (Ticket to Ride and Suika game) I get following result (BlockNetworkErrorHandling patch):
It helps for removing messagebox "please turn off flight mode" if it is on, but if flight mode is off, then error message 2123-0011 is still shown.
 
In Suika Game i couldn't reproduce the same error code, i was getting 2155-8007 / 0x3e8e9b. So I tried to patch that.
It was shown by using "error" applet, so i was trying to look at nn::err namespace. There are many types of nn::err::ShowResult, stubbing nn::err::ShowResult(nn::Result) fixed an issue for me.

https://github.com/masagrator/SaltyNX-Patches/pull/5/changes
 
  • Like
Reactions: hippy dave

Site & Scene News

Popular threads in this forum