From 9420554f207d491a3241e65669248dc648962709 Mon Sep 17 00:00:00 2001 From: zoogie Date: Wed, 26 Oct 2022 05:37:46 -0500 Subject: [PATCH] Support 3DS parental control algorithm v1 (7.0-7.1) This should allow all regions and firms to be supported. --- README.md | 2 +- data/ctr_00.bin | 1 + data/ctr_01.bin | 1 + data/ctr_02.bin | 1 + how_to_update_this_for_new_firmwares.txt | 9 ++++----- 5 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 data/ctr_00.bin create mode 100644 data/ctr_01.bin create mode 100644 data/ctr_02.bin diff --git a/README.md b/README.md index 0a939d7..d55dde1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## Offline version - 3DS This fork of the upstream repo is intended to be temp backup of the 3DS parental control unlocker tool mkey.salthax.org in case the site does not quickly update with latest 3DS firmware (which is often the case). It is intended to be run offline.
-Compatible with: 7.2-11.16 US,EU,JP,KR
+Compatible with: 1.0-11.16 US,EU,JP,KR,TW,CN
- You need python3 installed and windows. - Attempt to unlock your parental controls from your 3DS's System Settings until it gives you an "Inquiry Number" (chose "I forgot" twice). - Next, read the rem comments in the "mkey.bat" script in a text editor for the remaining instructions, then run the same .bat script. diff --git a/data/ctr_00.bin b/data/ctr_00.bin new file mode 100644 index 0000000..807fc96 --- /dev/null +++ b/data/ctr_00.bin @@ -0,0 +1 @@ +0Nvinm׈k&E'`X \ No newline at end of file diff --git a/data/ctr_01.bin b/data/ctr_01.bin new file mode 100644 index 0000000..212bec0 --- /dev/null +++ b/data/ctr_01.bin @@ -0,0 +1 @@ +z#xAfK=_+I`ua5G H}vU \ No newline at end of file diff --git a/data/ctr_02.bin b/data/ctr_02.bin new file mode 100644 index 0000000..b0edc12 --- /dev/null +++ b/data/ctr_02.bin @@ -0,0 +1 @@ +=^3t#`\'WW_f[C \ No newline at end of file diff --git a/how_to_update_this_for_new_firmwares.txt b/how_to_update_this_for_new_firmwares.txt index 005ecfd..d48b6f0 100644 --- a/how_to_update_this_for_new_firmwares.txt +++ b/how_to_update_this_for_new_firmwares.txt @@ -1,7 +1,3 @@ -Only intended for firm 7.2-11.16 for regions US,EU,JP,KR. -Otherwise, https://mkey.salthax.org/ should still work fine. -This version is only needed because the above site hasn't update its 11.16 masterkey.bin's for the 4 regions. - Steps for updating this tool for newer firmwares: 1. Skip this step unless the unlikely event MSET (system settings) updates AND there's a new aes key (hasn't happened yet in algorithm v2). Get the aes key for US,EU,JP,KR at mset virtual addr. 0x0026b35c, code.bin+0x0016b35c (this version is found in firmwares 11.5-11.16). Paste the 16 bytes to a file named: ctr_aes_0?.bin, where ? is region code: 1=US, 2=EU, 5=KR, 9=JP. @@ -11,4 +7,7 @@ Steps for updating this tool for newer firmwares: 3. Rename masterkey.bin to ctr_XX_YY.bin where XX is the first byte (in hex) in the same file, and YY is the second byte in the file (also hex). Put these 4 renamed files in the data folder and the new firmware should now be supported. -Note: TWN and CHN have horribly outdated msets, so there is no masterkey.bin because they use an older mkey algorithm. https://mkey.salthax.org/ should still support them even when firmware updates. \ No newline at end of file +Notes: +TWN and CHN have horribly outdated msets and thus only use algorithm v0 for all firm versions, which requires no data files. +KOR uses algorithm version v0 up to 9.5 and skips v1 entirely, using v2 for 9.6 to latest. +USA,EUR,JPN use all 3 algorithms as described here: https://www.3dbrew.org/wiki/System_Settings#Parental_Controls_Reset \ No newline at end of file