Homebrew [Release] FBI - Open source CIA installer

  • Thread starter Thread starter Deleted User
  • Start date Start date
  • Views Views 1,615,515
  • Replies Replies 4,207
  • Likes Likes 102
Sorry for another release so soon

Since your update i've trouble compiling it myself, my libctru is up to date but i get this error:

build/source/ui/section/dumpnand.o
source/ui/section/dumpnand.c: In function 'dumpnand_open_src':
source/ui/section/dumpnand.c:24:44: error: incompatible type for argument 2 of '
FSUSER_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_NAND_W_FS, fsMakePath(PATH_E
MPTY, ""), fsMakePath(PATH_UTF16, u"/"), FS_OPEN_READ, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: expected 'FS_Archive
{aka struct <anonymous>}' but argument is of type 'int'
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:24:91: error: incompatible type for argument 4 of '
FSUSER_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_NAND_W_FS, fsMakePath(PATH_E
MPTY, ""), fsMakePath(PATH_UTF16, u"/"), FS_OPEN_READ, 0);

^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: expected 'u32 {aka l
ong unsigned int}' but argument is of type 'FS_Path {aka struct <anonymous>}'
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:24:12: error: too many arguments to function 'FSUSE
R_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_NAND_W_FS, fsMakePath(PATH_E
MPTY, ""), fsMakePath(PATH_UTF16, u"/"), FS_OPEN_READ, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: declared here
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c: In function 'dumpnand_open_dst':
source/ui/section/dumpnand.c:40:44: error: incompatible type for argument 2 of '
FSUSER_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY,
""), fsMakePath(PATH_UTF16, u"/NAND.bin"), FS_OPEN_WRITE | FS_OPEN_CREATE, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: expected 'FS_Archive
{aka struct <anonymous>}' but argument is of type 'int'
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:40:86: error: incompatible type for argument 4 of '
FSUSER_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY,
""), fsMakePath(PATH_UTF16, u"/NAND.bin"), FS_OPEN_WRITE | FS_OPEN_CREATE, 0);

^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: expected 'u32 {aka l
ong unsigned int}' but argument is of type 'FS_Path {aka struct <anonymous>}'
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:40:12: error: too many arguments to function 'FSUSE
R_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY,
""), fsMakePath(PATH_UTF16, u"/NAND.bin"), FS_OPEN_WRITE | FS_OPEN_CREATE, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: declared here
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:41:1: warning: control reaches end of non-void func
tion [-Wreturn-type]
}
^
source/ui/section/dumpnand.c: In function 'dumpnand_open_src':
source/ui/section/dumpnand.c:25:1: warning: control reaches end of non-void func
tion [-Wreturn-type]
}
^
make: *** [build/source/ui/section/dumpnand.o] Error 1
rm build/source/core/default.shbin.c


Any idea how to fix it?
 
Last edited by liomajor,
  • Like
Reactions: Michierusama
Since your update i've trouble compiling it myself, my libctru is up to date but i get this error:

build/source/ui/section/dumpnand.o
source/ui/section/dumpnand.c: In function 'dumpnand_open_src':
source/ui/section/dumpnand.c:24:44: error: incompatible type for argument 2 of '
FSUSER_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_NAND_W_FS, fsMakePath(PATH_E
MPTY, ""), fsMakePath(PATH_UTF16, u"/"), FS_OPEN_READ, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: expected 'FS_Archive
{aka struct <anonymous>}' but argument is of type 'int'
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:24:91: error: incompatible type for argument 4 of '
FSUSER_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_NAND_W_FS, fsMakePath(PATH_E
MPTY, ""), fsMakePath(PATH_UTF16, u"/"), FS_OPEN_READ, 0);

^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: expected 'u32 {aka l
ong unsigned int}' but argument is of type 'FS_Path {aka struct <anonymous>}'
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:24:12: error: too many arguments to function 'FSUSE
R_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_NAND_W_FS, fsMakePath(PATH_E
MPTY, ""), fsMakePath(PATH_UTF16, u"/"), FS_OPEN_READ, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: declared here
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c: In function 'dumpnand_open_dst':
source/ui/section/dumpnand.c:40:44: error: incompatible type for argument 2 of '
FSUSER_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY,
""), fsMakePath(PATH_UTF16, u"/NAND.bin"), FS_OPEN_WRITE | FS_OPEN_CREATE, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: expected 'FS_Archive
{aka struct <anonymous>}' but argument is of type 'int'
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:40:86: error: incompatible type for argument 4 of '
FSUSER_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY,
""), fsMakePath(PATH_UTF16, u"/NAND.bin"), FS_OPEN_WRITE | FS_OPEN_CREATE, 0);

