Could not read keys. Please make sure the file exists and try again. #25

Closed
opened 2026-01-29 22:29:23 +00:00 by claunia · 4 comments
Owner

Originally created by @graphixillusion on GitHub (Dec 15, 2025).

Originally assigned to: @mnadareski on GitHub.

Ndecrypt /path/to/someFile.3ds gives the error in the title.

Scenario:

CWD
|
|-ndecrypt
|-config.json
|-3ds file

Tried both on Linux and Windows. In this case config.json is next to the executables but the error occurs with config inside ~/.config/ndecrypt - %userprofile%.config\ndecrypt too

Summary:

ndecrypt e/d title.3ds ==> doesn't work

ndecrypt e/d title.3ds -c path/to/config.json ==> works

Originally created by @graphixillusion on GitHub (Dec 15, 2025). Originally assigned to: @mnadareski on GitHub. Ndecrypt /path/to/someFile.3ds gives the error in the title. Scenario: CWD | |-ndecrypt |-config.json |-3ds file Tried both on Linux and Windows. In this case config.json is next to the executables but the error occurs with config inside ~/.config/ndecrypt - %userprofile%\.config\ndecrypt too Summary: ndecrypt e/d title.3ds ==> doesn't work ndecrypt e/d title.3ds -c path/to/config.json ==> works
Author
Owner

@mnadareski commented on GitHub (Dec 15, 2025):

Working theory is that I accidentally removed default filename handling in the move over to the commandline library.

@mnadareski commented on GitHub (Dec 15, 2025): Working theory is that I accidentally removed default filename handling in the move over to the commandline library.
Author
Owner

@mnadareski commented on GitHub (Dec 15, 2025):

My hunch appears to have been correct. The location where the config is being read from does not provide the default config.json path value, instead only relying on the passed in parameters.

@mnadareski commented on GitHub (Dec 15, 2025): My hunch appears to have been correct. The location where the config is being read from does not provide the default `config.json` path value, instead only relying on the passed in parameters.
Author
Owner

@mnadareski commented on GitHub (Dec 15, 2025):

Please try the WIP when it builds.

@mnadareski commented on GitHub (Dec 15, 2025): Please try the WIP when it builds.
Author
Owner

@graphixillusion commented on GitHub (Dec 16, 2025):

Yep, WIP build works good!

@graphixillusion commented on GitHub (Dec 16, 2025): Yep, WIP build works good!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/NDecrypt#25