Converting .3DS to .CIA for Dummies!

edit: I can't emphasize this enough.
If there are errors, check the guide under T5 first, then learn how to report from there ><


Converting .3DS/3DZ to .CIA Pictorial


Hopefully noob friendly!​

UPDATED! V5.1.4b @ UTC+8 2.45am 24-Nov-14:

Updated calling routine:​
Most questions all in front, so that users can doze off after​
Included the most recent exinjector & rsfgen.py​
Testing 32-bit compatibility​
Note: Haven't updated tutorial, but the prompts should be fool proof.​


Table of contents.
T1 - Disclaimer​
T2 - Basics​
T3 - Requirements​
_____What you need to know, what programs to have.
T4 - The Main Tutorial​
_____Steps 0, 1 & 2.
T5 - Reference code (and how to report errors)​
_____Reference code 1 - 5, Faux errors, how to report errors
T6 - [The not so] Frequently Asked Questions (FAQ)​
_____Is it region free, does .3DZ work, help w/ errors, what not to do
T7 - User Guides and Credits!!!​
_____Valiant effort by our community.
Control+Find the header number (eg: T5 ) to jump to the section!​



T1 - Disclaimer


gbaTEMP and I shall not be responsible for your own misdoing and misdeeds.
Use at your own risk! ;P

T2 - Basics


What are .cia files?​
Basically a somewhat stripped down decrypted version of .3DS files.​
You can't just rename .3DS > .CIA, you have to carry out a set of slightly complicated steps,​
which I have tried to get it dummified.​
Make sure you follow the steps concisely.​

Now, purpose of this tutorial is to guide users to convert 3DS games (not warez, not dev apps) to .CIA files for installation.​
Does not matter whether .3DS or .3DZ, and scene roms won't need to add 'header' to go online (GW users should know what's I'm talking about)​


T3 - Requirements


First off, these are the requirements:​
  1. Using a 3DS that is FW 4.1-4.5 (also known as FW 4.X)
    I recommend that these users get a Gateway 3DS.
    .
  2. A DS flashcart that works on your 3DS, for loading DS profile exploit
    Supercard DStwo or GW blue card (r4i) works.
    Gateway loader works fine. (cannot link you the link)
    .
  3. Install 2.7 Python. You can find it will a quick Google search.
    Or just download the one for your computer from here:
    https://www.python.org/download/releases/2.7/
    .
    ..
  4. This package.
    Paste it on your desktop, in a folder named "CIA"
    http://filetrip.net/3ds-downloads/utilities/download-quenopack-3ds-to-cia-5-1-4b-f33005.html

    Please the files in the folders they were in.
    The program reads the stuff based on the location!
    I will not provide the 7.x key. To find it, simply search the guy who leaked it. ><
    .
  5. A game backup (rom)
    .
  6. Patience, and not fearful of looking at folders with multiple items!
Okay, let's get started.



T4 - The Main Tutorial


Video Version:It's based on older revisions, but still counts.
Thanks to TeamNinja for uploading, and DrWhoJan who brought it to our attention!


Step 0: Tools usage and folder placement
Okay before we begin,
a short reminder: strictly please use only the tools I provided for this tutorial:
http://filetrip.net/3ds-downloads/utilities/download-quenopack-3ds-to-cia-5-1-4b-f33005.html

The folder layout and location of the files are to be the same,
as I have optimized the calling procedure of the .bats (the programs).

Unless you have a working understanding of reading those and modifying them to your liking,
I suggest you follow as I have provided :)

As an addition, follow the images to unblock the .rar, before unzipping:
2CnQzzS.jpg

Step 1: Decrypting the Rom
1a. Getting ncchinfo.bin
Go to CIA\Step 1
Paste your rom in this folder.
Rename it to "rom.3ds"

PL7i0Of.jpg


Drag the rom.3ds onto ctrKeyGen
A file called ncchinfo.bin will be in your directory.

PP2d2Vb.jpg


Now, go to CIA\For 3DS SD Card
Copy the launcher you use over to your 3DS SD card.
I will not provide slot0x25KeyX.bin, so find it yourself.
When you the value, HXD into a blank file, and save as slot0x25KeyX.bin
S5pjz4H.jpg


Also copy and paste ncchinfo.bin into the root of the 3DS SD card.

pxb4yYC.jpg


Now insert SD card back into your 3DS

1b. Getting xorpads
Go to your 3DS.
Run System Settings > Other Settings > Profile > Nintendo DS Profile
n0AavEQ.jpg

5Rc1S0H.jpg

NwOqJMT.jpg

2IjMk6y.jpg

The program will load and run.
Allow it to run until it tells you, that you can turn off your 3DS.

yLff9EH.jpg

YlpCabp.jpg


Once done, insert your SD card back on your computer.
Copy only these xorpads to this directory:
CIA\Step 2
Not every rom provides exefs_7x.xorpad. If you do see it, you must copy it!
Only copy manual.romfs.xorpad if you want to have a user manual option on home screen.

Fo9jCzq.jpg

If you game has Download Play support, and you want it,
copy this too:
5KvoodX.jpg

Step 2: Decrypting + Compiling the .cia!
Move rom.3DS to CIA\Step 2

XipcAm6.jpg


Drag and drop or Double click on 'decrypt and make.bat'

tLI1w0u.jpg


Hit enter, and it will run.
The latest update has all the questions at the start of the process,
so one may mostly doze off and wait after doing so.
The image that says it all!
VZ2EdYp.jpg


When you see this, you are at the end of the program!
If you see install.cia, it means you were successful!

WCurpGN.jpg

"But Queno138, I want to repack another rom, must I unpack again?"
No!
This feature allows you to repack, as long as you have the items there.
It's been around since, 2.0? I just never properly documented it.
5JC08On.jpg


After this image, go up to (continue)

Installation Success!
gCXgRFI.jpg

Custom rsf guide:
OeBfnFQ.jpg


T5 - Reference Codes (and how to report errors)



Reference codes has appeared in the batch program, for ease of referencing.

Genuine Errors
Reference code 1: Required .bins not located.
4KYeogO.jpg

If the required .bins for the operation is not found,
it means that either you deleted it, or it could not be extracted, due to decryption error.

Associated with (and fix):
1. Invalid slot0x25KeyX.bin for FW 7x games (refer to guide on how to acquire it correctly)
2. Files have been moved (kindly keep them in the same place as guide dictates)
3. Decryption error. (Delete everything and try again.)
4. Mismatched tools (Ensure you are using the tools provided)


Reference code 2: rom.3ds not located.
Uxw5lzg.jpg

Decryption cannot be done without the exact file, "rom.3ds"

Associated with (and fix):
1. rom name is not rom.3ds (Kindly rename the rom to rom.3ds)
2. rom not in folder (kindly place rom.3ds in Step 2)


Reference code 3: xorpad not located.
FR5pUbq.jpg

Xorpads are required for decryption

