Okay, I've had a bit of a think ..... but don't worry, I'm okay now. ;)
Red Green silliness (great humor) aside, I took a while to ponder how to deal with the file name change issue possibility, and decided on the following.
1. Not to make a manifest entry replacement mandatory for the game being downloaded.
2. To instead, just check the filename of every file before it is downloaded, using a quick query to GOG.
3. But don't do that (
2.), if the '
Download the latest game file information' option is enabled on the
SETUP window.
4. Silently deal with any file name change found, correcting the
name and
checksum and
size values as needed.
5. Report any changes after the '
Game Files Selector' window closes, by showing a brief summary in the '
Status' field.
Screenshot -
Tutor_39.png 6. Save detail to a file called '
Alerts.txt', which can be viewed or cleared via a '
Games' list right-click menu option '
Alerts'.
Screenshot -
Tutor_40.png 7. Also record any checking done, to the '
Log' file.
8. To have any uncleared alert show on every program start ... especially useful after using a SHUTDOWN option.
9. Don't automatically update the 'Manifest.txt' file for any changes found. Instead, leave that up to the user.
NOTES If user does get an alert, then they should turn on (enable) the '
Download the latest game file information' option on the
SETUP window, and then do an '
ADD TO MANIFEST' for each effected game title. After which they can unset (disable) that option again, if they wish.
You may still have a file name issue, if the quick query doesn't return values correctly or at all ... but that should hopefully be rare, and be reported in the 'Log' file.