Skip to content

I cant recompile a 3ds dlc file #167

@OverlordEclipse

Description

@OverlordEclipse

So the file often distributed for the Pokemon Mystery Dungeon Gates to Infinity DLC actually includes several files that were never officially distributed and have some junk names and i believe some crash the game as well. i want to remove these so i found a tutorial at https://mobile.mysterydungeonwiki.com/wiki/Community:Gates_to_Infinity_DLC_Editing_Tutorial that was explaining how to do it and after following up until the point of using makerom command to compile the dlc. it fails with
"[NCCH ERROR] Failed to load ncch aes key
[NCCH ERROR] Content not a valid ncch
[CIA ERROR] Failed to initialize context.
[RESULT] Failed to build CIA (ret = -1)"
ive done my best to try to find whats going on. the specific command used is
"./makerom -f cia -rsf gtidlc.rsf -o gti_dlc_na_out.cia -ckeyid 0 -major 0 -minor 1 -micro 0 -DSaveSize=0 -ignoresign -dlc -i contents/contents.0000.00000066:0x0000:0x00000066 -i contents/contents.0001.00000067:0x0001:0x00000067 -i contents/contents.0002.00000068:0x0002:0x00000068 -i contents/contents.0003.00000069:0x0003:0x00000069 -i contents/contents.0004.0000006a:0x0004:0x0000006a -i contents/contents.0005.0000006b:0x0005:0x0000006b -i contents/contents.0006.0000006c:0x0006:0x0000006c -i contents/contents.0007.0000006d:0x0007:0x0000006d -i contents/contents.0008.0000006e:0x0008:0x0000006e -i contents/contents.0009.0000006f:0x0009:0x0000006f -i contents/contents.000a.00000070:0x000a:0x00000070 -i contents/contents.000b.00000071:0x000b:0x00000071 -i contents/contents.000c.00000072:0x000c:0x00000072 -i contents/contents.0033.00000099:0x0033:0x00000099 -i contents/contents.0034.0000009a:0x0034:0x0000009a -i contents/contents.0035.0000009b:0x0035:0x0000009b -i contents/contents.0036.0000009c:0x0036:0x0000009c -i contents/contents.0037.0000009d:0x0037:0x0000009d -i contents/contents.0038.0000009e:0x0038:0x0000009e -i contents/contents.0039.0000009f:0x0039:0x0000009f -i contents/contents.003a.000000a0:0x003a:0x000000a0 -i contents/contents.003b.000000a1:0x003b:0x000000a1 -i contents/contents.003c.000000a2:0x003c:0x000000a2 -i contents/contents.003d.000000a3:0x003d:0x000000a3 -i contents/contents.003e.000000a4:0x003e:0x000000a4 -i contents/contents.0065.000000cb:0x0065:0x000000cb"

I downloaded the ctrtool to decompile the file of the contents and the makerom from this github and both were the newest versions. Im on windows and used powershell to open the terminal in the folder that house both makerom and ctrtool along with the cia file to decompile. I also have a rsf file that is describe in the tutorial post.

Im sorry for being inexperienced, this very well may be user error, or an error on the part of the person who made the tutorial but this is the only place i could think to ask. Any info would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions