Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
Go to file
Twinaphex 300dbdf883
Merge pull request #5866 from ToKe79/fix-glsync-build-error
GLsync build fix for HAVE_OPENGLES2
2017-12-05 23:03:30 +01:00
.github Rename PULL_REQUEST_TEMPLATE to PULL_REQUEST_TEMPLATE.md 2017-11-29 12:03:42 -05:00
.vscode allow building and debugging RetroArch from Visual Studio code automatically on a MINGW64 (MSYS2) installation 2017-11-29 18:21:13 -05:00
audio Change to 256bit macros 2017-12-05 12:07:35 +01:00
bootstrap
camera
cheevos Fix another C89 issue 2017-12-05 16:45:57 +01:00
cores
ctr Add 3ds assets, move assets from ctr to pkg/ctr 2017-11-24 09:28:47 -08:00
defines
deps Fix Griffin build 2017-11-28 02:52:40 +01:00
dist-scripts
docs
emscripten
frontend [WiiU] Toolchain: Actually fix C++ constructors/destructors (oops!) 2017-12-03 11:31:30 +11:00
gfx GLsync build fix for HAVE_OPENGLES2 2017-12-05 21:58:01 +01:00
griffin Update griffin.c 2017-12-04 20:19:35 +01:00
input don't define UNICODE at all, we don't need it and it causes dinput problems (names are wchar_t) 2017-12-05 14:26:59 -05:00
intl More C89_BUILD fixes 2017-12-05 16:31:58 +01:00
libretro-common Fix BIT_GET 2017-12-05 16:20:52 +01:00
libretro-db fix missing %s 2017-11-27 17:16:11 +01:00
location
managers
media
memory
menu Cut down on code duplication 2017-12-05 15:44:41 +01:00
network add missing %s 2017-11-27 17:15:21 +01:00
pkg Added Visual Studio 2017 support 2017-12-05 11:23:38 -05:00
qb Merge pull request #5810 from orbea/systemd 2017-11-27 23:57:15 +01:00
record Try to retain backwards compat. with older ffmpeg versions 2017-11-20 23:38:25 +01:00
tasks buildfix for certain mingw environments 2017-12-02 15:59:42 -05:00
tools Add copyright headers to ps3py 2017-12-02 05:17:14 +01:00
ui
wifi
wii
wiiu [WiiU] Exception handler: minor comment tweak 2017-12-01 11:03:09 +11:00
.editorconfig
.gitignore Added Visual Studio 2017 support 2017-12-05 11:23:38 -05:00
.project
.travis.yml travis: libusb package was in wrong place 2017-11-28 23:16:38 -05:00
autosave.h
CHANGES.md Update CHANGES.md 2017-12-05 16:09:44 +01:00
command.c remove this again, it causes issues saving remaps/presets/overrides 2017-11-26 18:22:59 -05:00
command.h Refactor code 2017-11-25 22:59:47 +01:00
config.def.h Add Automatically Load Content To Playlist feature 2017-11-27 06:47:31 +01:00
config.def.keybinds.h New lightgun binds 2017-11-26 16:59:48 +00:00
config.features.h
configuration.c Put braces around macros 2017-12-03 03:43:05 +01:00
configuration.h Put braces around macros 2017-12-03 03:43:05 +01:00
configure
content.h
CONTRIBUTING.md
COPYING
core_impl.c
core_info.c scanner: allow matching archives by member 2017-11-17 16:53:49 -08:00
core_info.h scanner: allow matching archives by member 2017-11-17 16:53:49 -08:00
core_type.h
core.h
database_info.c
database_info.h
defaults.h
diff.diff
dirs.c
dirs.h
driver.c
driver.h
dynamic.c
dynamic.h
fetch-submodules.sh
file_path_special.c This include doesn't go here 2017-11-25 20:25:59 +01:00
file_path_special.h Cheevos badges 2017-11-23 08:04:54 -05:00
file_path_str.c
lakka.h
list_special.c
list_special.h
Makefile Revert "Use RetroArch Assets' Makefile to install Assets" 2017-12-01 06:26:02 -08:00
Makefile.common Update Makefile.common 2017-12-04 16:46:59 +01:00
Makefile.ctr Fix name issue with nekop2, use ${DEVKITPRO} for smdhtool, got devkitarm setup, compiles and works 2017-11-25 18:35:05 -08:00
Makefile.ctr.salamander Fix name issue with nekop2, use ${DEVKITPRO} for smdhtool, got devkitarm setup, compiles and works 2017-11-25 18:35:05 -08:00
Makefile.emscripten
Makefile.griffin griffin: add -DEBUG to linker flags for MSVC is building with DEBUG=1 2017-11-27 19:43:07 -05:00
Makefile.libogc
Makefile.openpandora
Makefile.pandora
Makefile.ps3
Makefile.ps3.cobra
Makefile.ps3.salamander
Makefile.psl1ght
Makefile.psp1
Makefile.psp1.salamander
Makefile.vita
Makefile.vita.salamander
Makefile.wii.salamander
Makefile.wiiu [WiiU] Input: Make controller_patcher a compile-time option 2017-12-01 18:29:21 +11:00
Makefile.wiiu.salamander
Makefile.win
movie.c
movie.h
msg_hash.c
msg_hash.h let it snow 2017-12-02 22:47:44 -05:00
no-xib.diff
paths.c
paths.h
performance_counters.c
performance_counters.h
playlist.c Fix this one for non-stdio backends 2017-12-04 13:41:04 +01:00
playlist.h
README-exynos.md
README-mali_fbdev_r4p0.md
README-OMAP.md
README.md
retroarch-mingw-build.sh
retroarch.c Cleanups 2017-12-05 13:15:15 +01:00
retroarch.cfg
retroarch.desktop Making description more concrete and adding Russian translation 2017-11-22 19:04:59 +03:00
retroarch.h Get rid of a lot of RARCH_INPUT_STATE_BIT_ macros - replace them 2017-12-05 09:22:56 +01:00
setting_list.c initialise/clear mbutton field 2017-11-26 11:56:55 +00:00
setting_list.h
verbosity.c Update verbosity.c 2017-12-04 16:48:17 +01:00
verbosity.h
version_git.c
version_git.h
version.all Bump to version 1.6.9 2017-11-21 16:32:24 +01:00
version.dtd Start bumping version to 1.6.8 2017-11-18 12:21:25 +01:00
version.h

Build Status Coverity Scan Build Status

RetroArch

RetroArch is the reference frontend for the libretro API. Popular examples of implementations for this API includes videogame system emulators and game engines, but also 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

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/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 Windows binaries are currently hosted on the buildbot.

Support

To reach developers, either make an issue here on GitHub, make a thread on the forum, or visit our IRC channel: #retroarch @ irc.freenode.org.

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 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), etc.

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

Platforms

RetroArch has been ported to the following platforms:

  • Windows
  • Linux
  • FreeBSD
  • NetBSD
  • MacOS
  • PlayStation 3
  • PlayStation Portable
  • Original Xbox
  • Xbox 360 (Libxenon/XeXDK)
  • Wii, GameCube (Libogc)
  • WiiU
  • Nintendo 3DS
  • Raspberry Pi
  • Android
  • iOS
  • Blackberry

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
  • libxml2 (GLSL XML shaders)
  • libfreetype2 (TTF font rendering on screen)

RetroArch needs at least one of these audio driver libraries:

  • ALSA
  • OSS
  • RoarAudio
  • RSound
  • OpenAL
  • JACK
  • SDL
  • PulseAudio
  • 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.

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 doesn't 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 the retroarch-joyconfig command-line tool.

Compiling and installing

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