# How get Project Settings values?

**URL:** <https://forums.unrealengine.com/t/how-get-project-settings-values/307768>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [February 23, 2015, 4:30am UTC](https://forums.unrealengine.com/t/how-get-project-settings-values/307768 "2015-02-23T04:30:07Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![martoof](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/martoof/32/465230_2.png) [@martoof](https://forums.unrealengine.com/u/martoof)\
**Post date:** [February 23, 2015, 4:30am UTC](https://forums.unrealengine.com/t/how-get-project-settings-values/307768/1 "2015-02-23T04:30:07Z")

</div>

Hi,

How can i get/set values in Project Settings/Project/Description ? like Project Version, Company Name… ?

I think it’s possible to read/write inside DefaultGame.ini with blueprint in realtime ?

Thanks

---

<div class="post-metadata">

**Author:** ![Cubes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cubes](https://forums.unrealengine.com/u/Cubes)\
**Post date:** [April 8, 2015, 10:27am UTC](https://forums.unrealengine.com/t/how-get-project-settings-values/307768/2 "2015-04-08T10:27:10Z")

</div>

Can’t do this in Blueprint (can’t find a way at least).  
But it’s not hard in CPP to make a simple Blueprint function.

CPP:

```
FString AppVersion;
GConfig->GetString(
  TEXT("/Script/EngineSettings.GeneralProjectSettings"),
  TEXT("ProjectVersion"),
  AppVersion,
  GGameIni
);

```

I also tried using the EngineSettings object, but I couldn’t get it compiling. So, reading ini file directly will have to do!

See [A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums](https://wiki.unrealengine.com/Config_Files),_Read_%26\_Write\_to\_Config\_Files for more on ini giles

---

<div class="post-metadata">

**Author:** ![Serellyn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Serellyn](https://forums.unrealengine.com/u/Serellyn)\
**Post date:** [April 16, 2015, 2:19pm UTC](https://forums.unrealengine.com/t/how-get-project-settings-values/307768/3 "2015-04-16T14:19:32Z")

</div>

you for this, and I know this is not my topic but can you explain to me how to create this Blueprint node step by step? What I’ve done so far is: File-\> Add code to project… and created an empty class. Is that alright or should I choose a different one. And now what? I’m sorry to ask this but I can’t find any good tutorials on this out there.

---

<div class="post-metadata">

**Author:** ![Cubes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cubes](https://forums.unrealengine.com/u/Cubes)\
**Post date:** [April 16, 2015, 10:59pm UTC](https://forums.unrealengine.com/t/how-get-project-settings-values/307768/4 "2015-04-16T22:59:18Z")

</div>

While I can’t teach you how to code in CPP in a UE4 answers comment, I can give some snippets. There are tons of programming guides on the UE4 help site and forums to get started with UE4 programming.

I assume you want this generally available in your project, so you need to add this to a Blueprint function library. In the header file of the class you made, first extend your class by UBlueprintFunctionLibrary (replacing UMyBlueprintLibrary with your class name):

```
UMyBlueprintLibrary : public UBlueprintFunctionLibrary

```

You might need to add “#include “Kismet/BlueprintFunctionLibrary.h”” before the other includes if it moans about UBlueprintFunctionLibrary.

In the “public:” section, create a new UFUNCTION like so:

```
UFUNCTION(BlueprintCallable, Category="Game Config")
static FString GetAppVersion();

```

Then in the CPP file, create the actual function:

```
FString UMyBlueprintLibrary::GetAppVersion() {
	FString AppVersion;
	GConfig->GetString(
		TEXT("/Script/EngineSettings.GeneralProjectSettings"),
		TEXT("ProjectVersion"),
		AppVersion,
		GGameIni
	);
	return AppVersion;
}
```

---

<div class="post-metadata">

**Author:** ![Serellyn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Serellyn](https://forums.unrealengine.com/u/Serellyn)\
**Post date:** [April 29, 2015, 5:43pm UTC](https://forums.unrealengine.com/t/how-get-project-settings-values/307768/5 "2015-04-29T17:43:34Z")

</div>

Can’t believe I missed your reply. you for your great help!

---

<div class="post-metadata">

**Author:** ![Serellyn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Serellyn](https://forums.unrealengine.com/u/Serellyn)\
**Post date:** [May 4, 2015, 12:54pm UTC](https://forums.unrealengine.com/t/how-get-project-settings-values/307768/6 "2015-05-04T12:54:32Z")

</div>

I’ve created a video tutorial for those who need some help in the future:

  
Thanks to the gentleman above: Cubes

---

<div class="post-metadata">

**Author:** ![AH.NET](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AH.NET](https://forums.unrealengine.com/u/AH.NET)\
**Post date:** [July 15, 2016, 6:27pm UTC](https://forums.unrealengine.com/t/how-get-project-settings-values/307768/7 "2016-07-15T18:27:58Z")

</div>

Here is an other text based tutorial with pictures and the source code [link text](http://andreashiller.de/?p=334&lang=en_US)

---

<div class="post-metadata">

**Author:** ![Elou44](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/elou44/32/738751_2.png) [@Elou44](https://forums.unrealengine.com/u/Elou44)\
**Post date:** [April 28, 2019, 5:29pm UTC](https://forums.unrealengine.com/t/how-get-project-settings-values/307768/8 "2019-04-28T17:29:10Z")

</div>

Thanks for the code snippet! To compile on 4.20 I had to add this include : _#include “Misc/ConfigCacheIni.h”_  
Cheers

---

<div class="post-metadata">

**Author:** ![Kaspi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kaspi](https://forums.unrealengine.com/u/Kaspi)\
**Post date:** [September 29, 2020, 4:01pm UTC](https://forums.unrealengine.com/t/how-get-project-settings-values/307768/9 "2020-09-29T16:01:57Z")

</div>

1. Edit the project version setting (Edit \> Project settings… \> Project \> Description \> About \> Project Version)
2. Use the [VictoryPlugin][1]'s _Victory Get Custom Config Var String_ node to access the value:

![316458-screenshot-38.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/f/e/dfe6b4d94f65e1d1ee84fdc2bea45777946c80fa.png)

---

<div class="post-metadata">

**Author:** ![letschillwithbil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@letschillwithbil](https://forums.unrealengine.com/u/letschillwithbil)\
**Post date:** [February 21, 2023, 11:58pm UTC](https://forums.unrealengine.com/t/how-get-project-settings-values/307768/10 "2023-02-21T23:58:35Z")

</div>

I actually just released a plugin that implements this feature! It’s called Fortuna Extended Function Library and contains functions for retrieving project settings, legal info, company info, and a bunch more

> **[Fortuna - Extended Function Library in Code Plugins - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/fortuna-extended-function-library)**
>
> A Collection of Functions Aimed at Improving the Development Experience within Unreal Engine
