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 flashcard #153

Closed tetsuo55 closed 7 years ago

tetsuo55 commented 7 years ago

I am trying to dump my flashcard to figure out what, if anything, is wrong with the header of it. When i try do so however i get the following screen

Dump cart [full] Cartridge id FFFFFFFF cartridge type CTR error reading cart NCCH header

the cart is an r4i from r4.ndsi.in which should not be detected as CTR

d0k3 commented 7 years ago

Try it again in GodMode9 (check the cart drive, C:), then report back.

tetsuo55 commented 7 years ago

it is reported as 0 Byte clicking on it only shows ..

d0k3 commented 7 years ago

I need more information. Is the only entry you see in there the virtual ".." entry? The one that on A returns to the containing folder? Or do you see any filenames?

tetsuo55 commented 7 years ago

Only the virtual ".." is visible and there are no other files or folders

And to be clear, the home menu shows the icon/banner of the cart. It cannot be booted (hangs on a white screen) but it does work if I use ntr_launcher with the slot1 reset option

d0k3 commented 7 years ago

Well... I have my doubts the problem is in D9 or GM9. It is very much possible that flashcard is simply defective. I'd suggest you try dumping it in Woodumper (if you can get a hold of a compatible console), or otherwise simply ask around elsewhere.

tetsuo55 commented 7 years ago

If it displays the icon on the home menu and can be launched isn't it safe to conclude something is with d9 and gm9?

There clearly is something wrong with the cart because it no longer completely boots without the reset slot 1 thing. But the parts that do work should show up in gm9

tetsuo55 commented 7 years ago

I fixed my cart, but gm9 still does not see it

d0k3 commented 7 years ago

Well... what do you mean by fixed your cart? Does it work in D9 now? Also, don't make such assumptions, even if they work most of the time, flashcards are special. They use exploits etc when the dumping code in D9 / GM9 is made for regular retail cartridges.

tetsuo55 commented 7 years ago

By fixing the cart i mean flashing the original firmware to it. Restoring its fuctionality in the sense that it now works normally from the home menu.

I am assuming D9 / GM9 are capable of dumping everything and have feature parity or even exceeding that of older apps like wooddumper. I understand now that this assumption is incorrect.

As for D9, it still shows the same error as my first post and GM9 still shows an empty directory.

d0k3 commented 7 years ago

Well... the code in D9 / GM9 is completely rewritten. Woodumper is closed source, too, so it's not like we can take too much out of it. It is possible that there are carts out there for which Woodumper works and D9 / GM9 does not. This is why I'm asking you to try it in Woodumper. Con you do this and let me know the result?

Btw, I'm assuming something in that cart makes the cart type (3DS or DS?) check fail.

d0k3 commented 7 years ago

Okay, one more thing to try... https://transfer.sh/15ytoy/godmode9-20170216-143737.zip

Could you try this test build?

tetsuo55 commented 7 years ago

Unfortunately that test file still shows and empty folder.

In the mean time i am trying to figure out how to use wooddumper on a 3ds :)

tetsuo55 commented 7 years ago

I tried various version of wooddumper on a 3ds and a dsi and they all hung indefinately on "reading secure header"

i hear "NDS Backup Tool wifi" has a higher successrate but it takes a lot of work to configure and i already solved the issue that started this quest. (being the ability to boot the cart from the home menu)

What i did discover however is that wooddumper can dump the m3 ds simply, this card also cannot be read by GM9 or be dumped by D9.

I guess this issue can be closed then unless you want to further troubleshoot the m3 ds simply and see if that brings gm9 any closer to displaying its contents

d0k3 commented 7 years ago

Tbh, I'm unsure about how to proceed with this. Improving the cart dumper is a bit like stumbling in the dark, pushing switches until one works (and maybe amkes something else no more work). I'm still closing this now, but I added these two flashcarts to the list here: https://github.com/d0k3/Decrypt9WIP/issues/147 ... so, let's continue in this issue.

Can you tell me the output when trying to dump the M3 DS Simply in D9? Maybe provide the log? But, please, continue in the other issue.