From ArchWiki
Revision as of 20:15, 10 September 2012 by Earnest (talk | contribs) (Configuration: Personal note that this section is fairly rudimentary and needs to be cleaned up.)
Jump to: navigation, search

RetroArch is a modular, command-line driven, multi-system emulator that is designed to be fast, lightweight, and portable. It has features few other emulators frontends have, such as real-time rewinding and game-aware shading based on the libretro API.


Install retroarch-gitAUR from the AUR.

A GTK/QT frontend, retroarch-phoenix-gitAUR, is also available.


RetroArch employs the use of separate emulator cores (or implementations) available from both the AUR and the libretro github.

Each package from the AUR will install an emulator core to /usr/lib/libretro/[system].so, thus to use retroarch with your preferred system simply launch it with the -L parameter. E.g.

retroarch -L /usr/lib/libretro/ ~/path/to/game
Tip: It is possible to run directly from .zip files using the retroarch-zip shell wrapper, however, keep in mind that this is not supported within the implementation.

This emulation core can also be defined in the retroarch.cfg, thus obviating the need to specify it on the command line.

libretro_path = "/usr/lib/libretro/"

There are currently several emulation cores available including snes9x, bsnes, visual boy advance and final burn alpha. See this AUR search for more.


Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: This requires some work; better structure without turning into a sea of green, blue and red tips, notes and warnings. (Discuss in Talk:RetroArch#)

RetroArch provides a skeleton configuration file located at /etc/retroarch.cfg and is very well commented.

It is capable of supporting split configuration files using the #include "foo.cfg" directive within the main retroarch.cfg file.

Tip: retroarch is capable of loading bsnes xml filters [1] and cg shaders [2]. They can be defined in retroarch.cfg as video_bsnes_shader and video_cg_shader respectively.
Note: retroarch-gitAUR requires nvidia-cg-toolkit in order to use the cg shaders.
Warning: When using the alsa driver make sure audio_out_rate is equal to your system's default output rate. This is usually this is 48000.