# Wiki Code Tutorials

**URL:** <https://forums.unrealengine.com/t/wiki-code-tutorials/256>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [March 20, 2014, 9:39pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256 "2014-03-20T21:39:34Z")\
**Posts on this page:** 1\
**Showing post:** 288

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [October 27, 2015, 6:51am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/288 "2015-10-27T06:51:59Z")

</div>

Packaged Game Paths: Obtain Paths based on Game Executable

Dear Community,

In wiki I share with you many functions that enable you to obtain absolute paths that are based on the location of the game exectuable.

In otherwords you can package the game, and then move it at any time to any directory, and the path generated will be accurate for your whole moved project!

Example:

```auto

//InstallDir/WindowsNoEditor/GameName
const FString ThePath = FPaths::ConvertRelativePathToFull(FPaths::GameDir());

```

In a pre-packaged game will be where the .uproject is, but in packaged game it will be your game directory off of windowsnoeditor!

**Packaged Game Paths ~ Obtain Directories Based on Executable Location**

> **[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 — https://unrealcommunity.wiki/! You will be able to find content from...

🙂

---

_[View the full topic](https://forums.unrealengine.com/t/wiki-code-tutorials/256)._
