Having trouble generating a 7.x .cia

Discussion in '3DS - Flashcards & Custom Firmwares' started by kevin_1351, Nov 8, 2014.

  1. kevin_1351
    OP

    kevin_1351 Member

    Newcomer
    31
    26
    Apr 20, 2014
    Swaziland
    Lugano, Switzerland
    I used the key.bin and got my xorpads, and now what?

    There are five of them (having a 004000000xxx in front of them/as a prefix)
    • Main.exefs_7x.xorpad
    • Main.exefs_norm.xorpad
    • Main.exheader.xorpad
    • Main.romfs.xorpad
    • Manual.romfs.xorpad
    It's really confusing because the people writing the so called noob guides point to different threads right at say step 4.... As if writing those extra 4 lines would be something super hard and timeconsuming to do.
    I tried to simply skip the norm and to rename the 7x one simply main.exefs. But that didn't work either.
    Also because I'm using the newest makerom/ctrtool the filenames are changing too, thus making the batch scripts useless. And I also tried to just input everything manually but it didnt want to compile...
    So now to my question. Could someone tell me what commands I have to use for ctrtool and makerom to get a 7.x rom working? Is is the same? Do I need all xorpads(the norm for instance)? If not, why are they being generated?
    Thanks a lot in advance.
    IMO it's better to make a quick database for the RSFs cause as of right now the whole situation is a mess.
    If anyone is interested I could make one quickly and host it aswell. It would be similar to http://3ds.essh.co/ but more simplistic.
     
  2. Quincy

    Quincy Your own personal guitarist :3

    Member
    1,436
    66
    Nov 13, 2008
    Netherlands
    Your house, robbing your stuff
    Use the noob/dummy guide. I just did this like 15 minutes ago and (altho with some hickups on my side) it worked flawlessly. On the xorpads, you'd want the norm, exheader and romfs pads. Ignore the manual and 7x pads
     
  3. Relys

    Relys Master of Computer Science

    Member
    863
    788
    Jan 5, 2007
    United States

    No, you need to merge the ExeFS xorpads for games with 7.x crypto. Do you think they're generated for no reason???

    https://github.com/Relys/3DS_NCCH_Decryptor/blob/master/MEX.py

    'Usage: MEX.py encryptedExefs normalCryptoXorpad 7xCryptoXorpad outputXorpad'

    Then take the output xorpad and xor it with the encryptedExefs.
     
    Queno138 and VerseHell like this.
  4. Quincy

    Quincy Your own personal guitarist :3

    Member
    1,436
    66
    Nov 13, 2008
    Netherlands
    Your house, robbing your stuff
  5. Relys

    Relys Master of Computer Science

    Member
    863
    788
    Jan 5, 2007
    United States

    It's nuked.
     
    Queno138 likes this.
  6. kevin_1351
    OP

    kevin_1351 Member

    Newcomer
    31
    26
    Apr 20, 2014
    Swaziland
    Lugano, Switzerland

    Yeah that's the reason I was asking. It made no sense. And maybe I'm blind but this isn't anywhere to be seen on that thread. Thanks a lot for your reply. And sorry for starting yet another thread on this topic...
     
    Queno138 likes this.
  7. Queno138

    Queno138 Ravens

    Member
    2,412
    782
    Sep 18, 2010
    Senegal
    Luigi's Dark Mansion

    HOLY CRAP I DID NOT REALISE WHAT MEX.PY does.

    since some games worked with the 7x xorpad, I ignored it.

    never the holy shit realized


    Thanks for waking me up XDDD

    (was feeling sleepy, its 9am here and I haven't slept a wink)


    so now, how do I tell which games needs the xorpads merged,
    since I think one or two games survived without the xorpad.



    my smash launched fine.
    (though, I didn't try to save, maybe it'll crash then?)
     
  8. kevin_1351
    OP

    kevin_1351 Member

    Newcomer
    31
    26
    Apr 20, 2014
    Swaziland
    Lugano, Switzerland

    So I'm not the only one then huh?
    Not to be a pain but I really think this stuff isn't that well documented. Ok it's rush hour right now thanks to CFW and co. but still; it doesn't take ages to write a decent 50 line readme.
     
    Queno138 likes this.
  9. Quincy

    Quincy Your own personal guitarist :3

    Member
    1,436
    66
    Nov 13, 2008
    Netherlands
    Your house, robbing your stuff
    Relys it might be nuked, but it is working here!

    and it seems i am not the only one xD
     
  10. Queno138

    Queno138 Ravens

    Member
    2,412
    782
    Sep 18, 2010
    Senegal
    Luigi's Dark Mansion
    I thought of it, but didn't really test it.
    didn't even realize what mex.py did.

    Too busy testing games and replying threads.

    yup I was nuked indeed.

    If you didn't tag me, I wouldn't have seen this too XDD
     
  11. Quincy

    Quincy Your own personal guitarist :3

    Member
    1,436
    66
    Nov 13, 2008
    Netherlands
    Your house, robbing your stuff
    I was talking about my Sm4sh CIA :P Well, I need to do a rebuild anyhow cuz it doesn't have an header, and I want to play online so I might as well use the 7x xorpad while I am at it :)
     
    Queno138 likes this.
  12. Relys

    Relys Master of Computer Science

    Member
    863
    788
    Jan 5, 2007
    United States
    Then you write one. :rolleyes:
     
    cearp likes this.
  13. Quincy

    Quincy Your own personal guitarist :3

    Member
    1,436
    66
    Nov 13, 2008
    Netherlands
    Your house, robbing your stuff
    Kind of caping the topic here, but I just found out that _without an header_, and _without 7.x xorpads_, online on sm4sh works!! Can anyone back me up on this?
     
    cearp and Queno138 like this.
  14. kevin_1351
    OP

    kevin_1351 Member

    Newcomer
    31
    26
    Apr 20, 2014
    Swaziland
    Lugano, Switzerland

    Well I'm a noob in this field still so that wouldn't be a wise decision. And as previously stated, the scene is on fire right now, so I guess it's pretty obvious why every single thread is a complete mess right now.

    Btw, do we know yet where the .cia is storing its saves? If so why can't we just find the right offset and copy over the entire block? Couldn't the sd tool be used for that?
     
  15. kevin_1351
    OP

    kevin_1351 Member

    Newcomer
    31
    26
    Apr 20, 2014
    Swaziland
    Lugano, Switzerland

    I'll test asap.
     
  16. kevin_1351
    OP

    kevin_1351 Member

    Newcomer
    31
    26
    Apr 20, 2014
    Swaziland
    Lugano, Switzerland
    This is getting silly. I can't figure out how to use that damn MEX tool. Why are there 4 parameters instead of 3? I mean the reason behind this is to merge right? So file 1 + 2 + out. So what am I missing???

    EDIT: nevermind, got it working finally. Damn a manual is needed asap.
     
  17. VerseHell

    VerseHell GBAtemp Psycho!

    Member
    3,067
    1,067
    Jun 29, 2014
    France
    Did you use -desc app:4? I'm stuck on the black screen just after the boot logo, i tried with an without the 7.x xorpad.
     
  18. Quincy

    Quincy Your own personal guitarist :3

    Member
    1,436
    66
    Nov 13, 2008
    Netherlands
    Your house, robbing your stuff
    yep! I followed the dummy guide
     
    VerseHell likes this.
  19. VerseHell

    VerseHell GBAtemp Psycho!

    Member
    3,067
    1,067
    Jun 29, 2014
    France
    Alright thanks, I'll try again tomorrow.