how to make the CIA from my eShop .apps?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Broadway, Apr 11, 2015.

  1. Broadway
    OP

    Broadway Member

    Newcomer
    25
    5
    Jan 28, 2015
    Bahrain
    Ok, I want to make a CIA-backups of my Unchained Blades and NightSky.

    I've already created xors, using rxTools. what to do next?

    [​IMG]


    I need the CIA, from which I was able to extract romfs files
     
    Margen67 likes this.
  2. zoogie

    zoogie simple pimp tool

    Member
    6,250
    7,919
    Nov 30, 2014
    United States
    xor the xorpads against your .app files (should be 2 usually) then,

    makerom -f cia -o output.cia -target t -i 00000000_decrypted.app:0:0 -i 00000001_decrypted.app:1:1
     
    Margen67 likes this.
  3. Broadway
    OP

    Broadway Member

    Newcomer
    25
    5
    Jan 28, 2015
    Bahrain
    I am getting this when trying to create cia:
    Code:
    F:\cia 2>makerom -f cia -o output.cia -target t -i 00000000.app.out:0:0 -i 00000
    001.app.out:1:1
    [MAKEROM ERROR] Content 0 is corrupt
     
  4. zoogie

    zoogie simple pimp tool

    Member
    6,250
    7,919
    Nov 30, 2014
    United States
    Open up the apps you think are decrypted in hex editor. if there is no 'NCCH' at 0x100, then you didn't decrypt it correctly.
     
    shinyquagsire23 likes this.
  5. Broadway
    OP

    Broadway Member

    Newcomer
    25
    5
    Jan 28, 2015
    Bahrain
  6. Broadway
    OP

    Broadway Member

    Newcomer
    25
    5
    Jan 28, 2015
    Bahrain
    I still do not know how to make it work:unsure:
     
  7. zoogie

    zoogie simple pimp tool

    Member
    6,250
    7,919
    Nov 30, 2014
    United States
    You didn't show what was at 0x100 but I assume it's wrong anyway.

    If you have an old 3ds I suggest using rxtools to decrypt. It skips the unnecessary xorpad stuff. Easier.
     
  8. Fatalanus

    Fatalanus GBAtemp Advanced Fan

    Member
    586
    209
    Jan 4, 2015
    Romania
    Unchained blades? I had the game on PSP, and it was AWESOME!
     
  9. Broadway
    OP

    Broadway Member

    Newcomer
    25
    5
    Jan 28, 2015
    Bahrain
    I can only generate xor using rxtool, when I select decrypt ctr titles - it displays "0 titles are decrypted" and nothing more. probably this only works with roms, not with apps.

    yeah, if only there was way for repack it
     
  10. Fatalanus

    Fatalanus GBAtemp Advanced Fan

    Member
    586
    209
    Jan 4, 2015
    Romania
    Repack? Because it's in English, or something like that?
     
  11. VerseHell

    VerseHell GBAtemp Psycho!

    Member
    3,067
    1,067
    Jun 29, 2014
    France
    Why don't you just use FunkyCia?
     
  12. Broadway
    OP

    Broadway Member

    Newcomer
    25
    5
    Jan 28, 2015
    Bahrain
    can I extract romfs content from cia obtained from this way?
     
  13. Broadway
    OP

    Broadway Member

    Newcomer
    25
    5
    Jan 28, 2015
    Bahrain
  14. cearp

    cearp the ticket master

    Member
    7,470
    4,707
    May 26, 2008
    Tuvalu
    if you want to extract the romfs, why do you want to create a cia?
    just extract the contents from cdn (or your sd card).

    your title says you want to make a cia, but your post says you want to extract romfs. they are different things :)
     
    Margen67 likes this.
  15. Broadway
    OP

    Broadway Member

    Newcomer
    25
    5
    Jan 28, 2015
    Bahrain
    how to make it?