Associated with (and fix):
1. xorpad not named as per guide (simple, eg: 01.exefs_norm.xorpad)
2. xorpad not in directory (don't forget to transfer over the xorpad from 3DS SD card)


Reference code 4: Tools folder not found
R9j5cda.jpg

Tools are required for the operation.

Associated with (and fix):
1. Tools folder has been renamed. (It needs to be named "tools")
2. Tools folder has been moved. (Move it back to the original directory)
3. Tools folder lost. (Redownload and extract the whole package)


Reference code 5: Folders located before decryption
tWxh7lf.jpg

This message only pops up when you have chosen to decrypt a rom.

Associated with:
1. Exefs, Encrypted_bin, decrypted, xorpad folder exists. (delete them before decrypting new rom)
2. Selected choice by accident. (ignore, proceed to pack rom.)

Faux errors:
Some of the text displayed tends to scare users.
If you get any one of these, please don't report, as it's not an error.
VkD4En9.jpg

DcQ4XQY.jpg

Reference code not shown/code persists:
If code persists, or error with no code:
Do us a favor and save each other some time.
Before showing errors,
ensure that:
1. you downloaded the lastest package.
2. followed the tutorial to the latter
3. did not use express
If error still occurs:
1. What Game you are using
2. Inform me if you are using CFW or GW
3. Tell me what error you get in game (or if you don't reach there)
4. screenshot \exefs, \decrypted, \xorpads, \step 2
5. show me the error page on the normal bat

this way, easier for me to identify the error.


T6 - [The not so] Frequently Asked Questions (FAQ)



What must I not do?
Don't go into sysnand and check data management. (content will be deleted)
Don't forget to back up data when necessary (to prevent losing saves)
Don't forget to read T5 of my guide regarding errors. (to not plague this thread)
Don't format 3DS for no reason (I mean, imagine one day you need to upgrade, and can't connect to NNID or something)
Don't update firmware in CFW (cause it stops working)



How to install .cia files
What, you're here without knowing!?
Basically, get Devmenu or bigbluemenu (can't tell you where)​



Will I be able to delete them afterwards?
Devmenu and BBM has options for deleting them.​
Just don't delete your updates or important warez by mistake.​
Check the ID against http://3ds.essh.co/



Does this require FW 4.5 like other exploits
.....​
You think?​
</sarcasm> YES



Does this work with trimmed roms?
YES! (link)​



Does this work with FW 7.X games?
GW = YES!
CFW = NO.
And before you ask, if there were any workarounds​
(well, besides obviously getting a GW that is so worth it now),​
I'll be happy to share.​



Does your tutorial contain "region free and firmware spoofing"?
YES!



Does the package support download play?
YES!



Does this work with .3DZ?
YES!
After all, it's just a file extension. doesn't affect conversion.​



Does your tutorial contain "user manuals"
YES!



I have an existing save on Gateway. Why is it not on the .cia game?
Imagine the .cia game being like an eshop game.​
Every game comes with a new save.​



Are saves brought forward?
NO.
Because that's not how the mechanics of conversion works.​
Gateway makes the redcard 'find and see' the saves, not the homepage apps.​



What about nand saving/card2?
NO.
But ONLY for card2, you can use savefiler or save data transfer tool.​
If you were already playing your roms as a card2, go ahead and transfer :)



Why can't I modify to card2 then transfer?
By making it card2, you broke the header,​
which the 3DS will check if the save is corrupt before transfer.​
Based on the chain of events mentioned, it is considered corrupted.​



Can user manuals be repacked together?
YES!
Take note that if using different region game,​
enable region free.​



Does this work with VC roms?
NO (link) or YES? (link)​
Try it yourself!​



Does this conversion method work with Dev apps (devmenu and SDK stuff)
NO!
However, link to show you how to get them converted: (link)​



Do I need .rsf files?
Up to you. The batch program will generate one for you,​
but if you follow the prompt, you can insert your own.​
Not all work at the moment.​



Can I load games above 4.5 on CFW?
From what I know, some games require firmware spoofing​
and the FW6/7 games is a big NO



Where can I find slot0x25KeyX.bin/7.X keys?
Can't tell you where. But I know who has it (the guy you leaked it, duh)​
get it, type it in hex using HXD, save as slot0x25KeyX.bin​
Paste it into your SD card.​



Why do I see no errors but there is no .cia?
Most likely you are using express. IF you are noob, just don't.​
Chances are it's decryption or your key 7 is wrong.​
Go to section T5, it'll teach you something.​



It says not enough memory, why? I have x GB ram.
Well, your computer probably already runs a lot of processes,​
and packing the rom can take up to 2-3x it's original size.​

Don't tell me you got 16GB ram.​
Just go o into safe mode, and launch the .bat there.​
As long as the folders are still there,​
you can choose to continue with repacking, without re-depacking.​
If it still doesn't work,​
rename _makerom.exe to makerom.exe and try again.​
I've already added a new makerom to circumnavigate that,​
but I still recommend keeping your processes low.​



Help, can't drag and drop on python
try either option:​
put this into a .bat
Code:
c:\Python27\python.exe" ctrKeyGen.py %1
then drag and drop the rom.3ds onto the .bat

Or

Code:
regedit
 
[HKEY_CLASSES_ROOT\Python.File\shellex\DropHandler]@="{60254CA5-953B-11CF-8C96-00AA00B8708C}"
 
[HKEY_CLASSES_ROOT\Python.NoConFile\shellex\DropHandler]@="{60254CA5-953B-11CF-8C96-00AA00B8708C}"
 
[HKEY_CLASSES_ROOT\Python.CompiledFile\shellex\Drop Handler]@="{60254CA5-953B-11CF-8C96-00AA00B8708C}"


What is the express.bat in your package
It's a program NOT for noobs.​
It doesn't ask questions; simply repacks if there are folders,​
decrypt and unpack if there are xorpads​
Doesn't prompt, just runs.​
It has some preset settings.​
It won't decrypt the whole romfs.bin. Creates its own rsf.​
Due to it's nature, error prompts might be skipped.​
So I repeat,​
It's a program NOT for noobs.​



Help, my errors aren't resolved!
Do us a favor and save each other some time.​
Before showing errors,​
ensure that:​
1. you downloaded the lastest package.​
2. followed the tutorial to the latter​
3. did not use express​
If error still occurs:​
1. What Game you are using​
2. Inform me if you are using CFW or GW​
3. Tell me what error you get in game (or if you don't reach there)​
4. screenshot \exefs, \decrypted, \xorpads, \step 2​
5. show me the error page on the normal bat​
this way, easier for me to identify the error.​
Wondering if you have a faux error?​
Ctrl Find "T5"​

T7 - User Guides and Credits!!!



Palantine and the CFW and CIA guide that (almost) started it all!:​
gamesquest1; the first ever decrypting guide I could understand:​
ryanrocks462, which I also cross refer to:​
Versehell's also very comprehensive guide:​
Liomajor's first most automatic guide:​
piratesephiroth's Exinjector!​
Kyogre123's savedatafiler tutorial​
relys and the NCCH/SD programs!​
ground, whom I never spoke to, but I thank your efforts in Exheader research!​
Vappy's, rsfgen.py!​
Also to neimod, 3DSguy, 3Dbrew, and many others that slipped my mind!​
And last but not least,​
everyone on gbatemp :)



I'm not reinventing the wheel, I'm merely gathering all information into one.
 
  • Like
Reactions: Lordjontan
Queno138 amazing guide :D been using it since the 1st time it was made and now its even easier thank you so much on behalf of people who don't have experience in this kind of stuff so easy to follow iv never had 1 error
 
  • Like
Reactions: Queno138
No don't remove it (romfs unpack process)

Last batch is near perfect.
Can you add on option on your batch to let us rebuild roms (eg : after translating romfs) in 3Ds format too ? Not only CIA ?

[Edit] And an input to allow the user for the rebuilding steps only, not the whole process.
 
No don't remove it (romfs unpack process)

Last batch is near perfect.
Can you add on option on your batch to let us rebuild roms (eg : after translating romfs) in 3Ds format too ? Not only CIA ?

[Edit] And an input to allow the user for the rebuilding steps only, not the whole process.

actually my batch allows rebuilding only as well, as long as the folders are already there.

if you know the prompt for rebuilding romfs folder to bin, I'll be able to include it into the batch.
 
Hello, i have a little problem. I have installed successfully the cfw with bbb devmenu and I've converted Professor Layton MM and it run very well. But when i try to install another game ( Mario kart 7) it blocks to importing...
Is there a limit of .cia install or i have a problem? I precise that my 3ds xl is on 4.3. Thank you and sorry for my bad english I'm belgian :P
 
Queno138 I tried to use the latest batch files to convert Super Smash Bros. 3DS Euro version but it fails at
Code:
:check
...
if not exist decrypted\romfs goto decryptfailed
It didn't generate romfs directory into the "decrypted" one. Thanks for any help that you can provide.
EDIT: Adding the output of the bat.
Code:
Additional header size: 00000000
Sector zero offset:     00000000
Flags:                  0001000101010000
 > Mediaunit size:      0x200
 > Mediatype:           Card1
 > Card Device:         NorFlash
 
NCCH:
Header:                 NCCH
Signature:              8A0F18C17373EFC468CB220CF3086A11584E11C0333E8C1E889117AD
D4298F6D
                        EF2A6B5241E6F899EF0964385F409EBBA2FD4CED8165A341FDCE9AA9
6CF777F7
                        F28D287F4259C7F12E44C26D94C82E5383C4DB0B42469264667B6A47
202F82B1
                        5A3CB6D793B17A486B0681BF49AF97997A4C5539B7199C2563C593C9
1AE79143
                        6209AF676A6B962DC8AC5D5122B1C4FF1EA7CF79F663C8F37C8F435B
95F77246
                        D7F08D7E775975D1D234BC8EDFEF68593875C4B70864AE8511B4160A
0743A93A
                        A3B2BD1E42ACA742B3BB61BE94C99ED8D9DF4D3E495FD08ED1345816
D0D320DF
                        BF0C54D9B21E2BC5CAE5943413041423FA74A5E046A6BC0D93B09440
E6D69ABE
Content size:           0x52adf000
Partition id:           00040000000ee000
Maker code:             3030
Version:                0002
Program id:             00040000000ee000
Logo hash:              2A98C49D919E254E15DC213CAB47A800ED63B248DCD43119E8FB82D9
E62AE51C
Product code:           CTR-P-AXCP
Exheader size:          00000400
Exheader hash:          B508D364CCB2A3BFBBBBC74D435DC8E6F2C834E5EAB6AE7A28B8FABC
C392785C
Flags:                  0000030101000000
 > Mediaunit size:      0x200
 > Crypto key:          Secure2
 > Form type:           Executable content
 > Content type:        Application
 > Content platform:    CTR
Plain region offset:    0x00006a00
Plain region size:      0x00000400
Logo offset:            0x00004a00
Logo size:              0x00002000
ExeFS offset:           0x00006e00
ExeFS size:             0x00674e00
ExeFS hash region size: 0x00000200
RomFS offset:           0x0067c000
RomFS size:             0x52467000
RomFS hash region size: 0x00000400
ExeFS Hash:             AFFABF11649AE4CAB0364E6341E499717B05E00A22116672BBAC12F6
8AB737F5
RomFS Hash:             354CA47D614E4DF9A80FDC923C8483D22237B27B305C4FFBE54538DE
11FE096C
Saving ExeFS...
Error, program id mismatch. Wrong key?
Header:                 NCSD
Signature:              81FFABFC0F0FF8956B653989B74D106A79DC8C88053FA18AC0D09353
0AE74DCC
                        734A302B0A742632AA2F028E2C590A5A3C7547F0F093D9C9E4D49098
44F18898
                        8E361C09CBAC1772A3439F5E7AE8656CF4D680B5770BE9806AB72794
1D8524FE
                        3A91CAE22DE7B4F24A33767D417F9BE5DAB46DF46D2A589B292459A4
CA294576
                        10A3D9E29B1713F8F5BCB7D2B07EB7EAA3B749439B7E172C250E41F0
81F7CAFB
                        41AFB3F7B61630A7C031B7559E404A5B561A9A1AE278FA8CD118FFFE
EDA26229
                        02935CC97C43E2550F3E38D984D2D0022BA89BA1E02E4B3BB5E6F93B
BF440080
                        1AC46C8A1B2C5C9CBEBADB8EBAFD1EF0D2B2478BEA85494E1BD2410E
91067723
Media size:             0x00400000
Media id:               00040000000ee000
 
Partition 0
 Id:                    00E00E0000000400
 Area:                  0x00004000-0x52AE3000
 Filesystem:            00
 Encryption:            00
 
Partition 1
 Id:                    00E00E0000000500
 Area:                  0x52AE3000-0x5309F000
 Filesystem:            00
 Encryption:            00
 
Partition 7
 Id:                    00E00E0000001020
 Area:                  0x5309F000-0x54F51000
 Filesystem:            00
 Encryption:            00
 
Extended header hash:   00000000000000000000000000000000000000000000000000000000
00000000
Additional header size: 00000000
Sector zero offset:     00000000
Flags:                  0001000101010000
 > Mediaunit size:      0x200
 > Mediatype:           Card1
 > Card Device:         NorFlash
 
NCCH:
Header:                 NCCH
Signature:              8A0F18C17373EFC468CB220CF3086A11584E11C0333E8C1E889117AD
D4298F6D
                        EF2A6B5241E6F899EF0964385F409EBBA2FD4CED8165A341FDCE9AA9
6CF777F7
                        F28D287F4259C7F12E44C26D94C82E5383C4DB0B42469264667B6A47
202F82B1
                        5A3CB6D793B17A486B0681BF49AF97997A4C5539B7199C2563C593C9
1AE79143
                        6209AF676A6B962DC8AC5D5122B1C4FF1EA7CF79F663C8F37C8F435B
95F77246
                        D7F08D7E775975D1D234BC8EDFEF68593875C4B70864AE8511B4160A
0743A93A
                        A3B2BD1E42ACA742B3BB61BE94C99ED8D9DF4D3E495FD08ED1345816
D0D320DF
                        BF0C54D9B21E2BC5CAE5943413041423FA74A5E046A6BC0D93B09440
E6D69ABE
Content size:           0x52adf000
Partition id:           00040000000ee000
Maker code:             3030
Version:                0002
Program id:             00040000000ee000
Logo hash:              2A98C49D919E254E15DC213CAB47A800ED63B248DCD43119E8FB82D9
E62AE51C
Product code:           CTR-P-AXCP
Exheader size:          00000400
Exheader hash:          B508D364CCB2A3BFBBBBC74D435DC8E6F2C834E5EAB6AE7A28B8FABC
C392785C
Flags:                  0000030101000000
 > Mediaunit size:      0x200
 > Crypto key:          Secure2
 > Form type:           Executable content
 > Content type:        Application
 > Content platform:    CTR
Plain region offset:    0x00006a00
Plain region size:      0x00000400
Logo offset:            0x00004a00
Logo size:              0x00002000
ExeFS offset:           0x00006e00
ExeFS size:             0x00674e00
ExeFS hash region size: 0x00000200
RomFS offset:           0x0067c000
RomFS size:             0x52467000
RomFS hash region size: 0x00000400
ExeFS Hash:             AFFABF11649AE4CAB0364E6341E499717B05E00A22116672BBAC12F6
8AB737F5
RomFS Hash:             354CA47D614E4DF9A80FDC923C8483D22237B27B305C4FFBE54538DE
11FE096C
Saving RomFS...
Error, program id mismatch. Wrong key?
Header:                 NCSD
Signature:              81FFABFC0F0FF8956B653989B74D106A79DC8C88053FA18AC0D09353
0AE74DCC
                        734A302B0A742632AA2F028E2C590A5A3C7547F0F093D9C9E4D49098
44F18898
                        8E361C09CBAC1772A3439F5E7AE8656CF4D680B5770BE9806AB72794
1D8524FE
                        3A91CAE22DE7B4F24A33767D417F9BE5DAB46DF46D2A589B292459A4
CA294576
                        10A3D9E29B1713F8F5BCB7D2B07EB7EAA3B749439B7E172C250E41F0
81F7CAFB
                        41AFB3F7B61630A7C031B7559E404A5B561A9A1AE278FA8CD118FFFE
EDA26229
                        02935CC97C43E2550F3E38D984D2D0022BA89BA1E02E4B3BB5E6F93B
BF440080
                        1AC46C8A1B2C5C9CBEBADB8EBAFD1EF0D2B2478BEA85494E1BD2410E
91067723
Media size:             0x00400000
Media id:               00040000000ee000
 
Partition 0
 Id:                    00E00E0000000400
 Area:                  0x00004000-0x52AE3000
 Filesystem:            00
 Encryption:            00
 
Partition 1
 Id:                    00E00E0000000500
 Area:                  0x52AE3000-0x5309F000
 Filesystem:            00
 Encryption:            00
 
Partition 7
 Id:                    00E00E0000001020
 Area:                  0x5309F000-0x54F51000
 Filesystem:            00
 Encryption:            00
 
Extended header hash:   00000000000000000000000000000000000000000000000000000000
00000000
Additional header size: 00000000
Sector zero offset:     00000000
Flags:                  0001000101010000
 > Mediaunit size:      0x200
 > Mediatype:           Card1
 > Card Device:         NorFlash
 
NCCH:
Header:                 NCCH
Signature:              8A0F18C17373EFC468CB220CF3086A11584E11C0333E8C1E889117AD
D4298F6D
                        EF2A6B5241E6F899EF0964385F409EBBA2FD4CED8165A341FDCE9AA9
6CF777F7
                        F28D287F4259C7F12E44C26D94C82E5383C4DB0B42469264667B6A47
202F82B1
                        5A3CB6D793B17A486B0681BF49AF97997A4C5539B7199C2563C593C9
1AE79143
                        6209AF676A6B962DC8AC5D5122B1C4FF1EA7CF79F663C8F37C8F435B
95F77246
                        D7F08D7E775975D1D234BC8EDFEF68593875C4B70864AE8511B4160A
0743A93A
                        A3B2BD1E42ACA742B3BB61BE94C99ED8D9DF4D3E495FD08ED1345816
D0D320DF
                        BF0C54D9B21E2BC5CAE5943413041423FA74A5E046A6BC0D93B09440
E6D69ABE
Content size:           0x52adf000
Partition id:           00040000000ee000
Maker code:             3030
Version:                0002
Program id:             00040000000ee000
Logo hash:              2A98C49D919E254E15DC213CAB47A800ED63B248DCD43119E8FB82D9
E62AE51C
Product code:           CTR-P-AXCP
Exheader size:          00000400
Exheader hash:          B508D364CCB2A3BFBBBBC74D435DC8E6F2C834E5EAB6AE7A28B8FABC
C392785C
Flags:                  0000030101000000
 > Mediaunit size:      0x200
 > Crypto key:          Secure2
 > Form type:           Executable content
 > Content type:        Application
 > Content platform:    CTR
Plain region offset:    0x00006a00
Plain region size:      0x00000400
Logo offset:            0x00004a00
Logo size:              0x00002000
ExeFS offset:           0x00006e00
ExeFS size:             0x00674e00
ExeFS hash region size: 0x00000200
RomFS offset:           0x0067c000
RomFS size:             0x52467000
RomFS hash region size: 0x00000400
ExeFS Hash:             AFFABF11649AE4CAB0364E6341E499717B05E00A22116672BBAC12F6
8AB737F5
RomFS Hash:             354CA47D614E4DF9A80FDC923C8483D22237B27B305C4FFBE54538DE
11FE096C
Saving Extended Header...
Error, program id mismatch. Wrong key?
Done!
100% [==================================================]
Finished!
100% [==================================================]
Finished!
100% [==================================================]
Finished!
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
Unknown file
 
ExeFS:
Section name:           .code
Section offset:         0x00000200
Section size:           0x005c58f0
Section hash:           D4F691F8839397FB2F6789016873B33C7990BC32D3EC659C3CAFFD9C
6F99F3FE
Section name:           banner
Section offset:         0x005c5c00
Section size:           0x000ab9a0
Section hash:           923F8D449D17C0A1A2D4C4BF6CDB29BE3842656959CDDF02A531FB5F
96620300
Section name:           icon
Section offset:         0x00671600
Section size:           0x000036c0
Section hash:           D25C562A0C40449447727ADEDBCCEB10B2E0801F040EAF05E025E802
D8AD9FD2
Decompressing section .code to exefs/code.bin...
Error, compression out of bounds
Saving section banner to exefs/banner.bin...
Saving section icon to exefs/icon.bin...
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
O sistema não pode encontrar o arquivo especificado.
 
Missing required .bin. Decryption may have failed.
Check tutorial for more info.
 
Pressione qualquer tecla para continuar. . .
 
Queno138 I tried to use the latest batch files to convert Super Smash Bros. 3DS Euro version but it fails at
Code:
:check
...
if not exist decrypted\romfs goto decryptfailed
It didn't generate romfs directory into the "decrypted" one. Thanks for any help that you can provide.
EDIT: Adding the output of the bat.
Code:
Additional header size: 00000000
Sector zero offset:    00000000
Flags:                  0001000101010000
> Mediaunit size:      0x200
> Mediatype:          Card1
> Card Device:        NorFlash
 
NCCH:
Header:                NCCH
Signature:              8A0F18C17373EFC468CB220CF3086A11584E11C0333E8C1E889117AD
D4298F6D
                        EF2A6B5241E6F899EF0964385F409EBBA2FD4CED8165A341FDCE9AA9
6CF777F7
                        F28D287F4259C7F12E44C26D94C82E5383C4DB0B42469264667B6A47
202F82B1
                        5A3CB6D793B17A486B0681BF49AF97997A4C5539B7199C2563C593C9
1AE79143
                        6209AF676A6B962DC8AC5D5122B1C4FF1EA7CF79F663C8F37C8F435B
95F77246
                        D7F08D7E775975D1D234BC8EDFEF68593875C4B70864AE8511B4160A
0743A93A
                        A3B2BD1E42ACA742B3BB61BE94C99ED8D9DF4D3E495FD08ED1345816
D0D320DF
                        BF0C54D9B21E2BC5CAE5943413041423FA74A5E046A6BC0D93B09440
E6D69ABE
Content size:          0x52adf000
Partition id:          00040000000ee000
Maker code:            3030
Version:                0002
Program id:            00040000000ee000
Logo hash:              2A98C49D919E254E15DC213CAB47A800ED63B248DCD43119E8FB82D9
E62AE51C
Product code:          CTR-P-AXCP
Exheader size:          00000400
Exheader hash:          B508D364CCB2A3BFBBBBC74D435DC8E6F2C834E5EAB6AE7A28B8FABC
C392785C
Flags:                  0000030101000000
> Mediaunit size:      0x200
> Crypto key:          Secure2
> Form type:          Executable content
> Content type:        Application
> Content platform:    CTR
Plain region offset:    0x00006a00
Plain region size:      0x00000400
Logo offset:            0x00004a00
Logo size:              0x00002000
ExeFS offset:          0x00006e00
ExeFS size:            0x00674e00
ExeFS hash region size: 0x00000200
RomFS offset:          0x0067c000
RomFS size:            0x52467000
RomFS hash region size: 0x00000400
ExeFS Hash:            AFFABF11649AE4CAB0364E6341E499717B05E00A22116672BBAC12F6
8AB737F5
RomFS Hash:            354CA47D614E4DF9A80FDC923C8483D22237B27B305C4FFBE54538DE
11FE096C
Saving ExeFS...
Error, program id mismatch. Wrong key?
Header:                NCSD
Signature:              81FFABFC0F0FF8956B653989B74D106A79DC8C88053FA18AC0D09353
0AE74DCC
                        734A302B0A742632AA2F028E2C590A5A3C7547F0F093D9C9E4D49098
44F18898
                        8E361C09CBAC1772A3439F5E7AE8656CF4D680B5770BE9806AB72794
1D8524FE
                        3A91CAE22DE7B4F24A33767D417F9BE5DAB46DF46D2A589B292459A4
CA294576
                        10A3D9E29B1713F8F5BCB7D2B07EB7EAA3B749439B7E172C250E41F0
81F7CAFB
                        41AFB3F7B61630A7C031B7559E404A5B561A9A1AE278FA8CD118FFFE
EDA26229
                        02935CC97C43E2550F3E38D984D2D0022BA89BA1E02E4B3BB5E6F93B
BF440080
                        1AC46C8A1B2C5C9CBEBADB8EBAFD1EF0D2B2478BEA85494E1BD2410E
91067723
Media size:            0x00400000
Media id:              00040000000ee000
 
Partition 0
Id:                    00E00E0000000400
Area:                  0x00004000-0x52AE3000
Filesystem:            00
Encryption:            00
 
Partition 1
Id:                    00E00E0000000500
Area:                  0x52AE3000-0x5309F000
Filesystem:            00
Encryption:            00
 
Partition 7
Id:                    00E00E0000001020
Area:                  0x5309F000-0x54F51000
Filesystem:            00
Encryption:            00
 
Extended header hash:  00000000000000000000000000000000000000000000000000000000
00000000
Additional header size: 00000000
Sector zero offset:    00000000
Flags:                  0001000101010000
> Mediaunit size:      0x200
> Mediatype:          Card1
> Card Device:        NorFlash
 
NCCH:
Header:                NCCH
Signature:              8A0F18C17373EFC468CB220CF3086A11584E11C0333E8C1E889117AD
D4298F6D
                        EF2A6B5241E6F899EF0964385F409EBBA2FD4CED8165A341FDCE9AA9
6CF777F7
                        F28D287F4259C7F12E44C26D94C82E5383C4DB0B42469264667B6A47
202F82B1
                        5A3CB6D793B17A486B0681BF49AF97997A4C5539B7199C2563C593C9
1AE79143
                        6209AF676A6B962DC8AC5D5122B1C4FF1EA7CF79F663C8F37C8F435B
95F77246
                        D7F08D7E775975D1D234BC8EDFEF68593875C4B70864AE8511B4160A
0743A93A
                        A3B2BD1E42ACA742B3BB61BE94C99ED8D9DF4D3E495FD08ED1345816
D0D320DF
                        BF0C54D9B21E2BC5CAE5943413041423FA74A5E046A6BC0D93B09440
E6D69ABE
Content size:          0x52adf000
Partition id:          00040000000ee000
Maker code:            3030
Version:                0002
Program id:            00040000000ee000
Logo hash:              2A98C49D919E254E15DC213CAB47A800ED63B248DCD43119E8FB82D9
E62AE51C
Product code:          CTR-P-AXCP
Exheader size:          00000400
Exheader hash:          B508D364CCB2A3BFBBBBC74D435DC8E6F2C834E5EAB6AE7A28B8FABC
C392785C
Flags:                  0000030101000000
> Mediaunit size:      0x200
> Crypto key:          Secure2
> Form type:          Executable content
> Content type:        Application
> Content platform:    CTR
Plain region offset:    0x00006a00
Plain region size:      0x00000400
Logo offset:            0x00004a00
Logo size:              0x00002000
ExeFS offset:          0x00006e00
ExeFS size:            0x00674e00
ExeFS hash region size: 0x00000200
RomFS offset:          0x0067c000
RomFS size:            0x52467000
RomFS hash region size: 0x00000400
ExeFS Hash:            AFFABF11649AE4CAB0364E6341E499717B05E00A22116672BBAC12F6
8AB737F5
RomFS Hash:            354CA47D614E4DF9A80FDC923C8483D22237B27B305C4FFBE54538DE
11FE096C
Saving RomFS...
Error, program id mismatch. Wrong key?
Header:                NCSD
Signature:              81FFABFC0F0FF8956B653989B74D106A79DC8C88053FA18AC0D09353
0AE74DCC
                        734A302B0A742632AA2F028E2C590A5A3C7547F0F093D9C9E4D49098
44F18898
                        8E361C09CBAC1772A3439F5E7AE8656CF4D680B5770BE9806AB72794
1D8524FE
                        3A91CAE22DE7B4F24A33767D417F9BE5DAB46DF46D2A589B292459A4
CA294576
                        10A3D9E29B1713F8F5BCB7D2B07EB7EAA3B749439B7E172C250E41F0
81F7CAFB
                        41AFB3F7B61630A7C031B7559E404A5B561A9A1AE278FA8CD118FFFE
EDA26229
                        02935CC97C43E2550F3E38D984D2D0022BA89BA1E02E4B3BB5E6F93B
BF440080
                        1AC46C8A1B2C5C9CBEBADB8EBAFD1EF0D2B2478BEA85494E1BD2410E
91067723
Media size:            0x00400000
Media id:              00040000000ee000
 
Partition 0
Id:                    00E00E0000000400
Area:                  0x00004000-0x52AE3000
Filesystem:            00
Encryption:            00
 
Partition 1
Id:                    00E00E0000000500
Area:                  0x52AE3000-0x5309F000
Filesystem:            00
Encryption:            00
 
Partition 7
Id:                    00E00E0000001020
Area:                  0x5309F000-0x54F51000
Filesystem:            00
Encryption:            00
 
Extended header hash:  00000000000000000000000000000000000000000000000000000000
00000000
Additional header size: 00000000
Sector zero offset:    00000000
Flags:                  0001000101010000
> Mediaunit size:      0x200
> Mediatype:          Card1
> Card Device:        NorFlash
 
NCCH:
Header:                NCCH
Signature:              8A0F18C17373EFC468CB220CF3086A11584E11C0333E8C1E889117AD
D4298F6D
                        EF2A6B5241E6F899EF0964385F409EBBA2FD4CED8165A341FDCE9AA9
6CF777F7
                        F28D287F4259C7F12E44C26D94C82E5383C4DB0B42469264667B6A47
202F82B1
                        5A3CB6D793B17A486B0681BF49AF97997A4C5539B7199C2563C593C9
1AE79143
                        6209AF676A6B962DC8AC5D5122B1C4FF1EA7CF79F663C8F37C8F435B
95F77246
                        D7F08D7E775975D1D234BC8EDFEF68593875C4B70864AE8511B4160A
0743A93A
                        A3B2BD1E42ACA742B3BB61BE94C99ED8D9DF4D3E495FD08ED1345816
D0D320DF
                        BF0C54D9B21E2BC5CAE5943413041423FA74A5E046A6BC0D93B09440
E6D69ABE
Content size:          0x52adf000
Partition id:          00040000000ee000
Maker code:            3030
Version:                0002
Program id:            00040000000ee000
Logo hash:              2A98C49D919E254E15DC213CAB47A800ED63B248DCD43119E8FB82D9
E62AE51C
Product code:          CTR-P-AXCP
Exheader size:          00000400
Exheader hash:          B508D364CCB2A3BFBBBBC74D435DC8E6F2C834E5EAB6AE7A28B8FABC
C392785C
Flags:                  0000030101000000
> Mediaunit size:      0x200
> Crypto key:          Secure2
> Form type:          Executable content
> Content type:        Application
> Content platform:    CTR
Plain region offset:    0x00006a00
Plain region size:      0x00000400
Logo offset:            0x00004a00
Logo size:              0x00002000
ExeFS offset:          0x00006e00
ExeFS size:            0x00674e00
ExeFS hash region size: 0x00000200
RomFS offset:          0x0067c000
RomFS size:            0x52467000
RomFS hash region size: 0x00000400
ExeFS Hash:            AFFABF11649AE4CAB0364E6341E499717B05E00A22116672BBAC12F6
8AB737F5
RomFS Hash:            354CA47D614E4DF9A80FDC923C8483D22237B27B305C4FFBE54538DE
11FE096C
Saving Extended Header...
Error, program id mismatch. Wrong key?
Done!
100% [==================================================]
Finished!
100% [==================================================]
Finished!
100% [==================================================]
Finished!
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
Unknown file
 
ExeFS:
Section name:          .code
Section offset:        0x00000200
Section size:          0x005c58f0
Section hash:          D4F691F8839397FB2F6789016873B33C7990BC32D3EC659C3CAFFD9C
6F99F3FE
Section name:          banner
Section offset:        0x005c5c00
Section size:          0x000ab9a0
Section hash:          923F8D449D17C0A1A2D4C4BF6CDB29BE3842656959CDDF02A531FB5F
96620300
Section name:          icon
Section offset:        0x00671600
Section size:          0x000036c0
Section hash:          D25C562A0C40449447727ADEDBCCEB10B2E0801F040EAF05E025E802
D8AD9FD2
Decompressing section .code to exefs/code.bin...
Error, compression out of bounds
Saving section banner to exefs/banner.bin...
Saving section icon to exefs/icon.bin...
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
O sistema não pode encontrar o arquivo especificado.
 
Missing required .bin. Decryption may have failed.
Check tutorial for more info.
 
Pressione qualquer tecla para continuar. . .


Gimme a moment.

Was working on a few things.

About to upload new ones, as a matter of fact :)

