How can I get a titlekey from a .cia?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by RemixDeluxe, Mar 20, 2017.

  1. RemixDeluxe
    OP

    RemixDeluxe GBAtemp Psycho!

    Member
    4,584
    1,357
    Nov 23, 2010
    United States
    I'd like to get it straight from the .cia file if possible but I dont see how

    I installed the game and then went to decrypt9 and dumped the enctitlekey.bin but I dont see it when I view it in a hex editor.

    What else can I do?
     


  2. Alex4U

    Alex4U edgy

    Member
    1,036
    890
    Jan 6, 2016
    Mexico
    with Snivy, Mystery Zone (Adress 0x00)
    You can use FBI to see the TitleID or 3DSTitlesKeys, you should see here the TitleKeys
     
    Zidapi likes this.
  3. RemixDeluxe
    OP

    RemixDeluxe GBAtemp Psycho!

    Member
    4,584
    1,357
    Nov 23, 2010
    United States
    I see the title in FBI but where is the titlekey?
     
  4. Alex4U

    Alex4U edgy

    Member
    1,036
    890
    Jan 6, 2016
    Mexico
    with Snivy, Mystery Zone (Adress 0x00)
    Go to Titles, and select your game, upper screen will say TitleKey of that game
     
  5. RemixDeluxe
    OP

    RemixDeluxe GBAtemp Psycho!

    Member
    4,584
    1,357
    Nov 23, 2010
    United States
    That is the title ID, not the TitleKey.
     
  6. Alex4U

    Alex4U edgy

    Member
    1,036
    890
    Jan 6, 2016
    Mexico
    with Snivy, Mystery Zone (Adress 0x00)
    Ahhh, maybe you mean this?
    -snip-
    Idk if this is illegal to sharing
     
    Last edited by Alex4U, Mar 20, 2017
  7. Voxel

    Voxel Clumsy Coder

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,144
    5,778
    Jun 27, 2015
    United Kingdom
    England, UK
    Yep, can't share titlekeys here, I'm afraid...
     
    Last edited by Voxel, Mar 20, 2017
  8. cearp

    cearp the ticket master

    Member
    7,392
    4,642
    May 26, 2008
    Tuvalu
    the title key is in the ticket which is in the cia. you can just drag it on FunKeyCIA or FunkyCIA to dump the ticket i think, treating it as a ticket.db.
     
  9. Alex4U

    Alex4U edgy

    Member
    1,036
    890
    Jan 6, 2016
    Mexico
    with Snivy, Mystery Zone (Adress 0x00)
    Whoops, sorry ^^j
     
  10. RemixDeluxe
    OP

    RemixDeluxe GBAtemp Psycho!

    Member
    4,584
    1,357
    Nov 23, 2010
    United States
    I went to the github for it but what am I suppose to use?
     
  11. cearp

    cearp the ticket master

    Member
    7,392
    4,642
    May 26, 2008
    Tuvalu
    this is because decrypt9 only dumps keys from content you have bought/non pirated.

    maybe use cdn-fx, it is java and has a gui.
     
  12. Asia81

    Asia81 In my Ecchi World <3

    Member
    4,844
    2,340
    Nov 15, 2014
    France
    Albi
    Open the CIA in a hex editor.
    EncryptedTitleKey is located at 2BFF-2C0E (length 10)
    [​IMG]
     
    Last edited by Asia81, Mar 20, 2017
    RemixDeluxe and cearp like this.
  13. RemixDeluxe
    OP

    RemixDeluxe GBAtemp Psycho!

    Member
    4,584
    1,357
    Nov 23, 2010
    United States
    I'm familiar with cdn-fx, I used my own enctitlekey and the game is definitely not there so I guess you have a point. So theres no other way aside from purchasing the game right?

    — Posts automatically merged - Please don't double post! —

    I got it. Thank you sir.
     
    cearp likes this.
  14. Sonic Angel Knight

    Sonic Angel Knight GBAtemp Guru

    Member
    9,445
    4,653
    May 27, 2016
    United States
    New York
    Wouldn't it be easier to just install the game and just use decrypt9 to get that kind of information?
     
  15. cearp

    cearp the ticket master

    Member
    7,392
    4,642
    May 26, 2008
    Tuvalu
    you said you have the cia so you can try loading the cia as the ticket.db, maybe cdn-fx doesn't let you?

    but you have a hex editor so just do what asia said above.

    — Posts automatically merged - Please don't double post! —

    already attempted, read the op...
     
  16. RemixDeluxe
    OP

    RemixDeluxe GBAtemp Psycho!

    Member
    4,584
    1,357
    Nov 23, 2010
    United States
    I literally said I did this in my first post.

    I found the title key exactly where he showed it. My last questions, is that the decrypted key or encrypted key? How would I get the other?
     
  17. cearp

    cearp the ticket master

    Member
    7,392
    4,642
    May 26, 2008
    Tuvalu
    encrypted. where did the cia came from?
    unless it was made with 'good' cia tools (like FunkyCIA/FunKeyCIA/CIAngel, cdn-fx) - there is a chance the content is already decrypted and that the title key is junk/wrong.
     
  18. RemixDeluxe
    OP

    RemixDeluxe GBAtemp Psycho!

    Member
    4,584
    1,357
    Nov 23, 2010
    United States
    I'm only doing this so I can contribute to THAT title key site. Otherwise I dont really need to do this for any other reason, it works fine.
     
    cearp likes this.
  19. cearp

    cearp the ticket master

    Member
    7,392
    4,642
    May 26, 2008
    Tuvalu
    that is nice of you thanks, but it depends where the cia came from.
     
  20. RemixDeluxe
    OP

    RemixDeluxe GBAtemp Psycho!

    Member
    4,584
    1,357
    Nov 23, 2010
    United States
    @cearp

    Something is wrong with the titlekey. The site says its invalid. Like you said it has possibly been altered in such a way that its not the original.