Nintendo Switch
Homebrew
Combine multi-part xci
When dumping games to fat32, you may need to create multi-part xci files. In my experience, you can combine these files by just concatenating them together. For example:
cat *.xc[0-9] > foo.xci
4nxci -k prod.keys foo.xci
Create a Switch compatible partition from linux
Rule #1 is to avoid using exfat at all costs.
The Switch uses MBR 🙄 and has crummy exfat support... The following requires root permissions.
SD_DISK=/dev/sdZ
sfdisk "$SD_DISK" <<EOF
label: mbr
,
EOF
mkfs.exfat "$SD_DISK"1
Homebrew Glossary
Most of these were taken from https://github.com/XorTroll/Goldleaf
- Atmosphere: custom firmware
- Hekate: custom bootloader
- NSP (Nintendo Submission Package): It's the official format used by Nintendo to provide installable content from their CDN servers.
- NRO (Nintendo Relocatable Object): Officially is treated as a dynamic library object, similar to DLLs on Windows. These are loaded dynamically by applications at runtime.
- NCA (Nintendo Content Archive): This format is the base format used by Horizon OS to store content.
- NACP (Nintendo Application Control Property): This is the format used by Nintendo to store several properties of installed titles, like the title's name, version, author name and other information, like if the title supports screenshots or video captures.
- XCI: Cartridge dump file
Homebrew links
- https://switch.hacks.guide
- https://github.com/Team-Neptune/DeepSea: Minimal CFW setup, all files included
- https://github.com/HamletDuFromage/aio-switch-updater: All-in-one switch CFW updater
- https://webcfw.sdsetup.com/: Online, client-side, web-USB payload injector (requires Chrome-ish browser)
- https://nh-server.github.io/switch-guide/
- https://github.com/nh-server/fusee-interfacee-tk: TK payload injector
- https://github.com/DarkMatterCore/gcdumptool
- https://github.com/mologie/nxboot: CLI payload injector. 0.2.0 is has macOS builds.
- https://github.com/XorTroll/Goldleaf
- https://nswdb.com: DB of Nintendo dump metadata. Downloadable as NSWreleases.xml
- https://switchbrew.github.io/nx-hbl/
- https://switchtools.sshnuke.net/: ChoiDuJour, which lets you go between Switch firmwares
- https://www.reddit.com/r/SwitchHaxing/top/?sort=top&t=month
- https://sigmapatches.su: Sigpatches and other useful homebrew files
- https://www.cheatslips.com/wiki: How to write cheat codes
- https://github.com/The-4n/4NXCI: (repo deleted) XCI to NSP converter
- https://github.com/AtlasNX/Kosmos: (deprecated) All in one guide
- https://sdsetup.com: (deprecated) Create zip file with with all the needed and desired software and configs to put onto an sd card.