d0k3 / Decrypt9WIP

Multipurpose content dumper and decryptor for the Nintendo 3DS
GNU General Public License v2.0
404 stars 59 forks source link

Unable to dump DLC into CXI #146

Closed MelonGx closed 7 years ago

MelonGx commented 7 years ago

No problem with dumping applications (00040000) & patches (0004000e) though.

Initializing SD card... success Build: Decrypt9WIP (2017/01/24) Work directory: /files9 Game directory: /files9 sector0x96 Key: loaded, stored 0x03 KeyX & KeyY: automatically set up 0x25 KeyX: loaded, verified, set up 0x18 KeyX: already set up 0x1B KeyX: not found 0x24 KeyY: automatically set up Finalizing Initialization...

Initialization: partially failed

Selected: [SD CXI Dumper (SysNAND dir)] 0x34 KeyY: set up from NAND

id0 is (snip) Use arrow keys and A to choose a folder /title/0004008c/00190e00

Decrypting CXI from ID 0004008C00190E00 Copying content id 00000065 (72 kB)... Content not found 0x generated / 1x failed SD CXI Dumper (SysNAND dir): failed!

Press B to return, START to reboot.

urherenow commented 7 years ago

Not that it's your issue, but why the heck wouldn't you take care of your missing key before posting an issue?

MelonGx commented 7 years ago

@urherenow Shut up your smelly mouth it's not 0x1B issue.

Initializing SD card... success Build: Decrypt9WIP (2017/01/24) Work directory: /files9 Game directory: /files9 sector0x96 Key: loaded, stored 0x03 KeyX & KeyY: automatically set up 0x25 KeyX: loaded, verified, set up 0x18 KeyX: already set up 0x1B KeyX: loaded, verified, set up 0x24 KeyY: automatically set up Finalizing Initialization...

Initialization: success!

Selected: [SD CXI Dumper (SysNAND dir)] 0x34 KeyY: set up from NAND

id0 is (snip) Use arrow keys and A to choose a folder /title/0004008c/00190e00

Decrypting CXI from ID 0004008C00190E00 Copying content id 00000065 (72 kB)... Content not found 0x generated / 1x failed SD CXI Dumper (SysNAND dir): failed!

Press B to return, START to reboot.

urherenow commented 7 years ago

Edited after calming down a bit :/

MelonGx commented 7 years ago

@urherenow The first guy becoming nasty is not me but you. This is not the first time I dislike how you are speaking. Come on! Just to see who will be fucked up at last. Maybe it's not me, right?

Back to the topic. If it was 0x1B issue, it would give a response of "Missing xxx file" or similar, BEFORE processing content.

One successful case 0004000000190E00 has 3 .app files and 1 .tmd file on default folder (/title/00040000/00190e00/content). Decrypt9WIP automatically picked the largest one 00000000.app to convert it into .CXI. The fail case 0004008c00190E00 has 82 .app files inside /title/0004008c/00190e00/content/00000000 folder, and 1 .tmd file on the default folder (/title/0004008c/00190e00/content).

urherenow commented 7 years ago

Ok, now that I'm at home with a real keyboard, here's a recap...

Your post included: 0x1B KeyX: not found ^This says you have a missing file

I posted: Not that it's your issue, but ^ This clearly states that I realize that it's not your issue

Continuing with: why the heck wouldn't you take care of your missing key before posting an issue?

^^ Last, I checked, this was a QUESTION. Not a statement. And a legitimate question at that. If you insist on testing things KNOWING that something is wrong/missing, then your testing skills are useless.

to which you replied: @urherenow Shut up your smelly mouth ^ Personal and nasty. First occurrence here. As opposed to the many nasty ways I could have put my question, but DIDN'T.

Being able to handle some DLC dumping is a nice side effect of the dumping code, but I'm not sure it was explicitely intended. There are things like FunKeyCIA that directly grab files from the eshop servers and make perfectly good .cia's out of them. It grabs ALL of the current DLC for a game, whereas decrypt9wip would have to go through the trouble of checking WHAT DLC you have actually purchased/installed to even know if anything was missing or not. The number of DLC files for any given game on any individual system could be different. That isn't the case with the games themselves.

MelonGx commented 7 years ago

"why the heck wouldn't you" <-- That's why your mouth is smelly. Just that simple. Why can't I dislike YOU because of this?

BTW, you never know what is the purpose of converting DLC to CXI. What you listed and discussed are just based on your limited knowledge. There IS another way to get the thing without converting a content into CXI. But via Decrypt9WIP it's convienent.

urherenow commented 7 years ago

"But via Decrypt9WIP it's convienent" <-- yea... then what's this issue for

MelonGx commented 7 years ago

yea... then what's this issue for <-- None of your business. I'm asking question to d0k3 but not you. You can never make desicion instead of d0k3. If BLOCKING you could hide everything you posted which makes me unhappy, I would never blaming on you anymore. But in Github it can't.

d0k3 commented 7 years ago

Eh, a catfight in my issues section? Is it okay if I interrupt?

Anyways... the missing key also has nothing to do with it. But we already knew, right?

CXI dumping is the wrong choice for DLC. DLC doesn't even contain a CXI, cause it normally is just DLC data + an index file (first content, where the CXI would normally be). Theme packs, f.e., are DLCs.

As to how to get DLC running in Citra, I can't tell... maybe consult their readme or some Citra support place?

Here's two things you could try:

Is the file called 00000065.app actually available, btw?

MelonGx commented 7 years ago

@d0k3 Thanks for the technical explaination. I'll back to DLC to CIA & just not having any issue on CIA building. 00000065.app is verified available by GM9. It seems to be the first file to access, I mean, .tmd -> 00000065 -> other.