Hacking What does "atmosphere=1" actually do for Hekate?

AdmiralSpeedy

Well-Known Member
OP
Member
Joined
Apr 4, 2016
Messages
152
Trophies
0
Age
28
XP
191
Country
Canada
I cannot find any actual explanation of what the "atmosphere=1" boot config entry does for Hekate. The readme on the Hekate repo just says "Enables Atmosphere patching" which means nothing to me. I did a search of the entire repo and I can see that Hekate checks this value a few different times in hos, fss, and secmon, but I don't understand what it actually does.

I ask this because I see most current guides omit this line, regardless of how they are booting Atmosphere (fusee primary or secondary), so I'd like to know what it actually does and if it's even necessary.

Honestly, the explanation of a lot of the Hekate configuration file is incredibly vague and I wish it was explained better, because there are several other entries that I don't understand. Part of the problem is the use of completely unexplained acronyms, such as PMU (which based on some Google results that brought up listings for replacement pats, I can only assume means "Power Management Unit"). Another example is "fullsvcperm=1" which is described as "Disables SVC verification (full services permission)". Again, based on some Googling I can only assume this enables access to all SVC system calls, but a bit more explanation of when/why you would/wouldn't want this enabled would be great (I assume it's for developers).
 
Last edited by AdmiralSpeedy,

AdmiralSpeedy

Well-Known Member
OP
Member
Joined
Apr 4, 2016
Messages
152
Trophies
0
Age
28
XP
191
Country
Canada
Atmosphere=1 enables the kernel patches that are needed by ams kips

What kips? The only kip patch included with Atmosphere is NOGC.

EDIT: Looking through the Atmosphere source, I do see it loads various kip files but booting Atmosphere without "atmosphere=1" still works fine, so I don't understand what it actually does.

EDIT 2: I think I figured it out after doing some more Googling and re-reading the Hekate config template. I guess the kips are included in fusee secondary, but if you don't use fusee primary or fss0 with fusee secondary, you need to set "atmosphere=1" and manually list the kips to load.
 
Last edited by AdmiralSpeedy,

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
Atmosphere (specifically ams.mitm I believe?) needs some kernel patches to function properly on Nintendo's kernel, `atmosphere=1` enables said patches (and using fss0 automatically enables it regardless of whether it's present or not and what it's set to)
 

AdmiralSpeedy

Well-Known Member
OP
Member
Joined
Apr 4, 2016
Messages
152
Trophies
0
Age
28
XP
191
Country
Canada
Atmosphere (specifically ams.mitm I believe?) needs some kernel patches to function properly on Nintendo's kernel, `atmosphere=1` enables said patches (and using fss0 automatically enables it regardless of whether it's present or not and what it's set to)

Makes sense but these leaves me wondering why anyone uses FSS0 over simply chain loading fusee primary? What benefit does this offer? The only thing I can find is a couple Wikis that say "FSS0 is mostly for developers" without further explanation (I don't even know what "FFS0" stands for).
 

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
Makes sense but these leaves me wondering why anyone uses FSS0 over simply chain loading fusee primary? What benefit does this offer? The only thing I can find is a couple Wikis that say "FSS0 is mostly for developers" without further explanation (I don't even know what "FFS0" stands for).
when using fss0 hekate pulls atmosphere's kips, secure monitor, kernel (if experimental shit is enabled), etc out of the fusee secondary binary using information in fusee secondary's header, then hekate boots the system itself.

Chainloading fusee primary... well... chainloads fusee primary, which then chainloads fusee secondary, then fusee secondary boots the system.

Former is significantly faster to boot than the latter, otherwise, once you're in the OS there's zero differernce.
 
Last edited by ZachyCatGames,

AdmiralSpeedy

Well-Known Member
OP
Member
Joined
Apr 4, 2016
Messages
152
Trophies
0
Age
28
XP
191
Country
Canada
once you're in the OS there's zero differernce.

From everything I've read, it sounds like there is a difference though, just nobody really explains it. The current sigpatches from ITotalJustice actually have two different releases because only one works with FSS0, while the other is intended for those who only boot fusee primary or chain load it with Hekate.

The patch files between those release are actually different, an the FSS0 version include an additional "patches.ini" as well as requiring "kip1patch=nosigchk" to set.
 
Last edited by AdmiralSpeedy,

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
From everything I've read, it sounds like there is a difference though, just nobody really explains it. The current sigpatches from ITotalJustice actually have two different releases because only one works with FSS0, while the other is intended for those who only boot fusee primary or chain load it with Hekate.
There's literally no difference.

hekate and fusee use difference patch formats, that's why there's two different releases.
 

AdmiralSpeedy

Well-Known Member
OP
Member
Joined
Apr 4, 2016
Messages
152
Trophies
0
Age
28
XP
191
Country
Canada
There's literally no difference.

hekate and fusee use difference patch formats, that's why there's two different releases.

I think I understand now after looking at the "patches.ini" file again, but I have one other question: The Hekate version of the patches include an "atmosphere" folder with "exefs_patches" and "kip_patches" folders, in addition to the "patches.ini" file. Are those included to be backwards compatible with booting just by fusee primary, because shouldn't Hekate only require the "patches.ini" file and "kip1patch=nosigchk" without all those atmosphere files?
 

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
I think I understand now after looking at the "patches.ini" file again, but I have one other question: The Hekate version of the patches include an "atmosphere" folder with "exefs_patches" and "kip_patches" folders, in addition to the "patches.ini" file. Are those included to be backwards compatible with booting just by fusee primary, because shouldn't Hekate only require the "patches.ini" file and "kip1patch=nosigchk" without all those atmosphere files?
kip_patches wouldn't be used when using hekate, only fusee... no idea why they'd include them.
exefs_patches are applied by the loader sysmodule, not the bootloader.
 

AdmiralSpeedy

Well-Known Member
OP
Member
Joined
Apr 4, 2016
Messages
152
Trophies
0
Age
28
XP
191
Country
Canada
kip_patches wouldn't be used when using hekate, only fusee... no idea why they'd include them.
exefs_patches are applied by the loader sysmodule, not the bootloader.

I see. All this is so interesting and confusing to me lol (I'm a software developer myself but the Switch scene seems to love vague documentation), but thanks for the answers.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
    cearp @ cearp: It's nice to not have to have a lot of physical things though, saves space +1