Homebrew Homebrew app sys-patch - sysmod that patches on boot

The kitty cat site got you
Alright, cool. That's the "recommended" source to get the latest builds of sys-patch at I take it then? I'm a little nervous what's going to happen should the site get DMCA'd, having access to sys-patch at times like these seems pretty essential to the switch modding scene at large, and I'm just trying to think long-term here.

Another thing throwing me off about the three cats site is that it lists the latest supported firmware Version as 19.0.0. I take it there are no major differences between 19.0.0 and 19.0.1 that would merit any changes to sys-patch?
 
Can the OP be updated on where to get the latest sys-patch? Every google result leads me here, and the link in the OP is dead. What Github repository has the latest recommended version? I'm seeing https://github.com/borntohonk/sys-patch/releases/tag/v1.5.6 posted here, is that what is "officially" recommended? I know impeeza shared a build somewhere, I just don't know where to find it. Would it make sense to start a new thread with a clean OP that has the latest recommended download in it?

I want to finally upgrade to 19.0.1 and would like to ensure that I grab the right files. Apologies if it's been posted a few pages back, I just don't know whose repo is hosting the "master" branch these days.


https://gbatemp.net/download/sys-patch-sysmodule.38936/
 
  • Like
Reactions: rave420
Hi, sorry if this was already answered but I had to create a new emummc and using the latest atmosphere and sys-patch (no sigpatches) I can open all my games except "ace attorney trilogy". Not sure why.
Post automatically merged:

Hi, sorry if this was already answered but I had to create a new emummc and using the latest atmosphere and sys-patch (no sigpatches) I can open all my games except "ace attorney trilogy". Not sure why.
 
I feel like I'm the only person here who has no clue what this "three cats" site is. A Google is not helpful...
 
It works with SM64 v8 port. Game boots and it is perfectly playable, but crashes when trying to access the modifications menu.

Thanks a lot!
I gotta ask, I tried using that provided zip and the sm64 doesn't work for me. Just says unable to boot game. How'd ya get it to work?
 
I use an older-modded version of sys-patch.
https://gbatemp.net/threads/sys-patch-sysmod-that-patches-on-boot.633517/post-10522345

I swap between this and the newer version when I need to. Not the best solution, but it works.

You need to configure some parameters in tesla overlay by pressing L + R Stick press (R3) + DPAD down:

Tesla Overlay -> sys-patch -> Toggle patches ->

debug_flag_off OFF

REBOOT YOUR SWITCH for changes to take effect.
 
Last edited by alcab,
Hi! I'm having some trouble opening games (software closed because an error ocurred), I have everything updated up to 19.0.1 and atmosphere 1.8.0, running sys-patch 1.5.5, restarted the console multiple times and already deleted my old sigpatches (haven't updated in a long time, had some free time so i wanted to lol).

I noticed sys-patch is only patching:

noncasigchk_new
nocntchk 2
noacidsigchk
es3
ctest
nim

even though i have all of the patches enabled and only disabled the caverification ones.
Post automatically merged:

The strange thing is, even though my games aren't opening, my homebrew forwarders (like for the hb menu) do work correctly.
 
Last edited by Caqui,
Hi! I'm having some trouble opening games (software closed because an error ocurred), I have everything updated up to 19.0.1 and atmosphere 1.8.0, running sys-patch 1.5.5, restarted the console multiple times and already deleted my old sigpatches (haven't updated in a long time, had some free time so i wanted to lol).

I noticed sys-patch is only patching:

noncasigchk_new
nocntchk 2
noacidsigchk
es3
ctest
nim

even though i have all of the patches enabled and only disabled the caverification ones.
Post automatically merged:

The strange thing is, even though my games aren't opening, my homebrew forwarders (like for the hb menu) do work correctly.

You've probably booted in with missing patches at some point trying to fix your issue, and that has invalidated all your games with illegitimate tickets (or at least your ticketbin, but its very unlikely you have just the tickets laying around to re-import them... ->) . Try reinstalling them, them being all the affected games.

