# Best practice for getting list of save game files?

**URL:** <https://forums.unrealengine.com/t/best-practice-for-getting-list-of-save-game-files/477832>\
**Category:** Community & Industry Discussion\
**Tags:** load-game, save-file, save-game, unreal-engine, question\
**Created:** [January 26, 2021, 10:51pm UTC](https://forums.unrealengine.com/t/best-practice-for-getting-list-of-save-game-files/477832 "2021-01-26T22:51:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![catsnackwiches](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@catsnackwiches](https://forums.unrealengine.com/u/catsnackwiches)\
**Post date:** [January 26, 2021, 10:51pm UTC](https://forums.unrealengine.com/t/best-practice-for-getting-list-of-save-game-files/477832/1 "2021-01-26T22:51:34Z")

</div>

What is the best practice for getting a list of all save files to show to the user? I’ve search around and the two main recommendations I’ve found are: a) creating file or another save game object that lists all the save games, in addition to some basic information about each save to show on the loading screen, and b) doing a directory search for save game files.

I don’t like the first option because if a save file gets deleted, or if this special save game file gets deleted, it’s not good. And the latter option is platform specific. What’s the best/standard way to do this?

---

<div class="post-metadata">

**Author:** ![catsnackwiches](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@catsnackwiches](https://forums.unrealengine.com/u/catsnackwiches)\
**Post date:** [January 26, 2021, 11:12pm UTC](https://forums.unrealengine.com/t/best-practice-for-getting-list-of-save-game-files/477832/2 "2021-01-26T23:12:21Z")

</div>

Perhaps I should use FPaths::ProjectSavedDir()

---

<div class="post-metadata">

**Author:** ![catsnackwiches](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@catsnackwiches](https://forums.unrealengine.com/u/catsnackwiches)\
**Post date:** [January 26, 2021, 11:34pm UTC](https://forums.unrealengine.com/t/best-practice-for-getting-list-of-save-game-files/477832/3 "2021-01-26T23:34:41Z")

</div>

Okay, I see how to ProjectSavedDir() to get all the save files. But is there a good way to load some basic info about the save files for the user without loading all the save files?

---

<div class="post-metadata">

**Author:** ![Detach789](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Detach789](https://forums.unrealengine.com/u/Detach789)\
**Post date:** [January 26, 2021, 11:40pm UTC](https://forums.unrealengine.com/t/best-practice-for-getting-list-of-save-game-files/477832/4 "2021-01-26T23:40:32Z")

</div>

I’m not clear what you mean by “to show the user” here. You mean like one of those slot selection screens to display in UMG after the player selects “load game” from a main menu?

---

<div class="post-metadata">

**Author:** ![catsnackwiches](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@catsnackwiches](https://forums.unrealengine.com/u/catsnackwiches)\
**Post date:** [January 27, 2021, 12:01am UTC](https://forums.unrealengine.com/t/best-practice-for-getting-list-of-save-game-files/477832/5 "2021-01-27T00:01:18Z")

</div>

Yes, it’s helpful to display some details about each save game in the save game selection menu
