SabreTools / NDecrypt

Cartridge encrypt/decrypt
MIT License
43 stars 6 forks source link

'*.nds.enc' extension not being recognized #15

Closed spiritfader closed 7 months ago

spiritfader commented 7 months ago

Attempting to decrypt an NDS image that was dumped with Godmode9 on 3DS fails. The dumped encrypted NDS image yields an extension of .nds.enc which is not recognized by NDecrypt. This is the recommended way to dump an NDS cartridge using godmode9 so .nds.enc should be recognized.

Current issue yielding unexpected Behavior:

❯ NDecrypt.exe d '.\50CLSCGAMES2_B5OENR_00.nds.enc'
.\50CLSCGAMES2_B5OENR_00.nds.enc
Unrecognized file format for .\50CLSCGAMES2_B5OENR_00.nds.enc. Expected *.nds, *.srl, *.dsi, *.3ds
Processing failed!

Expected Behavior with Fix:

❯ NDecrypt.exe d '.\50CLSCGAMES2_B5OENR_00.nds.enc'
.\50CLSCGAMES2_B5OENR_00.nds.enc
File recognized as Nintendo DS
File has been decrypted