Updated:

https://www.dropbox.com/s/we8um76i36un1mv/New CIA Batch V2.rar?dl=0

Included an express.

As long as xorpad and rom.3ds are there,
it'll go from unpacking straight to compiling.

If your folders are in place,
it will go straight for compiling, ignoring re-depacking.

Express is a quick judge. Express doesn't ask questions,
express just do's.


Let me know how you feel :)
 
Gimme a moment.

Was working on a few things.

About to upload new ones, as a matter of fact :)

Updated:

https://www.dropbox.com/s/we8um76i36un1mv/New CIA Batch V2.rar?dl=0

Included an express.

As long as xorpad and rom.3ds are there,
it'll go from unpacking straight to compiling.

If your folders are in place,
it will go straight for compiling, ignoring re-depacking.

Express is a quick judge. Express doesn't ask questions,
express just do's.


Let me know how you feel :)
It failed again while processing code.bin, I'll try with the less automated version of your .bat and see if it'll proceed further.

Code:
 Id:                    00E00E0000001020
 Area:                  0x5309F000-0x54F51000
 Filesystem:            00
 Encryption:            00
 
Extended header hash:   00000000000000000000000000000000000000000000000000000000
00000000
Additional header size: 00000000
Sector zero offset:     00000000
Flags:                  0001000101010000
 > Mediaunit size:      0x200
 > Mediatype:           Card1
 > Card Device:         NorFlash
 
