Skip to content

CRTSwitchRes

Setup

Windows

Windows works the best with CRT Emudriver, available here. Once you have this setup and running, it is a simple case of turning CRTSwitchRes on and choosing your settings.

Other options are available. It's a simple case of getting the resolutions installed on you Windows PC.

Linux

No pre setup required here, although X11 is a requirement at the moment. Simply install/compile RetroArch choose you CRTSwitchRes setting, and you're off.

Note

In some cases your distribution may be missing some X libraries in this case make sure you install the
following libx11-dev libxrandr-dev

This is also compatible with Raspberry Pi, X11 is not a requirement here.

Enabling and Changing Settings

CRTSwitchRes now using Switchres by Calamity. This is available on both Windows and Linux.

To enable CRTSwitchRes or change settings
- Navigate to Settings
- Navigate to Video
- Navigate to CRT SwitchRes

Tip

CRTSwitchRes is hidden behind advanced settings. Please enable advanced settings in User Interface first.

CRTSwitchRes Options

Option Available Values
CRT SwitchRes off, 15KHz, 31KHZ Standard, 31KHZ- 120Hz, INI
CRT Super resolution Native, Dynamic, 1920, 2560, 3840
X Centering Currently not in use
Porch Adjust Currently not in use
Use Custom refresh rate Currently not in use

Option 1. CRT SwitchRes

This option is where you will turn on SwitchRes and choose your main output hardware.

CRT SwitchRes Value Description
off This setting turns SwitchRes off
15KHz This will request SR to be setup for 15KHz monitors/TVs output
31KHz This will request SR to be setup to output for 31KHz monitors/TVs output
31KHz, 120z This will request SR to be setup to output for 31KHz @120HZ monitors/TVs output for 240p
INI This will request SR to look at the switchres.ini for the monitors/TVs output

Tip

This can not be changed on-the-fly once SwitchRes is active. This setting will take effect after a restart.

Option 2. CRT Super Resolution

CRT Super resolution values Description
Native This will pass the cores native resolution to SR
Dynamic Currently not in use
1920 This will pass a hard set super width of 1920 to SR
2560 This will pass a hard set super width of 2560 to SR
3840 This will pass a hard set super width of 3840 to SR

Note

All resolution are integer scaled and aspect ratio corrected to match the original resolution. Unless you really need a locked super width only choose native and let SR do all the work. Even if your monitor does not support native resolutions, the best option to choose will be Native. For Windows, SwitchRes will look for compatible modes with and without super widths. For Linux, you can add the switchres.ini (see Advanced Settings below) into you RetroArch folder. Edit this file and change the dotclock_min form 0 to 25.0. This will then calculate dynamic super widths for cards that do not support low dotclocks (native widths produce low dotclocks).

Advanced Settings

As CRTSwitchRes is now using Switchres by Calamity, there are many options to customise you environment within the switchres.ini. However, some options are available with the CRTSwitchRes settings menu in RetroArch. Although more settings can be set in the switchres.ini, it is not a required step. It does however allow for more customisation. For more details on how to configure and use the switchres.ini, go here.

Currently, the switchres.ini is not supplied with RetoArch. This will change in the near future. In the meantime you can download this file from here.

Note

A default switchres.ini file will be searched in the current working directory, then in .\ini on Windows, ./ini then /etc on Linux. The repo has a switchres.ini example.

CRTSwitchRes Options Via retroarch.cfg

Config Option Name Description Values
crt_switch_center_adjust Currently not in use
crt_switch_porch_adjust Currently not in use
crt_switch_resolution Same as above CRT SwitchRes 0,1,2,3,4 - off, 15kHz, 31kHz Standard, 31kHz- 120Hz, INI respectively
crt_switch_resolution_super Same as above CRT Super Resolution Native, Dynamic, 1920, 2560, 3840
crt_switch_resolution_use_custom_refresh_rate Not currently in use false
crt_switch_timings Do not change
crt_video_refresh_rate Do not change Set by SwitchRes

Core and directory overrides

If you are using a switchres.ini configuration file and wish to fine-tune specific setting for certain cores or directories, it is possible to use core and directory overrides for this. These files can be placed at the same locations as the usual .cfg files for RetroArch's core and directory overrides, only replacing the .cfg with .switchres.ini.

For example, if you are using native resolution on your configuration but want to user a 2560 super resolution on the Gambatte core, you can create the file CONFIG_DIR/config/Gambatte/Gambatte.switchres.ini with the content user_mode 2560x0 in it. This setting will override the one on the original switchres.ini file when running this specific core. When closing this core, or switching to a different core, the default switchres.ini file will be re-loaded to undo the change.

The same works for directory overrides.
Example: If you want to use a super resolution of 2560 for roms in the "Sega - Game Gear" directory, while using the Genesis Plus GX core, you can create an override.
Create the file CONFIG_DIR/config/Genesis Plus GX/Sega - Game Gear.switchres.ini and add the user mode to that file.

Note

You have to be using a full, complete switchres.ini base file for the overriding files to work properly, otherwise overriding settings will persist until you restart RetroArch.


Last update: 2024-04-19