Closed awkimball closed 6 years ago
If you're booting fusee primary, yeah, just dump pkg1/2 in tools, extract pkg2 with hactool, and patch the kip by looking at the Hekate patches, then load your modified FS via fusee by placing it in /atmosphere/kips
If Atmosphere supports kip patching from SD card however, wouldn't it be preferable to not have to modify the Atmosphere files themselves? Not to mention the ability to boot without the patch applied is eliminated unless you have both a patched and unpatched version of the kip on your SD card.
Regardless of a quick fix for the issue I am also curious about how hekate's current functionality, i.e the ability to specify a patch in .ini and have it applied even to a payload .bin and not just individual kips, will be maintained.
Is it even possible now that some of the loading work previously done by hekate appears to have been manually implemented by the Atmosphere team in fusee-primary.bin
Also I suppose I should ask because it is related to this issue, what is the proper way to load atmosphere now that it is bundled into a payload?
Current I am loading fusee-primary.bin which in turn uses BCT.ini to find fusee-secondary.bin, as well as identifies the offsets for kip location inside the payload .bin. It would seem that this is currently the only way other than manually extracting the kips from fusee-secondary.bin, because BCT.ini is what defines the kip file offsets.
This is the intended behavior for payloads. You can't patch them on the fly. Also BCT.ini does not have the kip offsets. If it did, I could create a loader that takes fussee secondary and parse its kips.
The kips exist though when you compile atmosphere. Builds will start showing up anyway.
In the future I may add a search function that searches secondary for the relevant kips and load them. We'll see.
So you recommend that I use the new atmosphere, but use a compiled build that includes the kips and just list them in hekate_ipl.ini as opposed to loading fusee-primary.bin?
Testing with:
kip1=test/* atmosphere=1 kip1patch=nosigchk
using the kip files loader, sm, and pm from Atmosphere 0.7.1 results in a successful boot, however nosigchk is still not applied, plus homebrew menu doesn't work either (I have hbmenu.nro in root and hbl.nsp/loader.ini in atmosphere:)
EDIT: was wrong about successful boot. I am recompiling with #define DEBUG_PRINTING so I get the kernel patching debug test
WHOOPS turns out my sd card was just corrupted and I used the archival bit tool and voila problem solved. Sorry about this!
if the archive bit was the problem, it's not corrupt.
Just nintendo being nintendo..
With the recent release of Atmosphere 0.7(.1) moving to a bundled payload .bin it appears as though kip1patch=nosigchk isn't being applied anymore.
I am assuming this is because hekate now loads Atmosphere's own loader, which likely loads the kips after hekate has attempted to apply the kip1patch=nosigchk but this is pure speculation.
I understand that hekate's method of patching is different from Atmosphere's IPS file patching, however, would the quickest way to implement this patch be to apply it using Atmosphere IPS patching?
Best regards, Addison