mirror of
https://github.com/hacks-guide/Guide_3DS.git
synced 2025-08-28 18:59:50 +02:00
address issues for korean consoles, because of nver differences (#2221)
I literally downloaded 14 korean updates, and wrote a script, to unzip, extract, ninfs, and print them, to get this done. Co-authored-by: lifehackerhansol <lifehacker@hansol.ca>
This commit is contained in:
@@ -218,7 +218,8 @@ $(document).ready(function() {
|
||||
"installing-boot9strap-(ssloth-browser)": "15",
|
||||
"key-information": "16",
|
||||
"installing-boot9strap-(soundhax-sp)": "17",
|
||||
"seedminer-(twn)": "18"
|
||||
"installing-boot9strap-(soundhax-sp-kor)": "18",
|
||||
"seedminer-(twn)": "19"
|
||||
};
|
||||
|
||||
for(var device in devices){
|
||||
@@ -268,7 +269,8 @@ $(document).ready(function() {
|
||||
"15": ["installing-boot9strap-(ssloth-browser)", "finalizing-setup"],
|
||||
"16": ["multiple-options", "finalizing-setup"],
|
||||
"17": ["installing-boot9strap-(soundhax-sp)", "finalizing-setup"],
|
||||
"18": ["seedminer-(twn)", "bannerbomb3-fredtool-(twn)", "finalizing-setup"]
|
||||
"18": ["installing-boot9strap-(soundhax-sp-kor)", "finalizing-setup"],
|
||||
"19": ["seedminer-(twn)", "bannerbomb3-fredtool-(twn)", "finalizing-setup"]
|
||||
}
|
||||
// Can add custom routing if necessary but currently both routes are identical
|
||||
var device_old = Object.assign({}, device_common,{
|
||||
|
2
assets/js/main.min.js
vendored
2
assets/js/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
function sslothable(s, n) {
|
||||
if
|
||||
if
|
||||
(
|
||||
(s == 4 && n == 37) ||
|
||||
(s == 5 && n == 38) ||
|
||||
@@ -17,35 +17,91 @@ function sslothable(s, n) {
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
function redirect() {
|
||||
var cfw = document.getElementById("mySelecti");
|
||||
var mainver = document.getElementById("mySelect");
|
||||
var smallver = document.getElementById("mySelec");
|
||||
var nver = document.getElementById("mySel");
|
||||
var region = document.getElementById("mySe");
|
||||
document.getElementById("result_invalidVersion").style.display = "none";
|
||||
document.getElementById("result_methodUnavailable").style.display = "none";
|
||||
if (mainver.value == 0) {
|
||||
}
|
||||
|
||||
function sslothablekor(s, n) {
|
||||
if
|
||||
(
|
||||
(s == 4 && n == 33) ||
|
||||
(s == 5 && n == 34) ||
|
||||
(s == 6 && n == 35) ||
|
||||
(s == 7 && n == 35) ||
|
||||
(s == 8 && n == 35) ||
|
||||
(s == 9 && n == 36) ||
|
||||
(s == 10 && n == 37) ||
|
||||
(s == 12 && n == 38) ||
|
||||
(s == 13 && n == 39)
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
function redirect() {
|
||||
var major = document.getElementById("major");
|
||||
var minor = document.getElementById("minor");
|
||||
var nver = document.getElementById("nver");
|
||||
var region = document.getElementById("region");
|
||||
document.getElementById("result_invalidVersion").style.display = "none";
|
||||
document.getElementById("result_methodUnavailable").style.display = "none";
|
||||
if (major.value == 0) {
|
||||
document.getElementById("result_invalidVersion").style.display = "block";
|
||||
}
|
||||
else if (mainver.value < 11 || smallver.value < 4) {
|
||||
window.location.href = "installing-boot9strap-(soundhax)";
|
||||
}
|
||||
else if (nver.value < 36 && smallver.value < 16) {
|
||||
window.location.href = "installing-boot9strap-(soundhax-sp)";
|
||||
}
|
||||
else if (sslothable(smallver.value, nver.value)) {
|
||||
window.location.href = "installing-boot9strap-(ssloth-browser)";
|
||||
}
|
||||
else if (region.value === "T") {
|
||||
window.location.href = "seedminer-(twn)";
|
||||
}
|
||||
else if (region.value === "C") {
|
||||
document.getElementById("result_methodUnavailable").style.display = "block";
|
||||
}
|
||||
else {
|
||||
window.location.href = "seedminer";
|
||||
}
|
||||
}
|
||||
}
|
||||
else { //only do things if major isnt 0, which would be invalid
|
||||
if (["U", "E", "J"].includes(region.value)) { // USA/EUR/JPN things
|
||||
if (major.value < 11 || minor.value < 4) { //soundhax works on all consoles for 1.0-11.3
|
||||
window.location.href = "installing-boot9strap-(soundhax)";
|
||||
}
|
||||
else if (nver.value < 36) { //if the nver is below 36 its a cartupdate from below 11.3, which makes soundhax possible
|
||||
window.location.href = "installing-boot9strap-(soundhax-sp)";
|
||||
}
|
||||
else if (sslothable(minor.value, nver.value)) { //check for versions that are not cartupdated, cartupdated consoles cannot access the browser, see troubleshooting for solution
|
||||
window.location.href = "installing-boot9strap-(ssloth-browser)";
|
||||
}
|
||||
else { //seedminer does still work for the latest version on E/U/J/K/T/C, but can only be chained on E/U/J/K/T
|
||||
window.location.href = "seedminer";
|
||||
}
|
||||
}
|
||||
else if (region.value === "K") { //korea stuff
|
||||
if (major.value < 11 || minor.value < 4) { //soundhax works on all consoles for 1.0-11.3
|
||||
window.location.href = "installing-boot9strap-(soundhax)";
|
||||
}
|
||||
else if (nver.value < 33) { //if the nver is below 33 its a cartupdate from below 11.3, which makes soundhax possible
|
||||
window.location.href = "installing-boot9strap-(soundhax-sp-kor)";
|
||||
}
|
||||
else if (sslothablekor(minor.value, nver.value)) { //check for versions that are not cartupdated, cartupdated consoles cannot access the browser, see troubleshooting for solution
|
||||
window.location.href = "installing-boot9strap-(ssloth-browser)";
|
||||
}
|
||||
else { //seedminer does still work for the latest version on E/U/J/K/T/C, but can only be chained on E/U/J/K/T
|
||||
window.location.href = "seedminer";
|
||||
}
|
||||
}
|
||||
else if (region.value === "T") { //taiwan stuff
|
||||
if (major.value < 11 || minor.value < 4) { //soundhax works on all consoles for 1.0-11.3
|
||||
window.location.href = "installing-boot9strap-(soundhax)";
|
||||
}
|
||||
else if (nver.value < 32) { //if the nver is below 32 its a cartupdate from below 11.3, which makes soundhax possible
|
||||
window.location.href = "installing-boot9strap-(soundhax-sp)";
|
||||
}
|
||||
//else if (sslothable(minor.value, nver.value)) { //check for versions that are not cartupdated, cartupdated consoles cannot access the browser, see troubleshooting for solution
|
||||
// window.location.href = "installing-boot9strap-(ssloth-browser)"; //OTHERAPP BROKEN FOR TWN/CHN 11.4+ ATM
|
||||
//}
|
||||
else { //seedminer does still work for the latest version on E/U/J/K/T/C, but can only be chained on E/U/J/K/T
|
||||
window.location.href = "seedminer";
|
||||
}
|
||||
}
|
||||
else if (region.value === "C") { //chn stuff
|
||||
if (major.value < 11 || minor.value < 4) { //soundhax works on all consoles for 1.0-11.3
|
||||
window.location.href = "installing-boot9strap-(soundhax)";
|
||||
}
|
||||
//else if (sslothable(minor.value, nver.value)) { //check for versions that are not cartupdated, cartupdated consoles cannot access the browser, see troubleshooting for solution
|
||||
// window.location.href = "installing-boot9strap-(ssloth-browser)"; //OTHERAPP BROKEN FOR TWN/CHN 11.4+ ATM
|
||||
//}
|
||||
else { //seedminer does still work for the latest version on E/U/J/K/T/C, but can only be chained on E/U/J/K/T, so CHN cannot be modded atm without additional hardware
|
||||
document.getElementById("result_methodUnavailable").style.display = "block";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user