# \[4.25.2\] Custom ini in packaged project? (shipping)

**URL:** <https://forums.unrealengine.com/t/4-25-2-custom-ini-in-packaged-project-shipping/147984>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [July 24, 2020, 12:30am UTC](https://forums.unrealengine.com/t/4-25-2-custom-ini-in-packaged-project-shipping/147984 "2020-07-24T00:30:45Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Erdrik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Erdrik](https://forums.unrealengine.com/u/Erdrik)\
**Post date:** [July 24, 2020, 7:33pm UTC](https://forums.unrealengine.com/t/4-25-2-custom-ini-in-packaged-project-shipping/147984/3 "2020-07-24T19:33:27Z")

</div>

@\*\*[jwatte](https://forums.unrealengine.com/member/2525-jwatte) \*\*  
Yes I have. That mostly pertains to default ini configs. Which I am not using. I was trying to write to custom file in a custom directory, which I have since figured out.

1. I found FPath calls for various path locations. In this case: FPaths::ProjectConfigDir(), works for my needs.
2. GConfig-\>Find( GamePath+FileName, true ); This function will search for an Ini file, and if the second bool argument set to true create it if it does not exist.

---

_[View the full topic](https://forums.unrealengine.com/t/4-25-2-custom-ini-in-packaged-project-shipping/147984)._
