From 16c9e943a6916354739030a972ca0523f961c456 Mon Sep 17 00:00:00 2001 From: Plailect Date: Sun, 16 Jul 2017 17:45:19 -0400 Subject: [PATCH] ctrtransfer_ticket_copy script --- _pages/en_US/9.2.0-ctrtransfer.txt | 22 ++++++++--------- _pages/en_US/a9lh-to-b9s.txt | 2 +- ...ng-boot9strap-(dsiware-game-injection).txt | 2 +- _pages/en_US/region-changing.txt | 22 ++++++++--------- _pages/en_US/uninstall-cfw.txt | 2 +- _pages/en_US/updating-b9s.txt | 2 +- gm9_scripts/ctrtransfer_ticket_copy.gm9 | 24 +++++++++++++++++++ 7 files changed, 50 insertions(+), 26 deletions(-) create mode 100644 gm9_scripts/ctrtransfer_ticket_copy.gm9 diff --git a/_pages/en_US/9.2.0-ctrtransfer.txt b/_pages/en_US/9.2.0-ctrtransfer.txt index bcc2c8ec9..534de4a77 100644 --- a/_pages/en_US/9.2.0-ctrtransfer.txt +++ b/_pages/en_US/9.2.0-ctrtransfer.txt @@ -24,6 +24,7 @@ Never format a New 2DS while on a version <11.4.0 without the New 2DS XL specifi * The latest release of [GodMode9](https://github.com/d0k3/GodMode9/releases/latest) * The latest release of [FBI](https://github.com/Steveice10/FBI/releases/latest) *(the`.3dsx` file)* +* [`ctrtransfer_ticket_copy.gm9`]({{ base_path }}/gm9_scripts/ctrtransfer_ticket_copy.gm9) * The 9.2.0 CTRTransfer image for your device and region *(if your device is not from one of these regions, just pick one that matches your device type)*: + - [New 3DS or 2DS - 9.2.0 - EUR - CTRTransfer](magnet:?xt=urn:btih:fed7bfeec0e52b42a77467cfb6ffd3e9dd2d5a70&dn=9.2.0-20E%5FCTRTransfer%5Fn3ds.zip&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=http%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Fzer0day.ch%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=http%3A%2F%2Fexplodie.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fexplodie.org%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.com%3A2710%2Fannounce&tr=udp%3A%2F%2Fp4p.arenabg.com%3A1337%2Fannounce&tr=http%3A%2F%2Fp4p.arenabg.com%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.aletorrenty.pl%3A2710%2Fannounce&tr=http%3A%2F%2Ftracker.aletorrenty.pl%3A2710%2Fannounce&tr=http%3A%2F%2Ftracker1.wasabii.com.tw%3A6969%2Fannounce&tr=http%3A%2F%2Ftracker.baravik.org%3A6970%2Fannounce&tr=http%3A%2F%2Ftracker.tfile.me%2Fannounce&tr=udp%3A%2F%2Ftorrent.gresille.org%3A80%2Fannounce&tr=http%3A%2F%2Ftorrent.gresille.org%2Fannounce&tr=udp%3A%2F%2Ftracker.yoshi210.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.tiny-vps.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.filetracker.pl%3A8089%2Fannounce) @@ -43,6 +44,7 @@ Never format a New 2DS while on a version <11.4.0 without the New 2DS XL specifi 1. Create a folder named `cias` on the root of your SD card if it does not already exist 1. Copy `GodMode9.firm` from the GodMode9 `.zip` to the `/luma/payloads/` folder on your SD card 1. Copy the `gm9` folder from the GodMode9 `.zip` to the root of your SD card +1. Copy `ctrtransfer_ticket_copy.gm9` to the `/gm9/scripts/` folder on your SD card 1. Copy the 9.2.0 CTRTransfer image `.bin` from the CTRTransfer `.zip` to the `/gm9/` folder on your SD card 1. Copy `FBI.3dsx` to the `/3ds/` folder on your SD card 1. Reinsert your SD card into your device @@ -63,14 +65,13 @@ Never format a New 2DS while on a version <11.4.0 without the New 2DS XL specifi 1. Once the transfer has completed, press (A) to continue 1. Press (B) to decline relocking write permissions if prompted 1. Press (B) twice to return to the main menu -1. Navigate to `[1:] SYSNAND CTRNAND` -> `dbs` -1. Press (A) on `ticket.bak` to select it, then select "Ticket.db options...", then select "Mount image to drive" -1. If it exists, hold (R) and press (A) at the same time on `eshop` to select the folder, then select "Copy to 0:/gm9/out" - + This process may take some time if you have many tickets - + Once it has completed, press (A) to continue -1. If it exists, hold (R) and press (A) at the same time on `unknown` to select the folder, then select "Copy to 0:/gm9/out" - + This process may take some time if you have many tickets - + Once it has completed, press (A) to continue +1. Press (Home) to bring up the action menu +1. Select "More..." +1. Select "Scripts..." +1. Select "ctrtransfer_ticket_copy" +1. When prompted, press (A) to proceed +1. Press (A) to continue +1. Press (A) to relock write permissions 1. Press (Start) to reboot your device 1. Update your device by going to System Settings, then "Other Settings", then going all the way to the right and using "System Update" + Updates while using B9S + Luma (what you have) are safe @@ -91,16 +92,15 @@ Never format a New 2DS while on a version <11.4.0 without the New 2DS XL specifi ##### Section IV - Reinstalling Tickets -If you had no `eshop` or `unknown` folders earlier, skip this section. +If script found no user tickets told you to skip this section, then skip this section {: .notice--info} 1. Launch FBI from the list of homebrew 1. Navigate to `SD` -> `cias` -1. Select "FBI.cia" -1. Select the "Install" option, then press (A) to confirm 1. Return to the SD directory with (B) 1. Select "gm9" 1. Select "out" +1. Select "ctrtransfer_tickets" 1. Do the following process for either the `eshop` folder, `unknown` folder, or both + Navigate to the folder + Select "\" diff --git a/_pages/en_US/a9lh-to-b9s.txt b/_pages/en_US/a9lh-to-b9s.txt index ed25d98bb..b1f3c317f 100644 --- a/_pages/en_US/a9lh-to-b9s.txt +++ b/_pages/en_US/a9lh-to-b9s.txt @@ -113,7 +113,7 @@ If, before updating to boot9strap, you already had an EmuNAND setup and would li 1. Press (A) to unlock SysNAND (lvl1) writing, then input the key combo given 1. Press (A) to continue 1. Press (A) to relock write permissions -1. Press (Start) to reboot +1. Press (Start) to reboot your device ##### Section V - Installing Luma3DS Updater diff --git a/_pages/en_US/installing-boot9strap-(dsiware-game-injection).txt b/_pages/en_US/installing-boot9strap-(dsiware-game-injection).txt index 2e6656b33..8c1ee1a7c 100644 --- a/_pages/en_US/installing-boot9strap-(dsiware-game-injection).txt +++ b/_pages/en_US/installing-boot9strap-(dsiware-game-injection).txt @@ -92,7 +92,7 @@ Use a [save manager](https://github.com/J-D-K/JKSM/releases/latest) to backup an 1. Press (Y) to paste a copy of **the contents of** the `savedata` folder to `FAT IMAGE` 1. Select "Copy path(s)" 1. Press (A) to unlock image writing, then input the key combo given -1. Press (Start) to reboot +1. Press (Start) to reboot **the source 3DS** 1. Launch your DSiWare game on **the source 3DS** 1. Tap the screen or press any button to start the game and test if the save is functional + If your game has an error about `boot.nds`, **then the exploit has been successful** diff --git a/_pages/en_US/region-changing.txt b/_pages/en_US/region-changing.txt index 18079b0a9..80c21827f 100644 --- a/_pages/en_US/region-changing.txt +++ b/_pages/en_US/region-changing.txt @@ -42,6 +42,7 @@ Never format a New 2DS while on a version <11.4.0 without the New 2DS XL specifi * The latest release of [GodMode9](https://github.com/d0k3/GodMode9/releases/latest) * The latest release of [FBI](https://github.com/Steveice10/FBI/releases/latest) *(the`.3dsx` file)* +* [`ctrtransfer_ticket_copy.gm9`]({{ base_path }}/gm9_scripts/ctrtransfer_ticket_copy.gm9) * The 9.2.0 ctrtransfer image for your device and the region you want to switch to + - [New 3DS or New 2DS - 9.2.0 - EUR - CTRTransfer](magnet:?xt=urn:btih:fed7bfeec0e52b42a77467cfb6ffd3e9dd2d5a70&dn=9.2.0-20E%5FCTRTransfer%5Fn3ds.zip&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=http%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Fzer0day.ch%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=http%3A%2F%2Fexplodie.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fexplodie.org%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.com%3A2710%2Fannounce&tr=udp%3A%2F%2Fp4p.arenabg.com%3A1337%2Fannounce&tr=http%3A%2F%2Fp4p.arenabg.com%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.aletorrenty.pl%3A2710%2Fannounce&tr=http%3A%2F%2Ftracker.aletorrenty.pl%3A2710%2Fannounce&tr=http%3A%2F%2Ftracker1.wasabii.com.tw%3A6969%2Fannounce&tr=http%3A%2F%2Ftracker.baravik.org%3A6970%2Fannounce&tr=http%3A%2F%2Ftracker.tfile.me%2Fannounce&tr=udp%3A%2F%2Ftorrent.gresille.org%3A80%2Fannounce&tr=http%3A%2F%2Ftorrent.gresille.org%2Fannounce&tr=udp%3A%2F%2Ftracker.yoshi210.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.tiny-vps.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.filetracker.pl%3A8089%2Fannounce) + - [New 3DS or New 2DS - 9.2.0 - JPN - CTRTransfer](magnet:?xt=urn:btih:b22d67fd02b3b0e30ac991e451db0f2d32e7beca&dn=9.2.0-20J%5FCTRTransfer%5Fn3ds.zip&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=http%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Fzer0day.ch%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=http%3A%2F%2Fexplodie.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fexplodie.org%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.com%3A2710%2Fannounce&tr=udp%3A%2F%2Fp4p.arenabg.com%3A1337%2Fannounce&tr=http%3A%2F%2Fp4p.arenabg.com%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.aletorrenty.pl%3A2710%2Fannounce&tr=http%3A%2F%2Ftracker.aletorrenty.pl%3A2710%2Fannounce&tr=http%3A%2F%2Ftracker1.wasabii.com.tw%3A6969%2Fannounce&tr=http%3A%2F%2Ftracker.baravik.org%3A6970%2Fannounce&tr=http%3A%2F%2Ftracker.tfile.me%2Fannounce&tr=udp%3A%2F%2Ftorrent.gresille.org%3A80%2Fannounce&tr=http%3A%2F%2Ftorrent.gresille.org%2Fannounce&tr=udp%3A%2F%2Ftracker.yoshi210.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.tiny-vps.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.filetracker.pl%3A8089%2Fannounce) @@ -60,6 +61,7 @@ Never format a New 2DS while on a version <11.4.0 without the New 2DS XL specifi 1. Create a folder named `cias` on the root of your SD card if it does not already exist 1. Copy `GodMode9.firm` (or `GodMode9.bin` for arm9loaderhax users) from the GodMode9 `.zip` to the `/luma/payloads/` folder on your SD card 1. Copy the `gm9` folder from the GodMode9 `.zip` to the root of your SD card +1. Copy `ctrtransfer_ticket_copy.gm9` to the `/gm9/scripts/` folder on your SD card 1. Copy the 9.2.0 CTRTransfer image `.bin` from the CTRTransfer `.zip` to the `/gm9/` folder on your SD card 1. Copy `FBI.3dsx` to the `/3ds/` folder on your SD card 1. Reinsert your SD card into your device @@ -80,14 +82,13 @@ Never format a New 2DS while on a version <11.4.0 without the New 2DS XL specifi 1. Once the transfer has completed, press (A) to continue 1. Press (B) to decline relocking write permissions if prompted 1. Press (B) twice to return to the main menu -1. Navigate to `[1:] SYSNAND CTRNAND` -> `dbs` -1. Press (A) on `ticket.bak` to select it, then select "Ticket.db options...", then select "Mount image to drive" -1. If it exists, hold (R) and press (A) at the same time on `eshop` to select the folder, then select "Copy to 0:/gm9/out" - + This process may take some time if you have many tickets - + Once it has completed, press (A) to continue -1. If it exists, hold (R) and press (A) at the same time on `unknown` to select the folder, then select "Copy to 0:/gm9/out" - + This process may take some time if you have many tickets - + Once it has completed, press (A) to continue +1. Press (Home) to bring up the action menu +1. Select "More..." +1. Select "Scripts..." +1. Select "ctrtransfer_ticket_copy" +1. When prompted, press (A) to proceed +1. Press (A) to continue +1. Press (A) to relock write permissions 1. Press (Start) to reboot your device 1. Update your device by going to System Settings, then "Other Settings", then going all the way to the right and using "System Update" + Updates while using B9S + Luma (what you have) are safe @@ -108,16 +109,15 @@ Never format a New 2DS while on a version <11.4.0 without the New 2DS XL specifi ##### Section IV - Reinstalling Tickets -If you had no `eshop` or `unknown` folders earlier, skip this section. +If script found no user tickets told you to skip this section, then skip this section {: .notice--info} 1. Launch FBI from the list of homebrew 1. Navigate to `SD` -> `cias` -1. Select "FBI.cia" -1. Select the "Install" option, then press (A) to confirm 1. Return to the SD directory with (B) 1. Select "gm9" 1. Select "out" +1. Select "ctrtransfer_tickets" 1. Do the following process for either the `eshop` folder, `unknown` folder, or both + Navigate to the folder + Select "\" diff --git a/_pages/en_US/uninstall-cfw.txt b/_pages/en_US/uninstall-cfw.txt index e3c22a5ec..a184c46ae 100644 --- a/_pages/en_US/uninstall-cfw.txt +++ b/_pages/en_US/uninstall-cfw.txt @@ -46,7 +46,7 @@ Note that, on some versions of Luma3DS, the Luma3DS chainloader menu is only dis 1. Press (A) to unlock SysNAND (lvl3) writing, then input the key combo given 1. Press (A) to continue 1. Press (A) to relock write permissions -1. Press (Start) to reboot +1. Press (Start) to reboot your device ___ diff --git a/_pages/en_US/updating-b9s.txt b/_pages/en_US/updating-b9s.txt index 105f9aab8..f38efd06e 100644 --- a/_pages/en_US/updating-b9s.txt +++ b/_pages/en_US/updating-b9s.txt @@ -90,7 +90,7 @@ For all steps in this section, overwrite any existing files on your SD card. 1. Press (A) to unlock SysNAND (lvl1) writing, then input the key combo given 1. Press (A) to continue 1. Press (A) to relock write permissions -1. Press (Start) to reboot +1. Press (Start) to reboot your device ___ diff --git a/gm9_scripts/ctrtransfer_ticket_copy.gm9 b/gm9_scripts/ctrtransfer_ticket_copy.gm9 new file mode 100644 index 000000000..4f460ee1b --- /dev/null +++ b/gm9_scripts/ctrtransfer_ticket_copy.gm9 @@ -0,0 +1,24 @@ +# CTRTransfer Ticket Copy script +# last changed: 20170716 +# author: Plailect + +set SUCCESSMSG "Copied tickets successfully" + +ask "This will copy CTRTransfer tickets,\nallowing for your games to work correctly.\n\nContinue?" + +allow 1:/ + +# Mount ticket image backup +set ERRORMSG "Could not find ticket backup.\nSomething has gone wrong with your CTRTransfer." +imgmount 1:/dbs/ticket.bak + +# Check for "eshop" or "unknown" tickets, ignore "system" tickets (because "system" has no "o" in it) +# AFAIK there's no better way to do this because I can't do && in a "find" command +set ERRORMSG "No user tickets found.\nSkip the 'Reinstalling Tickets' section." +find T:/*o* NULL + +set ERRORMSG "" +rm -o -s $[GM9OUT]/ctrtransfer_tickets +mkdir $[GM9OUT]/ctrtransfer_tickets +cp -o -s T:/eshop $[GM9OUT]/ctrtransfer_tickets/eshop +cp -o -s T:/unknown $[GM9OUT]/ctrtransfer_tickets/unknown