Homebrew [Release] FBI - Open source CIA installer

  • Thread starter Deleted User
  • Start date
  • Views 1,501,277
  • 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,778
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
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
    +1
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
    +1
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
    +1
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D
  • SylverReZ @ SylverReZ:
    @rqkaiju2, Physical media is a great source for archiving your data, none of that cloud storage shiz.
    +1
  • AncientBoi @ AncientBoi:
    [squeezes @SylverReZ onto a physical media, then archives you in my old stuff box] :tpi::rofl2::tpi:
    +1
  • BakerMan @ BakerMan:
    guys, should i change my pfp to one of these or keep it the same?
    iu

    iu

    (i guess i could change it to one of my other pfps too, but i just want to see what you guys think first)
  • SylverReZ @ SylverReZ:
    @BakerMan, Up to you.
  • BakerMan @ BakerMan:
    smug sonic time lmao
    +1
    BakerMan @ BakerMan: smug sonic time lmao +1