I have a bit of a conundrum here. When the player creates a game in my create game widget, it adds the save name to a list of save game names held by a save game database file. I need to be able to allow the player to add saves from their computer, that way if the save game list somehow gets deleted or lost (and they had a backup), they don’t need to start over.
In this picture, the file named DeletedSave was saved elsewhere, then deleted in the savegame folder, and added back, and doesn’t show up on the load game HUD (obviously, because the code doesn’t know to look for it)
LevelToLevelInfo is the database file, and if it is deleted, there’s no way to load any previous saves, because they are no longer saved to an array.
TLDR: How do I find save game files on the computer and add them to my save game array, so that I can add them to my load game widget?
Edit: I just thought up an idea. I could have the user re-enter the save file name, to be re-added to the save game array. If anyone thinks of a better solution, let me know.