Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encrypted ROMs freeze at a white screen without any further output #228

Closed
5 of 11 tasks
JesseTG opened this issue Sep 10, 2024 · 1 comment
Closed
5 of 11 tasks

Encrypted ROMs freeze at a white screen without any further output #228

JesseTG opened this issue Sep 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@JesseTG
Copy link
Owner

JesseTG commented Sep 10, 2024

What version of melonDS DS are you using?

1.1.7

Does the problem happen in standalone melonDS?

I don't know.

What happened?

When decrypting a ROM fails, the DS will freeze at a blank white screen. This is expected behavior, but freezing like this is a bad experience for emulators.

What should've happened instead?

I should detect encrypted ROMs in advance; if they're encrypted, I should exit with an error message unless using native sysfiles.

Which platforms do you see the problem on?

  • Windows
  • macOS
  • Linux
  • Android
  • iOS
  • tvOS
  • Other (specify below)

Which versions of the OS?

10

Which libretro frontend are you using?

RetroArch 1.19.0

Terms

  • I agree to follow the code of conduct.
  • I understand that melonDS DS is not developed or maintained by the authors of melonDS.
  • I understand that this form is for reporting bugs, not for requesting help.
  • I understand that the author develops this core in his spare time, and that he is under no obligation to respond to this bug report.
@JesseTG JesseTG added the bug Something isn't working label Sep 10, 2024
@JesseTG
Copy link
Owner Author

JesseTG commented Sep 11, 2024

Suggestions from Nadia and CasualPokePlayer:

Nadia: well, for you it seems easy enough
if encryObj is not there and not using official BIOS then fail
CasualPokePlayer:
more, check if FFh,DEh,FFh,E7h,FFh,DEh,FFh,E7h is present, if it is, it's decrypted already
if you want to go further, than with official bios you can check if the decryption works or not

Relevant part of GBATek is here http://problemkaputt.de/gbatek-ds-cartridge-secure-area.htm

@JesseTG JesseTG moved this to Done in melonDS DS Oct 18, 2024
@JesseTG JesseTG closed this as completed by moving to Done in melonDS DS Oct 18, 2024
@JesseTG JesseTG removed the status in melonDS DS Oct 18, 2024
@JesseTG JesseTG reopened this Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant