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

# 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](https://docs.xbox.com/reference/system/xgameruntimeinit/functions/xgameruntimeinitializewithoptions.md)\
[XGameRuntimeOptions](https://docs.xbox.com/reference/system/xgameruntimeinit/Structures/xgameruntimeoptions.md)\
[XGameRuntimeInit](https://docs.xbox.com/reference/system/xgameruntimeinit/xgameruntimeinit_members.md)\
[Developing new titles using Gaming Runtime](https://docs.xbox.com/build/gdk-and-engines/guides/gdk-project-templates.md)


## Related topics

- [XGameRuntimeOptions](https://docs.xbox.com/reference/system/xgameruntimeinit/Structures/xgameruntimeoptions.md)
- [Building XBOX games with Unreal Engine's new GDK plug-ins](https://docs.xbox.com/build/gdk-and-engines/unreal/unreal-xbox-pc.md)
- [Error codes](https://docs.xbox.com/reference/errorcodes.md)
- [XGameRuntimeInitializeWithOptions](https://docs.xbox.com/reference/system/xgameruntimeinit/functions/xgameruntimeinitializewithoptions.md)
- [Build and run your first console title with GDKX](https://docs.xbox.com/home/build-first-title/first-console-title-walkthrough.md)
