Homebrew [Help]Falied to compile FBI with devkitpro 3.0.3

urherenow

Well-Known Member
Member
Joined
Mar 8, 2009
Messages
4,716
Trophies
2
Age
48
Location
Japan
XP
3,593
Country
United States
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

MrHuu

Well-Known Member
Member
Joined
Sep 19, 2015
Messages
562
Trophies
0
Age
37
XP
1,588
Country
Netherlands
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?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    A @ anotherthing: The Nintendo servers are going down in 9 days anyway.