What is PegaScape?

PegaScape is a user-friendly public frontend for common PegaSwitch scripts including Nereba, Caffeine, HBL and more.

What can PegaScape be used for?

With PegaScape, you can easily reboot from a stock Switch console running firmwares between 1.0.0-3.0.0 or 4.0.1-4.1.0 into full custom firmware and emuMMC. You can also install the Fake News entrypoint to make accessing PegaScape easier, and access the Homebrew Menu without running full custom firmware if you prefer.

Which scripts are supported on what firmware versions?

1.0.0 2.0.0-3.0.0 3.0.1-4.0.0 4.0.1-4.1.0 5.0.0+
Fake News Installer
Reboot to RCM
Nereba
HBL
Caffeine

Warning

Up to now, almost all homebrew for the Switch have been developed with the concept in mind that everyone has access to RCM. As such, most homebrew and especially RCM payloads have zero protection for users on IPATCHED units.

Understand that this means it is incredibly easy to do something which, while considered normal on consoles with an exploitable RCM, can render IPATCHED Switches permanently inoperable. For your safety, you should avoid using the following homebrews on IPATCHED systems:

Upon using PegaScape to reboot into a payload on an IPATCHED Switch, you should immediately create a NAND backup with Hekate and dump all of your keys (especially BIS keys) with Lockpick_RCM. Understand that by not dumping these, there is no recovery method for your Switch should anything cause it to fail to boot.

You should strongly consider using an emuMMC for all CFW usage to avoid any damage to your Switch.

That said, celebrate! We can now run CFW on IPATCHED Switches!

Demo

Usage

The Homebrew Guide has been updated to include options for PegaScape, including a full guide on bringing a 1.0.0-3.0.0 or 4.0.1-4.1.0 stock switch into full CFW. Otherwise, if you want to just jump in...

DNS IP Addresses

Webapplet (Fake News, 1.0 JP Puyo Puyo Tetris) 163.172.181.170
Wifi Authentication Prompt 51.15.245.41

Note that the public DNS servers are running the 90DNS configuration. This means you can use PegaScape and use homebrew with Internet functionality, but you cannot connect to any Nintendo services.

If you use SwitchBru DNS, you can instead navigate to the exploit page at exploit.sdsetup.com.

If you would prefer to self-host PegaScape, see README.md#self-hosting.

SD Card Requirements

You can grab all of these files easily from SDSetup with the Recommended Defaults + PegaScape bundle.

Nereba nereba.nsp at sd:/pegascape/nereba.nsp, and a payload of your choice at sd:/atmosphere/reboot_payload.bin
Caffeine caffeine.nsp at sd:/pegascape/caffeine.nsp, and a payload of your choice at sd:/atmosphere/reboot_payload.bin
Reboot to RCM reboot_to_rcm.nsp at sd:/pegascape/reboot_to_rcm.nsp
HBL hbl.nsp at sd:/atmosphere/hbl.nsp and hbmenu.nro at sd:/hbmenu.nro
Fake News None

Running PegaScape

Set your Switch's DNS IP settings to manual and set the primary DNS setting to the appropriate IP listed above for the browser entrypoint you wish to use. Then simply access the browser and you will be redirected to the PegaScape page!

PegaScape will only show scripts compatible with your firmware version, so there is no worry of accidentally running incompatible scripts.

A script can take between 5 to 30 seconds to launch depending on your Internet connection and the server status. If an exploit fails to launch, try re-entering the browser and trying again. If it fails to launch multiple times, verify the files are on your SD card in the correct locations, or try rebooting your console. Create an issue on GitHub or contact me (Noahc3) on Discord if issues persist.

Note that the public DNS servers are running the 90DNS configuration. This means you can use PegaScape and use homebrew with Internet functionality, but you cannot connect to any Nintendo services.

Which browser/DNS IP should I use?

On 1.0.0, you must use the Webapplet DNS IP. You can use a JP copy of Puyo Puyo Tetris to access the browser, or you can use Fake News, a modified news entry which also launches the browser. Fake News can be installed with the Fake News entry on PegaScape, by injecting a News save with Fake News pre-installed, or by running the upcoming Fake News Injector homebrew.

On other firmwares, you can use the Webapplet DNS IP with Fake News in the same way as detailed above, or you can use the Wifi Authentication Prompt. When the respective DNS is configured, the Wifi Authentication Prompt can be accessed by attempting to manually connect to the Wifi network within settings, by trying to link an NNID, or by trying to manually update a game from the Software Update tab in software settings.

Credits