NCCH:
Header:                 NCCH
Signature:              8A0F18C17373EFC468CB220CF3086A11584E11C0333E8C1E889117AD
D4298F6D
                        EF2A6B5241E6F899EF0964385F409EBBA2FD4CED8165A341FDCE9AA9
6CF777F7
                        F28D287F4259C7F12E44C26D94C82E5383C4DB0B42469264667B6A47
202F82B1
                        5A3CB6D793B17A486B0681BF49AF97997A4C5539B7199C2563C593C9
1AE79143
                        6209AF676A6B962DC8AC5D5122B1C4FF1EA7CF79F663C8F37C8F435B
95F77246
                        D7F08D7E775975D1D234BC8EDFEF68593875C4B70864AE8511B4160A
0743A93A
                        A3B2BD1E42ACA742B3BB61BE94C99ED8D9DF4D3E495FD08ED1345816
D0D320DF
                        BF0C54D9B21E2BC5CAE5943413041423FA74A5E046A6BC0D93B09440
E6D69ABE
Content size:           0x52adf000
Partition id:           00040000000ee000
Maker code:             3030
Version:                0002
Program id:             00040000000ee000
Logo hash:              2A98C49D919E254E15DC213CAB47A800ED63B248DCD43119E8FB82D9
E62AE51C
Product code:           CTR-P-AXCP
Exheader size:          00000400
Exheader hash:          B508D364CCB2A3BFBBBBC74D435DC8E6F2C834E5EAB6AE7A28B8FABC
C392785C
Flags:                  0000030101000000
 > Mediaunit size:      0x200
 > Crypto key:          Secure2
 > Form type:           Executable content
 > Content type:        Application
 > Content platform:    CTR
