Homebrew [Release] FBI - Open source CIA installer

  • Thread starter Deleted User
  • Start date
  • Views 1,425,419
  • Replies 4,195
  • Likes 102

qlm2009

Well-Known Member
Member
Joined
Oct 28, 2015
Messages
101
Trophies
0
XP
104
Country
Switzerland
latest git source doesn't build :/

[EDIT]
If you wanna build FBI with latest commit (Add ticket installation support.)
For now, you need @Steveice10 libctru as it isn't yet in @smealum libctru.

Else you get the following error :P :
Code:
build/source/ui/section/action/installtickets.o
In file included from c:/devkitPro/libctru/include/3ds.h:13:0,
                 from source/ui/section/action/installtickets.c:5:
source/ui/section/action/installtickets.c: In function 'action_install_tickets_update':
source/ui/section/action/installtickets.c:68:46: warning: implicit declaration of function 'AM_InstallTicketBegin' [-Wimplicit-function-declaration]
                         if(R_SUCCEEDED(res = AM_InstallTicketBegin(&ticketHandle))) {
                                              ^
c:/devkitPro/libctru/include/3ds/result.h:9:30: note: in definition of macro 'R_SUCCEEDED'
#define R_SUCCEEDED(res)   ((res)>=0)
                              ^
source/ui/section/action/installtickets.c:70:158: warning: implicit declaration of function 'AM_InstallTicketFinalize' [-Wimplicit-function-declaration]
                             if(R_FAILED(res = FSFILE_Write(ticketHandle, &bytesWritten, 0, buffer, (u32) size, 0)) || bytesWritten != size || R_FAILED(res = AM_InstallTicketFinalize(ticketHandle))) {
                                                                                                                                                              ^
c:/devkitPro/libctru/include/3ds/result.h:11:30: note: in definition of macro 'R_FAILED'
#define R_FAILED(res)      ((res)<0)
                              ^
source/ui/section/action/installtickets.c:71:33: warning: implicit declaration of function 'AM_InstallTicketAbort' [-Wimplicit-function-declaration]
                                 AM_InstallTicketAbort(ticketHandle);
                                 ^
build/source/ui/section/action/launchtitle.o
build/source/ui/section/action/pastefiles.o
build/source/ui/section/task/installcia.o
build/source/ui/section/task/listextsavedata.o
build/source/ui/section/task/listfiles.o
In file included from c:/devkitPro/libctru/include/3ds.h:13:0,
                 from source/ui/section/task/listfiles.c:7:
source/ui/section/task/listfiles.c: In function 'task_populate_files_thread':
source/ui/section/task/listfiles.c:99:64: warning: implicit declaration of function 'AM_GetCiaIcon' [-Wimplicit-function-declaration]
                                                 if(R_SUCCEEDED(AM_GetCiaIcon(&smdh, fileHandle))) {
                                                                ^
c:/devkitPro/libctru/include/3ds/result.h:9:30: note: in definition of macro 'R_SUCCEEDED'
#define R_SUCCEEDED(res)   ((res)>=0)
                              ^
build/source/ui/section/task/listpendingtitles.o
build/source/ui/section/task/listsystemsavedata.o
build/source/ui/section/task/listtickets.o
build/source/ui/section/task/listtitles.o
build/source/ui/section/task/task.o
output/FBI.elf
build/source/ui/section/action/installtickets.o: In function `action_install_tickets_update':
d:\#BuildTools\FBI/source/ui/section/action/installtickets.c:68: undefined reference to `AM_InstallTicketBegin'
d:\#BuildTools\FBI/source/ui/section/action/installtickets.c:71: undefined reference to `AM_InstallTicketAbort'
d:\#BuildTools\FBI/source/ui/section/action/installtickets.c:70: undefined reference to `AM_InstallTicketFinalize'
build/source/ui/section/task/listfiles.o: In function `task_populate_files_thread':
d:\#BuildTools\FBI/source/ui/section/task/listfiles.c:99: undefined reference to `AM_GetCiaIcon'
collect2.exe: error: ld returned 1 exit status
make: *** [output/FBI.elf] Error 1
rm build/source/default.shbin.c
Merge pull request #280 from Steveice10/master:P
 

moghedien

Well-Known Member
Member
Joined
Mar 9, 2015
Messages
411
Trophies
0
XP
317
Country
United States
Minor update 2.0.4 released.
  • Skip network CIA install if received size is 0.
  • Do not attempt to get CIA info if a file's name does not end in ".cia".
Awesome, thanks for adding that :) I updated my python script accordingly.
Although after testing it, it doesn't quite work. After receiving a size of zero it never sends the acknowledge byte for accepting the next CIA. You can still press the home button to exit so it's not crashing, but the system will lock up if you try pressing the B button to cancel.

Edit: I think I found the issue, I sent you a pull request on github :)
 
Last edited by moghedien,

angelhp

Well-Known Member
Member
Joined
Nov 30, 2014
Messages
502
Trophies
0
XP
2,007
Country
United States
Since 2.0 version crash my N3DS in
in some folders
I am trying with the new version 2.0.4 but
also crash
I have to turn off the console

Edit: crash FBI with long names , Cia ,3dsx versions, this did not happen in 1.4.17
 
Last edited by angelhp,

lettuce

Well-Known Member
Member
Joined
Jul 27, 2006
Messages
811
Trophies
0
XP
481
Country
I wonder if someone might be able to assist me. I am using the a9lh exploit on my n3DS i recently updated from AuRieNAND v3.7 to v4.2, after the update and the system restarted i notice i had a solid black tile on the home menu with was untitle, loading the tile just loops on the nintendo 3ds boot screen. It was suggested to me to use FBI to try and identify what this title is and remove it via FBI, i have renamed my 'Nintendo 3DS' folder on the SD card and let the 3ds create a new menu, so now i only have the default tiles on the home menu but this solid black title is still present, so i dont think is a cia game ive installed otherwise that would show after creating a new Nintendo 3DS folder would it?

Whats the best way for me to use FBI to identify this rouge tile, i would have thought that seeing as i have a new 'Nintendo 3DS' folder that all my games would show up in the 'title' menu within FBI, but there appears to be loads of titles in the list some of them are actually named but 80% of them are just numbers!.

Any help would be much appreciated
 

A_Random_Guy

Officially That Dev
Member
Joined
May 22, 2015
Messages
859
Trophies
0
Location
Somewhere
Website
n3dshack.weebly.com
XP
443
Country
Malaysia
I wonder if someone might be able to assist me. I am using the a9lh exploit on my n3DS i recently updated from AuRieNAND v3.7 to v4.2, after the update and the system restarted i notice i had a solid black tile on the home menu with was untitle, loading the tile just loops on the nintendo 3ds boot screen. It was suggested to me to use FBI to try and identify what this title is and remove it via FBI, i have renamed my 'Nintendo 3DS' folder on the SD card and let the 3ds create a new menu, so now i only have the default tiles on the home menu but this solid black title is still present, so i dont think is a cia game ive installed otherwise that would show after creating a new Nintendo 3DS folder would it?

Whats the best way for me to use FBI to identify this rouge tile, i would have thought that seeing as i have a new 'Nintendo 3DS' folder that all my games would show up in the 'title' menu within FBI, but there appears to be loads of titles in the list some of them are actually named but 80% of them are just numbers!.

Any help would be much appreciated

Those black tiles happens when you try to install games onto NAND
 
  • Like
Reactions: astronautlevel

Bullseye

Well-Known Member
Member
Joined
Feb 22, 2016
Messages
553
Trophies
0
XP
1,281
Country
Just tested new version out. Looks good, nice 3D banner (thought maybe adding FBI in all sides of the cube could be cool)

In my case it seems that it loads what's inside of folders slower than 1.4.17. I'll be testing this out these days to see how it performs. Great to see this getting new updates!
 

Xenosaiga

Time to switch it up
Member
Joined
Oct 9, 2015
Messages
1,501
Trophies
0
Age
33
Location
The Shadows
XP
1,070
Country
United States
@Steveice10 I keep getting a fatal error any time I try to install anything.

image.jpg

10.7 Sysnand A9LH N3DS Aureinand
 
General chit-chat
Help Users
    AncientBoi @ AncientBoi: uh no. you have to do overtime :tpi: