# \[UE5.3\] Overriding config parameters when cooking/packaging game with UAT

**URL:** <https://forums.unrealengine.com/t/ue5-3-overriding-config-parameters-when-cooking-packaging-game-with-uat/1908915>\
**Category:** Programming & Scripting\
**Tags:** uat, build, unreal-engine, Packaging, packaging-projects, question\
**Created:** [June 19, 2024, 11:41am UTC](https://forums.unrealengine.com/t/ue5-3-overriding-config-parameters-when-cooking-packaging-game-with-uat/1908915 "2024-06-19T11:41:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joost](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Joost](https://forums.unrealengine.com/u/Joost)\
**Post date:** [June 19, 2024, 11:41am UTC](https://forums.unrealengine.com/t/ue5-3-overriding-config-parameters-when-cooking-packaging-game-with-uat/1908915/1 "2024-06-19T11:41:42Z")

</div>

I’m setting up my build server and I need a way to override certain parameters in defaultEngine.ini for various build targets. I.e. switching between Vulkan and OpenGL support.

I found this solution which would suffice but ideally I’d prefer something with less engine modifications: [https://medium.com/disruptivegames/config-injection-during-unreal-engine-4-builds-87e02b7ecc09](https://medium.com/disruptivegames/config-injection-during-unreal-engine-4-builds-87e02b7ecc09)

One option would be to write a script that just updates defaultEngine.ini directly and reverts it after the build finishes but that doesn’t seem ideal?

Does anyone know of a better solution?

---

<div class="post-metadata">

**Author:** ![Joost](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Joost](https://forums.unrealengine.com/u/Joost)\
**Post date:** [June 20, 2024, 2:39pm UTC](https://forums.unrealengine.com/t/ue5-3-overriding-config-parameters-when-cooking-packaging-game-with-uat/1908915/2 "2024-06-20T14:39:53Z")

</div>

I believe I’ve found a solution. From user **Sswires** on the Unreal Source Discord:

> the setting: [https://github.com/EpicGames/UnrealEngine/blob/release/Samples/Games/Lyra/Source/LyraGameEOS.Target.cs](https://github.com/EpicGames/UnrealEngine/blob/release/Samples/Games/Lyra/Source/LyraGameEOS.Target.cs) the INIs: [https://github.com/EpicGames/UnrealEngine/tree/release/Samples/Games/Lyra/Config/Custom/EOS](https://github.com/EpicGames/UnrealEngine/tree/release/Samples/Games/Lyra/Config/Custom/EOS)

So I’ve added ` CustomConfig = "MyTarget";` to one of my `.target.cs` files and added a new `defaultEngine.ini` in `Config/Custom/MyTarget/`

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [July 20, 2024, 2:39pm UTC](https://forums.unrealengine.com/t/ue5-3-overriding-config-parameters-when-cooking-packaging-game-with-uat/1908915/3 "2024-07-20T14:39:57Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
