Closed droped closed 8 years ago
NDS cart dumping is not trivial stuff. Once it is figured out, it will be added to D9. I'm leaving this open because this is, in fact, a planned feature. Don't expect anything to happen soon, though.
IIRC uncart had some sort of dump code :p
D9 has exactly the same dumping code as uncart... and no, DS cart dumping does not work yet
support nds cart dumping. Please merge the source code https://github.com/osilloscorpion/Decrypt9WIP/tree/dump_nds_cart
so far it was able to dump my Animal Crossing: Wild World game card, as well as Warioware: DIY. it doesn't dump Pokémon Black (DSi-enhanced) though.
Selected: [Dump Cart (full)]
Cartridge ID: C001FFC2
Product name: POKEMON B
Product ID: IRBO01
Cartridge data size: 256MB
Cartridge used size: 195MB
Cartridge dump size: 256MB
Invalid SecureCartID. (D0EE2866 != C001FFC2)
Error reading secure data
Dump Cart (full): failed!
Press B to return, START to reboot.
DSi(Hybrid or enhanced) is not supported, because the protocol is different.
It dumped Biggest Loser US just fine. It dumped a DS mode copy of course and it ran fine on desmume. On DSi mode from no$gba, it crashed as expected.
btw - any reason why it's so slow compared to DSi version?
I was told Pokémon HeartGold failed as well, with a similar issue to Black. both of these games have extra hardware in the game card (infrared), so could that be it?
System Flaw also dumped. Looks like just the crypto is wrong (on second look, all the header past 200h is missing). It will boot the ingame "wrong system" error screen at least.
Add error : DSi(Hybrid or enhanced) is not supported https://github.com/osilloscorpion/Decrypt9WIP/tree/dump_nds_cart
Add error : DSi(Hybrid or enhanced) is not supported https://github.com/osilloscorpion/Decrypt9WIP/tree/dump_nds_cart
I think a warning would be more appropriate since this appears to still dump usable hybrid carts in DS mode. Check up a few posts with Biggest Loser.
it also apparently failed with Pokémon Platinum, which as far as I know has no special hardware or anything.
Selected: [Dump Cart (full)]
Cartridge ID: 80007FC2
Product name: POKEMON PL
Product ID: CPUE01
Cartridge data size: 128MB
Cartridge used size: 99MB
Cartridge dump size: 128MB
Invalid SecureCartID. (D0EE2866 != 80007FC2)
Error reading secure data
Dump Cart (full): failed!
Press B to return, START to reboot.
Okay, first of all, thanks for those modifications. This is a big step forward! As there is still some testing going on and there are still commits coming, I'll wait for a bit, right?
Once I take it over, I may also do some squashing and I may change a thing or two (f.e. we need to prevent users trying to make CIAs from NDS carts, and I am atm unsure if trimming works when dumping DS carts.
small note @d0k3 trimming did work properly for me (.nds was trimmed when I picked "trim")
Please (long?)wait because it is still necessary to test.
Alright, I'll wait.
When contains 80000000 in cartID, it has special operation. try to adjust the readTimeout(Delay) of NTR_CmdSecure
For example, securentr.c: 210 u16 readTimeout = ((u16_)&header[0x6E]); readTimeout + = 3000;
hi, ihaveamac please test Pokémon Platinum SecureCartID Ok? https://github.com/osilloscorpion/uncart-ds/tree/implement-ntr-twl-dumping
@osilloscorpion can't seem to run that through a9lh.... using v2 and luma chainloader
I'm using in A9LH and Luma. It worked properly.
I think you have to use make a9lh for it to work. Anyway, here's a d9wip that dumps platinum just fine for me. decrypt9WIP.zip
Platinum is a very regular game; that's quite odd x3
I tried dumping Spectrobes (NTR-ASUP-EUR) and Final Fantasy IV (NTR-YF4P-EUR), spectrobes worked but FF didn't. It showed the same SecureCartID that @ihaveamac had with Pokémon Platinum. It did dump correctly by using the build @idgrepthat posted
A9LH is required for NDS dumping? Might explain why it's all crashing for me...
A9LH is required for NDS dumping? Might explain why it's all crashing for me...
Here's a full release build Decrypt9WIP-20160807-171527.zip
@LiquidFenrir when you use the uncart-ds, SecureCartID is displayed correctly? https://github.com/osilloscorpion/uncart-ds/tree/implement-ntr-twl-dumping
@osilloscorpion once this is ready for take over into my branch, just let me know. You can also do a pull request if you want.
@osilloscorpion I'm not sure what you mean by "displayed correctly", using that thing showed "Secure chip ID: D0EE2866", and "Chip ID is 80007FC2" for FFIV
@idgrepthat This worked for me with 3dsx, dumped a few games along with Platinum and all worked fine (except TWL of course) good stuff :)
(oh and platinum did result in a "bad" dump for whatever reason, CRC32 2ADABB54 rather than 71ACA63A, idk why E: Underdumped header seems, not sure if it can be fixed somehow)
Please merge the source code https://github.com/osilloscorpion/Decrypt9WIP/tree/dump_nds_cart
@osilloscorpion Make a pull request.
Wow he committed account suicide XD That's not the type of commit we want.
Well here's my local changes since he's gone. Do with it what you will. Decrypt9WIP.zip
@idgrepthat can you do a pull request with that? @osilloscorpion's account seems to be gone, so we can't credit him anymore (which I would want)
Yah, just give me a bit.
Pokemon W works fine with dumping, and the warning shows up perfectly clear so yay :D
Added with https://github.com/d0k3/Decrypt9WIP/commit/34e96d0e9dca28b746d2ac577f27d112fe19c4e3
Thanks osilloscorpion, @idgrepthat, all testers and everyone involved!
Some work has already been done in this repo but it seems like it has stalled.