Hacking (4.x only) CIA CFW Complete Guide

  • Thread starter Thread starter palantine
  • Start date Start date
  • Views Views 546,087
  • Replies Replies 2,082
  • Likes Likes 29
I tried to convert a .3ds rom (gateway dump) to a .cia file.
So I used rom_tool (on windows) to extract to a cxi and a cfa file from the rom with this command :
Code:
rom_tool -x <directory for extracted files> Test.3ds
Then I used makerom to convert the cxi and the cfa file to a .cia file with a command like this
Code:
makerom -f cia -content homebrew.cxi:0:0 -content manual.cfa:1:1 -o homebrew.cia
I got these errors
Code:
[CIA WARNING] Common Key could not be loaded, CIA will not be encrypted
[NCCH ERROR] Failed to load ncch aes key
[CIA WARNING] CXI AES Key could not be loaded
      Meta Region, SaveDataSize, Remaster Version cannot be obtained
but a .cia was generated, i imported it with the devmenu, it succeeded but when I tried to launch it I have the black screen error. What did I do wrong?


I seam to have got better at extracting the .cix and .cfa file using romtool.exe / rename game to test.3ds , I also had to rename rom_tool.exe to romtool.exe

Code:
romtool -x --extract= test.3ds

then the new files where there .

JJawWsx.png


Now it's just how to get into the .cia format as you where having issues with

----

EDIT : "but a .cia was generated, i imported it with the devmenu, it succeeded but when I tried to launch it I have the black..."

It's possible the game has be within the 4.5 firmware limit to .... just a thought , that's why black...

--------------

EDIT: Jez fucking hell :)

It converted to .cia file!. and hex very close match in HexCmp.exe as header goes / homebrew.cia

Code:
makerom -f cia -content CTR-N-TAEP_0_APPDATA.cxi:0:0 -content CTR-P-CTAP_1_MANUAL.cfa:1:1 -o homebrew.cia

But just one snag... just the one error as sown in cmd on image ? .

Now both Super.Mario.Bros.Deluxe.EUR.VC / bbb-n-qa5p.cia and Legend.Of.Zelda.EUR.NES.VC / bbb-n-taep.3ds , might as well be bbb-n-taep.cia now from homebrew.cia

nBVNfd2.png
[/code]

EDIT: here all all tools if needed, with needed .dll files for XP

makerom_ctrtool_pluss_dlls_mctrtool.rar

https://mega.co.nz/#!1Y4ixKCQ!JEtWFzcptJszkAun-pik_2Wto7MiU6czegZVL04hd1Y

-------------

EDIT: Proof GameIDs in the .cia mixed data, rename game.

RqsNH4y.png
 
I will be using 2 different sd cards for this. One of the cards has emunand with stuff bought on it. The other is a blank sd card. If I try to repair the blank sd card will the stuff on the emunand disappear? Please help
 
Thanks, can you had this please?
http://jheberg.net/captcha/gateway-rop-launcher/

It's Riku cfw Launcher.dat, Gateway ROP compatible. It's useful if you're 2 sd card, one with gateway emunand and one with the cfw, ye ou don't have to execute the rop multiloader every time.


This is actually what I did in the update. Now you don't have to use rop multiloader anymore.
 
  • Like
Reactions: VerseHell

Site & Scene News

Popular threads in this forum