# How to create a Confg.INI that is editable once packaged and deployed?

**URL:** <https://forums.unrealengine.com/t/how-to-create-a-confg-ini-that-is-editable-once-packaged-and-deployed/1848616>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [May 9, 2024, 9:05pm UTC](https://forums.unrealengine.com/t/how-to-create-a-confg-ini-that-is-editable-once-packaged-and-deployed/1848616 "2024-05-09T21:05:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![m00nB33r](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/m00nb33r/32/88714_2.png) [@m00nB33r](https://forums.unrealengine.com/u/m00nB33r)\
**Post date:** [May 9, 2024, 9:05pm UTC](https://forums.unrealengine.com/t/how-to-create-a-confg-ini-that-is-editable-once-packaged-and-deployed/1848616/1 "2024-05-09T21:05:15Z")

</div>

Hi all…  
Using what I read here

> **[Configuration Files In Unreal Engine | Unreal Engine 5.2 Documentation | Epic...](https://dev.epicgames.com/documentation/en-us/unreal-engine/configuration-files-in-unreal-engine?application_version=5.2#stepstoautomaticallyloadconfigvariables)**
>
> Configuration files in Unreal Engine provide you with initial settings for configuring gameplay or engine behavior on startup.

I added values to my DefaultGame.ini and created a class that could access the files at runtime. Everything worked great. Until I packed up the app. At which point I found out that the DefaultGame.ini gets packaged up into a binary .PAK file which. In some use cases that probably is ok, but I need the ability to manually edit these settings in a text editor once the app has been deployed to a server.

It looks like there a possible settings file that I might be able to use, the Saved/Config/Windows/Game.ini

I’ve searched around and tried to find more info about this particular file, how to use it, how to use the various attributes that load up class variables, but I have not seen anything. I guess looking at it I would have thought that any settings I put in DefaultGame.ini might have shown up here, but that is not the case. Does anyone know of any good documentation/tutorials that mention how you can use UE’s built in capabilities using property attributes to load up the Game.ini or any other file, that, when packaged and deployed, allows you to manually edit the config file???

Or am I barking up the wrong tree here, and any config file that I want to have editable I need to roll my own solution?

Any help will be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Nick\_Lyrick](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nick\_Lyrick](https://forums.unrealengine.com/u/Nick_Lyrick)\
**Post date:** [July 22, 2024, 11:35am UTC](https://forums.unrealengine.com/t/how-to-create-a-confg-ini-that-is-editable-once-packaged-and-deployed/1848616/2 "2024-07-22T11:35:47Z")

</div>

Hi.

I don’t know if this is the answer to your question.  
I had a situation where I wanted to use a config to initialize a packaged application.  
Here’s how I solved it.

Let’s say you have a MyProject and you use the Config/DefaultGame.ini config and everything works.

After packaging the application, you can create a Config folder and put your DefaultGame.ini there, but you need to rename it to UserGame.ini.

After that it will work. At least it worked for me

I didn’t find any options to automatically put the config in a non-binary package (Unreal 5.4.3).

---

<div class="post-metadata">

**Author:** ![nande](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nande/32/1057698_2.png) [@nande](https://forums.unrealengine.com/u/nande)\
**Post date:** [July 18, 2025, 7:53am UTC](https://forums.unrealengine.com/t/how-to-create-a-confg-ini-that-is-editable-once-packaged-and-deployed/1848616/3 "2025-07-18T07:53:41Z")

</div>

you might need to add this part to your ini file.  
otherwise it gets deleted on load.

> [@How to stop local custom INI files being deleted after play](https://forums.unrealengine.com/t/how-to-stop-local-custom-ini-files-being-deleted-after-play/1967813/2):
>
> Okay, I figured this out. In order to keep an overridden custom ini file from being deleted after it’s loaded, you either have to have ‘User’ as part of the config name (i.e. instead of UCLASS(BlueprintType, Config=“ClassConfig”) it should be UCLASS(BlueprintType, Config=“UserClassConfig”)), or you have to put [SectionsToSave] bCanSaveAllSections=true in the Base or Default config. Would’ve been super cool if this information were in the Config file documentation.

```auto

[SectionsToSave]
bCanSaveAllSections=true
;+Section=???
+Section=CurrentIniVersion

```
