Giter Club home page Giter Club logo

Comments (38)

d0k3 avatar d0k3 commented on August 13, 2024 1

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.

from decrypt9wip.

 avatar commented on August 13, 2024 1

support nds cart dumping.
Please merge the source code
https://github.com/osilloscorpion/Decrypt9WIP/tree/dump_nds_cart

from decrypt9wip.

 avatar commented on August 13, 2024 1

Well here's my local changes since he's gone. Do with it what you will. Decrypt9WIP.zip

  • increased compatibility with increased read delay (that he suggested above)
  • fixed file write buffering for about a 20x speedup.

from decrypt9wip.

d0k3 avatar d0k3 commented on August 13, 2024 1

Added with 34e96d0

Thanks osilloscorpion, @idgrepthat, all testers and everyone involved!

from decrypt9wip.

 avatar commented on August 13, 2024

IIRC uncart had some sort of dump code :p

from decrypt9wip.

d0k3 avatar d0k3 commented on August 13, 2024

D9 has exactly the same dumping code as uncart... and no, DS cart dumping does not work yet

from decrypt9wip.

ihaveamac avatar ihaveamac commented on August 13, 2024

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.

from decrypt9wip.

 avatar commented on August 13, 2024

DSi(Hybrid or enhanced) is not supported, because the protocol is different.

from decrypt9wip.

 avatar commented on August 13, 2024

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.

capture

btw - any reason why it's so slow compared to DSi version?

from decrypt9wip.

ihaveamac avatar ihaveamac commented on August 13, 2024

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?

from decrypt9wip.

 avatar commented on August 13, 2024

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.

capture

from decrypt9wip.

 avatar commented on August 13, 2024

Add error : DSi(Hybrid or enhanced) is not supported
https://github.com/osilloscorpion/Decrypt9WIP/tree/dump_nds_cart

from decrypt9wip.

 avatar commented on August 13, 2024

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.

from decrypt9wip.

ihaveamac avatar ihaveamac commented on August 13, 2024

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.

from decrypt9wip.

d0k3 avatar d0k3 commented on August 13, 2024

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.

from decrypt9wip.

ihaveamac avatar ihaveamac commented on August 13, 2024

small note @d0k3 trimming did work properly for me (.nds was trimmed when I picked "trim")

from decrypt9wip.

 avatar commented on August 13, 2024

Please (long?)wait because it is still necessary to test.

from decrypt9wip.

d0k3 avatar d0k3 commented on August 13, 2024

Alright, I'll wait.

from decrypt9wip.

 avatar commented on August 13, 2024

When contains 80000000 in cartID, it has special operation.
try to adjust the readTimeout(Delay) of NTR_CmdSecure

from decrypt9wip.

 avatar commented on August 13, 2024

For example,
secure_ntr.c: 210
u16 readTimeout = ((u16)&header[0x6E]);
readTimeout + = 3000;

from decrypt9wip.

 avatar commented on August 13, 2024

hi, ihaveamac
please test Pokémon Platinum
SecureCartID Ok?
https://github.com/osilloscorpion/uncart-ds/tree/implement-ntr-twl-dumping

from decrypt9wip.

ihaveamac avatar ihaveamac commented on August 13, 2024

@osilloscorpion can't seem to run that through a9lh.... using v2 and luma chainloader

from decrypt9wip.

 avatar commented on August 13, 2024

I'm using in A9LH and Luma. It worked properly.

from decrypt9wip.

 avatar commented on August 13, 2024

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

from decrypt9wip.

 avatar commented on August 13, 2024

Platinum is a very regular game; that's quite odd x3

from decrypt9wip.

LiquidFenrir avatar LiquidFenrir commented on August 13, 2024

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

from decrypt9wip.

PPLToast avatar PPLToast commented on August 13, 2024

A9LH is required for NDS dumping? Might explain why it's all crashing for me...

from decrypt9wip.

 avatar commented on August 13, 2024

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

from decrypt9wip.

 avatar commented on August 13, 2024

@LiquidFenrir
when you use the uncart-ds, SecureCartID is displayed correctly?
https://github.com/osilloscorpion/uncart-ds/tree/implement-ntr-twl-dumping

from decrypt9wip.

d0k3 avatar d0k3 commented on August 13, 2024

@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.

from decrypt9wip.

LiquidFenrir avatar LiquidFenrir commented on August 13, 2024

@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

from decrypt9wip.

PPLToast avatar PPLToast commented on August 13, 2024

@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)

from decrypt9wip.

 avatar commented on August 13, 2024

Please merge the source code
https://github.com/osilloscorpion/Decrypt9WIP/tree/dump_nds_cart

from decrypt9wip.

droped avatar droped commented on August 13, 2024

@osilloscorpion Make a pull request.

from decrypt9wip.

 avatar commented on August 13, 2024

Wow he committed account suicide XD
That's not the type of commit we want.

from decrypt9wip.

d0k3 avatar d0k3 commented on August 13, 2024

@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)

from decrypt9wip.

 avatar commented on August 13, 2024

Yah, just give me a bit.

from decrypt9wip.

 avatar commented on August 13, 2024

Pokemon W works fine with dumping, and the warning shows up perfectly clear so yay :D

from decrypt9wip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.