From 0e40fef049eb1b6dc0f548603acfc42935d72efd Mon Sep 17 00:00:00 2001 From: CTCaer Date: Thu, 14 Jan 2021 19:24:56 +0200 Subject: [PATCH] Modernize hekate_ipl.ini once again. Additionally explain in **explicit words** that stock option disables CFW kips. --- README.md | 2 +- res/hekate_ipl_template.ini | 63 ++++++++++++++++++++++++------------- 2 files changed, 43 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 3d4068a..550e957 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ You can find a template [Here](./res/hekate_ipl_template.ini) | emupath={SD folder} | Forces emuMMC to use the selected one. (=emuMMC/RAW1, =emuMMC/SD00, etc). emuMMC must be created by hekate because it uses the raw_based/file_based files. | | emummcforce=1 | Forces the use of emuMMC. If emummc.ini is disabled or not found, then it causes an error. | | emummc_force_disable=1 | Disables emuMMC, if it's enabled. | -| stock=1 | Disables unneeded kernel patching when running stock or semi-stock. `If emuMMC is enabled, emummc_force_disabled=1` is required. emuMMC is not supported on stock. If additional KIPs are needed other than OFW's, you can define them with `kip1` key. No kip should be used that relies on Atmosphère patching, because it will hang. If `NOGC` is needed, use `kip1patch=nogc`. | +| stock=1 | Disables unneeded kernel patching and CFW kips when running stock or semi-stock. `If emuMMC is enabled, emummc_force_disabled=1` is required. emuMMC is not supported on stock. If additional KIPs are needed other than OFW's, you can define them with `kip1` key. No kip should be used that relies on Atmosphère patching, because it will hang. If `NOGC` is needed, use `kip1patch=nogc`. | | id=idname | Identifies boot entry for forced boot via id. Max 7 chars. | | payload={SD path} | Payload launching. Tools, Linux, CFW bootloaders, etc. | | logopath={SD path} | If no logopath, `bootloader/bootlogo.bmp` will be used if exists. If logopath exists, it will load the specified bitmap. | diff --git a/res/hekate_ipl_template.ini b/res/hekate_ipl_template.ini index 3cf65ba..651174a 100644 --- a/res/hekate_ipl_template.ini +++ b/res/hekate_ipl_template.ini @@ -6,37 +6,53 @@ backlight=100 autohosoff=0 autonogc=1 updater2p=1 +bootprotect=0 + {-------- Stock -------} -[Stock 6.2.0 and lower] -stock=1 -emummc_force_disable=1 - -[Stock All FW] +[Stock] fss0=atmosphere/fusee-secondary.bin stock=1 emummc_force_disable=1 -# Both above disable kernel patching -# Stock All FW, includes exosphere and warmboot, ONLY when >= 7.0.0. -[Stock emuMMC All FW] -fss0=atmosphere/fusee-secondary.bin -stock=1 -{ } +# This disables kernel patching and CFW kips. +# Includes exosphere and warmboot, ONLY when >= 7.0.0 and Erista. +# Includes exosphere on Mariko. +# Exosphere/warmboot are not identifiable as it is now. +# This is the closest to OFW, especially when AutoRCM is needed. + + {-- Custom Firmwares --} -[Atmo FSS0 Vanilla] +[Atmo Vanilla] fss0=atmosphere/fusee-secondary.bin -logopath=bootloader/res/bootlogo_atmo.bmp -icon=bootloader/res/icon_atmo.bmp # Note: +# The above adheres to emummc.ini. It will launch emuMMC if enabled, otherwise sysMMC # You can have 2 entries of everything where one can boot with emuMMC and one without, -# via the emummc_force_disable=1 key. -# logopath= key is for bootlogo. icon= key is for Nyx icon. -# All entries can have these stylistic keys. +# via the emummc_force_disable=1 and emummcforce=1 keys. Examples follow below. + +[Atmo EMU] +fss0=atmosphere/fusee-secondary.bin +emummcforce=1 + +[Atmo SYS] +fss0=atmosphere/fusee-secondary.bin +emummc_force_disable=1 +[Atmo with extra kips] +fss0=atmosphere/fusee-secondary.bin +kip1=cfw/mods/mods_extra/* +kip1=cfw/mods/mods_extra/single/extra.kip + +# Note: +# The above can be used with any fss0 entry. Like the ones above. +# You can even override atmosphere (fss0) kips with this. + + + +{-- Custom Firmwares Old methods --} [CFW FSS0 extra kips & patches] fss0=atmosphere/fusee-secondary.bin kip1patch=name_of_patch @@ -45,12 +61,12 @@ kip1=cfw/mods/mods_extra/single/extra.kip # Note: # Both options for kip1 can be used. Wildcard and single. -# You can override kips loaded from FSS0 if you define them after that entry. +# You can override kips loaded from FSS0 if you define them after the fss0 key. # If kip1 patch resides in patches.ini and that file OR the patch for # current HOS version does not exist, it will error out. -[Atmo Vanilla] +[CFW KIPs method] secmon=cfw/mods/exosphere.bin warmboot=cfw/mods/lp0fw.bin kip1=cfw/mods/loader.kip @@ -66,7 +82,7 @@ atmosphere=1 # atmosphere=1 key is IMPORTANT when no FFS0 is defined. -[CFW Extra kips] +[CFW KIPs method with wildcard] secmon=cfw/mods/exosphere.bin warmboot=cfw/mods/lp0fw.bin kip1=cfw/mods/* @@ -83,7 +99,12 @@ atmosphere=1 payload=bootloader/payloads/memloader.bin -# hekate - CTCaer mod v5.0.0 .ini template +# hekate - CTCaer mod v5.5.3 .ini template + +# All entries in this template can have these stylistic keys. +# Like logopath= key which is for bootlogo and icon= key for Nyx icon. +# Other than these there many other keys to choose from, like the exosphere configuration keys. +# All of them are descibed in the main README. # NOT TO BE USED AS IS! # Pick [config] and then only the needed [sections]. # or { } lines can be ommited.