[Release] 3DS_CTR_Decryptor-VOiD

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Relys, Aug 28, 2014.

  1. piratesephiroth

    piratesephiroth I wish I could read

    Member
    10
    Sep 5, 2013
    Brazil
    Try trimming it?

    Also did you drag the rom file onto ctrkeygen.py?
     
  2. daxtsu

    daxtsu GBAtemp Guru

    Member
    14
    Jun 9, 2007
    Antarctica
    What trimmer program would you recommend? And yes, I had an ncchinfo.bin created for the rom already (I even remade it after trimming).

    Edit: I used rom_tool. I'll see if I have any luck..

    Edit 2: Nope, even trimming it still results in the same error. I guess it's simply not compatible right now.
     
  3. tjexp

    tjexp Happy New Year!

    Member
    3
    May 20, 2012
    England
    I just tried using the SD Decrypter and made a SDinfo file but when I go to create the xorpads, I get 578 entries but then it says "Nothing to do"

    Any idea what I'm doing wrong?
    (used the launcher)
     
  4. Relys
    OP

    Relys Master of Computer Science

    Member
    7
    Jan 5, 2007
    United States
    daxtsu tjexp

    Use the latest version of the tools. Don't use any old files.
     
    Margen67 and Queno138 like this.
  5. daxtsu

    daxtsu GBAtemp Guru

    Member
    14
    Jun 9, 2007
    Antarctica
    Thanks, I compiled the newest version and it seems to work now. Now to find something to do while it makes a 3.3GB xorpad. xD

    Edit: Just wanted to confirm that I ended up using the latest NCCH decryptor and made a working CIA out of my Bravely Default game. Woo!
     
    Margen67 and tjexp like this.
  6. tjexp

    tjexp Happy New Year!

    Member
    3
    May 20, 2012
    England
    I used the latest version of the tools and still get the same error
    (I have never formatted my sysnand)
     
  7. Relys
    OP

    Relys Master of Computer Science

    Member
    7
    Jan 5, 2007
    United States

    Ah increase your max entries and recompile: https://github.com/Relys/3DS_SD_Decryptor/blob/master/SDpadgen_src/source/main.c#L21

    Or you can just copy over what you need to a folder and run SDInfo_gen on it. Probably a better idea seeing as you might not even have enough space for all of the xorpads for those entries.
     
    Margen67 and tjexp like this.
  8. tjexp

    tjexp Happy New Year!

    Member
    3
    May 20, 2012
    England
    Thanks, I'll just bump it up to 1000 :D
    Edit:
    It worked!
    Now to wait a very long time
     
  9. Reisyukaku

    Reisyukaku Onii-sama~

    Member
    15
    Feb 11, 2014
    United States
    Out of curiosity, how beneficial would a 3DS rom editor be for you folks? lol
    Heres what i got after ~4 - 5 days of work:

    [​IMG]

    I just wanna make the process faster and it'd also probably be good for noobs, but yea..
    (for those who care about the details, so far is can decrypt the romfs and parse GARCs and and export them.. i've only been testing it on pokemon games, but adding support for other stuff wont be hard.. also im writing it in 2 languages.. C# for the GUI and im compiling C into DLLs that deal with the grunt work)
    Basically im designing this to be used with Rely's decryptor and Gericom's EFE, so it looks for the xorpads with a specific format and it wont have built in editors.. its just a way to edit and rebuild roms... and maybe CIAs some day.
     
    Margen67, extrun20, Relys and 10 others like this.
  10. einstein95

    einstein95 GBAtemp Regular

    Member
    3
    Aug 31, 2013
    New Zealand
    Nice! Any possibility on adding compatibility for HarmoKnight's GARCs? The version info in the header is earlier than X/Y's.
     
  11. cearp

    cearp 瓜老外

    Member
    16
    May 26, 2008
    Tuvalu
    isn't there a little tool that XORs stuff without me having to resize the xorpad/the resulting xored file?
    since the xorpads generated (at least by sd decryptor) are too big, correct?
     
  12. Riku

    Riku GBAtemp Regular

    Member
    6
    May 3, 2009
    United States
    Here it is.
     

    Attached Files:

    • xor.rar
      File size:
      10.1 KB
      Views:
      161
    Margen67 and cearp like this.
  13. cearp

    cearp 瓜老外

    Member
    16
    May 26, 2008
    Tuvalu
    beautiful, i'll keep you updated :)
     
  14. Reisyukaku

    Reisyukaku Onii-sama~

    Member
    15
    Feb 11, 2014
    United States
    as long as the magic is 'GARC' it'll find it
     
  15. intermet

    intermet GBAtemp Regular

    Member
    2
    Jul 19, 2012
    France
    Why xorpad and encrypted file have not the same size ?
    any "xor.exe" for linux ?

    .
     
  16. einstein95

    einstein95 GBAtemp Regular

    Member
    3
    Aug 31, 2013
    New Zealand
    The xorpad is generated with the rounded-up size rather than the exact size, most probably to save space in the *info.bin.
    If you want a xor.exe for linux, simply compile the source http://pastebin.com/CjR8J0PM
     
  17. AHP_person

    AHP_person GBAtemp Fan

    Member
    4
    Nov 2, 2014
    United States
    Okay, so i used the SD Decryptor to decrypt the 1.3 update data for Pokemon X, and I was able to find out that there are a lot of added directories. Starting from a/2/7/1 - a/3/2/1, there are extra garcs. I'm not entirely sure if there are more .cro files, but here's the whole RomFS content list if anyone wants it: http://pastebin.com/vdtRRrEu
     
  18. Reisyukaku

    Reisyukaku Onii-sama~

    Member
    15
    Feb 11, 2014
    United States
    >http://pastebin.com/CjR8J0PM
    I hate to be that guy, but why compare file sizes instead of just:
    while(!(feof(file1) || feof(file2))){ //code }

    basically what i did here
    Although this reads directly from the rom, so it'd work much better in xerpi's program
     
    Margen67 likes this.
  19. cearp

    cearp 瓜老外

    Member
    16
    May 26, 2008
    Tuvalu
    thanks for this source code, i made a mac version (works for me on yosemite at least)
    https://anonfiles.com/file/89088226cf98bcb1295c27e540247756 --- padxorer for mac

    where is the source for the latest version of makerom? i think there are 2 different versions or something, i'm a little confused.
    i just want to build that for mac too :)
     
    Ryanrocks462 likes this.
  20. piratesephiroth

    piratesephiroth I wish I could read

    Member
    10
    Sep 5, 2013
    Brazil
    The makerom from this link should be the best one (applestash's vandalized version)

    https://github.com/3DSGuy/Project_CTR/tree/4fcc4665851c80036e56da5bff5346a788dd4fb5
     
Loading...