RetroArch

From Emulation General Wiki
Revision as of 20:24, 1 April 2015 by NOptimus (talk | contribs) (replaced the outdated download link)
Jump to navigation Jump to search
Retroarch.png
Current version: 1.18.0
Active: Yes
OS: Multi-platform
Authors: Squarepusher, themaister, others
Official website: libretro.com
Source code: GitHub

RetroArch is an open-source, multi-platform frontend for the libretro API. It is designed to be a fast, lightweight, and portable multi-system emulator.

RetroArch is available for Windows, OS X, Linux, Android, iOS (jailbroken), BlackBerry 10, Raspberry Pi, OpenPandora, PlayStation 3, PSP, Xbox, Xbox 360, GameCube, and Nintendo Wii.

Downloads

PC Versions

Mobile/Console Versions

Supported Systems

Main article: libretro#Cores

Features

  • Consistency across multiple systems.
  • Custom resolution and refresh rate for output.
  • Dynamic rate control for amazing sound even when it's run at a different rate than the video, such as vsync causes sometimes. Especially obvious with GBA.
  • Basic fast forward, rewind, savestate, etc
  • Shaders: .shader, .cg, .cgp . filter
  • Ported to many, many different platforms.
  • GGPO-like netcode (latency hiding rollback). It should be lag-free if everyone involved emulates at full speed, don't live on opposite sides of the world and has decent internet speeds. It uses peer-to-peer UDP and supports two players. Due to rollback it requires a fair amount of CPU power to run.
  • Options for decreasing input latency related to vsync by eliminating buffering by the video driver as well as using frame delay.

Using RetroArch

Main article: Using RetroArch

NetPlay

It is now usable from RGUI in current builds, under Settings>Netplay Options. You can get it to work with the command line or the Phoenix Launcher as well in older builds.

You must specify whether you will be hosting (server) or joining (client) the game. If joining, you must also enter the host's IP address in the field below. Make sure your firewall is open on port 55435 (default; you can change it if you like) and that the port is forwarded in your router, if applicable. You can also specify 'spectator mode,' which will allow an arbitrary number of spectators to join and watch you play without being able to play themselves.

Delay frames denotes the maximum number of frames RetroArch will need to emulate at once to maintain synchronization due to actual network latency. You can figure out an appropriate ballpark for this number by pinging the other player and dividing the time (in milliseconds) by 16 (roughly the number of milliseconds in a frame from a game running at 60 fps). If the gameplay is a bit choppy, try increasing the number of delay frames a bit.

Similar to the GGPO platform, RetroArch creates a constant stream of savestates which, along with button presses, are exchanged and compared between the server and client machines. If the savestates start to diverge, the game rolls back in time to a point where they both agree and then emulates the missing frames all at once to get back to the appropriate spot. This gives the illusion of completely lagless inputs, which is invaluable for twitchy, fine controls.

If you try to connect to a server and it immediately says client disconnected, open your log and make sure your ROMs match exactly (it will complain about a hash mismatch otherwise). If it gives you a weird time-out error, just close the window and try to connect again and it should work itself out (sometimes excessive spikes in network latency can cause the states to diverge catastrophically, resulting in this error).

Frontend

There is an alternate launcher available called RAEM (formerly known as RA-Player), for those that want to try something that looks more like a native Windows program. It is a work-in-progress.

Download it here

External links