^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: expected 'u32 {aka l
ong unsigned int}' but argument is of type 'FS_Path {aka struct <anonymous>}'
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:40:12: error: too many arguments to function 'FSUSE
R_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY,
""), fsMakePath(PATH_UTF16, u"/NAND.bin"), FS_OPEN_WRITE | FS_OPEN_CREATE, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: declared here
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:41:1: warning: control reaches end of non-void func
tion [-Wreturn-type]
}
^
source/ui/section/dumpnand.c: In function 'dumpnand_open_src':
source/ui/section/dumpnand.c:25:1: warning: control reaches end of non-void func
tion [-Wreturn-type]
}
^
make: *** [build/source/ui/section/dumpnand.o] Error 1
rm build/source/core/default.shbin.c


Any idea how to fix it?
Same here.

Sent from my Nexus 5 using Tapatalk
 
BXVDkIGHQdU.jpg

How to fix? =(
 
If I change to this one, can I still compile everything else? Decrypt9, ctrxplorer, luma3ds, arm9loaderhax. Thanks.

Sent from my Nexus 5 using Tapatalk

Currently it should work, at least tested with Decrypt9.

But who knows when libctru gets updated. It's always good to keep a copy.
 
Personally I only use Steveice10's libctru when I want to compile FBI2.
For the others, I still use the official libctru.
You move the folder everytime you want to compile FBI? We could do it before but now its giving errors. Well thanks.

Sent from my Nexus 5 using Tapatalk
 
You move the folder everytime you want to compile FBI? We could do it before but now its giving errors. Well thanks.

Sent from my Nexus 5 using Tapatalk
There're two libctru folders in my devkitPro folder. (Of course in different names)
For example, "libctru" -- the one in use, "libctru FBI" -- Steveice10's fork
I just need to change the folder names accordingly.
 
the latest version of fbi is not 2.2.0 instead its still 2.1.1, at least that is what my 3ds is saying when I install fbi cia 2.2.0. The 3dsx version has the same problem its 2.1.1 instead of 2.2.0. What the fuck is going on?
 
the latest version of fbi is not 2.2.0 instead its still 2.1.1, at least that is what my 3ds is saying when I install fbi cia 2.2.0. The 3dsx version has the same problem its 2.1.1 instead of 2.2.0. What the fuck is going on?
Did you try to uninstall the old version of FBI first?
Then make a clean install
 
Request for someone to create a "prettier" icon & banner for FBI, and to have it incorporated into the git as "official". I would be glad to do it myself but I completely suck at art/design. :P

Edit: I really like FBI 2.x, but why does it have slower transfer over network speeds? I get a 500MB/s decrease in speed with anything 2.x.
 
Last edited by D34DL1N3R,
Request for someone to create a "prettier" icon & banner for FBI, and to have it incorporated into the git as "official". I would be glad to do it myself but I completely suck at art/design.[emoji14]
Edit: I really like FBI 2.x, but why does it have slower transfer over network speeds? I get a 500MB/s decrease in speed with anything 2.x.
Use sockfile, not socket punch
 
Use sockfile, not socket punch

But... but... that means I have to install Java. Urgh. But okay. I'll give sockfile 2.0 a go.

@astronautlevel How do I tell what my speed using sockfile is?

Edit: Nevermind. Figured it out. Tests using the same 1.7GB cia:

Socketpunch GUI w/ FBI 1.4.17 = 1500KB/s
Socketpunch GUI w/ FBI 2.x = 1000KB/s
Sockfile 1.0 w/ FBI 1.4.17 = 1500KB/s
Sockfile 2.0 w/ FBI 2.x = 1200KB/s

1.4.17 is still faster for me. I've seen others comment on this also. I'll just keep both versions installed for the time being. Thanks for your help. :)
 
Last edited by D34DL1N3R,
  • Like
Reactions: D34DL1N3R
Would it be feasible to make FBI update itself? Or have an update menu option to look for an update and install it?
 

Site & Scene News

Popular threads in this forum