Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
Go to file
github-actions a8caac7142 Fetch translations from Crowdin 2025-06-26 00:16:49 +00:00
.github build without strip if debug is on 2025-06-17 18:26:55 +09:00
ai Silence warnings 2025-02-09 20:33:04 +01:00
audio iOS: fix/enable coreaudio microphone driver 2025-06-06 14:10:02 -04:00
bluetooth bluetoothctl: use two calls to disconnect/remove device (#17593) 2025-02-18 17:11:36 +01:00
bootstrap Fix typos (#17068) 2024-10-01 17:36:33 -07:00
camera Revert "Silence ffmpeg camera warnings" 2025-06-18 01:05:06 +03:00
cheevos show additional warning message when unsupported achievements are detected 2025-05-19 07:44:56 -06:00
cores Internal core logging newlines 2025-05-21 18:18:14 +03:00
ctr Fix non-griffin build for 3DS and make it the default 2025-04-06 18:35:41 +00:00
deps Add ZStandard support + libchdr update 2025-06-22 00:03:01 +03:00
dingux Small cleanups 2023-05-03 21:10:21 +02:00
dist-scripts AudioWorklet driver, misc. emscripten fixes 2025-03-28 19:41:40 -07:00
docs * platform: Honor the LIBRETRO_CHEATS_DIRECTORY environment variable. (#17440) 2025-01-20 15:08:45 +01:00
emscripten RWebAudio scheduling adjustments 2025-05-25 12:42:41 -07:00
fastlane/metadata/android/en-US Add F-Droid metadata to repo in Fastlane format 2022-06-18 10:30:13 -06:00
frontend Win32: Unused variable cleanup 2025-06-14 17:37:08 +03:00
gfx apple: provide option to disable metal argument buffers 2025-06-22 12:29:17 -04:00
griffin Merge pull request #18040 from sonninnos/libchdr-zstd 2025-06-22 15:48:52 +02:00
input apple: better mfi controller disconnect handling 2025-06-23 22:45:45 -04:00
intl Fetch translations from Crowdin 2025-06-26 00:16:49 +00:00
led Cleanups/style nits 2023-02-23 13:15:14 +01:00
libretro-common Built-in playlist migration rework 2025-06-25 20:38:24 +03:00
libretro-db Style nits 2025-02-12 10:17:35 +01:00
location/drivers apple: enable corelocation location driver (#17595) 2025-02-19 04:04:17 +01:00
media Revert "Kiosk Mode Hotkey and Bug Fix ( For Empty Main Menu )" 2025-06-07 18:00:14 +02:00
memory * Naming convention changes for variable names/function arguments 2025-01-19 20:19:14 +01:00
menu Avoid creating huge list of numbers for cheat-related settings 2025-06-25 00:53:10 +03:00
midi/drivers CoreMIDI add driver (#17569) 2025-02-15 18:57:09 +01:00
misc/cpufreq Prefer using snprintf instead of insecure sprintf 2021-05-18 15:14:08 +02:00
network feat: added iCloud Drive Cloud Sync 2025-05-12 08:54:06 -04:00
pkg apple: add reminiscence and vitaquake2 to App Store builds 2025-06-21 14:08:10 -04:00
play_feature_delivery Reduce strlcat calls where possible 2023-06-19 06:00:10 +02:00
qb Add ZStandard support + libchdr update 2025-06-22 00:03:01 +03:00
record Cleanups 2025-02-11 10:28:16 +01:00
reference Squashed 'deps/SPIRV-Cross/' changes from 9c57364f18..8aa6731925 2019-07-09 18:49:50 +02:00
samples/tasks/database Core Info Cache Improvements 2021-05-06 15:00:55 +01:00
shaders Squashed 'deps/SPIRV-Cross/' changes from 9c57364f18..8aa6731925 2019-07-09 18:49:50 +02:00
shaders-hlsl Squashed 'deps/SPIRV-Cross/' changes from 9c57364f18..8aa6731925 2019-07-09 18:49:50 +02:00
shaders-hlsl-no-opt/asm/frag Squashed 'deps/SPIRV-Cross/' changes from 9c57364f18..8aa6731925 2019-07-09 18:49:50 +02:00
shaders-msl Squashed 'deps/SPIRV-Cross/' changes from 9c57364f18..8aa6731925 2019-07-09 18:49:50 +02:00
shaders-no-opt/asm/frag Squashed 'deps/SPIRV-Cross/' changes from 9c57364f18..8aa6731925 2019-07-09 18:49:50 +02:00
steam Cleanups - 2024-12-27 15:13:45 +01:00
tasks Improve multidisk game scanning 2025-06-24 05:36:05 +03:00
tests-other Revert "Kiosk Mode Hotkey and Bug Fix ( For Empty Main Menu )" 2025-06-07 18:00:14 +02:00
tools Add OriginalAspect and OriginalAspectRot uniforms (#17123) 2024-11-02 04:04:12 -07:00
ui macOS: minor JIT debugging niceties 2025-06-09 22:24:40 -04:00
uwp Cleanups/style nits 2025-01-17 20:06:47 +01:00
vita/launcher (vita/launcher) Use snprintf 2021-05-18 15:07:58 +02:00
webos Use reverse DNS name for desktop file and icon (#16449) 2024-09-23 09:03:48 -07:00
wii Guard nanosleep prototype behind _POSIX_TIMERS 2025-04-06 00:58:15 +00:00
wiiu Style nits 2025-01-19 22:15:34 +01:00
.dir-locals.el add .dir-locals.el for emacs formatting 2025-06-09 22:25:48 -04:00
.editorconfig HTTPS link to EditorConfig.org 2021-07-06 13:55:43 +09:00
.gitignore android: try to avoid build-time heap space problems 2025-06-13 16:21:09 -04:00
.gitlab-ci.yml ios9 ci: move back to run on old xcode version 2025-03-04 15:30:33 -05:00
.project implement a way to set rewind_buffer_size via the UI 2018-07-13 16:12:09 -04:00
.travis.yml (Travis) Try to take out two Travis jobs that always fail and are 2021-03-22 22:16:19 +01:00
10bpc-gl.diff Clean up white space. 2019-02-03 16:00:50 -08:00
AUTHORS.h Update AUTHORS.h: Edit name (#17610) 2025-02-21 12:33:48 -08:00
CHANGES.md Missed one item from changes 2025-06-08 20:48:07 +02:00
CODE_OF_CONDUCT.md Include subject line inclusion. 2021-08-26 09:34:40 -04:00
CODING-GUIDELINES * PATH_MAX_LENGTH redefined from 4096 to 2048 2024-09-09 05:47:32 +02:00
CONTRIBUTING.md Bring CONTRIBUTING.md in line with current practices (#16841) 2024-08-06 17:03:49 -07:00
COPYING Add GPLv3 text I suppose. 2011-01-25 13:31:55 +01:00
Doxyfile Add Doxygen-styled comments to parts of the libretro API (#15641) 2024-03-09 17:24:01 -08:00
Makefile Add ZStandard support + libchdr update 2025-06-22 00:03:01 +03:00
Makefile.apple Clean up white space. 2019-02-03 16:00:50 -08:00
Makefile.classic_sega_mini Remove remaining mentions of joyconfig (#14787) 2022-12-31 02:35:08 +01:00
Makefile.classic_snesc Remove remaining mentions of joyconfig (#14787) 2022-12-31 02:35:08 +01:00
Makefile.common Add ZStandard support + libchdr update 2025-06-22 00:03:01 +03:00
Makefile.ctr Make -ffast-math exclusive to sinc_resampler.c 2025-05-02 17:26:19 +00:00
Makefile.ctr.salamander Make -ffast-math exclusive to sinc_resampler.c 2025-05-02 17:26:19 +00:00
Makefile.dingux Make -ffast-math exclusive to sinc_resampler.c 2025-05-02 17:26:19 +00:00
Makefile.dos Make -ffast-math exclusive to sinc_resampler.c 2025-05-02 17:26:19 +00:00
Makefile.emscripten Rewrite RWebAudio driver 2025-05-21 18:05:05 -07:00
Makefile.griffin Get rid of obsolete HAVE_VIDEO_LAYOUT - obsolete spec, was only 2023-02-23 21:03:41 +01:00
Makefile.lfx000 Use reverse DNS name for desktop file and icon (#16449) 2024-09-23 09:03:48 -07:00
Makefile.libnx Make -ffast-math exclusive to sinc_resampler.c 2025-05-02 17:26:19 +00:00
Makefile.libogc Clean up white space. 2019-02-03 16:00:50 -08:00
Makefile.miyoo Make -ffast-math exclusive to sinc_resampler.c 2025-05-02 17:26:19 +00:00
Makefile.msvc (WIN32) Prefer D3D11 and WASAPI (#15913) 2023-11-16 06:04:48 -08:00
Makefile.ngc Makefiles: don't print info unconditionally 2025-04-29 18:36:48 +00:00
Makefile.openpandora Get rid of obsolete HAVE_VIDEO_LAYOUT - obsolete spec, was only 2023-02-23 21:03:41 +01:00
Makefile.orbis Makefiles: don't print info unconditionally 2025-04-29 18:36:48 +00:00
Makefile.orbis.salamander Improve makefiles 2022-11-08 21:36:44 +01:00
Makefile.pandora Remove remaining mentions of joyconfig (#14787) 2022-12-31 02:35:08 +01:00
Makefile.ps2 Make -ffast-math exclusive to sinc_resampler.c 2025-05-02 17:26:19 +00:00
Makefile.ps2.salamander Make -ffast-math exclusive to sinc_resampler.c 2025-05-02 17:26:19 +00:00
Makefile.psl1ght Fix broken logic in the clean target 2025-05-17 09:17:07 +00:00
Makefile.psl1ght.salamander Get rid of obsolete HAVE_VIDEO_LAYOUT - obsolete spec, was only 2023-02-23 21:03:41 +01:00
Makefile.psp1 Make -ffast-math exclusive to sinc_resampler.c 2025-05-02 17:26:19 +00:00
Makefile.psp1.salamander Make -ffast-math exclusive to sinc_resampler.c 2025-05-02 17:26:19 +00:00
Makefile.retrofw Make -ffast-math exclusive to sinc_resampler.c 2025-05-02 17:26:19 +00:00
Makefile.rg350 Enable networking for RG350 (#15182) 2023-04-11 17:31:49 +02:00
Makefile.rg350_odbeta Enable networking for RG350 (#15182) 2023-04-11 17:31:49 +02:00
Makefile.rs90 Makefiles: don't print info unconditionally 2025-04-29 18:36:48 +00:00
Makefile.switch Add HAVE_CORE_INFO_CACHE - disable this for Steam build 2021-10-14 15:57:28 +02:00
Makefile.vita Fix broken logic in the clean target 2025-05-17 09:17:07 +00:00
Makefile.vita.salamander Make -ffast-math exclusive to sinc_resampler.c 2025-05-02 17:26:19 +00:00
Makefile.webos webOS: Enable ZStandard 2025-06-25 12:28:31 +02:00
Makefile.wii Makefiles: don't print info unconditionally 2025-04-29 18:36:48 +00:00
Makefile.wii.salamander Forgot to add compat_strldup.c to Wii and WiiU salamanders 2022-08-25 17:02:05 +02:00
Makefile.wiiu Make -ffast-math exclusive to sinc_resampler.c 2025-05-02 17:26:19 +00:00
Makefile.win Make -ffast-math exclusive to sinc_resampler.c 2025-05-02 17:26:19 +00:00
README-OMAP.md video_omap: more docu fixes 2014-01-14 16:39:24 -06:00
README-exynos.md exynos: update TODO list 2014-08-09 16:43:48 +02:00
README-mali_fbdev_r4p0.md Fix typos (#17068) 2024-10-01 17:36:33 -07:00
README.md Fix displaying PipeWire help label, styling (#17274) 2024-12-20 18:51:48 -08:00
SECURITY.md Create SECURITY.md (#17553) 2025-02-10 22:07:57 +01:00
accessibility.h Revert of AI service changes (#16428) 2024-04-12 16:17:24 -07:00
autosave.h Cleanups - less settings_t pointer passing 2025-02-11 09:38:54 +01:00
cheat_manager.c Rewrite part of cheat_manager_load_cb_second_pass() 2025-04-08 06:16:59 +00:00
cheat_manager.h (cheat_manager) No more dependency on configuration.h 2025-02-10 16:48:56 +01:00
com.libretro.RetroArch.desktop Use reverse DNS name for desktop file and icon (#16449) 2024-09-23 09:03:48 -07:00
com.libretro.RetroArch.metainfo.xml Use reverse DNS name for desktop file and icon (#16449) 2024-09-23 09:03:48 -07:00
command.c Report errors from save/load, disable loads under hard cheevos 2025-04-30 14:44:56 -07:00
command.h Add 'save as' and main config replacing options (#18014) 2025-06-13 03:03:36 +03:00
config.def.h apple: provide option to disable metal argument buffers 2025-06-22 12:29:17 -04:00
config.def.keybinds.h Revert "Kiosk Mode Hotkey and Bug Fix ( For Empty Main Menu )" 2025-06-07 18:00:14 +02:00
config.features.h Add ZStandard support + libchdr update 2025-06-22 00:03:01 +03:00
configuration.c Built-in playlist migration rework 2025-06-25 20:38:24 +03:00
configuration.h apple: provide option to disable metal argument buffers 2025-06-22 12:29:17 -04:00
configure qb: Don't create config.log with ./configure --help. 2019-07-28 22:12:26 -07:00
content.h content_get_subsystem_friendly_name - change function signature return 2025-01-17 00:55:30 +01:00
core.h Simplify core_serialize_size and core_serialize_size_special 2023-06-16 17:20:27 +02:00
core_backup.c Style nits 2025-01-19 22:15:34 +01:00
core_backup.h Cleanups 2023-09-02 16:42:49 +02:00
core_info.c iOS: rely on core info to re-find cores from old directory structure 2025-06-04 14:52:01 -04:00
core_info.h Less string intermediary copies 2024-12-24 18:46:22 +01:00
core_option_manager.c Guarantee space for string characters after strlcpy 2025-03-28 11:11:09 +00:00
core_option_manager.h General cleanups - 2022-08-01 21:31:45 +02:00
core_updater_list.c Buildfixes and warning fixes 2025-01-17 12:03:30 +01:00
core_updater_list.h (Android/Play Store) Add frontend support for core installation via Play Feature Delivery 2020-08-28 16:30:54 +01:00
database_info.c Minor improvements for db / playlist handling (#16060) 2023-12-30 11:45:36 -08:00
database_info.h database_info.h - cleanup to struct 2023-06-16 20:35:15 +02:00
default.txt Forgot to update default.txt for tagged release 2025-05-29 07:22:16 +02:00
defaults.h * PATH_MAX_LENGTH redefined from 4096 to 2048 2024-09-09 05:47:32 +02:00
disk_control_interface.c Guarantee space for string characters after strlcpy 2025-03-28 11:11:09 +00:00
disk_control_interface.h Less string buffers and less string copies 2025-01-16 23:59:22 +01:00
disk_index_file.c Use the existing ldci define 2025-05-29 01:21:26 +03:00
disk_index_file.h More struct reordering/alignment 2020-08-14 21:00:04 +02:00
driver.h Add microphone support via a new driver (#14731) 2023-06-06 21:55:06 +02:00
dynamic.h Silence warning about type sign mismatch 2025-03-20 18:24:55 +00:00
fetch-submodules.sh fetch-submodules.sh - fail on errors (#17234) 2024-12-05 06:21:42 -08:00
file_path_special.c (glslang_utill.c) One less string copy per iteration 2025-01-17 03:01:59 +01:00
file_path_special.h (menu_explore) Simplification of explore_load_icons 2024-12-30 10:07:58 +01:00
github-contributors.py Update AUTHORS.h and script 2021-08-31 22:42:31 +03:00
lakka-switch.h Lakka Switch Updates.... (#15754) 2023-10-06 04:55:22 -07:00
lakka.h * (PSP/Vita) Remove unused variables 2021-08-12 18:51:33 +02:00
list_special.h Cleanups 2024-12-22 20:01:28 +01:00
location_driver.h Merge midi_driver.c and location_driver.c into retroarch.c - 2023-12-17 05:01:12 +01:00
manual_content_scan.c iOS: fix rescanning manual playlists after app update 2025-04-11 18:07:48 -04:00
manual_content_scan.h Downgrade some more variables to NAME_MAX_LENGTH 2024-09-09 16:01:29 +02:00
midi_driver.h CoreMIDI add driver (#17569) 2025-02-15 18:57:09 +01:00
msg_hash.c Add Irish Gaelic as a language option 2025-06-20 22:37:46 +02:00
msg_hash.h apple: provide option to disable metal argument buffers 2025-06-22 12:29:17 -04:00
no-xib.diff Clean up white space. 2019-02-03 16:00:50 -08:00
nvdaControllerClient64.dll Added in auto-translate support, fixes for ozone and glui accessibility, and support for nvda and SAPI narration. 2020-04-13 17:46:08 -07:00
nvda_controller.h Change name of nvdaController.h 2020-05-10 08:51:25 +02:00
paths.h Handle default config save path differently 2025-06-16 19:14:45 +03:00
performance_counters.h Header uniformity - enums on top, then structs, then public declarations 2023-05-30 21:03:36 +02:00
playlist.c Fix playlist json flags (#18048) 2025-06-24 18:19:40 +03:00
playlist.h XMB: Icon thumbnail improvements (#17558) 2025-02-11 23:09:47 +01:00
retroarch-android-debug.diff Follow patched file changes. 2025-04-09 06:35:37 +02:00
retroarch-apple-packaging.sh Build OSX Metal using Makefile (#11941) 2021-01-26 09:48:15 +01:00
retroarch-mingw-build.sh Clean up white space. 2019-02-03 16:00:50 -08:00
retroarch.c Add Irish Gaelic as a language option 2025-06-20 22:37:46 +02:00
retroarch.cfg Add Named_Logos (#17216) 2024-12-20 18:52:27 -08:00
retroarch.h Enable core options reset before starting a core. 2025-04-06 21:53:01 +02:00
retroarch_types.h Silence warning about type sign mismatch 2025-03-20 18:24:55 +00:00
runahead.c Unused variable cleanup buildfix 2025-06-15 05:12:28 +03:00
runahead.h Preemptive Frames updates (#17003) 2024-09-14 12:14:36 -07:00
runloop.c Log also analogs in SET_INPUT_DESCRIPTORS 2025-06-20 17:35:24 +03:00
runloop.h Auto swap interval correction 2025-05-05 15:50:42 +03:00
runtime_file.c Less string buffers and less string copies 2025-01-16 23:59:22 +01:00
runtime_file.h Turn some functions to returntype size_t 2025-01-12 23:03:41 +01:00
runtime_file_defines.h (config.def.h) only try to include define headers 2022-11-27 22:57:17 +01:00
save.c Cleanups - less settings_t pointer passing 2025-02-11 09:38:54 +01:00
setting_list.h setting_list - remove unused original_value 2025-02-12 13:56:21 +01:00
state_manager.c Rewind logging cleanup 2025-05-24 22:18:49 +03:00
state_manager.h Header uniformity cleanups 2023-05-30 21:21:05 +02:00
switch_performance_profiles.h Relocate Switch CPU profile definitions 2025-04-08 17:12:03 +00:00
translation_defines.h Add Belarusian language option (#15780) 2023-10-31 05:51:57 -07:00
travis-deploy-key.enc travis: deploy OSX Metal build 2018-09-02 21:57:06 -04:00
travis_metal_deploy.sh Last fix 2021-05-29 11:03:35 +07:00
verbosity.c Use find_last_slash where possible 2025-01-17 13:26:17 +01:00
verbosity.h len variable/argument name standardization 2025-01-15 16:04:25 +01:00
version.all Bump version 2025-04-14 23:04:09 -07:00
version.dtd Bump version 2025-04-14 23:04:09 -07:00
version.h Clean up trailing whitespace 2017-12-12 00:24:18 -08:00
version_git.c Remove trailing blank lines. 2019-01-17 19:39:38 -08:00
version_git.h Remove trailing blank lines. 2019-01-17 19:39:38 -08:00
wiiu-devel.properties.template Implement UDP broadcast network logging on Wii U 2018-05-06 14:39:48 -07:00

README.md

Build Status Coverity Scan Build Status Crowdin

RetroArch

RetroArch is the reference frontend for the libretro API. Popular examples of implementations for this API includes video game system emulators and game engines as well as more generalized 3D programs. These programs are instantiated as dynamic libraries. We refer to these as "libretro cores".

XMB menu driver

rgui menu driver

glui menu driver

ozone menu driver

libretro

libretro is an API that exposes generic audio/video/input callbacks. A frontend for libretro (such as RetroArch) handles video output, audio output, input and application lifecycle. A libretro core written in portable C or C++ can run seamlessly on many platforms with very little to no porting effort.

While RetroArch is the reference frontend for libretro, several other projects have used the libretro interface to include support for emulators and/or game engines. libretro is completely open and free for anyone to use.

libretro API header

Binaries

Latest binaries are currently hosted on the buildbot.

Support

To reach developers, either make an issue here on GitHub, make a thread on the forum, chat on discord, or visit our IRC channel: #retroarch @ irc.freenode.org. You could create a post in Reddit with Technical Support flair.

Documentation

See our Documentation Center. On Unix, man-pages are provided. More developer-centric stuff is found here.

Philosophy

RetroArch attempts to be small and lean while still having all the useful core features expected from an emulator. It is designed to be very portable and features a gamepad-centric and touchscreen UI. It also has a full-featured command-line interface.

In some areas, RetroArch goes beyond and emphasizes on not-so-common technical features such as multi-pass shader support, real-time rewind (Braid-style), video recording (using FFmpeg), run-ahead input latency removal, etc.

RetroArch also emphasizes being easy to integrate into various launcher frontends.

Platforms

RetroArch has been ported to the following platforms:

  • Android (2.x to most recent version)
  • Apple iOS
  • Apple macOS (PPC, x86-32 and x86-64)
  • Apple tvOS
  • Blackberry
  • DOS
  • Emscripten (WebAssembly and JavaScript)
  • FreeBSD
  • Haiku
  • Linux
  • Original Microsoft Xbox
  • Microsoft Xbox 360 (Libxenon/XeXDK)
  • Microsoft Xbox One
  • Microsoft Xbox Series S/X
  • Miyoo
  • NetBSD
  • Nintendo NES/SNES Classic Edition
  • Nintendo GameCube
  • Nintendo Wii
  • Nintendo Switch
  • Nintendo Wii U
  • Nintendo 3DS/2DS
  • OpenBSD
  • OpenDingux
  • PlayStation2
  • PlayStation3
  • PlayStation4
  • PlayStation Portable
  • PlayStation Vita
  • Raspberry Pi
  • ReactOS
  • Redox OS
  • RetroFW
  • RS90
  • SerenityOS
  • Solaris
  • Windows NT 3.5
  • Windows 95
  • Windows 98
  • Windows 2000
  • Windows XP
  • Windows Millennium
  • Windows Vista
  • Windows 7
  • Windows 8
  • Windows 10
  • Windows 11

Dependencies (PC)

There are no true hard dependencies per se.

On Windows, RetroArch can run with only Win32 as dependency.

On Linux, there are no true dependencies. For optimal usage, the following dependencies come as recommended:

  • GL headers / Vulkan headers
  • X11 headers and libs, or EGL/KMS/GBM

OSX port of RetroArch requires latest versions of Xcode to build.

RetroArch can utilize these libraries if enabled:

  • nvidia-cg-toolkit
  • libfreetype2 (TTF font rendering on screen)

RetroArch needs at least one of these audio driver libraries:

  • ALSA
  • OSS
  • RoarAudio
  • RSound
  • OpenAL
  • JACK
  • SDL
  • PulseAudio
  • PipeWire
  • XAudio2 (Win32, Xbox 360)
  • DirectSound (Win32, Xbox 1)
  • CoreAudio (OSX, iOS)

To run properly, RetroArch requires a libretro implementation present; however, as it's typically loaded dynamically, it's not required at build time.

Dependencies (Console ports, mobile)

Console ports have their own dependencies, but generally do not require anything other than what the respective SDKs provide.

Requirements

OpenGL1

Your videocard needs to at least support the OpenGL 1.1 spec.

Shaders: N/A

Menu driver support: MaterialUI, XMB, Ozone and RGUI should all work correctly. XMB won't have shader pipeline effects because of the aforementioned lack of shader support.

OpenGL2

Your videocard needs to at least support the OpenGL 2.1 spec.

Shaders: You can choose between either NVIDIA Cg shaders (deprecated, requires separate runtime to be installed on your system), or GLSL shaders.

Menu driver support: MaterialUI, XMB, Ozone and RGUI should all work correctly.

OpenGL3

Your videocard needs to at least support the OpenGL 3.2 core feature spec.

Shaders: You will be able to use modern Slang shaders with this driver.

Menu driver support: MaterialUI, XMB, Ozone and RGUI should all work correctly.

Direct3D 11

Your videocard needs to at least support the Direct3D11 11.0 spec. The card also needs to support at least the Shader Model 4.0.

Shaders: You will be able to use modern Slang shaders with this driver.

Menu driver support: MaterialUI, XMB, Ozone and RGUI should all work correctly.

Vulkan

Your videocard needs to at least support the Vulkan 1.0 spec.

Shaders: You will be able to use modern Slang shaders with this driver.

Menu driver support: MaterialUI, XMB, Ozone and RGUI should all work correctly.

Configuring

The default configuration is defined in config.def.h. It is not recommended to change this unless you know what you're doing. These can later be tweaked by using a config file. A sample configuration file is installed to /etc/retroarch.cfg. This is the system-wide config file.

RetroArch will on startup create a config file in $XDG\_CONFIG\_HOME/retroarch/retroarch.cfg if it does not exist. Users only need to configure a certain option if the desired value deviates from the value defined in config.def.h.

To configure joypads, use the built-in menu or manually configure them in retroarch.cfg.

Compiling and installing

Instructions for compiling and installing RetroArch can be found in the Libretro/RetroArch Documentation Center.

CRT 15Khz Resolution Switching

CRT SwitchRes will turn on, on the fly. However, you will need to restart RetroArch to disable it. With CRT SwitchRes enable RetroArch will start in 2560 x 480 @ 60.

If you are running Windows, before enabling the CRT SwitchRes options please make sure you have installed CRTEmudriver and installed some modelines. The minimum modelines for all games to switch correctly are:

  • 2560 x 192 @ 60.000000
  • 2560 x 200 @ 60.000000
  • 2560 x 240 @ 60.000000
  • 2560 x 224 @ 60.000000
  • 2560 x 237 @ 60.000000
  • 2560 x 256 @ 50.000000
  • 2560 x 254 @ 55.000000
  • 2560 x 448 @ 60.000000
  • 2560 x 480 @ 60.000000

Install these modelines replacing 2560 with your desired super resolution. The above resolutions are NTSC only so if you would be playing any PAL content please add PAL modelines:

  • 2560 x 192 @ 50.000000
  • 2560 x 200 @ 50.000000
  • 2560 x 240 @ 50.000000
  • 2560 x 224 @ 50.000000
  • 2560 x 288 @ 50.000000
  • 2560 x 237 @ 50.000000
  • 2560 x 254 @ 55.000000
  • 2560 x 448 @ 50.000000
  • 2560 x 480 @ 50.000000

Some games will require higher PAL resolutions which should also be installed:

  • 2560 x 512 @ 50.000000
  • 2560 x 576 @ 50.000000

Ideally install all these modelines and everything will work great.

Super Resolutions

The default super resolution is 2560. It is displayed just under the CRT switch option, which can be found in video settings. This can be changed within the retroarch.cfg. The only compatible resolutions are 1920, 2560 and 3840. Any other resolutions will be ignored and native switching will be activated.

Native Resolutions

If native resolutions are activated you will need a whole new set of modelines:

  • 256 x 240 @ 50.006977 SNESpal

  • 256 x 448 @ 50.006977 SNESpal

  • 512 x 224 @ 50.006977 SNESpal

  • 512 x 240 @ 50.006977 SNESpal

  • 512 x 448 @ 50.006977 SNESpal

  • 256 x 240 @ 60.098812 SNESntsc

  • 256 x 448 @ 60.098812 SNESntsc

  • 512 x 240 @ 60.098812 SNESntsc

  • 512 x 224 @ 60.098812 SNESntsc

  • 512 x 448 @ 60.098812 SNESntsc

  • 256 x 192 @ 59.922745 MDntsc

  • 256 x 224 @ 59.922745 MDntsc

  • 320 x 224 @ 59.922745 MDntsc

  • 320 x 240 @ 59.922745 MDntsc

  • 320 x 448 @ 59.922745 MDntsc

  • 320 x 480 @ 59.922745 MDntsc

  • 256 x 192 @ 49.701458 MDpal

  • 256 x 224 @ 49.701458 MDpal

  • 320 x 224 @ 49.701458 MDpal

  • 320 x 240 @ 49.701458 MDpal

  • 320 x 288 @ 49.701458 MDpal

  • 320 x 448 @ 49.701458 MDpal

  • 320 x 480 @ 49.701458 MDpal

  • 320 x 576 @ 49.701458 MDpal

  • 256 x 288 @ 49.701458 MSYSpal

  • 256 x 240 @ 60.098812 NESntsc

  • 256 x 240 @ 50.006977 NESpal

  • 640 x 237 @ 60.130001 N64ntsc

  • 640 x 240 @ 60.130001 N64ntsc

  • 640 x 480 @ 60.130001 N64ntsc

  • 640 x 288 @ 50.000000 N64pal

  • 640 x 480 @ 50.000000 N64pal

  • 640 x 576 @ 50.000000 N64pal

  • 256 x 252 @ 49.759998 PSXpal

  • 320 x 252 @ 49.759998 PSXpal

  • 384 x 252 @ 49.759998 PSXpal

  • 640 x 252 @ 49.759998 PSXpal

  • 640 x 540 @ 49.759998 PSXpal

  • 384 x 240 @ 59.941002 PSXntsc

  • 256 x 480 @ 59.941002 PSXntsc

  • 352 x 240 @ 59.820000 Saturn/SGFX_NTSCp

  • 704 x 240 @ 59.820000 SaturnNTSCp

  • 352 x 480 @ 59.820000 SaturnNTSCi

  • 704 x 480 @ 59.820000 SaturnNTSCi

  • 352 x 288 @ 49.701458 SaturnPALp

  • 704 x 288 @ 49.701458 SaturnPALp

  • 352 x 576 @ 49.701458 SaturnPALi

  • 704 x 576 @ 49.701458 SaturnPALi

  • 240 x 160 @ 59.730000 GBA

  • 320 x 200 @ 60.000000 Doom

// Arcade

  • 400 x 254 @ 54.706841 MK
  • 384 x 224 @ 59.637405 CPS1

These modelines are more accurate giving exact hz. However, some games may have unwanted results. This is due to mid-scanline resolution changes on the original hardware. For the best results super resolutions are the way to go.

CRT resolution switching & MAME

Some arcade resolutions can be very different from consumer CRTs. There is resolution detection to ensure MAME games will be displayed in the closest available resolution but drawn at their native resolution within this resolution. Meaning that the MAME game will look just like the original hardware.

MAME ROMs that run in a vertical aspect like DoDonPachi need to be rotated within MAME before resolution switching and aspect correction will work. Do this before enabling CRT SwitchRes so that RetroArch will run in your desktop resolution. Once you have rotated any games that may need it turn CRT SwitchRes on.

Socials

The links below belong to our official channels. Links other than this may have been created by fans, independent members or followers. We seriously recommend using our original resources.