Issue with JP/US Dragon Quest V #4

Closed
opened 2026-01-29 22:29:00 +00:00 by claunia · 1 comment
Owner

Originally created by @PPLToast on GitHub (Feb 1, 2020).

Originally assigned to: @mnadareski on GitHub.

The normal secure area for DS games is from 4000-47FF but for DQ5 it's from 4000-436F due to what seems to have been a mistake during production. The US and EU versions have an identical looking area but it differs for the JP one. While the rest of the area from 4370-4800 on US/EU is repeating 00's, it's instead a repeating 8 byte pattern of C4 47 95 15 9B 97 88 A0 on JP.

As for the problem with ndecrypt, currently there seems to be some check for this broken secure area, which works for at least the EU version. It can only be decrypted or encrypted into either state and not again the same way. This is fine. For the US and JP versions on the other hand, ndecrypt sees them as being encrypted the whole time but allows decrypting them forever, each time seeing the rom as being encrypted.

Originally created by @PPLToast on GitHub (Feb 1, 2020). Originally assigned to: @mnadareski on GitHub. The normal secure area for DS games is from 4000-47FF but for DQ5 it's from 4000-436F due to what seems to have been a mistake during production. The US and EU versions have an identical looking area but it differs for the JP one. While the rest of the area from 4370-4800 on US/EU is repeating 00's, it's instead a repeating 8 byte pattern of C4 47 95 15 9B 97 88 A0 on JP. As for the problem with ndecrypt, currently there seems to be some check for this broken secure area, which works for at least the EU version. It can only be decrypted or encrypted into either state and not again the same way. This is fine. For the US and JP versions on the other hand, ndecrypt sees them as being encrypted the whole time but allows decrypting them forever, each time seeing the rom as being encrypted.
claunia added the bugenhancement labels 2026-01-29 22:29:00 +00:00
Author
Owner

@PPLToast commented on GitHub (Dec 15, 2020):

Fixed in 0.2.1(?)

@PPLToast commented on GitHub (Dec 15, 2020): Fixed in 0.2.1(?)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/NDecrypt#4