Changes

Jump to navigation Jump to search

Using RetroArch

787 bytes added, 22:53, 28 December 2022
Hotkeys
==Basic Usage==
{{Main|Dummies Guide: RetroArch}}
After downloading [[RetroArch]],[[File:Rgui.png|thumb|205px300px|RGUI, RetroArch's original interface. ]][[File:GLUI.png|thumb|300px|GLUI]][[File:XMB and GLUI follow the same basic structure.jpeg|thumb|300px|XMB]][[File:Ozon.png|thumb|300px|Ozon]] start up retroarch.exe.
To launch a game, select the libretro core you'd like to use under '''Load Core''', and select a ROM under '''Load Content>Select File'''. Alternatively, you can use '''Load Content>Select File And Detect Core''' to be presented with a list of cores detected based on the file extension of the content.
sudo apt-get update
sudo apt-get install retroarch retroarch-assets retroarch-joypad-autoconfig
sudo apt-get install <corename>
Set USE flags that you want, it is not required to enable every single one (you only need at least one audio and video output device; defaults are suitable enough). It is recommended to add udev for joystick support and netplay for netplay support.
 
Build and install RetroArch from the git repository
The cores will be installed under /usr/lib/libretro/
 
===Other Distros===
If you are going to play in a system that needs a BIOS (e.g. PS1), place the [[Emulator_Files#Multi-System|BIOS files]] in RetroArch's 'system' directory.
 
Mednafen is very picky about which BIOS to use. The ones that you might need are:
 
<ul>
<li class="de2"><code>scph5500.bin</code></li>
<li class="de2"><code>scph5501.bin</code></li>
<li class="de2"><code>scph5502.bin</code></li>
</ul>
===Disc images===
[[Mednafen]] RetroArch requires you to load games through CUE sheets. Ensure that the CUE sheet is properly set up in order for the game to run. See the [[Cue sheet (.cue)]] for more.
===Mupen64Plus===
*Angrylion is ultra accurate, but is too slow for most people to use. Requires the CXD4 RSP to work. Resolution must be set to 640x480 or higher.
 
*paraLLEl is a Vulkan renderer based on Angrylion. It is much faster than Angrylion, but is still incomplete and has more issues. Turning Synchronous RDP off results in a speed boost, but also breaks many things.
*The HLE RSP plugin is very fast and will work fine for most games.
===Transfer PS1 Memory Card Files===
Mednafen RetroArch creates memory card files for each individual game, in contrast to PCSX-R/ePSXe where all game saves are stored into 2 memory card files. To transfer memory card files from PCSX-R/ePSXe to RetroArch:
*Start game in RetroArch.
===SoftFilters===
Classic emulator filters like SuperEagle or Blargg's NTSC have been available as bSNES bsnes filter plugins in the past, which is no longer supported in bSNESbsnes/higan but was still available in RetroArch. However, this filter format was recently replaced with the SoftFilter spec, which has been upgraded to support more platforms, multi-threading and SIMD usage. The filters are dynamic libraries which are loaded in the menu under Settings>Video>Video Filter, which will apply the filter before any shaders are applied.
The filters are found [https://github.com/libretro/RetroArch/tree/master/gfx/video_filters here], which can be built for your platform with the makefile. These files should be included in nightly builds from the buildbot.
Note that these filters are WIP and may not work with all cores as they need to have codepaths for the pixel format the core uses (either 32bpp XRGB8888 or 16bpp RGB565). Blargg's NTSC is currently limited to 16bpp cores for example (bSNES bsnes is 32bpp so it won't work, but SNES9x Snes9x is 16bpp so it works there). Cores that use Libretro GL for 3D like Mupen64plus Mupen64Plus can not use these filters.
===Outputting log to a file===
*F1 - Open menu
*F2 - Save state
*F3 - Toggle frame rate display
*F4 - Load state
*F6 - Input save state slot decrease
===Performance issues while using the GL driver===
Windows users with Nvidia users hardware may find that even while idle, RetroArch CPU usage is upwards of 12% or above while using the GL video driver. If this is the case, go into the Nvidia Control Panel, and under Manage 3D Settings, check to see if the Threaded Optimizations option is set to Auto or On. If so, add retroarch.exe to the list of programs, and then toggle it to Off. This should lower CPU usage drastically.
===Stuttering due to inaccurate refresh rate estimation===
The refresh rate given there should be very accurate, and you can copy it into <code>video_refresh_rate</code> in your config file.
 
===Stuttering on multi-monitor setups===
 
Further testing is needed, but on multi-monitor setups on Windows using the GL driver, it appears RetroArch will only sync smoothly when outputting to the Windows-designated primary monitor. Outputting to a secondary monitor will often result in occasional stutter, even in exclusive fullscreen and after accurate refresh rate estimation, [https://mollyrocket.com/casey/blog_0032.html possibly due to a WGL oversight]. Short of switching primary and secondary designations prior to opening RetroArch, increasing audio latency and/or using only video sync seems to help mitigate this to an extent. Switching to either the D3D or Vulkan (if available) driver appears to eliminate this problem completely.
==External links==
Anonymous user

Navigation menu