Hacking (4.x only) CIA CFW Complete Guide

  • Thread starter Thread starter palantine
  • Start date Start date
  • Views Views 550,421
  • Replies Replies 2,082
  • Likes Likes 29
You can use that one, from SDK 2.3.4. You don't need to generate xorpads, it's already decrypted. Just run
ctrtool --exheader=exheader.bin --romfs=romfs.bin --exefs=exefs.bin --logo=logo.bin Config.csu
ctrtool -t exefs --exefsdir=exefs exefs.bin --decompresscode
 
I'm having a noob moment right now with this tutorial.

It says that I need to connect to the internet with the 4.1 3DS, does that mean I'll get prompted to update to 9.0 during the process of installing the .cia?
 
You can use that one, from SDK 2.3.4. You don't need to generate xorpads, it's already decrypted. Just run
ctrtool --exheader=exheader.bin --romfs=romfs.bin --exefs=exefs.bin --logo=logo.bin Config.csu
ctrtool -t exefs --exefsdir=exefs exefs.bin --decompresscode

I tried that but it doesn't generate the .cia file
 
I'm having a noob moment right now with this tutorial.

It says that I need to connect to the internet with the 4.1 3DS, does that mean I'll get prompted to update to 9.0 during the process of installing the .cia?
Probably, but the update nag is the price you must pay for running a 3DS CFW right now.
 
I tried that but it doesn't generate the .cia file

Those commands were just for extracting the files. Put the text from the pastebin I linked into a file called Config.rsf, then run
makerom -f cia -rsf Config.rsf -target t -o Config.cia -exheader=exheader.bin -icon exefs\icon.bin -banner exefs\banner.bin -code exefs\code.bin
 
Those commands were just for extracting the files. Put the text from the pastebin I linked into a file called Config.rsf, then run
makerom -f cia -rsf Config.rsf -target t -o Config.cia -exheader=exheader.bin -icon exefs\icon.bin -banner exefs\banner.bin -code exefs\code.bin

It created the cia. I installed it but when i try to start it says SD Removed. My console is european. Could that be the problem?
 
Ok, so I'm trying to figure out if I'm using the right settings or not here. I know the main content uses Index 0, and the Manual uses Index 1, but what does the Update use, and what about the ID? Does this look right for importing both the manual and the update data?

Code:
makerom -f cia -rsf cia.rsf -target t -desc app:4 -icon icon.bin -banner banner.bin -exefslogo -code code.bin -exheader decrypted_exheader.bin -romfs decrypted_romfs.bin -content manual.cfa:1:1 -content update.cfa:7:7 -o Install.cia

I'm just not sure if the ID or Index is the malleable one, or both.

The switch is written like this:

Code:
-content XXXXX.cfa:<index>:<id>

If it's just the ID that must be 7, then I'd think it was more like:

Code:
makerom -f cia -rsf cia.rsf -target t -desc app:4 -icon icon.bin -banner banner.bin -exefslogo -code code.bin -exheader decrypted_exheader.bin -romfs decrypted_romfs.bin -content manual.cfa:1:1 -content update.cfa:2:7 -o Install.cia

Anyway, I'll try everything and test if no one knows, but else I'd prefer to not waste 3 hours installing broken CIA files without it being necessary.

Edit: Well, after attempting a few combinations on multiple consoles, I'm going to say that it has nothing to do with the region flag or presence of the update data. I'll see if I can work out anything in the rsf file for now.

As an aside, the exheader is saying that it doesn't initialize the card's SPI, so maybe it would work as a CARD2 type instead. Lots of things to try anyway, I'll figure it out eventually.

Edit2: I think it's an issue with allowed syscalls, I'm working on figuring them all out right now.
 
Well, minor update. Fire Emblem - Awakening just presents the error screen for me, so there's obviously something wrong. I'll have to look into it later, too busy with other stuff right now to figure it out.

I feel like it has something to do with the fact that it has 3 sectors, so a separated manual and separated update data. I'll try rebuilding the CIA later with everything injected. If nothing else, I recall a number of games that didn't like to start when their update data was stripped. This could be one of those games, I personally just don't remember.


If you figure out how to fix Fire Emblem, I'd be interested in knowing. :)

As a side note, I'll try Bravely Default next..
 

Site & Scene News

Popular threads in this forum