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

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
Out of interest I know what ips patches do and how loader patches are made, however the difference between firmware 10.2.0 and 11.0.0(1) require these es/fs patches.

es_patches\3B8BF56DBEC7225D2EE666B009C42C0DC4552010.ips
fs_patches\0BA15BB304B505633B6DA6B2C6E991B6A06EBAFB3378DF02BF6B494075976F06.ips
fs_patches\E399156E844EB0AA3CC5152979961C879F5E90696C1224A1BBE0FF1BCDBFD7DC.ips

I know the naming is named after sha256 value of the file that needs patched - and looing at the ips what address/instruction is patched.

Does anyone know what 3 firmware files are being patched? the files who's sha256 value are above?
 
  • Like
Reactions: ShadowOne333

ShadowOne333

QVID PRO QVO
OP
Editorial Team
Joined
Jan 17, 2013
Messages
12,212
Trophies
2
XP
34,102
Country
Mexico
Out of interest I know what ips patches do and how loader patches are made, however the difference between firmware 10.2.0 and 11.0.0(1) require these es/fs patches.

es_patches\3B8BF56DBEC7225D2EE666B009C42C0DC4552010.ips
fs_patches\0BA15BB304B505633B6DA6B2C6E991B6A06EBAFB3378DF02BF6B494075976F06.ips
fs_patches\E399156E844EB0AA3CC5152979961C879F5E90696C1224A1BBE0FF1BCDBFD7DC.ips

I know the naming is named after sha256 value of the file that needs patched - and looing at the ips what address/instruction is patched.

Does anyone know what 3 firmware files are being patched? the files who's sha256 value are above?
A quick way/method to find which files are being patched, would be to download the firmware files from Darth Sternie's site and checking the SHA-256 of each one until you get a match.
That could be done with 11.0.1 firmware, and also against other FW files to locate the exact files that are being patched in between versions.

It's theoretical though, it could work, but I'm not sure if the files are encrypted in any way, making the SHA-256 checksum unreliable.

It's worth the shot, though.
 

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
A quick way/method to find which files are being patched, would be to download the firmware files from Darth Sternie's site and checking the SHA-256 of each one until you get a match.
That could be done with 11.0.1 firmware, and also against other FW files to locate the exact files that are being patched in between versions.

It's theoretical though, it could work, but I'm not sure if the files are encrypted in any way, making the SHA-256 checksum unreliable.

It's worth the shot, though.
I've tried looking at the sha256 or each firmware file in previous patches but never got any joy. I think the firmware files once installed on the switch are probably different files from a firmware package - ie unpacked. That's why I am asking if anyone can give me that info.

(in fact I made a small app to go through all the firmware files and print out that sha256 value of each one and they never matched)

Thanks for replying though.
 
Last edited by mrdude,

LyuboA

Unknown Entity
Member
Joined
Jun 1, 2018
Messages
530
Trophies
0
XP
919
Country
Bulgaria
I've tried looking at the sha256 or each firmware file in previous patches but never got any joy. I think the firmware files once installed on the switch are probably different files from a firmware package - ie unpacked. That's why I am asking if anyone can give me that info.

(in fact I made a small app to go through all the firmware files and print out that sha256 value of each one and they never matched)

Thanks for replying though.

Maybe you can ask GameVasion he made patches for 11.0.0
 

ShadowOne333

QVID PRO QVO
OP
Editorial Team
Joined
Jan 17, 2013
Messages
12,212
Trophies
2
XP
34,102
Country
Mexico
I've tried looking at the sha256 or each firmware file in previous patches but never got any joy. I think the firmware files once installed on the switch are probably different files from a firmware package - ie unpacked. That's why I am asking if anyone can give me that info.

(in fact I made a small app to go through all the firmware files and print out that sha256 value of each one and they never matched)

