From 1e3e26e639273dac310f45548ee849f511b78f63 Mon Sep 17 00:00:00 2001 From: Plailect Date: Sun, 16 Jul 2017 16:30:57 -0400 Subject: [PATCH] setup ctrnand luma3ds script --- _pages/en_US/a9lh-to-b9s.txt | 35 ++++++++------------------- _pages/en_US/finalizing-setup.txt | 29 +++++++++------------- _pages/en_US/updating-b9s.txt | 35 ++++++++------------------- gm9_scripts/setup_ctrnand_luma3ds.gm9 | 17 +++++++++++++ 4 files changed, 49 insertions(+), 67 deletions(-) create mode 100644 gm9_scripts/setup_ctrnand_luma3ds.gm9 diff --git a/_pages/en_US/a9lh-to-b9s.txt b/_pages/en_US/a9lh-to-b9s.txt index 20164657b..ed25d98bb 100644 --- a/_pages/en_US/a9lh-to-b9s.txt +++ b/_pages/en_US/a9lh-to-b9s.txt @@ -45,6 +45,7 @@ Note that, on New 3DS, `secret_sector.bin` is needed to revert the arm9loaderhax * The latest release of [GodMode9](https://github.com/d0k3/GodMode9/releases/latest) * The latest fork of [Luma3DS Updater](https://github.com/KunoichiZ/lumaupdate/releases/latest) * The Homebrew [Starter Kit](http://smealum.github.io/ninjhax2/starter.zip) +* [`setup_ctrnand_luma3ds.gm9`]({{ base_path }}/gm9_scripts/setup_ctrnand_luma3ds.gm9) #### Instructions @@ -63,6 +64,7 @@ For all steps in this section, overwrite any existing files on your SD card. 1. Delete any existing `.bin` payloads in the `/luma/payloads/` folder on your SD card as they will not be compatible with boot9strap compatible Luma3DS versions 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 `setup_ctrnand_luma3ds.gm9` to the `/gm9/scripts/` folder on your SD card 1. Copy `SafeB9SInstaller.bin` from the SafeB9SInstaller `.zip` to the `/luma/payloads/` folder on your SD card 1. Rename `SafeB9SInstaller.bin` in the `/luma/payloads/` folder on your SD card to `start_SafeB9SInstaller.bin` 1. Copy `boot9strap.firm` and `boot9strap.firm.sha` from the boot9strap `.zip` to the `/boot9strap/` folder on your SD card @@ -100,34 +102,17 @@ This section is only needed if you are prompted with the Luma3DS configuration m If, before updating to boot9strap, you already had an EmuNAND setup and would like to move the contents of your previous EmuNAND to your new SysNAND CFW, now is the time to [follow Move EmuNAND](move-emunand) before doing this section. {: .notice--info} -1. Reboot holding (Start) during boot to launch the Luma3DS chainloader menu +1. Boot your device while holding (Start) to launch the Luma3DS chainloader menu 1. Launch GodMode9 by pressing (A) 1. If you are prompted to create an essential files backup, press (A) to do so, then press (A) to continue once it has completed -1. Navigate to `[0:] SDCARD` -> `luma` -> `payloads` -1. Press (X) on `start_SafeB9SInstaller.bin` to delete it -1. Press (A) to confirm -1. Press (B) to return to `[0:] SDCARD` -1. Press (Y) on `boot.firm` to copy it -1. Press (B) to return to the main menu -1. Navigate to `[1:] SYSNAND CTRNAND` -1. Press (Y) to paste a copy of `boot.firm` -1. Select "Copy path(s)" +1. Press (Home) to bring up the action menu +1. Select "More..." +1. Select "Scripts..." +1. Select "setup_ctrnand_luma3ds" +1. When prompted, press (A) to proceed 1. Press (A) to unlock SysNAND (lvl1) writing, then input the key combo given -1. Press (X) on `arm9loaderhax.bin` to delete it - + If you do not have this file, just proceed with the instructions -1. Press (A) to confirm -1. Press (B) to decline relocking write permissions if prompted -1. Press (B) to return to the main menu -1. Navigate to `[0:] SDCARD` -1. Press (Y) on the `luma` folder to copy it - + If you have files or folders *other than* the ones from following an earlier version of this guide (`config.bin` and `payloads`) in your `luma` directory (such as LayeredFS files), you should instead just copy `config.bin` and `payloads` by marking them with the (L) trigger, then pressing (Y) to copy -1. Press (B) to return to the main menu -1. Navigate to `[1:] SYSNAND CTRNAND` -> `rw` -1. Press (X) on the existing `luma` folder to delete it - + If you do not have this folder, just proceed with the instructions -1. Press (A) to confirm -1. Press (Y) to paste a copy of the `luma` folder from your SD card - + If you only copied `config.bin` and `payloads` earlier, you will need to instead create the `luma` folder manually (hold the (R) trigger and pressing (Y) at the same time, give the name `luma`, then press (A) to confirm), then navigate to `luma`, then press (Y) to paste `config.bin` and `payloads` +1. Press (A) to continue +1. Press (A) to relock write permissions 1. Press (Start) to reboot ##### Section V - Installing Luma3DS Updater diff --git a/_pages/en_US/finalizing-setup.txt b/_pages/en_US/finalizing-setup.txt index dc42d72da..ab8152bac 100644 --- a/_pages/en_US/finalizing-setup.txt +++ b/_pages/en_US/finalizing-setup.txt @@ -30,6 +30,7 @@ During this process, we also setup programs such as the following: * The latest release of [DSP1](https://github.com/zoogie/DSP1/releases/latest) * The latest release of [FBI](https://github.com/Steveice10/FBI/releases/latest) *(the `.cia` and `.3dsx` files)* * The latest fork of [Luma3DS Updater](https://github.com/KunoichiZ/lumaupdate/releases/latest) *(the `.cia` file)* +* [`setup_ctrnand_luma3ds.gm9`]({{ base_path }}/gm9_scripts/setup_ctrnand_luma3ds.gm9) #### Instructions @@ -52,6 +53,7 @@ During this process, we also setup programs such as the following: 1. Create a folder named `payloads` in the `luma` folder on your SD card 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 `setup_ctrnand_luma3ds.gm9` to the `/gm9/scripts/` folder on your SD card ![]({{ base_path }}/images/screenshots/finalizing-setup-file-layout.png) {: .notice--info} @@ -100,27 +102,20 @@ If, before following this guide, you already had an EmuNAND setup and would like ##### Section VI - CTRNAND Luma3DS -1. Reboot holding (Start) during boot to launch GodMode9 -1. When prompted to create an essential files backup, press (A) to do so, then press (A) to continue once it has completed -1. Navigate to `[0:] SDCARD` -1. Press (Y) on `boot.firm` to copy it -1. Press (B) to return to the main menu -1. Navigate to `[1:] SYSNAND CTRNAND` -1. Press (Y) to paste a copy of `boot.firm` -1. Select "Copy path(s)" +1. Boot your device while holding (Start) to launch the Luma3DS chainloader menu +1. Launch GodMode9 by pressing (A) +1. If you are prompted to create an essential files backup, press (A) to do so, then press (A) to continue once it has completed +1. Press (Home) to bring up the action menu +1. Select "More..." +1. Select "Scripts..." +1. Select "setup_ctrnand_luma3ds" +1. When prompted, press (A) to proceed 1. Press (A) to unlock SysNAND (lvl1) writing, then input the key combo given -1. Press (B) to decline relocking write permissions if prompted -1. Press (B) to return to the main menu -1. Navigate to `[0:] SDCARD` -1. Press (Y) on the `luma` folder to copy it -1. Press (B) to return to the main menu -1. Navigate to `[1:] SYSNAND CTRNAND` -> `rw` -1. Press (Y) to paste a copy of the `luma` folder from your SD card -1. Select "Copy path(s)" +1. Press (A) to continue +1. Press (A) to relock write permissions ##### Section VII - Backup SysNAND -1. Press (B) twice to return to the main menu 1. Press (Home) to bring up the action menu 1. Select "More..." 1. Select "Scripts" diff --git a/_pages/en_US/updating-b9s.txt b/_pages/en_US/updating-b9s.txt index 17998141a..105f9aab8 100644 --- a/_pages/en_US/updating-b9s.txt +++ b/_pages/en_US/updating-b9s.txt @@ -31,6 +31,7 @@ There have been reports of a wave of bans being handed out to CFW users by Ninte * The latest release of [boot9strap](https://github.com/SciresM/boot9strap/releases/latest) *(standard boot9strap; not the `devkit` file, not the `ntr` file)* * The latest release of [GodMode9](https://github.com/d0k3/GodMode9/releases/latest) * The Homebrew [Starter Kit](http://smealum.github.io/ninjhax2/starter.zip) +* [`setup_ctrnand_luma3ds.gm9`]({{ base_path }}/gm9_scripts/setup_ctrnand_luma3ds.gm9) #### Instructions @@ -46,6 +47,7 @@ For all steps in this section, overwrite any existing files on your SD card. 1. Create a folder named `boot9strap` on the root of your SD card 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 `setup_ctrnand_luma3ds.gm9` to the `/gm9/scripts/` folder on your SD card 1. Copy `SafeB9SInstaller.firm` from the SafeB9SInstaller `.zip` to the `/luma/payloads/` folder on your SD card 1. Copy `boot9strap.firm` and `boot9strap.firm.sha` from the boot9strap `.zip` to the `/boot9strap/` folder on your SD card 1. Reinsert your SD card into your device @@ -77,34 +79,17 @@ For all steps in this section, overwrite any existing files on your SD card. ##### Section V - CTRNAND Luma3DS -1. Reboot holding (Start) during boot to launch the Luma3DS chainloader menu +1. Boot your device while holding (Start) to launch the Luma3DS chainloader menu 1. Launch GodMode9 by pressing (A) 1. If you are prompted to create an essential files backup, press (A) to do so, then press (A) to continue once it has completed -1. Navigate to `[0:] SDCARD` -> `luma` -> `payloads` -1. Press (X) on `SafeB9SInstaller.firm` to delete it -1. Press (A) to confirm -1. Press (B) to return to `[0:] SDCARD` -1. Press (Y) on `boot.firm` to copy it -1. Press (B) to return to the main menu -1. Navigate to `[1:] SYSNAND CTRNAND` -1. Press (Y) to paste a copy of `boot.firm` -1. Select "Copy path(s)" +1. Press (Home) to bring up the action menu +1. Select "More..." +1. Select "Scripts..." +1. Select "setup_ctrnand_luma3ds" +1. When prompted, press (A) to proceed 1. Press (A) to unlock SysNAND (lvl1) writing, then input the key combo given -1. Press (B) to decline relocking write permissions if prompted -1. Press (X) on `arm9loaderhax.bin` to delete it - + If you do not have this file, just proceed with the instructions -1. Press (A) to confirm -1. Press (B) to return to the main menu -1. Navigate to `[0:] SDCARD` -1. Press (Y) on the `luma` folder to copy it - + If you have files or folders *other than* the ones from following an earlier version of this guide (`config.bin` and `payloads`) in your `luma` directory (such as LayeredFS files), you should instead just copy `config.bin` and `payloads` by marking them with the (L) trigger, then pressing (Y) to copy -1. Press (B) to return to the main menu -1. Navigate to `[1:] SYSNAND CTRNAND` -> `rw` -1. Press (X) on the existing `luma` folder to delete it - + If you do not have this folder, just proceed with the instructions -1. Press (A) to confirm -1. Press (Y) to paste a copy of the `luma` folder from your SD card - + If you only copied `config.bin` and `payloads` earlier, you will need to instead create the `luma` folder manually (hold the (R) trigger and pressing (Y) at the same time, give the name `luma`, then press (A) to confirm), then navigate to `luma`, then press (Y) to paste `config.bin` and `payloads` +1. Press (A) to continue +1. Press (A) to relock write permissions 1. Press (Start) to reboot ___ diff --git a/gm9_scripts/setup_ctrnand_luma3ds.gm9 b/gm9_scripts/setup_ctrnand_luma3ds.gm9 new file mode 100644 index 000000000..5789ce23f --- /dev/null +++ b/gm9_scripts/setup_ctrnand_luma3ds.gm9 @@ -0,0 +1,17 @@ +# Luma3DS CTRNAND Setup script +# last changed: 20170716 +# author: ihaveamac + +ask "This will copy Luma3DS to your CTRNAND,\nallowing for the system to work without\nan SD card.\n\nContinue?" + +allow 1:/ + +# remove existing files just in case +rm -o -s 1:/boot.firm +rm -o -s 1:/rw/luma + +# copy specific files over +cp 0:/boot.firm 1:/boot.firm +mkdir 1:/rw/luma +cp 0:/luma/payloads 1:/rw/luma/payloads +cp 0:/luma/config.bin 1:/rw/luma/config.bin \ No newline at end of file