Plain region offset:    0x00006a00
Plain region size:      0x00000400
Logo offset:            0x00004a00
Logo size:              0x00002000
ExeFS offset:           0x00006e00
ExeFS size:             0x00674e00
ExeFS hash region size: 0x00000200
RomFS offset:           0x0067c000
RomFS size:             0x52467000
RomFS hash region size: 0x00000400
ExeFS Hash:             AFFABF11649AE4CAB0364E6341E499717B05E00A22116672BBAC12F6
8AB737F5
RomFS Hash:             354CA47D614E4DF9A80FDC923C8483D22237B27B305C4FFBE54538DE
11FE096C
Saving ExeFS...
Error, program id mismatch. Wrong key?
 
Will take a while here.
 
Header:                 NCSD
Signature:              81FFABFC0F0FF8956B653989B74D106A79DC8C88053FA18AC0D09353
0AE74DCC
                        734A302B0A742632AA2F028E2C590A5A3C7547F0F093D9C9E4D49098
44F18898
                        8E361C09CBAC1772A3439F5E7AE8656CF4D680B5770BE9806AB72794
1D8524FE
                        3A91CAE22DE7B4F24A33767D417F9BE5DAB46DF46D2A589B292459A4
CA294576
                        10A3D9E29B1713F8F5BCB7D2B07EB7EAA3B749439B7E172C250E41F0
