Hacking Sigpatches for Atmosphere (Hekate, fss0, fusee & package3)

Sanrasxz

Member
Newcomer
Joined
Nov 15, 2022
Messages
13
Trophies
0
XP
93
Country
United States
******************************************************************
IMPORTANT
******************************************************************

With the help of:






A NEW SET OF SIGPATCHES FOR 18.1.0 has been created some changed and some where added. PLEASE TAKE NOTE AND UPGRADE YOURS (Note V2 was added to the end of the new file)
What the hell dude, don't include a hekate_ipl.ini in the patches zip. If people don't see that in there, they're gonna overwrite their existing setup.
 
  • Like
Reactions: impeeza

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,691
Trophies
3
Age
46
Location
At my chair.
XP
19,953
Country
Colombia
What the hell dude, don't include a hekate_ipl.ini in the patches zip. If people don't see that in there, they're gonna overwrite their existing setup.
Or you can read the OP.

The Hekate_ipl.ini file has been included since day 1 as a template for the ones needing it.
 

Jakkal666

Well-Known Member
Newcomer
Joined
Jul 14, 2018
Messages
48
Trophies
0
XP
222
Country
Sweden
Curious around the latest business with Atmosphere 1.7.1 and FW 18.1.0.
I got it running with no problems in the end and updated everything the same way as a I always do, but used the modified fusee.bin because I ran into corruption and NCA-errors (I admit I tried the modified fusee as a last resort and had no clue as to why I would need it).
I'm not nearly as technical as alot of you guys.. can someone explain in simpler terms what changed lately? Aren't signature patches a thing anymore? And what's sys-patches?
 

dogtygr

Active Member
Newcomer
Joined
May 30, 2023
Messages
41
Trophies
0
XP
106
Country
United States
atmosphere with loader signature checks removed + fusee with built-in fs patches, if anyone might be interested. fs patches only for fw 10.0.0 and above, for the sake of simplicity (nobody should be running these old firmwares anyway...)

no es patches, but xci/forwarders/homebrew don't need those and should just work. if you need es patches then add them in separately. exefs patches never cause problems so there's no point baking them in, but kip patches people regularly struggle with those for some reason

I took out nogc by the way. fs patches take their place instead (I could have kept it, but replacing nogc is less work and nogc is completely pointless these days anyway)

happy june 15th?
By looking at the code it was a clever way to add the fs-patches by replacing the no-gc patch great work!

I took the liberty to create a patch describing the modifications you've made to easily modify it in future updates

Edit: you would of course need to change the sha commit hash when needed in the lbraires/config/common.mk and thermosphere/Makfile files
 

Attachments

  • 0001-Removal-of-the-nogc-patch.txt
    35.6 KB · Views: 3

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,691
Trophies
3
Age
46
Location
At my chair.
XP
19,953
Country
Colombia
I took out nogc by the way. fs patches take their place instead (I could have kept it, but replacing nogc is less work and nogc is completely pointless these days anyway)
What «NO Game Cartdrige» have to do with FS sigpatches. Removing the NoGC patches will upgrade the cartridge firmware making it unusable on lower HOS firmware
 
  • Like
Reactions: Nephiel

dogtygr

Active Member
Newcomer
Joined
May 30, 2023
Messages
41
Trophies
0
XP
106
Country
United States
What «NO Game Cartdrige» have to do with FS sigpatches. Removing the NoGC patches will upgrade the cartridge firmware making it unusable on lower HOS firmware
If you look at the code they changed they just did that for simplicity. But you can change the code so you can keep them both.
 

4d1xlaan

Well-Known Member
Member
Joined
Apr 21, 2024
Messages
387
Trophies
0
XP
339
Country
United States
By looking at the code it was a clever way to add the fs-patches by replacing the no-gc patch great work!

I took the liberty to create a patch describing the modifications you've made to easily modify it in future updates

