Homebrew [Release] FBI - Open source CIA installer

  • Thread starter Deleted User
  • Start date
  • Views 1,505,080
  • Replies 4,207
  • Likes 102
D

Deleted User

Guest
OP
I just updated the release binaries. No major changes, however libkhax and related internals have been updated, so report any issues encountered.
 

d0k3

3DS Homebrew Legend
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Wait, does this actually enable us to install legit CIA to SysNAND via Ninjhax, even on N3DS, with no a additional hardware / software needed (apart from Cubic Ninja, of course)? Is this safe to do or only recommended to 3DS owners with a hardmod?

I have read through several pages so far but haven't found a clear answer on that yet. Still feeling like a noob for not knowing.
 

Joshtech

Well-Known Member
Newcomer
Joined
Dec 1, 2014
Messages
99
Trophies
0
Age
33
Location
Queensland, Australia
XP
1,410
Country
Australia
Wait, does this actually enable us to install legit CIA to SysNAND via Ninjhax, even on N3DS, with no a additional hardware / software needed (apart from Cubic Ninja, of course)? Is this safe to do or only recommended to 3DS owners with a hardmod?

I have read through several pages so far but haven't found a clear answer on that yet. Still feeling like a noob for not knowing.
Yes, you can install legit CIA's on sysNand using FBI. As far as risks go, don't uninstall system apps just in case.
 
  • Like
Reactions: d0k3

sanni

Well-Known Member
Member
Joined
Nov 7, 2003
Messages
142
Trophies
1
XP
1,215
Country
Germany
How do we compile the source?

Here is how I do it(I'm using Linux Mint installed in VMWare Player):

- go here: http://sourceforge.net/projects/devkitpro/files/Automated Installer/
- download the installer that fits your operatin system (e.g. "devkitARMupdate.pl" if you're on Linux)
- install devkitarm (if your on linux open a cmd and type: "./devkitARMupdate.pl" and then: "sudo chmod 777 /***/devkitpro" where *** is the directory it got installed, next open the "enviroment" file in the folder "etc" in your filesystem and add the variables it displayed at the end of the installation)
- go there: https://github.com/smealum/ctrulib
- click download zip, extract it, open a cmd/shell window and type: "make install"
- next do the same for this: https://github.com/Steveice10/ctrcommon
- finally go here: https://github.com/Steveice10/FBI
- open a cmd and type: "make"
 
  • Like
Reactions: kactusss

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
I'm thinking about something, but I don't know if it will be possible as you can only install signed cia (or need CFW).

We already have few translation project for 3DS, and it's hard to release patches as all the ROM is encrypted and it would make a very big (illegal) patch.
What would be interesting is using the update system and packing the patched files as cia. patching file would still require user intervention as we can't share already patched files, but it's just a detail for later.
But the generated cia would not install, right?

Do we know where and how is working game update file system?
Anyone tried to generate custom game update files?
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
I'm thinking about something, but I don't know if it will be possible as you can only install signed cia (or need CFW).

We already have few translation project for 3DS, and it's hard to release patches as all the ROM is encrypted and it would make a very big (illegal) patch.
What would be interesting is using the update system and packing the patched files as cia. patching file would still require user intervention as we can't share already patched files, but it's just a detail for later.
But the generated cia would not install, right?

Do we know where and how is working game update file system?
Anyone tried to generate custom game update files?
NTR is a really good option for game mods/hacks and it can be used with retail carts, only downfall is no 7.x games for the o3ds as NTR 1.0 only supports 4.x

but NTR 2.0 is a very clean way to make and distribute patches as you can just share the raw files, assuming the files are all self made and not just part of a bigger file, but you could always have the user decrypt their own rom and apply a patch to the larger file in those cases.......while title patches may seem better its actually easier using NTR as there is no install process and relying on the end user to have a flashcard/cfw with signature checks patched.....but then on the other hand those patches won't work for gateway users except on NTR1.0 which does allow gateway to be used

unfortunatly it seems things are going to become split down the line, although i guess GW users can always just take the NTR format patches and rebuild the rom using them for use in GW mode
 

bluke

Well-Known Member
Member
Joined
Feb 2, 2010
Messages
137
Trophies
1
XP
342
Country
I tried to install FBI.cia by using sockfile but get the error "Fail to read info. Connection reset by peer."
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
using cia was to simplify the steps.
It's hard and leave place to lot of error and noob guide/tuto/help/re-help/re-re-help, Telling the user how to decrypt, run rxtool, extract, replace, patch, rebuild, etc.
cia idea is easier "install cia ... done"

I was just concern about the signature check. if we can install unsigned/homebrew cia.
I will have to read information on the cia format, I probably don't understand how it works to pack or install content.
 
D

Deleted User

Guest
OP
I tried to install FBI.cia by using sockfile but get the error "Fail to read info. Connection reset by peer."


Are you using the new Java version? If so, it could be a connection issue. If not, its probably because the old version was fairly unstable.
 

bluke

Well-Known Member
Member
Joined
Feb 2, 2010
Messages
137
Trophies
1
XP
342
Country
you can only install signed cia files unless your running FBI on GW/CFW and also its been established that sockfile is a bit unstable atm
Yes I'm run on GW/Emunand.


Are you using the new Java version? If so, it could be a connection issue. If not, its probably because the old version was fairly unstable.

The zip file I download only .exe file, it doesn't have .jar file. So I still need to install java ?
 

bluke

Well-Known Member
Member
Joined
Feb 2, 2010
Messages
137
Trophies
1
XP
342
Country
I just install java and got another error. Gamequest is right.
 

Attachments

  • 1429029815209-821569458.jpg
    1429029815209-821569458.jpg
    226.4 KB · Views: 201

kactusss

Well-Known Member
Member
Joined
Dec 10, 2012
Messages
225
Trophies
0
XP
183
Country
France
"No database" means that the SD title database hasn't been created, I believe. You'll need to download something (even a demo) from the eShop, or do the trick where you create empty "title.db" and "import.db" files in "/Nintendo 3DS/<id0>/<id1>/dbs/" on your SD card, open SD app management in System Settings, and let it repair the files.


Where can I find id0 and id1 ?
 
D

Deleted User

Guest
OP
Where can I find id0 and id1 ?


Unless you have an emuNAND unlinked with your sysNAND, there should only be one folder in Nintendo 3DS, and there should always be only one folder in that folder. Otherwise, I'm not entirely sure myself how to determine which one it is other than checking contents and folder size.
 

Suiginou

(null)
Member
Joined
Jun 26, 2012
Messages
565
Trophies
0
Location
pc + 8
XP
738
Country
Gambia, The
It seems the size of stripped.elf is less than the limit for spider3DS LoadCode. If ctrulib wasn't so dependent on the bss section and bss being initialized to zero, it might be worth looking into making FBI launch directly from spider.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @BigOnYa https://youtu.be/BKLXOGhXrj4?si=4kXpeyCfxwL_k3qC