total-dos-launcher icon indicating copy to clipboard operation
total-dos-launcher copied to clipboard

Option for the selection bar to return to the last game executed, persisting across reboots

Open MobyGamer opened this issue 2 years ago • 5 comments

@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.

MobyGamer avatar Nov 16 '23 04:11 MobyGamer

Just noticed this is a duplicate of #53 . Will close both when implemented.

MobyGamer avatar Nov 16 '23 04:11 MobyGamer

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 avatar Feb 03 '24 19:02 MobyGamer

@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

  • Multiple character search
    • Customizable colors
    • Disable blinking (optional) - allows 8 additional background colors.
    • Customizable Icons and mouse pointer characters
    • Mouse support
    • Joystick/Gamepad support (optional)
    • Configurable sort order
    • Save selected menu item persisting reboot (TDL.CUR)
    • Configurable MiSTer CPU speed setting (optional)

flynnsbit avatar Apr 22 '24 02:04 flynnsbit

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.

MobyGamer avatar Apr 23 '24 03:04 MobyGamer

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 avatar Apr 29 '24 12:04 psakhis