setup ctrnand luma3ds script

This commit is contained in:
Plailect 2017-07-16 16:30:57 -04:00
parent e75050a8d9
commit 1e3e26e639
4 changed files with 49 additions and 67 deletions

View file

@ -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 release of [GodMode9](https://github.com/d0k3/GodMode9/releases/latest)
* The latest fork of [Luma3DS Updater](https://github.com/KunoichiZ/lumaupdate/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) * The Homebrew [Starter Kit](http://smealum.github.io/ninjhax2/starter.zip)
* [`setup_ctrnand_luma3ds.gm9`]({{ base_path }}/gm9_scripts/setup_ctrnand_luma3ds.gm9)
#### Instructions #### 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. 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 `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 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. 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. 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 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. 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} {: .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. 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. 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 (Home) to bring up the action menu
1. Press (X) on `start_SafeB9SInstaller.bin` to delete it 1. Select "More..."
1. Press (A) to confirm 1. Select "Scripts..."
1. Press (B) to return to `[0:] SDCARD` 1. Select "setup_ctrnand_luma3ds"
1. Press (Y) on `boot.firm` to copy it 1. When prompted, press (A) to proceed
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 (A) to unlock SysNAND (lvl1) writing, then input the key combo given 1. Press (A) to unlock SysNAND (lvl1) writing, then input the key combo given
1. Press (X) on `arm9loaderhax.bin` to delete it 1. Press (A) to continue
+ If you do not have this file, just proceed with the instructions 1. Press (A) to relock write permissions
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 (Start) to reboot 1. Press (Start) to reboot
##### Section V - Installing Luma3DS Updater ##### Section V - Installing Luma3DS Updater

View file

@ -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 [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 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)* * 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 #### 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. 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 `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 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) ![]({{ base_path }}/images/screenshots/finalizing-setup-file-layout.png)
{: .notice--info} {: .notice--info}
@ -100,27 +102,20 @@ If, before following this guide, you already had an EmuNAND setup and would like
##### Section VI - CTRNAND Luma3DS ##### Section VI - CTRNAND Luma3DS
1. Reboot holding (Start) during boot to launch GodMode9 1. Boot your device while holding (Start) to launch the Luma3DS chainloader menu
1. When prompted to create an essential files backup, press (A) to do so, then press (A) to continue once it has completed 1. Launch GodMode9 by pressing (A)
1. Navigate to `[0:] SDCARD` 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 (Y) on `boot.firm` to copy it 1. Press (Home) to bring up the action menu
1. Press (B) to return to the main menu 1. Select "More..."
1. Navigate to `[1:] SYSNAND CTRNAND` 1. Select "Scripts..."
1. Press (Y) to paste a copy of `boot.firm` 1. Select "setup_ctrnand_luma3ds"
1. Select "Copy path(s)" 1. When prompted, press (A) to proceed
1. Press (A) to unlock SysNAND (lvl1) writing, then input the key combo given 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 (A) to continue
1. Press (B) to return to the main menu 1. Press (A) to relock write permissions
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)"
##### Section VII - Backup SysNAND ##### Section VII - Backup SysNAND
1. Press (B) twice to return to the main menu
1. Press (Home) to bring up the action menu 1. Press (Home) to bring up the action menu
1. Select "More..." 1. Select "More..."
1. Select "Scripts" 1. Select "Scripts"

View file

@ -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 [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 latest release of [GodMode9](https://github.com/d0k3/GodMode9/releases/latest)
* The Homebrew [Starter Kit](http://smealum.github.io/ninjhax2/starter.zip) * The Homebrew [Starter Kit](http://smealum.github.io/ninjhax2/starter.zip)
* [`setup_ctrnand_luma3ds.gm9`]({{ base_path }}/gm9_scripts/setup_ctrnand_luma3ds.gm9)
#### Instructions #### 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. 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 `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 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 `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. 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 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 ##### 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. 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. 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 (Home) to bring up the action menu
1. Press (X) on `SafeB9SInstaller.firm` to delete it 1. Select "More..."
1. Press (A) to confirm 1. Select "Scripts..."
1. Press (B) to return to `[0:] SDCARD` 1. Select "setup_ctrnand_luma3ds"
1. Press (Y) on `boot.firm` to copy it 1. When prompted, press (A) to proceed
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 (A) to unlock SysNAND (lvl1) writing, then input the key combo given 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 (A) to continue
1. Press (X) on `arm9loaderhax.bin` to delete it 1. Press (A) to relock write permissions
+ 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 (Start) to reboot 1. Press (Start) to reboot
___ ___

View file

@ -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