Thanks for replying though.
They could probably be dumped from the Switch with a file explorer of sorts, or an app that has it, like Goldleaf for example.
I heard something about firmware titles being inside NCA/romfs/hfs0, but have yet to check (don't have either my Switch nor PC at hand to test)
 
  • Like
Reactions: mrdude

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,012
Trophies
2
Age
29
Location
New York City
XP
13,393
Country
United States
Maybe you can ask GameVasion he made patches for 11.0.0
I am like 99% sure he did not make those patches because shortly after he made his account, he was asking where to find a .NSP update for Breath of the Wild (the thread is deleted but you can see GameVasion was the one who made the thread). I don't have proof but I think he just copied the patches TotalJustice uploaded onto his GitHub because the patches TotalJustice made were already public.
 

ShadowOne333

QVID PRO QVO
OP
Editorial Team
Joined
Jan 17, 2013
Messages
12,212
Trophies
2
XP
34,102
Country
Mexico

LyuboA

Unknown Entity
Member
Joined
Jun 1, 2018
Messages
530
Trophies
0
XP
919
Country
Bulgaria
I am like 99% sure he did not make those patches because shortly after he made his account, he was asking where to find a .NSP update for Breath of the Wild (the thread is deleted but you can see GameVasion was the one who made the thread). I don't have proof but I think he just copied the patches TotalJustice uploaded onto his GitHub because the patches TotalJustice made were already public.

i thought so too but asked him on dm he said he made them but who really knows
 

Fergamesy2k

Member
Newcomer
Joined
Sep 12, 2013
Messages
20
Trophies
0
Age
41
XP
162
Country
Mexico
  • Like
Reactions: HollowGrams

HollowGrams

Well-Known Member
Member
Joined
Nov 27, 2020
Messages
628
Trophies
0
Age
44
XP
668
Country
United States
Thanks for the answer. I downloaded the sigpatches, but it still doesn't work. It's just rayman, because all the other games I've installed work fine. And I downloaded it from various sites. I don't know what else to do.

If all other games work then patches are working.
 

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,012
Trophies
2
Age
29
Location
New York City
XP
13,393
Country
United States
i thought so too but asked him on dm he said he made them but who really knows
I'm still doubtful because based on his replies in his thread, he doesn't know who Scires is and when someone asked him how he made the patches, he replied:
I dont really know how to explain it well I just do it and go on with my everyday life cause I kinda dont know how to explain
Maybe he made his own patches but personally, I'd only ever trust patches posted either here or on TotalJustice's GitHub page.
 

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
These are two repositories I had saved up, which apparently go a bit into detail on creating the patches, though I still can't find reliable info on which firmware files are modified. I'll keep looking.

https://github.com/evilinsipid/ES-Patches
https://github.com/tiliarou/PKG2-Patches

Thanks, I had a look at those a few months ago - but they don't explain how to get the files to patch. They just show the original source code that's being patched before it's compiled.
 
  • Like
Reactions: ShadowOne333

LyuboA

Unknown Entity
Member
Joined
Jun 1, 2018
Messages
530
Trophies
0
XP
919
Country
Bulgaria
I'm still doubtful because based on his replies in his thread, he doesn't know who Scires is and when someone asked him how he made the patches, he replied:
Maybe he made his own patches but personally, I'd only ever trust patches posted either here or on TotalJustice's GitHub page.

Maybe the Patches just appear on his PC
 
Last edited by LyuboA,
  • Like
Reactions: HollowGrams

ShadowOne333

QVID PRO QVO
OP
Editorial Team
Joined
Jan 17, 2013
Messages
12,212
Trophies
2
XP
34,102
Country
Mexico
I have updated the patches in the OP to the latest from TotalJustice's repository.
These should be for Firmware 11.0.1 (ES and FS patches remain the same from 11.0.0), and for Atmosphere 0.16.1

The only patch which seems to have been updated is the Loader one (for Atmosphere)
 
  • Like
Reactions: HollowGrams

thaikhoa

Well-Known Member
Member
Joined
Sep 16, 2008
Messages
2,236
Trophies
1
XP
2,590
Country
Australia
I have updated the patches in the OP to the latest from TotalJustice's repository.
These should be for Firmware 11.0.1 (ES and FS patches remain the same from 11.0.0), and for Atmosphere 0.16.1

The only patch which seems to have been updated is the Loader one (for Atmosphere)

A quick question, why do we need ES and FS patches? I only need patches.ini, and can install and play everything.
 

ShadowOne333

QVID PRO QVO
OP
Editorial Team
Joined
Jan 17, 2013
Messages
12,212
Trophies
2
XP
34,102
Country
Mexico
A quick question, why do we need ES and FS patches? I only need patches.ini, and can install and play everything.
patches.ini includes the ES & FS patches btw. Those are firmware specific for playing eShop and NSPs (iirc).
The Loader patches are so you can play homebrew NSPs (I think?), but those are also included in patches.ini.

Open up patches.ini in any text editor, and you will see the first patches listed are for Firmware versions (1.0.0 up to 11.0.0), and the Loader ones cover the Atmosphere versions from when Loader started being implemented.
 
  • Like
Reactions: thaikhoa

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BigOnYa @ BigOnYa: https://torrentfreak.com/one-nintendo-dmca-notice-just-wiped-out-8535-yuzu-emulator-forks-240502/