Can't Decrypt The Binding Of Isaac (CIA)

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Sasori, Jun 12, 2016.

  1. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,355
    787
    Jan 28, 2015
    United States
    I'm trying to use decrypt9 so that I can make a rom hack for this game, however from my understanding it needs to be decypted first before I can rebuild the game.

    However when I try decryptng it I receive an error saying that it can't be done and that it may not be a CIA.

    Is there a way around this?

    The game is The Binding Of Isaac Rebirth if that makes a difference
     
    Last edited by Sasori, Jun 12, 2016


  2. chaoskagami

    chaoskagami Rawr

    Member
    1,017
    1,355
    Mar 26, 2016
    United States
    ↑↑↓↓←→←→BA
    Isaac uses seed crypto. Do you have a seeddb extracted from your NAND/the internet?

    I was once bored enough to install mods on TBoIR on 3DS (it shares literally everything with the PC version), so I kind of know what you're attempting to do.
     
  3. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,355
    787
    Jan 28, 2015
    United States
    I saw its romfs I was surprised that it uses the same file structure.

    I already have my seeddb how do I use it to decrypyt and rebuild the game?
     
  4. chaoskagami

    chaoskagami Rawr

    Member
    1,017
    1,355
    Mar 26, 2016
    United States
    ↑↑↓↓←→←→BA
    Decrypt9. You drop the seeddb in the same folder as the CIA.

    After that, you can either use one of the many 'romfs rebuilder' type GUIs or use ctrtool/makerom manually.
     
    Sasori likes this.
  5. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,355
    787
    Jan 28, 2015
    United States
    It goes into D9Game correct? I have both the seed file and game there but am receiving the same error
     
  6. chaoskagami

    chaoskagami Rawr

    Member
    1,017
    1,355
    Mar 26, 2016
    United States
    ↑↑↓↓←→←→BA
    Where did you get the CIA from? I've seen that error on incorrectly generated ones.

    EDIT: Also, do you have all of the slot keyfiles for decrypt9 / a keydb with all of them?
     
    Last edited by chaoskagami, Jun 12, 2016
  7. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,355
    787
    Jan 28, 2015
    United States
    I got it from a 3dsrom subreddit

    [​IMG]

    keys go in the root, and seed goes into D9Game with the cia right?
     
  8. chaoskagami

    chaoskagami Rawr

    Member
    1,017
    1,355
    Mar 26, 2016
    United States
    ↑↑↓↓←→←→BA
    It looks like you have everything set up properly as far as I can see.

    Can you try DL'ing it as a CIA using CIAngel, and using that instead as a base?

    (Also...nobody uses r/3dsrom. It's dead. Go elsewhere if you must be that guy.)
     
  9. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,355
    787
    Jan 28, 2015
    United States
    It was my goto since I own the game but I could never seem to find the game from my tickets (this was also before CIAAngel was around)

    If I download it from my eshop normally how can I extract the CIA?
     
  10. chaoskagami

    chaoskagami Rawr

    Member
    1,017
    1,355
    Mar 26, 2016
    United States
    ↑↑↓↓←→←→BA
    You can't extract it once it's installed, afaik. Or if you can, it hasn't been done yet.

    You CAN use PlaiCDN and a dump of your own console's decTitleKeys.bin to download it off nintendo's servers as your console would recieve it. Of course, you said you lost your keys, and a illegitimate CIA occupies the same title, so...
     
    Last edited by chaoskagami, Jun 12, 2016
    Sasori likes this.
  11. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,355
    787
    Jan 28, 2015
    United States
    How would I go about just downloading and not installing the CIA with CIAngel then?

    I appreciate the help
     
  12. chaoskagami

    chaoskagami Rawr

    Member
    1,017
    1,355
    Mar 26, 2016
    United States
    ↑↑↓↓←→←→BA
    R and L cycle modes. One of them is 'Download CIA' which generates a CIA file for the game in /CIAngel.
     
  13. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,355
    787
    Jan 28, 2015
    United States
    Gives me an error saying that it can't create a CIA lol

    edit: now I cant seem to find the game on ciaangel..
     
  14. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,355
    787
    Jan 28, 2015
    United States
    Just used PlaiCDN and it worked, should I worry about it failing at 0x?

    [​IMG]
     
  15. morvoran

    morvoran GBAtemp Regular

    Member
    153
    62
    Dec 19, 2010
    United States
    LOL! 0x failed means that the decryption process failed zero times. That means everything went ok.
     
    chaoskagami and Sasori like this.
  16. chaoskagami

    chaoskagami Rawr

    Member
    1,017
    1,355
    Mar 26, 2016
    United States
    ↑↑↓↓←→←→BA

    D9 can process multiple things. You only have one there (TBoI:R), therefore:

    Code:
    1x processed / 0x failed
    means 1/1 decryptions succeeded. You have it decrypted now.
     
    Sasori likes this.
  17. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,355
    787
    Jan 28, 2015
    United States
    I got it working, thanks. Now I just need to figure out why the mods wont work lol It replaced the sound, but not the graphics, and hte game crashes

    rip

    Just trial and error now ;p
     
  18. chaoskagami

    chaoskagami Rawr

    Member
    1,017
    1,355
    Mar 26, 2016
    United States
    ↑↑↓↓←→←→BA
    Any mods that require Afterbirth won't work, fyi. Rebirth-only.
     
  19. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,355
    787
    Jan 28, 2015
    United States
    I figured as much. Just trying to push its limits :P
     
    chaoskagami likes this.
  20. chaoskagami

    chaoskagami Rawr

    Member
    1,017
    1,355
    Mar 26, 2016
    United States
    ↑↑↓↓←→←→BA
    The problem is much of what was added in AB is hardcoded in the executable, so with no version of AB for the 3DS, there's nothing that can be done about that. You can probably get away with older versions of basement renovator, at least, and possibly the item description clarification stuff.