Edit: you would of course need to change the sha commit hash when needed in the lbraires/config/common.mk and thermosphere/Makfile files
by the way, the only reason I manually set the commit hash is so it keeps the same build id as official atmosphere releases, so it'll appear as a normal official release instead of an unofficial commit id on crash dumps and error reports. it's not super necessary (though I guess manually setting it here helps when all the git repo files aren't included, so it doesnt try to use git commands to get them dynamically)
 

dogtygr

Active Member
Newcomer
Joined
May 30, 2023
Messages
41
Trophies
0
XP
106
Country
United States
by the way, the only reason I manually set the commit hash is so it keeps the same build id as official atmosphere releases, so it'll appear as a normal official release instead of an unofficial commit id on crash dumps and error reports. it's not super necessary (though I guess manually setting it here helps when all the git repo files aren't included, so it doesnt try to use git commands to get them dynamically)
Yeah I figured that was why.
 

Nephiel

Artificer
Member
Joined
Nov 3, 2002
Messages
287
Trophies
2
XP
892
Country
by the way, the only reason I manually set the commit hash is so it keeps the same build id as official atmosphere releases, so it'll appear as a normal official release instead of an unofficial commit id on crash dumps and error reports.
Hold on. If I'm understanding that correctly, you make a modified version to re-add patching functionality... and then mask it to appear in logs as the official release? Am I getting that right?

If so, why do that? Wouldn't that result in the official dev eventually getting error reports and crash dumps for unofficial builds, and unable to easily tell them apart? That sounds like trouble for everyone involved.
 

4d1xlaan

Well-Known Member
Member
Joined
Apr 21, 2024
Messages
387
Trophies
0
XP
339
Country
United States
Hold on. If I'm understanding that correctly, you make a modified version to re-add patching functionality... and then mask it to appear in logs as the official release? Am I getting that right?

If so, why do that? Wouldn't that result in the official dev eventually getting error reports and crash dumps for unofficial builds, and unable to easily tell them apart? That sounds like trouble for everyone involved.
because the modifications here aren't going to actually break anything, and actual atmosphere bugs are still present. so it will be useful if people can report bugs without having to fuss about the whole unofficial builds and anti-signature patch stuff
 

Nephiel

Artificer
Member
Joined
Nov 3, 2002
Messages
287
Trophies
2
XP
892
Country
Even if there was a way to be 100% sure the modifications will not cause any trouble, that functionality is no longer in the official release for good reason. And knowing the dev keeps (understandably) a healthy distance from the fuss... Making and sharing an unofficial build that re-adds it, for ease of use, that's good and helpful, kudos for that. Really. But having it pose as an actual, official release... I don't know, that doesn't feel right.
 

4d1xlaan

Well-Known Member
Member
Joined
Apr 21, 2024
Messages
387
Trophies
0
XP
339
Country
United States
Even if there was a way to be 100% sure the modifications will not cause any trouble, that functionality is no longer in the official release for good reason. And knowing the dev keeps (understandably) a healthy distance from the fuss... Making and sharing an unofficial build that re-adds it, for ease of use, that's good and helpful, kudos for that. Really. But having it pose as an actual, official release... I don't know, that doesn't feel right.
ok, I took it down. if anyone wants the functionality, dogtygr has a patch up and you can make do with that
 

arabtm

Well-Known Member
Member
Joined
Feb 1, 2007
Messages
164
Trophies
1
XP
1,541
Country
Indonesia
hi all. I updated my switch firmware to 18.0.0 and using AMS 1.7.1 with modified fusee.bin.
however now I'm experiencing some games sometimes run, but sometimes it will says the game is corrupted (Unable to start software).
it happens on two nintendo switch that I owned. some examples of the games are super mario 3d world, super mario 3d all stars, princess peach.

Does anybody else experience this? does anyone have advice on how to solve this issue?
This never happened before atmosphere remove support for the patches.

any help is appreciated. thank you!
 
  • Like
Reactions: JrpgAddict

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,691
Trophies
3
Age
46
Location
At my chair.
XP
19,953
Country
Colombia
hi all. I updated my switch firmware to 18.0.0 and using AMS 1.7.1 with modified fusee.bin.
however now I'm experiencing some games sometimes run, but sometimes it will says the game is corrupted (Unable to start software).
it happens on two nintendo switch that I owned. some examples of the games are super mario 3d world, super mario 3d all stars, princess peach.

Does anybody else experience this? does anyone have advice on how to solve this issue?
This never happened before atmosphere remove support for the patches.

any help is appreciated. thank you!
Use SYS-Patch Sysmodule. https://gbatemp.net/threads/sys-patch-sysmod-that-patches-on-boot.633517
 

arabtm

Well-Known Member
Member
Joined
Feb 1, 2007
Messages
164
Trophies
1
XP
1,541
Country
Indonesia
thank you! I'll try it.
I assume using the modified fusee.bin is quite straightforward, but apparently it has some issues.
Post automatically merged:


btw, If I use sys-patch, I assume I'll simply use the original fusee.bin and I don't need to use the sigpatches anymore? should I still keep the bootloader directory?
Post automatically merged:

thank you @impeeza !.
after reading a bit, what I did was:

use sys-patch found here https://gbatemp.net/download/sys-patch-1-5-2-binary-fw-18-1-0-atmosphere-1-7-1.38686/
which works for atmosphere 1.7.1 and firmware 18.0.0 (should work for 18.1.0 too)

the one found in the guide https://www.gamebrew.org/wiki/Sys-patch_Switch in the 1st post of this thread, is the old sys patch version 1.5.0, which doesn't work for newer games. this confuse me for a bit, because the guide page doesn't contain the latest sys patch compiled by @impeeza . My suggestion is to link the sys patch 1.5.2 in the 1st post of this thread to avoid confusion.

2. to avoid redundancy, I remove the sigpatches from the atmosphere directory, and I also remove the bootloader directory from root, since I don't use hekate. I simply boot atmosphere to sysnand.

so far, the games seems to be working fine. if I found any other issues, I'll report back here.

thank you!
 
Last edited by arabtm,
  • Love
Reactions: impeeza

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,691
Trophies
3
Age
46
Location
At my chair.
XP
19,953
Country
Colombia
thank you! I'll try it.
I assume using the modified fusee.bin is quite straightforward, but apparently it has some issues.
Post automatically merged:



btw, If I use sys-patch, I assume I'll simply use the original fusee.bin and I don't need to use the sigpatches anymore? should I still keep the bootloader directory?
Post automatically merged:

thank you @impeeza !.
after reading a bit, what I did was:

use sys-patch found here https://gbatemp.net/download/sys-patch-1-5-2-binary-fw-18-1-0-atmosphere-1-7-1.38686/
which works for atmosphere 1.7.1 and firmware 18.0.0 (should work for 18.1.0 too)

the one found in the guide https://www.gamebrew.org/wiki/Sys-patch_Switch in the 1st post of this thread, is the old sys patch version 1.5.0, which doesn't work for newer games. this confuse me for a bit, because the guide page doesn't contain the latest sys patch compiled by @impeeza . My suggestion is to link the sys patch 1.5.2 in the 1st post of this thread to avoid confusion.

2. to avoid redundancy, I remove the sigpatches from the atmosphere directory, and I also remove the bootloader directory from root, since I don't use hekate. I simply boot atmosphere to sysnand.

so far, the games seems to be working fine. if I found any other issues, I'll report back here.

thank you!
Thanks will do tomorrow
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://youtu.be/MAUykLIWi64