Adapted from 3DS:Alternate Exploits/Installing boot9strap (MSET9) on
the wiki, a page written primarily by @Gruetzig.
Also modifies FAQ accordingly.
Co-authored-by: Gruetzig <florianavilov@gmail.com>
All downstream changes from the theme (i.e. here) will be denoted with:
/* hacks-guide change start */
and
/* hacks-guide change end */
One-line changes are marked with
/* hacks-guide change */
next to it.
Since our theme does not have linear history with upstream, this allows
quicker identification of what exactly has differentiated downstream,
as we do have a few out-of-tree patches for extra functionality.
Manually create dbs folder to fix edge case where cp would not automatically create folder
Ask user to re-import DB if mount fail (this seems to most often occur if a dummy title database is lingering, but consent is asked for just to prevent potential data loss even though that should not even be a possibility)
Poweroff if Error #16 (title.db mount fail) is denied, to prevent proceeding script (which will not work)
Script now uses and imports a donor title database to prevent confusing rebooting / database resetting - no more "Dummy title database found"!
Explicitly check for A:/dbs/title.db to determine existence of title database (likely inconsequential)
Check if A:/dbs/title.db is valid
Check if any dependency files are missing and/or fail to install
Clean up SD card files for Alternate Exploits, menuhax67, nimdsphax
Catch double-backups (i.e. user tries to re-run script without Nintendo 3DS folder after already having made a NAND backup)
Troubleshooting also updated accordingly.
super-skaterhax is now a much more functional exploit alongside
nimdsphax, so ditch Seedminer for this device.
Only redirect to updating-firmware-(new-3ds) if the version is
11.16 or later, as opposed to 11.17 only previously.
Since we don't redirect 11.16, simplify code accordingly.
Closes#2323.
Fix logical error relating to NOSPACE (3DS would continue to have insufficient space if Nintendo 3DS folder is moved back, so SDFREE section now checks for BACKUPFLAG and if present skips that section)
Automatically skip NAND backup if BACKUPFLAG is detected (this flag cannot be tripped erroneously)
force nand backup if no nintendo 3ds folder (prevent user error)
use more forceful language for dummy title database creation
tell people to delete nand backup if nospace
- Move script backups to /gm9/backups/.
- Remove redundant silent A:/backups/essential.exefs backup.
- Fix logical error relating to moving Nintendo 3DS folder off of SD card.
- If Nintendo 3DS folder is not detected, script will now propmt user to skip to making a NAND backup
- This will create a file in SD:/gm9/flags/ called BACKUPFLAG
- If this flag is present when the Nintendo 3DS folder is present (re-added), the script will tell the user that a NAND backup likely already exists and prompt the user to either create another backup or to skip creating the backup
- Move database dummyflag from A:/dbs/ to SD:/gm9/flags/
- Change errors to error levels, and adjust top screen accordingly
- "Information" indicates that the user didn't do anything wrong, but that the user must do something that deviates from the normal guide (e.g. create title database, NAND backup flag tripped) - indicated on top screen with `(i)`
- "Warning" indicates that the script will continue, but will not complete as intended (e.g. no Nintendo 3DS folder) - indicated on top screen with `/!\`
- "Error" indicates that the script cannot continue due to user error (incorrect GM9 version, missing files, etc) - indicated on top screen with `:(`
- "Fatal Error" indicates that the script has triggered an error that should not occur and requires debugging (CIA install fail, invalid SD size) - indicated on top screen with `wtf?`
Guide also adjusted accordingly.
* exchange fredtool-legacy for menuhax-uloader
* troubleshooting: add troubleshooting for menuhax67 leftover
* menuhax-uloader->menuhax
* fix wording of stuff
* make bb3 and uloader direct downloads
* add image for the home menu icon
* add commas
* wipe wipe and do do(usm -> menuhax)
- All KOR models on 11.16 do seedminer, fredtool is still better than
frogtool
- Note the KOR O3DS browser quirk
- Mii mining on 11.15 O3DS only
- super-skaterhax has code for KOR N3DS, but unused for now as
seedminer gets there first
Well, I'll say never mix integer with bool
This new version literally inverted new/old for kor
I originally wrote it as !old, it's literally now !(new=1=true)
- Each method is now its own function
- Pass identical arguments to each function for unity
- Call each function in desired order from redirect()
- More comments
Commit abe4f29aea missed the existence of
safecerthax, which would have caused an error on specific firmware
versions.
This partially reverts commit abe4f29aea.
Move the existing comments so that they don't require word wrapping to
actually read.
Document all 3 functions: briefly describe where each input goes, what
each function does.
[skip ci]