Open MobyGamer opened 11 months ago
Just noticed this is a duplicate of #53 . Will close both when implemented.
Observation: This should also tackle the problem that newly-added favorites don't persist if the game crashes the entire machine, as titles.dat is only saved at TDL exit. titles.dat should be flushed any time before we do an execute or swap. "Flushing metadata cache" should be done immediately after selecting a favorite.
@MobyGamer just wanted to add here that binarybond added this feature and a few others to a branch we used of TDL on the mister. You should be able to merge all of these (minus the Mister CPU one which you probably don't need in the main branch). Here are those code changes https://github.com/bbond007/total-dos-launcher-1/commit/1e20a0dfcc2041399fb6482a125962112d18273c
Thanks for the reference! I'll have to look at these individually (the pull request ended up introducing a regression) but some of them will be great, and I'll mark in the source code comments that bbond007 created anything I include.
I'm really interested with these features, special one with "Save selected menu item persisting reboot" if I can help in any way testing it...
@psakhis asked for a feature to be added that positions the selection bar at the last game executed, persisting across reboots. TDL already does this if you return to TDL after exiting a game, but they wanted this feature persisting across reboots because some games require rebooting DOS to reconfigure memory requirements, drivers, etc.
This functionality can probably be added as a flag in titles.dat, and a TDL.INI option to enable or disable the feature.