Go to file
comex 41b28bb0c4 build: portability fixes
- Invoke Python scripts with `python3` if `python` is not available.

  Despite SciresM preferring Python 2, the scripts used in the build all
  worked in Python 3 already, so this is just a Makefile change.

- Export `MAKE` to work around a GNU bug.

  See the comment for details.

- `rmdir --ignore-fail-on-non-empty` -> `rmdir 2>/dev/null`

  macOS `rmdir` doesn't support `--ignore-fail-on-non-empty`.

  This is a slight downgrade in functionality, because now we ignore all
  errors from `rmdir` rather than just 'Directory not empty'.  I could
  have avoided this with a more complicated fix, but the benefit strikes
  me as not worth the complexity.  Let me know if you disagree.

- Append `$(DEVKITPRO)/tools/bin/` to `$PATH` when invoking
  `build_romfs`.

  This avoids the need to add devkitPro directories to `$PATH` when
  building Atmosphere.

  If you already have `build_romfs` in your PATH, then that will still
  take precedence.  (This seemed like the nicer option, though I don't
  have strong opinions.)
2025-08-16 16:22:32 -07:00
.github/ISSUE_TEMPLATE Update issue template to ask whether sysmmc or emummc. 2021-05-12 08:27:21 -07:00
config_templates kern/strat: update for new DebugFlags capability semantics 2024-10-15 21:48:59 -07:00
docs ams: bump version, support 20.3.0 2025-07-29 15:16:51 -07:00
emummc git subrepo push emummc 2025-05-28 12:29:54 -07:00
exosphere build: portability fixes 2025-08-16 16:22:32 -07:00
fusee build: portability fixes 2025-08-16 16:22:32 -07:00
img docs: add banner to readme 2025-05-27 22:24:41 -07:00
libraries build: portability fixes 2025-08-16 16:22:32 -07:00
mesosphere build: portability fixes 2025-08-16 16:22:32 -07:00
stratosphere fs.mitm: steal some heap when building romfs for kotor2 (closes #2564) 2025-07-22 00:36:51 -07:00
tests build: portability fixes 2025-08-16 16:22:32 -07:00
thermosphere build: remove unnecessary g-dwarf4 flags 2022-02-14 14:58:52 -08:00
troposphere nanovg: disable some compiler warnings 2025-08-08 14:16:03 -07:00
utilities erpt: update ids for 20.0.0 2025-05-09 11:55:21 -07:00
.gitattributes linguist: add vanity corrections 2021-09-11 20:03:42 -07:00
.gitignore util: update function dtors, update gitignore 2022-03-21 17:21:44 -07:00
.gitmodules Remove boost submodule 2019-12-08 16:27:45 -08:00
atmosphere.mk build: portability fixes 2025-08-16 16:22:32 -07:00
LICENSE Add license and disclaimer. 2018-01-17 23:54:38 -08:00
Makefile ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
README.md docs: add banner to readme 2025-05-27 22:24:41 -07:00

Banner

License Chat on Discord Made with Notepad++

Atmosphère is a work-in-progress customized firmware for the Nintendo Switch.

Components

Atmosphère consists of multiple components, each of which replaces/modifies a different component of the system:

  • Fusée: First-stage Loader, responsible for loading and validating stage 2 (custom TrustZone) plus package2 (Kernel/FIRM sysmodules), and patching them as needed. This replaces all functionality normally in Package1loader/NX Bootloader.
  • Exosphère: Customized TrustZone, to run a customized Secure Monitor
  • Thermosphère: EL2 EmuNAND support, i.e. backing up and using virtualized/redirected NAND images
  • Stratosphère: Custom Sysmodule(s), both Rosalina style to extend the kernel/provide new features, and of the loader reimplementation style to hook important system actions
  • Troposphère: Application-level Horizon OS patches, used to implement desirable CFW features

Licensing

This software is licensed under the terms of the GPLv2, with exemptions for specific projects noted below.

You can find a copy of the license in the LICENSE file.

Exemptions:

  • Nintendo is exempt from GPLv2 licensing and may (at its option) instead license any source code authored for the Atmosphère project under the Zero-Clause BSD license.

Credits

Atmosphère is currently being developed and maintained by SciresM, TuxSH, hexkyz, and fincs.
In no particular order, we credit the following for their invaluable contributions:

  • switchbrew for the libnx project and the extensive documentation, research and tool development pertaining to the Nintendo Switch.
  • devkitPro for the devkitA64 toolchain and libnx support.
  • ReSwitched Team for additional documentation, research and tool development pertaining to the Nintendo Switch.
  • ChaN for the FatFs module.
  • Marcus Geelnard for the bcl-1.2.0 library.
  • naehrwert and st4rk for the original hekate project and its hwinit code base.
  • CTCaer for the continued hekate project's fork and the minerva_tc project.
  • m4xw for development of the emuMMC project.
  • Riley for suggesting "Atmosphere" as a Horizon OS reimplementation+customization project name.
  • hedgeberg for research and hardware testing.
  • lioncash for code cleanup and general improvements.
  • jaames for designing and providing Atmosphère's graphical resources.
  • Everyone who submitted entries for Atmosphère's splash design contest.
  • All those who actively contribute to the Atmosphère repository.