Sorry to bump an old thread, but my sig links people here to get an idea of how to build stuff, and there are currently a couple of things extra that have to be done for Atmosphere-NX (as of at least 15 MARCH 2020). After you clone it, grab the latest official release, go to the sept folder and extract all of the _00.enc and _01.enc files (4 of them) to /Atmosphere/
Then jump to /stratosphere/fatal/source/fatal_config.cpp and change (around line 25 or so)
R_ABORT_UNLESS(setsysBindFatalDirtyFlagEvent(&evt));
to
R_ABORT_UNLESS(setsysAcquireFatalDirtyFlagEventHandle(&evt));
It requires later commits of libnx so you'll need to clone it , then build and install it using:
sudo -E make install
(the -E preserves the current user's environment in linux, so it actually gets put in the proper devkitpro locations. On Windows, you can manually put it where it belongs after building it, if the above command doesn't work).
Finally, before building you need to point to the encrypted sept files, so substituting your proper path, enter:
export SEPT_00_ENC_PATH='/Atmosphere/sept-secondary_00.enc'
export SEPT_01_ENC_PATH='/Atmosphere/sept-secondary_01.enc'
export SEPT_DEV_00_ENC_PATH='/Atmosphere/sept-secondary_dev_00.enc'
export SEPT_DEV_01_ENC_PATH='/Atmosphere/sept-secondary_dev_01.enc'
make dist-no-debug
Then jump to /stratosphere/fatal/source/fatal_config.cpp and change (around line 25 or so)
R_ABORT_UNLESS(setsysBindFatalDirtyFlagEvent(&evt));
to
R_ABORT_UNLESS(setsysAcquireFatalDirtyFlagEventHandle(&evt));
It requires later commits of libnx so you'll need to clone it , then build and install it using:
sudo -E make install
(the -E preserves the current user's environment in linux, so it actually gets put in the proper devkitpro locations. On Windows, you can manually put it where it belongs after building it, if the above command doesn't work).
Finally, before building you need to point to the encrypted sept files, so substituting your proper path, enter:
export SEPT_00_ENC_PATH='/Atmosphere/sept-secondary_00.enc'
export SEPT_01_ENC_PATH='/Atmosphere/sept-secondary_01.enc'
export SEPT_DEV_00_ENC_PATH='/Atmosphere/sept-secondary_dev_00.enc'
export SEPT_DEV_01_ENC_PATH='/Atmosphere/sept-secondary_dev_01.enc'
make dist-no-debug
Last edited by urherenow,
, Reason: updated "make" command to use the dist-no-debug option