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

bth

Active Member
Newcomer
Joined
Jan 10, 2024
Messages
38
Trophies
0
Age
28
XP
216
Country
Norway
Atmosphere/libraries/libstratosphere/include/stratosphere/ncm/ncm_system_content_meta_id.hpp # line 218
C++:
    struct TinfoilId {
        u64 value;

        constexpr operator ProgramId() const {
            return { this->value };
        }

        constexpr inline bool operator==(const TinfoilId &) const = default;
        constexpr inline bool operator!=(const TinfoilId &) const = default;

        static const TinfoilId Start;

        static const TinfoilId Tinfoil;
        static const TinfoilId TinfoilForwarder;

        static const TinfoilId End;
    };

    inline constexpr const TinfoilId TinfoilId::Start                         = { 0x0500000000000000ul };
    
    inline constexpr const TinfoilId TinfoilId::TinfoilForwarder              = { 0x0500000000010000ul };
    inline constexpr const TinfoilId TinfoilId::Tinfoil                       = { 0x050000BADDAD0000ul };

    inline constexpr const TinfoilId TinfoilId::End                           = { 0x050000C000000000ul };

    inline constexpr bool IsTinfoilId(const ProgramId &program_id) {
        return (TinfoilId::Start <= program_id && program_id <= TinfoilId::End) || IsTinfoilId(program_id);
    }

    inline constexpr bool IsTinfoilId(const TinfoilId &) {
        return true;
    }
}


Atmosphere/stratosphere/loader/source/ldr_meta.cpp # line 210

C++:
        if (loc.program_id == ncm::TinfoilId::Tinfoil) {
            if (hos::GetVersion() >= hos::Version_19_0_0) {
                FixDebugCapabilityForHbl(static_cast<util::BitPack32 *>(meta->acid_kac), meta->acid->kac_size / sizeof(util::BitPack32));
                FixDebugCapabilityForHbl(static_cast<util::BitPack32 *>(meta->aci_kac),  meta->aci->kac_size  / sizeof(util::BitPack32));
            }
        }

        if (loc.program_id == ncm::TinfoilId::TinfoilForwarder) {
            if (hos::GetVersion() >= hos::Version_19_0_0) {
                FixDebugCapabilityForHbl(static_cast<util::BitPack32 *>(meta->acid_kac), meta->acid->kac_size / sizeof(util::BitPack32));
                FixDebugCapabilityForHbl(static_cast<util::BitPack32 *>(meta->aci_kac),  meta->aci->kac_size  / sizeof(util::BitPack32));
            }
        }


This does make both tinfoil and it's internal retroarch forwarder run (it spawns a plain hbmenu application forwarder)
 

Robbie_Lfc

New Member
Newbie
Joined
Nov 12, 2024
Messages
1
Trophies
0
Age
27
XP
3
Country
United Kingdom
hellohi everyone im currently trying to update my switch i updated it to 19.0.1 but i use the old way of fusebin injecting but from 17.0.1 atmosphere offical fusebin doesnt work with kip/sip patches anymore so i checked and someone created a custom fusebin install that works on the update before this but now ive updated it and cant find anywhere a custom fusebin to inject that allows kip/sip patches can someone help me please? thank you
 

bth

Active Member
Newcomer
Joined
Jan 10, 2024
Messages
38
Trophies
0
Age
28
XP
216
Country
Norway
hellohi everyone im currently trying to update my switch i updated it to 19.0.1 but i use the old way of fusebin injecting but from 17.0.1 atmosphere offical fusebin doesnt work with kip/sip patches anymore so i checked and someone created a custom fusebin install that works on the update before this but now ive updated it and cant find anywhere a custom fusebin to inject that allows kip/sip patches can someone help me please? thank you

https://github.com/borntohonk/Atmosphere/releases/latest

