retro-go icon indicating copy to clipboard operation
retro-go copied to clipboard

Deleting the most recently loaded ROM from the SD card causes unfriendly error message

Open greigs opened this issue 2 months ago • 4 comments

Describe the bug

If you load up a ROM and then power down and delete that ROM from the SD card, on next boot it will attempt to reload that last ROM and it shows an error. The error is not friendly for a casual user without technical knowledge.

To Reproduce

Steps to reproduce the behavior:

  1. load any rom from SD card
  2. power off
  3. delete rom file from SD card
  4. insert SD card and power on
  5. Unfriendly Error message is shown

Expected behavior

It should fail gracefully without the error message, or a more friendly message should be shown..

greigs avatar Oct 12 '25 11:10 greigs

Seems like a bug but may be intended behaviour. Maybe an improvement? Closing for now.

greigs avatar Oct 12 '25 12:10 greigs

It should fail gracefully without the error message, or a more friendly message should be shown..

It's not possible to guess if the user deliberately deleted the file or if the file failed to load due to hardware or software fault, so we have to show a message. But I'm open to improving it.

I think the current error message shown is something like "ROM failed to load!", right? Do you have suggestions to make it friendly?

What do you think of something like:

Failed to load: smb.nes
Error: File not found

?

ducalex avatar Oct 17 '25 16:10 ducalex

Yes, that seems like a reasonable improvement. The additional feedback makes it clearer.

greigs avatar Oct 17 '25 16:10 greigs

Alright, I'll make the changes. I'll need some time (there's a surprising amount of things to consider for such a simple change!) but it will be in the next release. Let's keep this issue open until the change has landed.

ducalex avatar Oct 27 '25 16:10 ducalex