Comments (38)
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.
support nds cart dumping.
Please merge the source code
https://github.com/osilloscorpion/Decrypt9WIP/tree/dump_nds_cart
from decrypt9wip.
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.
Added with 34e96d0
Thanks osilloscorpion, @idgrepthat, all testers and everyone involved!
from decrypt9wip.
IIRC uncart had some sort of dump code :p
from decrypt9wip.
D9 has exactly the same dumping code as uncart... and no, DS cart dumping does not work yet
from decrypt9wip.
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.
DSi(Hybrid or enhanced) is not supported, because the protocol is different.
from decrypt9wip.
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?
from decrypt9wip.
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.
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.
from decrypt9wip.
Add error : DSi(Hybrid or enhanced) is not supported
https://github.com/osilloscorpion/Decrypt9WIP/tree/dump_nds_cart
from decrypt9wip.
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.
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.
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.
small note @d0k3 trimming did work properly for me (.nds was trimmed when I picked "trim")
from decrypt9wip.
Please (long?)wait because it is still necessary to test.
from decrypt9wip.
Alright, I'll wait.
from decrypt9wip.
When contains 80000000 in cartID, it has special operation.
try to adjust the readTimeout(Delay) of NTR_CmdSecure
from decrypt9wip.
For example,
secure_ntr.c: 210
u16 readTimeout = ((u16)&header[0x6E]);
readTimeout + = 3000;
from decrypt9wip.
hi, ihaveamac
please test Pokémon Platinum
SecureCartID Ok?
https://github.com/osilloscorpion/uncart-ds/tree/implement-ntr-twl-dumping
from decrypt9wip.
@osilloscorpion can't seem to run that through a9lh.... using v2 and luma chainloader
from decrypt9wip.
I'm using in A9LH and Luma. It worked properly.
from decrypt9wip.
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.
Platinum is a very regular game; that's quite odd x3
from decrypt9wip.
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.
A9LH is required for NDS dumping? Might explain why it's all crashing for me...
from decrypt9wip.
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.
@LiquidFenrir
when you use the uncart-ds, SecureCartID is displayed correctly?
https://github.com/osilloscorpion/uncart-ds/tree/implement-ntr-twl-dumping
from decrypt9wip.
@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.
@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.
@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.
Please merge the source code
https://github.com/osilloscorpion/Decrypt9WIP/tree/dump_nds_cart
from decrypt9wip.
@osilloscorpion Make a pull request.
from decrypt9wip.
Wow he committed account suicide XD
That's not the type of commit we want.
from decrypt9wip.
@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.
Yah, just give me a bit.
from decrypt9wip.
Pokemon W works fine with dumping, and the warning shows up perfectly clear so yay :D
from decrypt9wip.
Related Issues (20)
- Can't Dump Home Menu DLC HOT 1
- Ability to not dump a file to CIA/CXI if it already exists HOT 4
- SeedDB limit? HOT 5
- .firm version for latest Luma? HOT 3
- Content Decryptor, CIA Builder Game directory not found HOT 2
- Console info has wrong data HOT 1
- System Info Bug HOT 1
- Update to work with B9S 1.1/1.2? HOT 3
- Decrypt9 won't boot HOT 2
- Data abort crash on payload load HOT 1
- Can't convert .3ds to .cia anymore HOT 1
- decrypt9 boot error
- Error while dumping downloaded DLC HOT 2
- Decrypt9 unable to build CIA from game installed in EmuNAND HOT 8
- Ak2I " cardtrige is not ak2I".
- CTRNAND partition disappeared after CTRTransfer HOT 6
- Titlekey Decrypt (SysNAND): failed! HOT 1
- Ak2i Flash not restoring HOT 1
- Question
- Decrypt9WIP Doesn't Open HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from decrypt9wip.