> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XGameRuntimeGameConfigSource

> XGameRuntimeGameConfigSource

# XGameRuntimeGameConfigSource

This enumeration defines ways that a game config can be passed when initializing the XGameConfigRuntime.

## Syntax

```cpp theme={null}
enum class XGameRuntimeGameConfigSource : uint32_t 
{ 
    Default, 
    Inline, 
    File 
}  
```

### Constants

| Constant | Description                                                                                                                   |
| -------- | ----------------------------------------------------------------------------------------------------------------------------- |
| Default  | The default game config for the process will be used.                                                                         |
| Inline   | A UTF-8 string containing the entire game config contents will be used.                                                       |
| File     | A path to a game config file will be used. This can be an absolute path or a relative path relative to the current directory. |

## Requirements

**Header:** XGameRuntimeInit.h

**Library:** xgameruntime.lib

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[XGameRuntimeInitializeWithOptions](/reference/system/xgameruntimeinit/functions/xgameruntimeinitializewithoptions)\
[XGameRuntimeOptions](/reference/system/xgameruntimeinit/Structures/xgameruntimeoptions)\
[XGameRuntimeInit](/reference/system/xgameruntimeinit/xgameruntimeinit_members)\
[Developing new titles using Gaming Runtime](/build/gdk-and-engines/guides/gdk-project-templates)


## Related topics

- [XGameRuntimeOptions](/reference/system/xgameruntimeinit/Structures/xgameruntimeoptions.md)
- [Ship an Unreal Engine title to XBOX PC (UE 5.8+)](/build/gdk-and-engines/unreal/unreal-xbox-pc.md)
- [Error codes](/reference/errorcodes.md)
- [XGameRuntimeInit](/reference/system/xgameruntimeinit/xgameruntimeinit_members.md)
- [Build and run your first console title with GDKX](/home/build-first-title/first-console-title-walkthrough.md)
