> For the complete documentation index, see [llms.txt](https://wiki.retrobat.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.retrobat.org/advanced-features/retrobat.ini.md).

# retrobat.ini

The `retrobat.ini` file located in the root Retrobat folder can be modified to enable or disable some Retrobat features.

{% hint style="info" %}
Most of these features can also be modified in the BATGUI tool, refer to the [BATGUI ](/advanced-features/batgui.md)section of the wiki.
{% endhint %}

This is the list of options that can be modified in the "retrobat.ini" file:

<table><thead><tr><th width="174.63330078125">Setting</th><th width="248.933349609375">Values</th><th>Description</th></tr></thead><tbody><tr><td>LanguageDetection</td><td>0 (disabled) / 1 (enabled)</td><td>Automatically detect Operating System language and applies to RetroBat</td></tr><tr><td>ResetConfigMode</td><td>0 (disabled) / 1 (enabled)</td><td>Reset the default config files options of the emulators at startup.</td></tr><tr><td>Autostart</td><td>0 (disabled) / 1 (with startup folder) / 2 (with registry start)</td><td>Autostart Retrobat at Windows startup</td></tr><tr><td>AutoStartDelay</td><td>delay in milliseconds</td><td>Add a delay between computer startup and launch of RetroBat interface</td></tr><tr><td><a href="/controllers/supported-controllers/lightguns/wiimotegun.md">WiimoteGun</a></td><td>0 (disabled) / 1 (enabled)</td><td>Run WiimoteGun at RetroBat's startup.</td></tr><tr><td>EnableIntro</td><td>0 (disabled) / 1 (enabled)</td><td>Enable intro video.</td></tr><tr><td>FileName</td><td>name of the video file between " "</td><td>Define the video file to play at startup.</td></tr><tr><td>FilePath</td><td>Path between " " <br>Default = "default"</td><td>Sse a custom directory for video files.</td></tr><tr><td>RandomVideo</td><td>0 (disabled) / 1 (enabled)</td><td>Play a random video from the path selected.</td></tr><tr><td>VideoDelay</td><td>delay in milliseconds</td><td>Use this to set a delay for displaying RetroBat interface when the setting "WaitForVideoEnd" is disabled</td></tr><tr><td>WaitForVideoEnd</td><td>0 (disabled) / 1 (enabled)</td><td>Wait for the video end to run RetroBat interface</td></tr><tr><td>KillVideoWhenESReady</td><td>0 (disabled) / 1 (enabled)</td><td>Kill the intro video as soon as EmulationStation interface is loaded</td></tr><tr><td>GamepadVideoKill</td><td>0 (disabled) / 1 (enabled)</td><td>Enable possibility to kill video with gamepad (XInput only)</td></tr><tr><td>Fullscreen</td><td>0 (disabled) / 1 (enabled)</td><td>Start Retrobat in fullscreen or windowed mode</td></tr><tr><td>FullscreenBorderless</td><td>0 (disabled) / 1 (enabled)</td><td>Start Retrobat in borderless fullscreen</td></tr><tr><td>ForceFullscreenRes</td><td>0 (disabled) / 1 (enabled)</td><td>Force the fullscreen resolution with the parameters set at WindowXSize and WindowYSize.</td></tr><tr><td>RandomTheme</td><td>0 (disabled) / 1 (enabled)</td><td>Launch RetroBat with a random theme that changes with each launch</td></tr><tr><td>FocusDelay</td><td>delay in milliseconds</td><td>Try again to force RetroBat to foreground after this delay</td></tr><tr><td>GameListOnly</td><td>0 (disabled) / 1 (enabled)</td><td>Retrobat will parse only the gamelist.xml files in roms directories to display available games.</td></tr><tr><td>InterfaceMode</td><td>0 = normal<br><a href="/advanced-features/kiosk-and-kid-mode.md">1 = kiosk mode<br>2 = kid mode</a></td><td></td></tr><tr><td>MonitorIndex</td><td>Default = 0</td><td>Set to which monitor index the frontend will be displayed.</td></tr><tr><td>VSync</td><td>0 (disabled) / 1 (enabled)</td><td>Enable or disable vertical synchronisation for RetroBat interface</td></tr><tr><td>NoExitMenu</td><td>0 (disabled) / 1 (enabled)</td><td>Set if the option to quit the frontend is displayed or not when the full menu is enabled.</td></tr><tr><td>OpenGL2_1</td><td>0 (disabled) / 1 (enabled)</td><td>Can help in case of artefacts when using an old GPU</td></tr><tr><td>WindowXSize<br>WindowYSize</td><td></td><td>Set the windows width and height of the frontend.</td></tr><tr><td>DrawFramerate</td><td>0 (disabled) / 1 (enabled)</td><td>Display FPS of EmulationStation</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://wiki.retrobat.org/advanced-features/retrobat.ini.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
