# Configuration of systems and games One of the main advantages of RetroBat is that emulators are configured **from the RetroBat menus**, for all games, for a system or for a single game. You do not need to open the emulators to configure them. {% hint style="danger" %} Do not change in an emulator a setting that is also available in RetroBat: RetroBat writes its own value in the emulator configuration each time a game is launched, so your change will be overwritten. See How does it work? {% endhint %} ## The three configuration levels The settings available in RetroBat are called **features**. They can be defined at three levels:
LevelWhereApplies to
GlobalMAIN MENU > GAME SETTINGSAll systems and games
SystemGame View > SELECT (View options) > ADVANCED SYSTEM OPTIONSAll games of the system
GameGame View > hold South on a game (Game options) > ADVANCED GAME OPTIONSThis game only
**The most specific setting always wins:** a game setting overrides the system setting, which overrides the global setting. {% hint style="info" %} Only the most common settings (shader, decorations, aspect ratio, integer scaling, controller autoconfiguration…) exist at the global level. Emulator-specific settings are only available at the system and game levels. {% endhint %} ## Opening the configuration ### For a system In the Game View of the system, press **SELECT** and choose **ADVANCED SYSTEM OPTIONS**:
The settings will apply to all games of this system. ### For a game In the Game View, hold **South** on the game and choose **ADVANCED GAME OPTIONS** (or press **North** in the Game Options menu):
The settings will only apply to this game. ## The configuration menu
The menu always starts with the **EMULATOR** line: choose the emulator and core to use. **Change the emulator first**: the menu is reloaded and shows the settings available for the selected emulator. Each emulator has its own settings, so the list changes from one emulator to another. The settings are then grouped as follows:
GroupContent
GENERAL SETTINGSSettings available for most emulators: shader, decorations (bezels) and tattoo, aspect ratio, video mode, integer scaling, smoothing…
ADVANCED SETTINGSSettings specific to the emulator or core, organized in submenus (see below)
PORT SETTINGSFor ports: settings of the selected game
The most common **ADVANCED SETTINGS** submenus are:
SubmenuContent
EMULATIONEmulated machine, region, language, BIOS, performance…
VIDEOFullscreen, monitor index, screen orientation…
VISUAL RENDERINGUpscaling, texture filtering, anti-aliasing, screen effects…
SCREEN SYNCV-Sync and other synchronization settings
AUDIOAudio settings (sample rate, filters…)
LATENCY REDUCTIONSettings to reduce input lag
USER INTERFACEFPS display, emulator notifications…
DRIVERSVideo, audio and controller drivers
CONTROLSController type, analog sticks, mappings…
GUNS / WHEELSLightgun and steering wheel settings
TURBOTurbo buttons
GAME PATCHES / GAME FIXES / MANUAL HACKSPatches and fixes for specific games

Example of EMULATION features submenu for FCEUMM core

Some emulators have their own submenus, for example **MANUAL HACKS** and **GAME FIXES** for PCSX2:
{% hint style="info" %} Select a setting to display its description at the bottom of the screen. {% endhint %} ## What does "AUTO" mean?
LevelAUTO means…
GlobalThe default value chosen by the RetroBat team, usually the most compatible one
SystemThe global value if there is one, otherwise the RetroBat default value
GameThe value set for the system
To cancel a setting, set it back to **AUTO**. ## How does it work? When you change a setting, RetroBat saves it in the `emulationstation\.emulationstation\es_settings.cfg` file. When you launch a game, RetroBat: 1. reads the global settings, then the system settings, then the game settings (the most specific one wins); 2. writes the matching values in the emulator configuration files; 3. starts the emulator. **Example:** use the Vulkan renderer for PlayStation games with DuckStation. 1. In the PlayStation Game View, press **SELECT** > **ADVANCED SYSTEM OPTIONS**.
2. Open the **DRIVERS** submenu in the **ADVANCED SETTINGS** group.
3. Set **VIDEO** to **VULKAN**.
When a game is launched, RetroBat writes `Renderer = Vulkan` in the `[GPU]` section of `emulators\duckstation\settings.ini`:
If the setting is left on **AUTO**, RetroBat writes `Renderer = Automatic`: this is why a change made directly in DuckStation would be lost. {% hint style="warning" %} * Settings available in RetroBat are written at each launch, with your value or the RetroBat default value: always change them in RetroBat. * Settings that are not available in RetroBat are usually kept: you can change them in the emulator. * To configure the controls yourself in an emulator, set **AUTOCONFIGURE CONTROLLERS** to **OFF** for this system or game. {% endhint %} {% hint style="info" %} Game settings are linked to the **file name** of the game. If you rename the file, its settings are lost. Two files with the same name in the same system share the same settings. {% endhint %} ## Troubleshooting * **A setting has no effect:** check that it is not overridden at the game level, and that the right emulator is selected. * **Check what RetroBat did:** the log files show the values applied at launch: * `emulationstation\emulatorLauncher.log` (game launch and emulator configuration) * `emulationstation\.emulationstation\es_log.txt` (RetroBat interface) * **Go back to the default configuration:** set the settings back to **AUTO**. ## I cannot find the setting I need If an emulator has a setting you would like to change from RetroBat, contact the RetroBat team on [Discord](https://discord.gg/GVcPNxwzuT) or the [forum](https://retrobat.forumgaming.fr/): it can be added in a future version. In the meantime, you can change it directly in the emulator: settings that are not available in RetroBat are usually not overwritten.