get-started: do super-skaterhax on 11.16 N3DS

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.
This commit is contained in:
lifehackerhansol 2023-07-18 20:01:08 -07:00
parent 476bdc50da
commit b8898b77cd
No known key found for this signature in database
GPG key ID: 80FB184AFC0B3B0E

View file

@ -125,8 +125,9 @@ function can_safecerthax(major, minor, native, region, model) {
}
// super-skaterhax
// EUR/JPN/USA: 11.17 only
// KOR: 11.16 only, KOR does not have 11.17 (Do seedminer first though)
// N3DS only
// EUR/JPN/USA: 11.16-11.17
// KOR: 11.16 only, KOR does not have 11.17
// CHN/TWN has no N3DS
function can_superskaterhax(major, minor, native, region, model) {
let do_redirect_sysupdate = false;
@ -134,19 +135,11 @@ function can_superskaterhax(major, minor, native, region, model) {
// N3DS only
if(model == DEVICE_N3DS) {
if (major == 11) {
if (["E", "J", "U"].includes(region)) {
if (minor == 17) do_redirect = true;
if (minor >= 16) do_redirect = true;
// Since this exploit works on latest,
// if no other exploit exists for that version, update
else do_redirect_sysupdate = true;
}
else if(region == "K") {
if (minor == 16) do_redirect = true;
// Since this exploit works on latest,
// if no other exploit exists for that version, update
else do_redirect_sysupdate = true;
}
}
}
if (do_redirect_sysupdate) {
@ -187,6 +180,10 @@ function can_seedminer(major, minor, native, region, model) {
let do_redirect_sysupdate_kor = false;
let do_redirect_twn = false;
let do_redirect = false;
// N3DS has a different, easier exploit.
if (model != DEVICE_O3DS) return false;
// 11.16 should always do seedminer on 3DS
if (major == 11 && minor == 16) {
if (["U", "E", "J", "K"].includes(region)) do_redirect = true;