Homebrew [Help]Falied to compile FBI with devkitpro 3.0.3

  • Thread starter Thread starter Spmario233
  • Start date Start date
  • Views Views 8,291
  • Replies Replies 23
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
 
Last edited by urherenow, , Reason: updated "make" command to use the dist-no-debug option
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

Are you building FBI for switch?

Otherwise, how would this be related to 3DS?
 
Are you building FBI for switch?

Otherwise, how would this be related to 3DS?
how to compile. Many people ask (or beg for a binary with the latest code), I send them here. Steps are exactly the same because devkitpro is awesome.
 
Last edited by urherenow,

Site & Scene News

New Hot Discussed User Submitted