81F7CAFB
                        41AFB3F7B61630A7C031B7559E404A5B561A9A1AE278FA8CD118FFFE
EDA26229
                        02935CC97C43E2550F3E38D984D2D0022BA89BA1E02E4B3BB5E6F93B
BF440080
                        1AC46C8A1B2C5C9CBEBADB8EBAFD1EF0D2B2478BEA85494E1BD2410E
91067723
Media size:             0x00400000
Media id:               00040000000ee000
 
Partition 0
 Id:                    00E00E0000000400
 Area:                  0x00004000-0x52AE3000
 Filesystem:            00
 Encryption:            00
 
Partition 1
 Id:                    00E00E0000000500
 Area:                  0x52AE3000-0x5309F000
 Filesystem:            00
 Encryption:            00
 
Partition 7
 Id:                    00E00E0000001020
 Area:                  0x5309F000-0x54F51000
 Filesystem:            00
 Encryption:            00
 
Extended header hash:   00000000000000000000000000000000000000000000000000000000
00000000
Additional header size: 00000000
Sector zero offset:     00000000
Flags:                  0001000101010000
 > Mediaunit size:      0x200
 > Mediatype:           Card1
 > Card Device:         NorFlash
 
NCCH:
Header:                 NCCH
Signature:              8A0F18C17373EFC468CB220CF3086A11584E11C0333E8C1E889117AD
D4298F6D
                        EF2A6B5241E6F899EF0964385F409EBBA2FD4CED8165A341FDCE9AA9
6CF777F7
                        F28D287F4259C7F12E44C26D94C82E5383C4DB0B42469264667B6A47
202F82B1
                        5A3CB6D793B17A486B0681BF49AF97997A4C5539B7199C2563C593C9
1AE79143
                        6209AF676A6B962DC8AC5D5122B1C4FF1EA7CF79F663C8F37C8F435B
95F77246
                        D7F08D7E775975D1D234BC8EDFEF68593875C4B70864AE8511B4160A
0743A93A
                        A3B2BD1E42ACA742B3BB61BE94C99ED8D9DF4D3E495FD08ED1345816
D0D320DF
                        BF0C54D9B21E2BC5CAE5943413041423FA74A5E046A6BC0D93B09440
E6D69ABE
Content size:           0x52adf000
Partition id:           00040000000ee000
Maker code:             3030
Version:                0002
Program id:             00040000000ee000
Logo hash:              2A98C49D919E254E15DC213CAB47A800ED63B248DCD43119E8FB82D9
E62AE51C
Product code:           CTR-P-AXCP
Exheader size:          00000400
Exheader hash:          B508D364CCB2A3BFBBBBC74D435DC8E6F2C834E5EAB6AE7A28B8FABC
C392785C
Flags:                  0000030101000000
 > Mediaunit size:      0x200
 > Crypto key:          Secure2
 > Form type:           Executable content
 > Content type:        Application
 > Content platform:    CTR
Plain region offset:    0x00006a00
Plain region size:      0x00000400
Logo offset:            0x00004a00
Logo size:              0x00002000
ExeFS offset:           0x00006e00
ExeFS size:             0x00674e00
ExeFS hash region size: 0x00000200
RomFS offset:           0x0067c000
RomFS size:             0x52467000
RomFS hash region size: 0x00000400
ExeFS Hash:             AFFABF11649AE4CAB0364E6341E499717B05E00A22116672BBAC12F6
8AB737F5
RomFS Hash:             354CA47D614E4DF9A80FDC923C8483D22237B27B305C4FFBE54538DE
11FE096C
Saving RomFS...
Error, program id mismatch. Wrong key?
Header:                 NCSD
Signature:              81FFABFC0F0FF8956B653989B74D106A79DC8C88053FA18AC0D09353
0AE74DCC
                        734A302B0A742632AA2F028E2C590A5A3C7547F0F093D9C9E4D49098
44F18898
                        8E361C09CBAC1772A3439F5E7AE8656CF4D680B5770BE9806AB72794
1D8524FE
                        3A91CAE22DE7B4F24A33767D417F9BE5DAB46DF46D2A589B292459A4
CA294576
                        10A3D9E29B1713F8F5BCB7D2B07EB7EAA3B749439B7E172C250E41F0
81F7CAFB
                        41AFB3F7B61630A7C031B7559E404A5B561A9A1AE278FA8CD118FFFE
EDA26229
                        02935CC97C43E2550F3E38D984D2D0022BA89BA1E02E4B3BB5E6F93B
BF440080
                        1AC46C8A1B2C5C9CBEBADB8EBAFD1EF0D2B2478BEA85494E1BD2410E
91067723
Media size:             0x00400000
Media id:               00040000000ee000
 
Partition 0
 Id:                    00E00E0000000400
 Area:                  0x00004000-0x52AE3000
 Filesystem:            00
 Encryption:            00
 
Partition 1
 Id:                    00E00E0000000500
 Area:                  0x52AE3000-0x5309F000
 Filesystem:            00
 Encryption:            00
 
Partition 7
 Id:                    00E00E0000001020
 Area:                  0x5309F000-0x54F51000
 Filesystem:            00
 Encryption:            00
 
Extended header hash:   00000000000000000000000000000000000000000000000000000000
00000000
Additional header size: 00000000
Sector zero offset:     00000000
Flags:                  0001000101010000
 > Mediaunit size:      0x200
 > Mediatype:           Card1
 > Card Device:         NorFlash
 
NCCH:
Header:                 NCCH
Signature:              8A0F18C17373EFC468CB220CF3086A11584E11C0333E8C1E889117AD
D4298F6D
                        EF2A6B5241E6F899EF0964385F409EBBA2FD4CED8165A341FDCE9AA9
6CF777F7
                        F28D287F4259C7F12E44C26D94C82E5383C4DB0B42469264667B6A47
202F82B1
                        5A3CB6D793B17A486B0681BF49AF97997A4C5539B7199C2563C593C9
1AE79143
                        6209AF676A6B962DC8AC5D5122B1C4FF1EA7CF79F663C8F37C8F435B
