ROM Hack [Tutorial] How to Decrypt, Extract & Rebuild a CIA

  • Thread starter Thread starter Asia81
  • Start date Start date
  • Views Views 321,153
  • Replies Replies 290
  • Likes Likes 22
Status
Not open for further replies.
When I press SD padgen, it instantly says AN ERROR OCCURED. I have the right path set and I followed the steps, I'm not sure what's wrong. It's pretty annoying.
 
Tried already, still returns me back to the Your Choice screen after I type everything. For reference here is a screenshot:

First I type SDK7, then this:

SEPHoqg.png


then I select no to decompressing code.bin

And back to the choice again.

I'm probably doing some newbie tier mistake somewhere but I don't know where :s


Wrong Name. :P

000400000011C400

Try this 000400000011C400.Main.exefs_7x

Same for the Other.

All whitout the File End (.xorpad)
 
When I press SD padgen, it instantly says AN ERROR OCCURED. I have the right path set and I followed the steps, I'm not sure what's wrong. It's pretty annoying.

I'm having this error right now too.. but I'm kinda confused by the tutorial, in the tutorial I see:

Enter in this folder, go in the content folder, copy the .app file, and put it in the PackHack folder.

for my .cia update, there are 2 .app files and a .tmd file (in the content image uploaded)

which should I put in the PackHack folder?

---

also, in the tutorial this is mentioned:

  • Install a CIA on your Gateway EmuNand, but she need to be linked with your SysNand.

I installed the cia in emunand, and some extra data from another game in sysnand, they both installed in the same folders, so I only have one folder inside "Nintendo 3DS"

is that linked?

Edit:

I installed the .cia update to sysnand by ditching the emunand from the sd card, and still the error happens..

I attached another image with the error
 

Attachments

  • content.PNG
    content.PNG
    4.4 KB · Views: 314
  • 1436939041298-662456632.jpg
    1436939041298-662456632.jpg
    432.3 KB · Views: 300
Last edited by wiibomb,
There is something interesting I noticed, the SDinfo.bin is making paths to the files in the Nintendo 3DS folder in order to make xorpads of those.

I tried to erase the other folders (extdata and dbs) to leave only the "title" folder with the desired files ( .app files) so the SDinfo.bin makes paths of only that content folder..

But still, when I run 'SD padgen' in the '3DS multitool' the same error happens when trying to generate the first xorpad.

Any clue why is this happening? I have followed perfectly the tutorial several times but, still fails at that point
 


Just a heads up to everyone including this guy who wanted to make this tutorial, it doesn't work, and right now as the 3.2 pack, it won't

The python files are generating wrong xordpads and will never decrypt in the SD Padgen step of the tutorial, besides that, the Hackingtools.bat has changed and the last step is not possible.

