Skip to content

BASE: Show error description when game fails to run #6666

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

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

tunnelsociety
Copy link
Contributor

@tunnelsociety tunnelsociety commented May 30, 2025

The previous "not...any engine" message was appropriate in the past (circa 1a93895), but with changes over time it began appearing even for other error conditions (e.g. some game data files missing); thus it is sometimes incorrect.

Instead, show a message like we already do around line 824.

When I first tried this, I saw a lot of "Unknown error", hence #6665 :-)

Wretched PR number ✞

By the way, if this isn't an acceptable change, shall we consider adjusting the translated string to be the same as the almost identical one currently near gui/launcher.cpp:562, "ScummVM could not find any engine capable of running the selected game!"? (But I think we should change it: if game files are missing, it isn't right to say there is no capable engine.)

The previous "not...any engine" message was appropriate in the past (circa
1a93895), but with changes over time it began appearing even for
other error conditions (e.g. some game data files missing); thus it was
sometimes incorrect.
@bluegr
Copy link
Member

bluegr commented Jun 3, 2025

Looks good, thanks!

@bluegr bluegr merged commit 44b4b28 into scummvm:master Jun 3, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants