Homebrew [Release] FBI - Open source CIA installer

  • Thread starter Deleted User
  • Start date
  • Views 1,495,574
  • Replies 4,207
  • Likes 102

liomajor

Well-Known Member
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
0
XP
1,373
Country
United States
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

Michierusama

Well-Known Member
Member
Joined
May 13, 2014
Messages
583
Trophies
0
Location
GBAtemp
XP
361
Country
United States
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
 

Damin72

Well-Known Member
Member
Joined
Aug 17, 2015
Messages
284
Trophies
0
Age
27
XP
1,762
Country
Russia
BXVDkIGHQdU.jpg

How to fix? =(
 

liomajor

Well-Known Member
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
0
XP
1,373
Country
United States
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.
 

Michierusama

Well-Known Member
Member
Joined
May 13, 2014
Messages
583
Trophies
0
Location
GBAtemp
XP
361
Country
United States
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
 

qlm2009

Well-Known Member
Member
Joined
Oct 28, 2015
Messages
101
Trophies
0
XP
114
Country
Switzerland
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.
 

jimmyleen

Well-Known Member
Member
Joined
Feb 28, 2016
Messages
1,171
Trophies
0
XP
704
Country
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?
 

qlm2009

Well-Known Member
Member
Joined
Oct 28, 2015
Messages
101
Trophies
0
XP
114
Country
Switzerland
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
 

D34DL1N3R

Nephilim
Member
Joined
Dec 6, 2008
Messages
3,670
Trophies
1
XP
3,220
Country
United States
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,

astronautlevel

Well-Known Member
Member
Joined
Jan 26, 2016
Messages
4,128
Trophies
2
Location
Maryland
Website
ataber.pw
XP
5,008
Country
United States
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
 

D34DL1N3R

Nephilim
Member
Joined
Dec 6, 2008
Messages
3,670
Trophies
1
XP
3,220
Country
United States
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,

moghedien

Well-Known Member
Member
Joined
Mar 9, 2015
Messages
411
Trophies
0
XP
317
Country
United States
  • Like
Reactions: D34DL1N3R

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BakerMan @ BakerMan: as to you