Homebrew [Release] FBI - Open source CIA installer

  • Thread starter Deleted User
  • Start date
  • Views 1,495,653
  • 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
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
    Karma177 @ Karma177: @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really...