# Where to store game information

**URL:** <https://forums.unrealengine.com/t/where-to-store-game-information/363109>\
**Category:** C++\
**Tags:** unreal-engine, UE4, CPP, question\
**Created:** [July 6, 2016, 10:55am UTC](https://forums.unrealengine.com/t/where-to-store-game-information/363109 "2016-07-06T10:55:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_a72cfdf4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a72cfdf4](https://forums.unrealengine.com/u/anonymous_user_a72cfdf4)\
**Post date:** [July 6, 2016, 10:55am UTC](https://forums.unrealengine.com/t/where-to-store-game-information/363109/1 "2016-07-06T10:55:44Z")

</div>

Hello,

I wish to create a file with dialogs, quest for NPC. It will be a json file.  
I want to load the json in my C++ code. The subject is not about read the file but to know where in the project (VS or Editor//asset) to be able to load it after I package the game.

It can’t be on an absolute path like (c:\game\myuegame\file.json).

Thank you

---

<div class="post-metadata">

**Author:** ![Moynzy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Moynzy](https://forums.unrealengine.com/u/Moynzy)\
**Post date:** [July 6, 2016, 11:39am UTC](https://forums.unrealengine.com/t/where-to-store-game-information/363109/2 "2016-07-06T11:39:11Z")

</div>

Hey, you wouldn’t be able to put the json file in the editor because unreal engine would not pick it up as a file unless you turn it into a UCLASS.

---

<div class="post-metadata">

**Author:** ![braindigitalis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/braindigitalis/32/903023_2.png) [@braindigitalis](https://forums.unrealengine.com/u/braindigitalis)\
**Post date:** [July 6, 2016, 11:56am UTC](https://forums.unrealengine.com/t/where-to-store-game-information/363109/3 "2016-07-06T11:56:09Z")

</div>

I think you’re looking for FPlatformProcess::BaseDir(), and should be storing your json file some place within the game’s installation/base folder. See:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

Hope this helps!
