# How to change the Saved folder location?

**URL:** <https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [September 16, 2014, 12:15pm UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846 "2014-09-16T12:15:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ixiguis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ixiguis](https://forums.unrealengine.com/u/Ixiguis)\
**Post date:** [September 16, 2014, 12:15pm UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/1 "2014-09-16T12:15:27Z")

</div>

A game packaged in Shipping configuration saves its stuff to `C:\Users\UserName\AppData\Local\GameName`.

How do I change it to, say, `Documents\My Games\GameName`?

---

<div class="post-metadata">

**Author:** ![Ixiguis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ixiguis](https://forums.unrealengine.com/u/Ixiguis)\
**Post date:** [September 23, 2014, 6:39pm UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/2 "2014-09-23T18:39:02Z")

</div>

Bump…

---

<div class="post-metadata">

**Author:** ![alperenakyuz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@alperenakyuz](https://forums.unrealengine.com/u/alperenakyuz)\
**Post date:** [March 2, 2015, 9:26am UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/3 "2015-03-02T09:26:00Z")

</div>

Bump…

---

<div class="post-metadata">

**Author:** ![gustavorios2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gustavorios2/32/1194641_2.png) [@gustavorios2](https://forums.unrealengine.com/u/gustavorios2)\
**Post date:** [March 10, 2015, 1:15pm UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/4 "2015-03-10T13:15:30Z")

</div>

I want to know that one too

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0599cf61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0599cf61](https://forums.unrealengine.com/u/anonymous_user_0599cf61)\
**Post date:** [May 18, 2015, 12:44pm UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/5 "2015-05-18T12:44:54Z")

</div>

Waiting for answer…

---

<div class="post-metadata">

**Author:** ![aguycalleddave](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aguycalleddave](https://forums.unrealengine.com/u/aguycalleddave)\
**Post date:** [July 22, 2015, 4:33pm UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/6 "2015-07-22T16:33:06Z")

</div>

Having the same issue with Windows Shipping Builds, but figured it out.

I followed it back to the function where the UserSettingsDir is set for shipping games.

On Windows, it calls UserSettingsDir() in WindowsPlatformProcess.cpp.

If you change the following at around line 785:

```
HRESULT Ret = SHGetFolderPath(NULL, CSIDL_LOCAL_APPDATA, NULL, SHGFP_TYPE_CURRENT, UserPath);

```

to:

```
HRESULT Ret = SHGetFolderPath(NULL, CSIDL_MYDOCUMENTS, NULL, SHGFP_TYPE_CURRENT, UserPath);

```

and add a ‘My Games’ folder to the final string at around line 789:

```
WindowsUserSettingsDir = FString(UserPath).Replace(TEXT("\\"), TEXT("/")) + TEXT("/") + TEXT("My Games/");

```

It will create the Saved folder in My Documents/My Games/GameName/Saved/, which is similar behaviour to a number of UE titles. In there right now alongside our game on my machine is /SpecOps-TheLine/ and /The Vanishing of Ethan Carter/.

What’s weird is this comment above the line that sets the user folder in appdata, which says to me this is either an oversight or a change of plan:

```
// get the My Documents directory

```

You can also look into Paths.cpp, in the functions ShouldSaveToUserDir() and GameUserDir() if you don’t want to modify the WindowsPlatformProcess.cpp, but modifying just the windows one will stop anything weird happening with other platforms.

Hope this helps!

- aguycalleddave

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_689e935a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_689e935a](https://forums.unrealengine.com/u/anonymous_user_689e935a)\
**Post date:** [August 15, 2015, 5:36pm UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/7 "2015-08-15T17:36:38Z")

</div>

Is there any official way of doing this I wonder? Any Epic dev care to comment?

---

<div class="post-metadata">

**Author:** ![H\_C\_C](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@H\_C\_C](https://forums.unrealengine.com/u/H_C_C)\
**Post date:** [October 20, 2015, 1:41am UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/8 "2015-10-20T01:41:35Z")

</div>

Bumping this… Curious about this situation for windows 10… since My Documents have now changed to just “Documents” Using this method, it wouldn’t work if you distributed to a user who isn’t using one or the other. I might end up using APPDATA to store save games because of this problem.

---

<div class="post-metadata">

**Author:** ![Sasuke](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sasuke](https://forums.unrealengine.com/u/Sasuke)\
**Post date:** [January 25, 2016, 8:02pm UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/9 "2016-01-25T20:02:27Z")

</div>

Bump…

---

<div class="post-metadata">

**Author:** ![Avelworldcreator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Avelworldcreator](https://forums.unrealengine.com/u/Avelworldcreator)\
**Post date:** [March 10, 2016, 2:17pm UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/10 "2016-03-10T14:17:40Z")

</div>

Bump. But how about solution that uses blueprints instead? Please? Why hasn’t Epic staff chimed in on this question?

---

<div class="post-metadata">

**Author:** ![BujakD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BujakD](https://forums.unrealengine.com/u/BujakD)\
**Post date:** [August 25, 2016, 2:32pm UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/11 "2016-08-25T14:32:50Z")

</div>

I also would like to here is there any proper way to do this.

---

<div class="post-metadata">

**Author:** ![BujakD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BujakD](https://forums.unrealengine.com/u/BujakD)\
**Post date:** [August 25, 2016, 2:33pm UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/12 "2016-08-25T14:33:10Z")

</div>

I also would like to know if there is any proper way to do this.

---

<div class="post-metadata">

**Author:** ![lennysunreal](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lennysunreal/32/984341_2.png) [@lennysunreal](https://forums.unrealengine.com/u/lennysunreal)\
**Post date:** [March 7, 2017, 12:27am UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/13 "2017-03-07T00:27:16Z")

</div>

Yup yup, would love to see a blue print node or console command that lets us set this.

---

<div class="post-metadata">

**Author:** ![Kibblesticks](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kibblesticks](https://forums.unrealengine.com/u/Kibblesticks)\
**Post date:** [September 7, 2017, 10:42am UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/14 "2017-09-07T10:42:25Z")

</div>

Bumping this too. Would love a Blueprint or Packaging option to do this.

---

<div class="post-metadata">

**Author:** ![Orange23](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Orange23](https://forums.unrealengine.com/u/Orange23)\
**Post date:** [September 12, 2017, 9:50am UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/15 "2017-09-12T09:50:50Z")

</div>

bumping …

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1fb002ad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1fb002ad](https://forums.unrealengine.com/u/anonymous_user_1fb002ad)\
**Post date:** [October 5, 2017, 10:42am UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/16 "2017-10-05T10:42:19Z")

</div>

bump, it’s crazy that there is no configuration option to change this!

---

<div class="post-metadata">

**Author:** ![OmicronNEGA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OmicronNEGA](https://forums.unrealengine.com/u/OmicronNEGA)\
**Post date:** [November 14, 2017, 6:19am UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/17 "2017-11-14T06:19:15Z")

</div>

Buuuuump. Can’t believe still no Epic staff answering this.  
And I don’t want to build the engine from source.

---

<div class="post-metadata">

**Author:** ![Roshondas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Roshondas](https://forums.unrealengine.com/u/Roshondas)\
**Post date:** [January 16, 2018, 1:27pm UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/18 "2018-01-16T13:27:22Z")

</div>

Bump…

---

<div class="post-metadata">

**Author:** ![Theck](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Theck](https://forums.unrealengine.com/u/Theck)\
**Post date:** [January 20, 2018, 11:41am UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/19 "2018-01-20T11:41:05Z")

</div>

Bump! Bump! Bump! Config option please.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_dceb25d5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dceb25d5](https://forums.unrealengine.com/u/anonymous_user_dceb25d5)\
**Post date:** [April 19, 2018, 8:37pm UTC](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846/20 "2018-04-19T20:37:34Z")

</div>

Just ran into this issue when I have a saved game but deleted the packaged folder and remade it to find that same save game still there. Now I’m sure Epic has good reason to place it inside the appdata but being able to change it with blueprints or an options menu would be helpful.

[Next page](https://forums.unrealengine.com/t/how-to-change-the-saved-folder-location/293846.md?page=2)