as for the patches sys-patch is doing, 2 FS (nca/header verification/signature checks), 1 loader related (atmosphere), 1 es (ticketbin signature) related, 1 ctest related (wifi), 1 nim related (prodinfo crashfix)

that's all that should be loaded for your firmware version of 19.0.1
 
Yes, I read that but I'm not at home to test...
Post automatically merged:

Edit: tested and working...
how did you get it working? I have been trying to use the file provided here, but when I put it in /atmosphere/contents atmosphere gives me the error code 2168-0001.
edit: Forget about it, I got it working by turning off the 010000000000F option in the tesla overlay syspatch options, which was the program that the error code was showing me.
 
Last edited by Athos,
  • Like
Reactions: impeeza
how did you get it working? I have been trying to use the file provided here, but when I put it in /atmosphere/contents atmosphere gives me the error code 2168-0001.
edit: Forget about it, I got it working by turning off the 010000000000F option in the tesla overlay syspatch options, which was the program that the error code was showing me.
You're saying that NIFM is crashing?
edit: ah, you're using some nonsense older modded version of sys-patch, i won't troubleshoot that.
besides, i would require your crashlogs.
Post automatically merged:

So this might need addressing for 20.0.0+ for nifm, as we used to target and force end the function at 0x0 of the function start, and the regex now shifts it +0x4 due to code changes by nintendo.

nifm.jpg

Post automatically merged:

@impeeza https://github.com/impeeza/sys-patch/pull/12
Post automatically merged:

as i don't have a switch 1 console anymore, if anyone else on 20.0.1 could kindly test

https://github.com/borntohonk/sys-patch/releases/download/v1.5.6/sys-patch.zip

and post if the logs says ctest2 is patched or not (the only thing requiring testing/fixing to this fix is the offset of the b_cond check, which currently is 41, 41 (41 length pattern, test and apply at last byte)

(The thing needs testing is if it has to be 41, 42)

(i only verified the pattern on raw files for 18.1.0 and 20.0.1, but chose to only apply it conditionally for 19.0.0+, as i couldn't be bothered to verify it lower)
 
Last edited by bth,
  • Like
Reactions: impeeza
You're saying that NIFM is crashing?
edit: ah, you're using some nonsense older modded version of sys-patch, i won't troubleshoot that.
besides, i would require your crashlogs.
Post automatically merged:

So this might need addressing for 20.0.0+ for nifm, as we used to target and force end the function at 0x0 of the function start, and the regex now shifts it +0x4 due to code changes by nintendo.

View attachment 502789

as i don't have a switch 1 console anymore, if anyone else on 20.0.1 could kindly test


and post if the logs says ctest2 is patched or not (the only thing requiring testing/fixing to this fix is the offset of the b_cond check, which currently is 41, 41 (41 length pattern, test and apply at last byte)

(The thing needs testing is if it has to be 41, 42)

(i only verified the pattern on raw files for 18.1.0 and 20.0.1, but chose to only apply it conditionally for 19.0.0+, as i couldn't be bothered to verify it lower)
No dice for me.

[fs]
noacidsigchk1=Skipped
noacidsigchk2=Skipped
noncasigchk_old=Skipped
noncasigchk_new=Patched (sys-patch)
nocntchk=Skipped
nocntchk2=Patched (sys-patch)
[ldr]
noacidsigchk=Patched (sys-patch)
[es]
es1=Skipped
es2=Skipped
es3=Patched (sys-patch)
[nifm]
ctest=Skipped
ctest2=Unpatched
[nim]
nim=Patched (sys-patch)
[ssl]
disablecaverification1=Patched (sys-patch)
disablecaverification2=Patched (sys-patch)
disablecaverification3=Patched (sys-patch)
[stats]
version=1.5.6-fd596fe
build_date=04.05.2025 08:10:16
fw_version=20.0.1
ams_version=1.9.0
ams_target_version=0.1.0
ams_keygen=19
ams_hash=67f4347a
is_emummc=1
heap_size=4096
buffer_size=4096
patch_time=0.087s
 
  • Like
Reactions: bth

Site & Scene News

Popular threads in this forum