I tried to pm Asia81 about this issue because I provided most of the solution, but I have been blatantly ignored since then. (I guess the user doesn't care anymore?)
 
Just a heads up to everyone including this guy who wanted to make this tutorial, it doesn't work, and right now as the 3.2 pack, it won't

The python files are generating wrong xordpads and will never decrypt in the SD Padgen step of the tutorial, besides that, the Hackingtools.bat has changed and the last step is not possible.

I tried to pm Asia81 about this issue because I provided most of the solution, but I have been blatantly ignored since then. (I guess the user doesn't care anymore?)

Lol ?
It's just because I haven't time for update the tutoriel, atm.

And if you have a wrong xorpad, try to download the latest Decrypt9 in his thread.
It's working for me...
 
Lol ?
It's just because I haven't time for update the tutoriel, atm.

And if you have a wrong xorpad, try to download the latest Decrypt9 in his thread.
It's working for me...

I know people have their own life and they cannot run at every correction to their things, but i seriously think it isn't that difficult to reply back telling whatever in response, not ignoring the PM as if didn't took the time to get to you and send the correction.

Decrypt9 as i understand is for those with a new 3ds and 9.2 or for those using ninjhax, the problem is with all the other people who are running the decrypting method on an old 4.5 system, I checked the files and the SD_Info_normal.py is generating a wrong the xorpad, and in the decrypt9 folder there is a SDinfo_gen.py which is the exact same code...

I already generated the xorpad with that another python file I got. I already sent it to you.

Still there is the problem from the last step with the hackingtools which never take out the encrypted .bin files from the cia.. i still need to figure out why the ctrtools cannot open the cia file
 
Remind me what are you using for get your xorpad and your exact problem.
Which console ?
Which firmware ?
Cubic Ninja ?

I will try to help you.
 
Remind me what are you using for get your xorpad and your exact problem.
Which console ?
Which firmware ?
Cubic Ninja ?

I will try to help you.

I'm trying to decrypt the 1.1 update of Monster Hunter 4 Ultimate, I have been using the Gateway exploit on a old 4.5 original 3ds, so far I succesfully made the xorpads by using the python file I sent you, but right now I'm stuck at the last step "Extract the CIA"

i wrote.. SDK7 then a window appeared saying to write the filename, which I put mh4update.cia (the cia file I have) then asked the unique ID, which I wrote 0004000E00126300.

But then an error appears saying "Error opening input file 1"

I know that has to do with ctrtools, because I tried to execute the exact same line (-p --exheader=EncryptedExHeader.bin mh4update.cia) on a cmd command alone and the same error appears. It never extracts the encrypted files
 
@LucaSmash and @wiibomb
I'm so sorry, I just seen I made some errors in the instructions.
Download the latest pack if not done already (1.2) and try again from the beginning
 
@Asia81

Oh so that was it, well thanks!!... and about the wrong pack, even with the other pack I could decrypt the update, now I have the files decompressed, thanks..

I'm going now to the other thread to check the rebuilding... thanks
 
I don't know what's your problem...
What are you using for get your xorpad ?
What's the CIa ?
 
Rhythm Tengoku The Best Plus, https://mega.nz/#!7lQmXYbS!tasTL1FVQEwYcIXNYjD55sN5_4j0OAPnSb6TVD99w6c is the SDinfo @wiibomb , I must have missed something because I'm not understanding how the Launcher program knows what CIA to look for, since the SDinfo program doesn't exactly seem to take any info from the app files.


Yup, i checked the bin file and it is wrong, as it is right now the SD Padgen won't make any xordpads, I'll upload the correct python you have to take, will quote you later with the download of it...

As for your question, if you look at the hex editor of that bin file, you will see that there are several paths of files for the 3ds folder your have (in fact I could see which files you have on your Nintendo 3ds folder haha), with the SD Padgen, you will just generate the xordpads based on your files in your 3DS folder... that's why the cia is not needed

--------------------- MERGED ---------------------------

Ok, I got it @LucaSmash

Please download this little file:

https://mega.co.nz/#!x8IQFYzZ!YqdpMl6vmFXE5k6609z92MsYdULnyPYhCN1cdR_qfDU

Replace the SD_Info_Normal.py for this same file I uploaded, then try to make the SDInfo.bin again following the steps from this guide...

(Hackingtools.bat -> SD -> folder path)

Then try the SD Padgen and post if it worked
 
Last edited by wiibomb, , Reason: sorry, wrong link
Yup, i checked the bin file and it is wrong, as it is right now the SD Padgen won't make any xordpads, I'll upload the correct python you have to take, will quote you later with the download of it...

As for your question, if you look at the hex editor of that bin file, you will see that there are several paths of files for the 3ds folder your have (in fact I could see which files you have on your Nintendo 3ds folder haha), with the SD Padgen, you will just generate the xordpads based on your files in your 3DS folder... that's why the cia is not needed

--------------------- MERGED ---------------------------

Ok, I got it @LucaSmash

Please download this little file:

https://mega.co.nz/#!x8IQFYzZ!YqdpMl6vmFXE5k6609z92MsYdULnyPYhCN1cdR_qfDU

Replace the SD_Info_Normal.py for this same file I uploaded, then try to make the SDInfo.bin again following the steps from this guide...

(Hackingtools.bat -> SD -> folder path)

Then try the SD Padgen and post if it worked

Awesome!! It's creating the XORPads right now. Thank you so much!! :) Do these XORPads have to do with the CIA game or my 3DS??? I have to still do the NCCH pads too.

Edit-

Nevermind I understand that it gets the XORPads of all of my 3DS games and stuff, but now the next step is VERY vague. It says "Enter the file name (Without Extension)"... WHAT FILE??? I tried the XORPad twice and the App file with the XORPad, none worked.
 
Last edited by LucaSmash,
Awesome!! It's creating the XORPads right now. Thank you so much!! :) Do these XORPads have to do with the CIA game or my 3DS??? I have to still do the NCCH pads too.

Edit-

Nevermind I understand that it gets the XORPads of all of my 3DS games and stuff, but now the next step is VERY vague. It says "Enter the file name (Without Extension)"... WHAT FILE??? I tried the XORPad twice and the App file with the XORPad, none worked.

There is an .app.out file you must have from this process, that is the one you must use, besides that, in the next step, which is the unique id of the file, you must put the big number in the xorpad files, the one before the first dot (.)
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum