Hello !
I’ve completed my new game/save game features( all in blueprint ), and now i’m looking to make my loading menu ( the place when you see all the savegame and pick yours).
I’ve already done something like that with the screen resolution, but i don’t know how to do with my savegame file.
I know how to create the button for every savegame, but not how to check the number of savegame and load them wihout knowing her name.
Thanks in advance, Westtunger
in Microsoft Windows, in every folder there is a hidden file called Thumbs.db, which contains meta data for all of the files in the folder, which allows you to view some information about the files without needing to load the entire contents of every file. you should make something similar with your save system: a file that contains meta data for all the save games.
make a struct that contains everything a save file card would need, like Icon, name, Level, Location, and PlayTime. then make a saveGame which has an array of these structs. call that save game “SaveFileThumbs”.
now you should have 2 kinds of save games: 1 for your game’s progress, and another for the data required to fill out the fields of the save file cards. you may also want to add some redundancy to the save system to make it less likely to be corrupted, you can do this by saving everything twice.
so if you were saving a game to the third save slot, first it would load the SaveFileThumbs.sav, change the data at index 3 in the array of structs, and save the SaveFileThumbs.sav. then save your normal game data with a filename of 3A. then save that data again with a file name of 3B, as a backup in case one becomes corrupt. then save SaveFileThumbsB as a backup.
Thanks you, i’ll try that =)
Problem solved, thank you Omnicypher !