95F77246
                        D7F08D7E775975D1D234BC8EDFEF68593875C4B70864AE8511B4160A
0743A93A
                        A3B2BD1E42ACA742B3BB61BE94C99ED8D9DF4D3E495FD08ED1345816
D0D320DF
                        BF0C54D9B21E2BC5CAE5943413041423FA74A5E046A6BC0D93B09440
E6D69ABE
Content size:           0x52adf000
Partition id:           00040000000ee000
Maker code:             3030
Version:                0002
Program id:             00040000000ee000
Logo hash:              2A98C49D919E254E15DC213CAB47A800ED63B248DCD43119E8FB82D9
E62AE51C
Product code:           CTR-P-AXCP
Exheader size:          00000400
Exheader hash:          B508D364CCB2A3BFBBBBC74D435DC8E6F2C834E5EAB6AE7A28B8FABC
C392785C
Flags:                  0000030101000000
 > Mediaunit size:      0x200
 > Crypto key:          Secure2
 > Form type:           Executable content
 > Content type:        Application
 > Content platform:    CTR
Plain region offset:    0x00006a00
Plain region size:      0x00000400
Logo offset:            0x00004a00
Logo size:              0x00002000
ExeFS offset:           0x00006e00
ExeFS size:             0x00674e00
ExeFS hash region size: 0x00000200
RomFS offset:           0x0067c000
RomFS size:             0x52467000
RomFS hash region size: 0x00000400
ExeFS Hash:             AFFABF11649AE4CAB0364E6341E499717B05E00A22116672BBAC12F6
8AB737F5
RomFS Hash:             354CA47D614E4DF9A80FDC923C8483D22237B27B305C4FFBE54538DE
11FE096C
Saving Extended Header...
Error, program id mismatch. Wrong key?
Done!
100% [==================================================]
Finished!
100% [==================================================]
Finished!
100% [==================================================]
Finished!
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
 
ExeFS:
Section name:           .code
Section offset:         0x00000200
Section size:           0x005c58f0
Section hash:           D4F691F8839397FB2F6789016873B33C7990BC32D3EC659C3CAFFD9C
6F99F3FE
Section name:           banner
Section offset:         0x005c5c00
Section size:           0x000ab9a0
Section hash:           923F8D449D17C0A1A2D4C4BF6CDB29BE3842656959CDDF02A531FB5F
96620300
Section name:           icon
Section offset:         0x00671600
Section size:           0x000036c0
Section hash:           D25C562A0C40449447727ADEDBCCEB10B2E0801F040EAF05E025E802
D8AD9FD2
Decompressing section .code to exefs/code.bin...
Error, compression out of bounds
Saving section banner to exefs/banner.bin...
Saving section icon to exefs/icon.bin...
Want to slowly unpack romfs.bin fully?  ( n / y )
 
It failed again while processing code.bin, I'll try with the less automated version of your .bat and see if it'll proceed further.

Code:
 Id:                    00E00E0000001020
 Area:                  0x5309F000-0x54F51000
 Filesystem:            00
 Encryption:            00
 
Extended header hash:   00000000000000000000000000000000000000000000000000000000
00000000
Additional header size: 00000000
Sector zero offset:     00000000
Flags:                  0001000101010000
 > Mediaunit size:      0x200
 > Mediatype:           Card1
 > Card Device:         NorFlash
 
NCCH:
Header:                 NCCH
Signature:              8A0F18C17373EFC468CB220CF3086A11584E11C0333E8C1E889117AD
D4298F6D
                        EF2A6B5241E6F899EF0964385F409EBBA2FD4CED8165A341FDCE9AA9
6CF777F7
                        F28D287F4259C7F12E44C26D94C82E5383C4DB0B42469264667B6A47
202F82B1
                        5A3CB6D793B17A486B0681BF49AF97997A4C5539B7199C2563C593C9
1AE79143
                        6209AF676A6B962DC8AC5D5122B1C4FF1EA7CF79F663C8F37C8F435B
95F77246
                        D7F08D7E775975D1D234BC8EDFEF68593875C4B70864AE8511B4160A
0743A93A
                        A3B2BD1E42ACA742B3BB61BE94C99ED8D9DF4D3E495FD08ED1345816
D0D320DF
                        BF0C54D9B21E2BC5CAE5943413041423FA74A5E046A6BC0D93B09440
E6D69ABE
Content size:           0x52adf000
Partition id:           00040000000ee000
Maker code:             3030
Version:                0002
Program id:             00040000000ee000
Logo hash:              2A98C49D919E254E15DC213CAB47A800ED63B248DCD43119E8FB82D9
E62AE51C
Product code:           CTR-P-AXCP
Exheader size:          00000400
Exheader hash:          B508D364CCB2A3BFBBBBC74D435DC8E6F2C834E5EAB6AE7A28B8FABC
C392785C
Flags:                  0000030101000000
 > Mediaunit size:      0x200
 > Crypto key:          Secure2
 > Form type:           Executable content
 > Content type:        Application
 > Content platform:    CTR
Plain region offset:    0x00006a00
Plain region size:      0x00000400
Logo offset:            0x00004a00
Logo size:              0x00002000
ExeFS offset:           0x00006e00
ExeFS size:             0x00674e00
ExeFS hash region size: 0x00000200
RomFS offset:           0x0067c000
RomFS size:             0x52467000
RomFS hash region size: 0x00000400
ExeFS Hash:             AFFABF11649AE4CAB0364E6341E499717B05E00A22116672BBAC12F6
8AB737F5
RomFS Hash:             354CA47D614E4DF9A80FDC923C8483D22237B27B305C4FFBE54538DE
11FE096C
Saving ExeFS...
Error, program id mismatch. Wrong key?
 
Will take a while here.
 
Header:                 NCSD
Signature:              81FFABFC0F0FF8956B653989B74D106A79DC8C88053FA18AC0D09353
0AE74DCC
                        734A302B0A742632AA2F028E2C590A5A3C7547F0F093D9C9E4D49098
44F18898
                        8E361C09CBAC1772A3439F5E7AE8656CF4D680B5770BE9806AB72794
1D8524FE
                        3A91CAE22DE7B4F24A33767D417F9BE5DAB46DF46D2A589B292459A4
CA294576
                        10A3D9E29B1713F8F5BCB7D2B07EB7EAA3B749439B7E172C250E41F0
81F7CAFB
                        41AFB3F7B61630A7C031B7559E404A5B561A9A1AE278FA8CD118FFFE
EDA26229
                        02935CC97C43E2550F3E38D984D2D0022BA89BA1E02E4B3BB5E6F93B
BF440080
                        1AC46C8A1B2C5C9CBEBADB8EBAFD1EF0D2B2478BEA85494E1BD2410E
91067723
Media size:             0x00400000
Media id:               00040000000ee000
 
Partition 0
 Id:                    00E00E0000000400
 Area:                  0x00004000-0x52AE3000
 Filesystem:            00
 Encryption:            00
 
Partition 1
 Id:                    00E00E0000000500
 Area:                  0x52AE3000-0x5309F000
 Filesystem:            00
 Encryption:            00
 
Partition 7
 Id:                    00E00E0000001020
 Area:                  0x5309F000-0x54F51000
 Filesystem:            00
 Encryption:            00
 
Extended header hash:   00000000000000000000000000000000000000000000000000000000
00000000
Additional header size: 00000000
Sector zero offset:     00000000
Flags:                  0001000101010000
 > Mediaunit size:      0x200
 > Mediatype:           Card1
 > Card Device:         NorFlash
 
NCCH:
Header:                 NCCH
Signature:              8A0F18C17373EFC468CB220CF3086A11584E11C0333E8C1E889117AD
D4298F6D
                        EF2A6B5241E6F899EF0964385F409EBBA2FD4CED8165A341FDCE9AA9
6CF777F7
                        F28D287F4259C7F12E44C26D94C82E5383C4DB0B42469264667B6A47
202F82B1
                        5A3CB6D793B17A486B0681BF49AF97997A4C5539B7199C2563C593C9
1AE79143
                        6209AF676A6B962DC8AC5D5122B1C4FF1EA7CF79F663C8F37C8F435B
95F77246
                        D7F08D7E775975D1D234BC8EDFEF68593875C4B70864AE8511B4160A
0743A93A
                        A3B2BD1E42ACA742B3BB61BE94C99ED8D9DF4D3E495FD08ED1345816
D0D320DF
                        BF0C54D9B21E2BC5CAE5943413041423FA74A5E046A6BC0D93B09440