not entirely what you ask for, but i tackled that commit ( https://github.com/Atmosphere-NX/Atmosphere/commit/46a43578829163cd08b9ddcaaacc6febd1e71e0e )

with this ( https://github.com/borntohonk/Atmosphere/commit/95d57bdde4bfbca119eaff0b28e7574caf1ce93c )

which hardcodes and embeds all (kip)patches into fusee instead of loading them by kip_patches, and all useful (exefs) patches into loader

and the codeblock above which fixes tinfoil compatibility on 19.0.0+
 

bf3itu

Member
Newcomer
Joined
Apr 28, 2023
Messages
6
Trophies
0
Age
44
XP
29
Country
Brazil
Very good night. Could someone help me, how to edit that written part of HEKATE.


1731450730425.png
 

Wally_Mv

New Member
Newbie
Joined
Jan 19, 2023
Messages
4
Trophies
0
Age
31
XP
24
Country
France
Hi, can't someone please help? I've been going through this loop for 14 hours now. I accidentally updated to 19.0.1, so I updated to Atmosphere 18 and got the sigpatches, etc. It took a few hours and many attempts (blue screen, then booted to the wrong CFW; I use CFW sysMMC, not EmuMMC; and the option to choose was nowhere to be found. Then, when I fixed that, I got "failed to apply nosigchk"). But after a while, I finally got the games working fine but not Tinfoil. Then I got Tinfoil working, but the games don't start anymore. The Tesla overlay doesn't show up anymore. And whenever I find a new possible way to fix it in here, I go through this whole loop, except the games just don’t work anymore.

Can someone please help? I’ve tried so many different links for so many different sigpatches, Atmosphere versions, fusee.bin files, and edited the ini file so many times, but nothing works.

(And is there a way to migrate from CFW sysMMC to EmuMMC if It will make things easier in the long term. I don’t mind redownloading games as long as I don’t lose important data.)

update: finally got everything working fine
- I used AIO_LS_pack_updater to reinstall atmosphere/patches
- used applet version of tinfoil to install tinfoil full version
- Tesla overlay was just hidden: I now have to use ZL + ZR + Down for it to show up Apparently. And on docked mode I had to put screen scaling to 100% on the switch setting to fix it
- Everything breaks when I change any setting on hekate before booting to cfw. Had to reinstall atmosphere to fix it. So I'm not touching anything anymore
- Games don't work after installing saltynx, everything works fine after deleting it
 
Last edited by Wally_Mv,

Thee_Almighty

New Member
Newbie
Joined
Nov 12, 2024
Messages
4
Trophies
0
Age
39
XP
10
Country
United States
A little confused here guys, I updated to:
18.1.0 | AMS 1.7.1IE

Now I'm seeing: Failed to apply nosigchk
None of my games work and my tesla menu is not popping up.

I haven't tried clicking on Tinfoil yet so Idk if that works.
Please someone link me to thee files I need?
 

Urban-space-

New Member
Newbie
Joined
Nov 13, 2024
Messages
1
Trophies
0
Age
30
XP
16
Country
United States
Sorry if this has been posted before. but im a noob in modding. i have a modded OLED. i updated my switch to 19.0 and update atmosphere & hekate. that works fine.

im trying to install tinfoil and it keeps giving me an error. i downloaded tinfoil self installer and put it in my sd card. i ran emuMMC and clicked on the photo apps and ran tinfoil installer from there. it gives me an error saying unable to start software. when i click on the tinfoil app on the home screen it says "corrupt data was found". then after that it kicks me out to the home screen and says "software is not currently on the console".

i also downloaded the sigmapatches from this thread in the first page.
 

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
8,292
Trophies
4
Age
46
Location
At my chair.
XP
28,827
Country
Colombia
A little confused here guys, I updated to:
18.1.0 | AMS 1.7.1IE

Now I'm seeing: Failed to apply nosigchk
None of my games work and my tesla menu is not popping up.

I haven't tried clicking on Tinfoil yet so Idk if that works.
Please someone link me to thee files I need?
you need to apply the latest sigpatches and be sure you overwrite all files, also apply archive bit fix to your card.
Post automatically merged:

Sorry if this has been posted before. but im a noob in modding. i have a modded OLED. i updated my switch to 19.0 and update atmosphere & hekate. that works fine.

im trying to install tinfoil and it keeps giving me an error. i downloaded tinfoil self installer and put it in my sd card. i ran emuMMC and clicked on the photo apps and ran tinfoil installer from there. it gives me an error saying unable to start software. when i click on the tinfoil app on the home screen it says "corrupt data was found". then after that it kicks me out to the home screen and says "software is not currently on the console".

i also downloaded the sigmapatches from this thread in the first page.
yes answered several times before, you could read the answer but choose to ask again.

DO NOT USE THE SELF INSTALLER, b now only use the NRO version loaded from the Homebrew Loader, the installed forwarder needs to be updated to work on ATM 1.8.0
 
  • Like
Reactions: Blythe93

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,187
Trophies
2
Age
30
Location
New York City
XP
13,845
Country
United States
Hi, can't someone please help? I've been going through this loop for 14 hours now. I accidentally updated to 19.0.1, so I updated to Atmosphere 18 and got the sigpatches, etc. It took a few hours and many attempts (blue screen, then booted to the wrong CFW; I use CFW sysMMC, not EmuMMC; and the option to choose was nowhere to be found. Then, when I fixed that, I got "failed to apply nosigchk"). But after a while, I finally got the games working fine but not Tinfoil. Then I got Tinfoil working, but the games don't start anymore. The Tesla overlay doesn't show up anymore. And whenever I find a new possible way to fix it in here, I go through this whole loop, except the games just don’t work anymore.

Can someone please help? I’ve tried so many different links for so many different sigpatches, Atmosphere versions, fusee.bin files, and edited the ini file so many times, but nothing works.

(And is there a way to migrate from CFW sysMMC to EmuMMC if It will make things easier in the long term. I don’t mind redownloading games as long as I don’t lose important data.)
Did you download the latest patches from the first post in this thread?
Sorry if this has been posted before. but im a noob in modding. i have a modded OLED. i updated my switch to 19.0 and update atmosphere & hekate. that works fine.

im trying to install tinfoil and it keeps giving me an error. i downloaded tinfoil self installer and put it in my sd card. i ran emuMMC and clicked on the photo apps and ran tinfoil installer from there. it gives me an error saying unable to start software. when i click on the tinfoil app on the home screen it says "corrupt data was found". then after that it kicks me out to the home screen and says "software is not currently on the console".

i also downloaded the sigmapatches from this thread in the first page.
I recommend switching to TinWoo installer instead. Its what I personally use and never have any issues while using it. I've also helped other users switch and they enjoy using Tinwoo.
 

Blythe93

The Treasure Tracker
Member
Joined
Oct 19, 2022
Messages
1,581
Trophies
2
XP
3,772
Country
Serbia, Republic of
Now my Tesla menu doesn't pop up and my 90DNS shows everything in red unblocked.
How do I update these?
Try redownloading these two:
https://github.com/WerWolv/Tesla-Menu
https://github.com/WerWolv/nx-ovlloader

As for the 90DNS, you can use this app:
https://github.com/suchmememanyskill/switch-90dns-setter/releases

Or you can use DNS MITM instead: https://rentry.co/ExosphereDNSMITM

Now I'm seeing: Failed to apply nosigchk
None of my games work
Outdated sigpatches were the issue. I'd suggest using sys-patch instead as it's a bit more convenient, has less files (less clutter on your SD card), needs less frequent updates and does the same thing as sigpatches. Here's the version you can use for 18.1.0. Once you update to 19.0.0 or 19.0.1, you can use this one instead. If you decide to go use sys-patch instead, make sure to remove kip1patch=nosigchk lines from your hekate_ipl.ini file. While it won't cause conflict with the existing sigpatches, you can now remove them as you no longer need them by just removing the same folders included in the sigpatches ZIP archive.

I haven't tried clicking on Tinfoil yet so Idk if that works.
It should work on 18.1.0. For 19.0.0 or newer, you'll need to recreate any forwarder you use with this tool or wait for the official release.

Sorry if this has been posted before. but im a noob in modding. i have a modded OLED. i updated my switch to 19.0 and update atmosphere & hekate. that works fine.

im trying to install tinfoil and it keeps giving me an error. i downloaded tinfoil self installer and put it in my sd card. i ran emuMMC and clicked on the photo apps and ran tinfoil installer from there. it gives me an error saying unable to start software. when i click on the tinfoil app on the home screen it says "corrupt data was found". then after that it kicks me out to the home screen and says "software is not currently on the console".

i also downloaded the sigmapatches from this thread in the first page.
  • Update to 19.0.1 as it apparently fixed the issues users were having on 19.0.0.
  • You only need sys-patch for games to work, you don't need the sigpatches as well. They both do the same thing.
  • For installing games, use either DBI (my personal favorite) or TinWoo Installer as those two are the only installers that are up-to-date. Latest DBI is only available in Russian (720), while the latest English one (658) works well enough for installing games.
 
Last edited by Blythe93,
  • Like
Reactions: Thee_Almighty

bth

Active Member
Newcomer
Joined
Jan 10, 2024
Messages
38
Trophies
0
Age
28
XP
216
Country
Norway

Wally_Mv

New Member
Newbie
Joined
Jan 19, 2023
Messages
4
Trophies
0
Age
31
XP
24
Country
France
Sorry if this has been posted before. but im a noob in modding. i have a modded OLED. i updated my switch to 19.0 and update atmosphere & hekate. that works fine.

im trying to install tinfoil and it keeps giving me an error. i downloaded tinfoil self installer and put it in my sd card. i ran emuMMC and clicked on the photo apps and ran tinfoil installer from there. it gives me an error saying unable to start software. when i click on the tinfoil app on the home screen it says "corrupt data was found". then after that it kicks me out to the home screen and says "software is not currently on the console".

i also downloaded the sigmapatches from this thread in the first page.
What worked for me to get it working is to download the applet version, and use it to install the full version
No idea why this worked when nothing else did
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BlazeMasterBM @ BlazeMasterBM: seems like everyday i see a child with more expensive technology than me lol