- retroarch
- RetroArch is the official reference frontend for the libretro API.
- Details for retroarch
- Share this snap
- Share embeddable card
- Ubuntu Compilation / Development Guide¶
- Environment configuration¶
- RetroArch Compilation¶
- Building RetroArch¶
- Core Compilation¶
- Fetching Cores¶
- Building Cores¶
- LibRetro Super¶
- Manual Fetching and Compilation¶
- RetroArch
- Contents
- Installation
- Usage
- Configuration
- Tips and tricks
- Enabling the Online Updater
- Enabling SaveRAM Autosave Interval
- Filters and shaders
- Reset settings to their default value
- Troubleshooting
- No cores found
- Input devices do not operate
- Poor video performance
- Audio issues with ALSA
- Save data is lost whenever RetroArch crashes
- Start game from playlist but reports ‘No Items’
- Features
- New Update (v1.9.11)
- A Polished Interface
- Cross platform
- Next-frame response time — impeccable latency results
- Highly Configurable
- Automatic Controller Configuration
- Shaders
- Achievements
- Netplay
- Recording & Streaming
- Expanding app library
- Latest Cores
- Dolphin
- Citra
- OpenLara
- melonDS
- SameBoy
- PX68K
- RetroArch 1.9.11 released!
- Lakka 3.5 released!
- RetroArch Steam – Important information for Linux users
- RetroArch 1.9.10 released!
retroarch
Install latest/stable of retroarch
Ubuntu 16.04 or later?
View in Desktop store
Make sure snap support is enabled in your Desktop store.
Install using the command line
RetroArch is the official reference frontend for the libretro API.
The official reference frontend for the libretro API.
RetroArch provides a variety of advanced user-facing features and powerful configuration capabilities to programs that target the libretro API. While a majority of these programs are emulators for retro gaming consoles, various gaming engines and other multimedia applications are also represented. The programs, known as «cores», can be downloaded and updated directly from RetroArch’s built-in Online Updater.
RetroArch defaults to a gamepad-friendly 10-foot/leanback interface that is perfect for use with living-room and home theater PCs, but there is also a more traditional keyboard-and-mouse interface available by pressing F5.
RetroArch is written in portable C and licensed GPLv3.
Details for retroarch
Share this snap
Generate an embeddable card to be shared on external websites.
Create embeddable card
Share embeddable card
Customise your embeddable card using the options below.
Источник
Ubuntu Compilation / Development Guide¶
Environment configuration¶
The easiest route to get into building RetroArch and libretro cores on Ubuntu linux is to use libretro’s PPA.
For stable releases you can add the PPA like this:
For development work we recommend the testing PPA instead:
You will need git and a few build tools at least to proceed which you can install by issuing the following command:
RetroArch Compilation¶
Building RetroArch¶
The first step is to obtain RetroArch’s source tree.
You can get RetroArch’s dependenencies by running the following command:
Depending on your configuration you may need to uncomment the deb-src repositories in /etc/apt/sources.list, /etc/apt/sources.list.d/libretro-ubuntu-testing-$version.list and then run apt-get update before running apt-get build-dep
For subsequent builds you will need to pull the changes from the repo
To compile RetroArch run the following commands inside RetroArch’s source tree:
For development purposes you might want to run a debug build instead. In such case use the following commands:
You can then start RetroArch by running:
If you’re building frequently you may want to add ccache to the mix to speed up the build process.
Install ccache via apt and the prepend the ccache symlink directory to your build environment path as shown below.
For further instructions check the documentation
Install ccache:
You can add that last line to your
/.bashrc to avoid having to type that every time you start your working environment.
Core Compilation¶
Fetching Cores¶
You can find the cores on libretro’s GitHUB organization.
We have an all-in-one tool to fetch and compile cores which you can use to streamline the process.
You can obtain the tool by using these commands:
Then you can fetch one or all the cores by using libretro-fetch.sh
Fetch all cores:
Replace corename with the name of the core you want to fetch, for example gambatte
Building Cores¶
LibRetro Super¶
The easiest way to build all the cores is to use libretro-build.sh from within libretro-super’s source tree:
In case you only want to build one and/or more cores instead of all, you can specify the cores you want to build after the first command in no particular order:
Once compilation has finished, you can find the libretro cores inside dist/unix.
Manual Fetching and Compilation¶
Get the core’s source tree. As an example we’ll use fceumm
Then compile the core:
Optionally strip the build product:
Most cores will build with these instructions. You might need to browse to a subdirectory in some cases.
Источник
RetroArch
RetroArch is the reference implementation of the libretro API. It is a modular front-end for video game system emulators, game engines, video games, media players and other applications that offers several uncommon technical features such as multi-pass shader support, real-time rewinding and video recording (using FFmpeg), it also features a gamepad-driven UI on top of a full-featured command-line interface.
Contents
Installation
Install the retroarch package or alternatively retroarch-git AUR for the development version.
Usage
RetroArch relies on separate libraries, called «cores», for most of its functionality. These can be downloaded per-user within RetroArch itself (via the libretro Buildbot) or you can install them system-wide via Community or AUR.
By default RetroArch is configured to load the per-user cores that it downloads. Change your #Configuration if you install them elsewhere.
The command to run a particular core is
Configuration
When you first run RetroArch it will create the user configuration file
If you install RetroArch components in your home-directory, you should specify local paths in the global configuration file for downloading cores. For example,
If you install any RetroArch components system-wide with pacman, you should specify these in the global configuration file and include them in your user file. For example,
If you want to override your configuration (for example when running certain cores) you can use the —appendconfig /path/to/config command line option.
Tips and tricks
Enabling the Online Updater
If you prefer to install all RetroArch components with the built in updater instead of pacman, you can enable it with a configuration file:
Enabling SaveRAM Autosave Interval
By default, RetroArch only writes SRAM onto disk when it exits without error, which means that there is a risk of losing save data when using crash-prone cores. To change this behavior, open
/.config/retroarch/retroarch.cfg and set autosave_interval to n.
With the example above, RetroArch will write SRAM changes onto disk every 600 seconds.
Filters and shaders
RetroArch can load BSNES XML filters and CG shaders. These are set in retroarch.cfg with video_bsnes_shader and video_cg_shader respectively. The shaders can also be obtained and updated directly inside RetroArch using the Online Updater.
Reset settings to their default value
To reset a setting or keybind to its default value through the GUI, highlight it and press Start . To remove a button from a keybind, highlight the keybind and press Y .
Troubleshooting
No cores found
By default RetroArch searches for cores in
/.config/retroarch/cores , which is where the Online Updater installs them. Cores installed with pacman are placed in /usr/lib/libretro and thus will not appear in RetroArch’s GUI. You should choose one method of installing cores (pacman or the Online Updater) and change your #Configuration to match.
Input devices do not operate
You may encounter problems if running on a CLI or a display server other than Xorg or if you use the udev input driver, because /dev/input nodes are limited to root-only access. Try adding your user to the input user group then logging in again.
Alternatively, manually add a rule in /etc/udev/rules.d/99-evdev.rules , with KERNEL==»event*», NAME=»input/%k», MODE=»666″ as its contents. Reload udev rules by running:
If rebooting the system or replugging the devices are not options, permissions may be forced using:
Poor video performance
If poor video performance is met, RetroArch may be run on a separate thread by setting video_threaded = true in
This is, however, a solution that should be not be used if tweaking RetroArch’s video resolution/refresh rate fixes the problem, as it makes perfect V-Sync impossible, and slightly increases latency.
Audio issues with ALSA
When using ALSA the audio_out_rate must match the system’s default output rate, usually 48000 .
Save data is lost whenever RetroArch crashes
Start game from playlist but reports ‘No Items’
If RetroArch reports «libretro core requires contents, but nothing provided», try to load game by manually chose the path of the ROM from the «Main Menu -> Load Content». It seems unreliable to start game from ‘playlist’.
Источник
Features
New Update (v1.9.11)
Get the latest version of RetroArch right now on your platform of choice.
Read the article linked down below to see what’s new!
A Polished Interface
Browse your game collection through a beautiful settop box-oriented menu.
After scanning your collection, games will be sorted by system.
The menu supports thumbnails and features various animated backgrounds.
Cross platform
RetroArch can run on the usual platforms like Windows, Mac OS X and Linux.
RetroArch also runs on Apple and Android for tablets and phones, as well as on game consoles like PS3, PSP, PS Vita, Wii, Wii U and more!
Next-frame response time — impeccable latency results
RetroArch is capable of next-frame responsive time. This means that there should be no nearly no perceivable difference in terms of input latency from real hardware, FPGA/clone or original hardware.
On top of all that, there are various settings you can configure to optimize the results even more.
Highly Configurable
Our advanced settings interface lets you tweak every possible option about how the games are run and displayed.
Every setting has a logical default so you can be up and running in no time.
Automatic Controller Configuration
Common game controllers are automatically configured when plugged in, just like a real console.
Ideal for multiplayer games when a friend brings their own controller!
You can also configure controllers manually to assign special actions to button combos.
Shaders
Shaders are efficient graphical filters that can greatly improve the rendering of old games.
They can also be used to replicate the look and feel of old CRT monitors.
You can even stack them to create your own effect. The possibilities are endless.
Achievements
Unlock achievements on your favorite classic games!
Unlock trophies and badges like on a modern game consoles!
Netplay
Host or join a network gaming session.
Rediscover the joy of multiplayer games using RetroArch built-in netplay lobby.
You can also use the spectator mode to watch others play.
Recording & Streaming
RetroArch is able to record your gaming session to a video file.
The same mechanism also enables you to live stream your games to platforms like Twitch.tv or Youtube.
Expanding app library
New programs are constantly being added to RetroArch’s app library.
And with RetroArch’s built-in Core Updater, you can download new programs directly as soon as they become available!
Latest Cores
Dolphin
Dolphin is a Wii and Gamecube emulator. It has been ported to libretro and an alpha version of the core is available now for Windows and Linux! Version for macOS will be released at a later date.
For more information on Dolphin, visit the author’s website here.
See also our in-depth article here.
Citra
Citra is a ‘work in progress’ Nintendo 3DS emulator.
Core available now for Windows and Linux. Version for macOS will be released at a later date.
For more information on Citra, visit the author’s website here.
See also our in-depth article here.
OpenLara
OpenLara is an early Tomb Raider game engine recreation.
Core available now for Windows/Linux.
For more information, read our article on this release here.
It uses the original data files in order to work. What is nice about this one is that it has some very fancy graphics effects that it adds on top of the old game engine without it resulting in any stylistic clashes.
melonDS
melonDS is a ‘work in progress’ Nintendo DS emulator.
Core available now for Windows, macOS, Linux, Android and iOS.
For more information on melonDS, visit the author’s website here.
See also our in-depth article here.
SameBoy
SameBoy is a highly accurate Game Boy/Game Boy Color emulator.
Core available now for Windows, macOS, Linux, Android and iOS.
For more information on SameBoy, visit the author’s website here.
PX68K
PX-68K is a Sharp X68000 emulator. This is a Japanese home computer from the late ’80s/early ’90s that was used by Capcom as devkits for their arcade games. It played host to many popular games from the likes of Namco, Konami and Capcom.
Core available now for Windows, macOS, Linux, Android and iOS.
For more information, read our article on this release here.
RetroArch 1.9.11 released!
Sun, 10 Oct 2021 11:04:28 +0000 Daniel De Matteis
RetroArch 1.9.11 has just been released. Grab it here. If you’d like to learn more about upcoming releases, please consult our roadmap here. The next version of Lakka (with an updated RetroArch 1.9.11 version) is scheduled to be released very soon! Remember that this project exists for the benefit of our users, and that we […]
Lakka 3.5 released!
Sun, 03 Oct 2021 16:52:22 +0000 Daniel De Matteis
Lakka 3.5 has just been released! To learn more, check out this article on our sister site Lakka.tv here. This version is based on the latest RetroArch version, 1.9.10 (see here).
RetroArch Steam – Important information for Linux users
Sat, 25 Sep 2021 21:55:53 +0000 Daniel De Matteis
Hello everyone! We have been busy working on the Steam version to improve compatibility and stability. Right now, we need to make some changes for the Linux platform. For a long time, we have manually released everything on the Steam, this has now been automated for both platforms. Looking forward you can expect regular updates […]
RetroArch 1.9.10 released!
Sun, 19 Sep 2021 22:25:25 +0000 Daniel De Matteis
RetroArch 1.9.10 has just been released. Grab it here. If you’d like to learn more about upcoming releases, please consult our roadmap here. The next version of Lakka (with an updated RetroArch 1.9.10 version) is scheduled to be released very soon! Remember that this project exists for the benefit of our users, and that we […]
Источник