E6D69ABE
Content size:           0x52adf000
Partition id:           00040000000ee000
Maker code:             3030
Version:                0002
Program id:             00040000000ee000
Logo hash:              2A98C49D919E254E15DC213CAB47A800ED63B248DCD43119E8FB82D9
E62AE51C
Product code:           CTR-P-AXCP
Exheader size:          00000400
Exheader hash:          B508D364CCB2A3BFBBBBC74D435DC8E6F2C834E5EAB6AE7A28B8FABC
C392785C
Flags:                  0000030101000000
 > Mediaunit size:      0x200
 > Crypto key:          Secure2
 > Form type:           Executable content
 > Content type:        Application
 > Content platform:    CTR
Plain region offset:    0x00006a00
Plain region size:      0x00000400
Logo offset:            0x00004a00
Logo size:              0x00002000
ExeFS offset:           0x00006e00
ExeFS size:             0x00674e00
ExeFS hash region size: 0x00000200
RomFS offset:           0x0067c000
RomFS size:             0x52467000
RomFS hash region size: 0x00000400
ExeFS Hash:             AFFABF11649AE4CAB0364E6341E499717B05E00A22116672BBAC12F6
8AB737F5
RomFS Hash:             354CA47D614E4DF9A80FDC923C8483D22237B27B305C4FFBE54538DE
11FE096C
Saving RomFS...
Error, program id mismatch. Wrong key?
Header:                 NCSD
Signature:              81FFABFC0F0FF8956B653989B74D106A79DC8C88053FA18AC0D09353
0AE74DCC
                        734A302B0A742632AA2F028E2C590A5A3C7547F0F093D9C9E4D49098
44F18898
                        8E361C09CBAC1772A3439F5E7AE8656CF4D680B5770BE9806AB72794
1D8524FE
                        3A91CAE22DE7B4F24A33767D417F9BE5DAB46DF46D2A589B292459A4
CA294576
                        10A3D9E29B1713F8F5BCB7D2B07EB7EAA3B749439B7E172C250E41F0
81F7CAFB
                        41AFB3F7B61630A7C031B7559E404A5B561A9A1AE278FA8CD118FFFE
EDA26229
                        02935CC97C43E2550F3E38D984D2D0022BA89BA1E02E4B3BB5E6F93B
BF440080
                        1AC46C8A1B2C5C9CBEBADB8EBAFD1EF0D2B2478BEA85494E1BD2410E
91067723
Media size:             0x00400000
Media id:               00040000000ee000
 
Partition 0
 Id:                    00E00E0000000400
 Area:                  0x00004000-0x52AE3000
 Filesystem:            00
 Encryption:            00
 
Partition 1
 Id:                    00E00E0000000500
 Area:                  0x52AE3000-0x5309F000
 Filesystem:            00
 Encryption:            00
 
Partition 7
 Id:                    00E00E0000001020
 Area:                  0x5309F000-0x54F51000
 Filesystem:            00
 Encryption:            00
 
Extended header hash:   00000000000000000000000000000000000000000000000000000000
00000000
Additional header size: 00000000
Sector zero offset:     00000000
Flags:                  0001000101010000
 > Mediaunit size:      0x200
 > Mediatype:           Card1
 > Card Device:         NorFlash
 
NCCH:
Header:                 NCCH
Signature:              8A0F18C17373EFC468CB220CF3086A11584E11C0333E8C1E889117AD
D4298F6D
                        EF2A6B5241E6F899EF0964385F409EBBA2FD4CED8165A341FDCE9AA9
6CF777F7
                        F28D287F4259C7F12E44C26D94C82E5383C4DB0B42469264667B6A47
202F82B1
                        5A3CB6D793B17A486B0681BF49AF97997A4C5539B7199C2563C593C9
1AE79143
                        6209AF676A6B962DC8AC5D5122B1C4FF1EA7CF79F663C8F37C8F435B
95F77246
                        D7F08D7E775975D1D234BC8EDFEF68593875C4B70864AE8511B4160A
0743A93A
                        A3B2BD1E42ACA742B3BB61BE94C99ED8D9DF4D3E495FD08ED1345816
D0D320DF
                        BF0C54D9B21E2BC5CAE5943413041423FA74A5E046A6BC0D93B09440
E6D69ABE
Content size:           0x52adf000
Partition id:           00040000000ee000
Maker code:             3030
Version:                0002
Program id:             00040000000ee000
Logo hash:              2A98C49D919E254E15DC213CAB47A800ED63B248DCD43119E8FB82D9
E62AE51C
Product code:           CTR-P-AXCP
Exheader size:          00000400
Exheader hash:          B508D364CCB2A3BFBBBBC74D435DC8E6F2C834E5EAB6AE7A28B8FABC
C392785C
Flags:                  0000030101000000
 > Mediaunit size:      0x200
 > Crypto key:          Secure2
 > Form type:           Executable content
 > Content type:        Application
 > Content platform:    CTR
Plain region offset:    0x00006a00
Plain region size:      0x00000400
Logo offset:            0x00004a00
Logo size:              0x00002000
ExeFS offset:           0x00006e00
ExeFS size:             0x00674e00
ExeFS hash region size: 0x00000200
RomFS offset:           0x0067c000
RomFS size:             0x52467000
RomFS hash region size: 0x00000400
ExeFS Hash:             AFFABF11649AE4CAB0364E6341E499717B05E00A22116672BBAC12F6
8AB737F5
RomFS Hash:             354CA47D614E4DF9A80FDC923C8483D22237B27B305C4FFBE54538DE
11FE096C
Saving Extended Header...
Error, program id mismatch. Wrong key?
Done!
100% [==================================================]
Finished!
100% [==================================================]
Finished!
100% [==================================================]
Finished!
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
        1 arquivo(s) movido(s).
 
ExeFS:
Section name:           .code
Section offset:         0x00000200
Section size:           0x005c58f0
Section hash:           D4F691F8839397FB2F6789016873B33C7990BC32D3EC659C3CAFFD9C
6F99F3FE
Section name:           banner
Section offset:         0x005c5c00
Section size:           0x000ab9a0
Section hash:           923F8D449D17C0A1A2D4C4BF6CDB29BE3842656959CDDF02A531FB5F
96620300
Section name:           icon
Section offset:         0x00671600
Section size:           0x000036c0
Section hash:           D25C562A0C40449447727ADEDBCCEB10B2E0801F040EAF05E025E802
D8AD9FD2
Decompressing section .code to exefs/code.bin...
Error, compression out of bounds
Saving section banner to exefs/banner.bin...
Saving section icon to exefs/icon.bin...
Want to slowly unpack romfs.bin fully?  ( n / y )
You should check if you put the correct key 7 or keyed it right, in hex, on your 3ds
 
You should check if you put the correct key 7 or keyed it right, in hex, on your 3ds

I can confirm it's right since I've made a Mario & Luigi Dream Team CIA with a Euro version and I've removed the region lock using HxD and it worked flawlessly with the keys file that I've obtained.
Maybe my dump of Smash that's at fault. But I'll confirm it after my 3DS generate new xorpads to try the older BATs.
 
I can confirm it's right since I've made a Mario & Luigi Dream Team CIA with a Euro version and I've removed the region lock using HxD and it worked flawlessly with the keys file that I've obtained.
Maybe my dump of Smash that's at fault. But I'll confirm it after my 3DS generate new xorpads to try the older BATs.

The old bats did not have key 7 support properly,
So it didn't require exefs_7 when dumped, Which is wrong.

Did your luigi give you two exefs?
 
The old bats did not have key 7 support properly,
So it didn't require exefs_7 when dumped, Which is wrong.

Did your luigi give you two exefs?

No, Mario & Luigi had generated only the exefs_norm.
I'm trying to generate a Euro Smash CIA only to try to run it in portuguese since I have a original NA cart (that only runs in English), only for bragging rights and out of curiosity. So there's no need to rush anything :D
 
  • Like
Reactions: Queno138
Just remembers me of my package somehow
I probably referenced it heavily.
I basically looked through a lot of files and compiled it together,
As they're scattered all over the place. XD

No, Mario & Luigi had generated only the exefs_norm.
I'm trying to generate a Euro Smash CIA only to try to run it in portuguese since I have a original NA cart (that only runs in English), only for bragging rights and out of curiosity. So there's no need to rush anything :D
Without another exefs, that means it never used your seven key
 

Site & Scene News

Popular threads in this forum