Core Updates Summary and more Switch updates – October 2018

RetroArch Switch NSP


We now provide an NSP file for Switch straight from our Download page. The main reasons for using this are:

  • Being able to launch RetroArch straight from the main menu instead of having to boot Hbmenu first.
  • The Mupen64plus core requires more memory to be allocated than Hbmenu currently allows for. Mupen64plus will only work through the NSP file.

You can grab this from our Downloads page here.

Please be aware of the following disclaimer that should pop up before you use this:

WHEN USING THIS, YOU NEED TO BE PREPARED THAT A REAL RISK EXISTS THAT YOU MIGHT BE BANNED [FROM NINTENDO’S ONLINE SERVICES]. USE OF THIS FILE IS THEREFORE DONE AT YOUR SOLE RISK AND IS WITHOUT WARRANTIES OF ANY KIND BY US, EXPRESSED, IMPLIED OR OTHERWISE INCLUDING WARRANTIES OF TITLE, FITNESS FOR PURPOSE, MERCHANTABILITY OR NON-INFRINGEMENT. Under no circumstances are we liable for any damages arising from the usage of this file on your Nintendo Switch.

New Switch cores! 49 Cores now!

Just a few days after launch, we already have a few new cores for the Nintendo Switch available for Nintendo Switch! You can grab these new cores by going to ‘Online Updater’ -> ‘Update Cores’ from within RetroArch, and downloading them one by one.

Let’s quickly run through some of them:

Mupen64plus


This is an early port of Mupen64 Plus for the libnx Switch port! Please be aware of the following:

  1. You will need to install RetroArch NSP and boot it straight from the main menu in order to be able to use this core. Mupen64plus requires more memory to be allocated than Hbmenu allows for.
  2. The framerate right now is not great. This is as a result of there being no dynamic recompiler right now, it just uses a cached interpreter core instead.

NOTE: Everybody is completely aware of the lacking performance of the current Mupen64plus. This is simply a proof of concept for now. Remember, once this bounty (which has amassed so far an amazing $1K+ in little over a week) is finally completed, most games will be running at fullspeed effortlessly on Switch with this emulator!

What this core illustrates is that libretro GL works fine on RetroArch Switch. You can expect to see more libretro GL cores being ported over to Switch in the near future. We are excited for what the future holds over this!

Mr. Boom

This is a great homebrew Bomberman clone made by franck. Up to 8 players can play locally, and you can even setup AI bots that will play against you in either singleplayer mode or multiplayer mode. This should be a perfect fit for the Switch with one Joy Con doubling as two controllers.

GW – Game & Watch

This is a Game & Watch simulator. It runs simulators converted from source code for the games available at MADrigal. Each simulator is converted with pas2lua, which was written specifically for this purpose, and uses bstree, which was also specifically written to obfuscate the generated Lua source code as per MADrigal’s request.

For more info, read this article here.

This core is courtesy of leiradel, who personally ported this over to Libretro.

81

81 is a port of the EightyOne (a.k.a. THE Sinclair Emulator) to libretro.

EightyOne emulates a number of ZX80, ZX81, clones, and other computers based on the same hardware:

* Sinclair ZX80
* Sinclair ZX81
* Timex TS1000
* Timex TS1500
* Lambda 8300
* Ringo R470
* MicroDigital TK85
* Jupiter ACE

However, 81-libretro only emulates the Sinclair ZX81 with 16Kb RAM for now. Other machines will be added as time permits. Push requests are welcome.

The port correctly loads and runs some many games I have around in the p format. tzx format is also supported.

EightyOne also emulates some ZX Spectrum machines, but those were left out of this core on purpose. For a ZX Spectrum core for libretro, see the Fuse core.

This core is courtesy of leiradel, who personally ported this over to Libretro.

FUSE

This is a ZX Spectrum emulator.

For more info, read this article here.

This core is courtesy of leiradel, who personally ported this over to Libretro.

FB Alpha 2012 Neo Geo for Wii – Virtual Memory support!

Wiimpathy has now added Virtual Memory support for the Nintendo Wii! Finally, those bigger Neo Geo ROMs that were previously impossible to load on RetroArch Wii can finally be played with FBAlpha 2012 Neo Geo core!

Here are some notes left behind by Wiimpathy:

It uses the Wii NAND flash as virtual memory. The games also have to be converted/decrypted first to cache files with a PC program called romcnv.
This program is a modified version of romcnv used for MVS2PSP.
Romcnv binaries: http://www.mediafire.com/file/xb783jd9mxhgbos/romcnv_R2.zip
Romcnv Source: http://www.mediafire.com/file/14a55bohl5u1suo/romcnv_src.zip

Note that a few games(SNK Vs Capcom PCB for example) are still too large with this method.

Dosbox SVN – Dynarec on 32bit Windows/Linux and 32bit Android

radius has done extensive work on a new Dosbox libretro core. The dynarec has now been made to work on the following platforms:

  1. 32bit Windows/Linux versions
  2. 32bit Android versions

You can now play fairly modernish games like Duke Nukem 3D (from an MS-DOS perspective) on Dosbox at fullspeed!

But there is more! There is even MIDI playback implemented, and netplay works via IPX.

Reicast

Last time we reported on Reicast, we had full keyboard support implemented which was already hot on the heels of full multiplayer online support with zero network configuration. Since then, flyinghead has not been exactly sitting still. An overview of the progress that has been made since:

  1. Lightgun emulation support (House of the Dead 2 (US and EU), Confidential Mission (EU), and Death Crimson 2 (JP) all confirmed working)
  2. Various crucial graphics bugs have been fixed on both Android and ARM Linux. FMVs should no longer show a black screen and Soul Calibur’s characters should no longer be black (due to high quality textures not being rendered).
  3. Threaded rendering mode’s stability has been further increased.
  4. A bug existed that caused white lines on the top and right side of the screen. Various games exhibited this. This has now been fixed.
  5. Further improved CHD image support.

The next thing flyinghead is planning to do is merging both Reicast and Reicast OIT into one, so that we no longer need to have two separate renderers/cores!

RetroArch 1.7.5 – Released!

RetroArch 1.7.5 has just been released! Grab it here.

This latest version has also been uploaded to the Google Play Store. This is the 32bit version. We also have a brand new 64bit version for users with 64bit capable devices. You can grab that one here. More on that version later!

If you’d like to show your support, consider donating to us. Check here in order to learn more.

NOTE: Currently the following versions have not yet been released – Xbox OG. I am working on building those versions as we speak.

Highlights

Launch of Nintendo Switch version


Easily the main event of this release. Read our dedicated blog article here –

https://www.libretro.com/index.php/retroarch-1-7-5-introducing-libnx-switch-version/

Menu improvements – dropdown lists

We were fully cognizant of the fact that it was very inconvenient for many mobile users (such as Android users) to have to repeatedly click on a setting in order to adjust its value. So we have finally implemented dropdown lists now for the majority of the settings!

A dropdown list will appear when you either click on a certain setting or press the ‘OK’ button on your gamepad. Settings that have a dropdown lists are typically decimal/hexadecimal settings, or even string lists.

We have even made the core options feature dropdown lists, and they work uniformly across all currently existing menu drivers right now. So that means the dropdown lists work with RGUI, MaterialUI as well as XMB!

We hope this will smooth over some of the rough edges that have existed in the raster-based UI for quite some time!

Adaptive V-Sync implemented for OpenGL (Windows/Linux)

We have implemented the “swap_control_tear” extension for OpenGL when using WGL on Windows or GLX on Linux. In order to take advantage of this, your GPU needs to support either the “WGL_swap_control_tear” extension (for Windows) or “GLX_swap_control_tear” (for Linux).

Adaptive V-Sync is basically a conditional V-Sync mode. V-Sync is enabled until performance falls below the target refresh rate. If it falls below the target framerate, it will conditionally disable V-Sync. Basically the logic behind this is that tear lines is preferable vs. a sudden halving of the framerate (under a normal double buffered V-Sync configuration) from 60 fps to 30fps, and from 30 fps to 15fps, and so on. This can minimize stuttering when performance falls below real-time, and can be more energy efficient. It can also help with very intensive shaders that makes the framerate fall below fullspeed.

Adaptive V-Sync is commonly seen on current-generation game consoles such as Xbox One and PlayStation4.

Improved Vulkan performance (especially for Nvidia cards) – mailbox emulation

Thanks to Themaister’s latest patches implementing mailbox emulation for Vulkan, there should no longer be frame pacing / stuttering issues with Vulkan on Windows when using Nvidia graphics cards.

Please read his blog article for more details.

Easy recording/streaming options (for versions with ffmpeg support)

RetroArch video streaming feature was revamped with GUI support, automatic file naming and quality presets.

Live Streaming to YouTube and Twitch is now possible with a single click (after setting up your stream key of course). You can go to Settings -> User -> Accounts and configure your Youtube/Twitch stream key there.

UDP Streaming to another RetroArch instance

In addition to streaming to YouTube and Twitch (and to file) you can now stream to another RetroArch instance.

This is meant to be the backbone for Discord spectate mode. And streaming netplay (think parsec, gfe co-op)

An interesting fact about this is that you could stream at 1x without shaders and playback in another instance with shaders and at any scale you want.

Of course all these things still need more work, GPU assisted recording, custom FFMPEG, etc. But I’ll get there eventually.

To playback on another instance just do:
retroarch udp://127.0.0.1:56400

General changelog

– CAMERA: Fix Video4Linux2 driver that broke years ago.
– CONFIG: Add ‘Reset To Defaults’ setting in Configurations. This will reset your config file to defaults.
– CHEATS: Add support for Rumble when increase or decrease by the rumble value.
– CHEATS: Add cheat variables to allow for updating large portions of memory.
– CHEEVOS: Prevent loading states before achievements are fully loaded.
– CRT: New porches and interlaced bug fix.
– CRT: New functionality, ability to switch between 15KHz and 31KHz, etc.
– COMMON: Support for “OEM-102” key (usually ‘\’ on Euro keyboards).
– DISCORD: Add ‘Ask To Join’ Feature.
– EMSCRIPTEN: Add stb_font support.
– INPUT: Add new menu toggle combos ‘L3 + R’ and ‘L + R’ (useful for Switch).
– IOS: Use safe area to account for notch for iPhone X and adjust main view.
– LOCALIZATION: Update Portuguese / Brazilian translation.
– LOCALIZATION: Update Japanese translation.
– LOCALIZATION: Update Polish translation.
– LOCALIZATION: Update Spanish translation.
– MENU: Add dropdown lists for many settings.
– MENU: Fix crash that could happen when changing core’s options on Android.
– MENU/QT/WIMP: Add option to rename playlists.
– MENU/QT/WIMP: Add option to filter extensions inside archives when adding to a playlist.
– MENU/QT/WIMP: Rename playlist entries with 2 single clicks.
– MENU/QT/WIMP: Fix shader parameter checkboxes not working
– METAL: Add screenshot support.
– NETPLAY: Save lobby details received back from server after first announcement.
– OPENGL/GLX: Implement Adaptive VSync – GLX_EXT_swap_control_tear.
– OPENGL/WGL: Implement Adaptive VSync – WGL_EXT_swap_control_tear.
– RUNAHEAD: Fix performance degradation that could happen over time (after approx. 30 mins). Fixed input IDs outside of range 0-35 causing slow performance in runahead.
– SWITCH: Add stb_font support.
– SWITCH: Add Retro Achievements support.
– SWITCH: Add networking support.
– SWITCH: Add touchscreen support.
– SWITCH: Add OpenGL support.
– SWITCH: Merging of RetroNX Nintendo Switch port, based on libnx SDK.
– VULKAN: Fix race condition in threaded mailbox emulation.
– VULKAN: Maintenance fixes.
– WIIU: Fix menu lag when built with DevKitPro r32.

RetroArch 1.7.5 – Introducing libnx Switch version!

<
Thanks to the hard work of the RetroNX devs (natinusala and m4xw), we now have an official RetroArch release for Switch!

You can download RetroArch for Switch here.

Installation instructions

You will need a Nintendo Switch capable of running homebrew for this to work.

  1. Download the RetroArch 7z file for Switch (download link above).
  2. Extract its contents and just drag and drop retroarch and the switch folder onto the root of the SD card.
  3. Open Hbmenu, and start RetroArch.

IMPORTANT: Please start RetroArch Switch with a fresh install (in case you already had RetroNX installed before)
and migrate savegames from /retroarch/cores/save{files, states} to the same folder on the new installation.

Features

    • OpenGL support
      • Thanks to Mesa/Nouveau support, this Switch version comes with full-blown OpenGL support (thanks to fincsdev). This means that all of the advanced features available on the PC should be available on Switch as well! GLSL shaders should be supported, overlays are supported, and thanks to OpenGL support, we can use hardware-accelerated menus such as XMB/MaterialUI (with full thumbnail support, theming, etc). In addition to all this, it allows us to port libretro cores that require the use of OpenGL later in the future, such as Parallel N64, OpenLara, and potentially more like Reicast/PPSSPP/etc!
    • Touchscreen support (for MaterialUI/etc)
      • natinusala saw to it that this initial version received touchscreen support. Right now the DPI (Dots Per Inch) is kinda hardcoded for portable and not really meant for dock mode. This will be improved in the near future.
    • Full networking support.
      • Online multiplayer (with peer-to-peer and MITM matchmaking) should be available from Day One. Take note that performance of the core heavily matters in terms of the kind of quality you get out of your online experience, since the netplay implementation is rollback-based. Aside from multiplayer, you can also download cores, update assets, and all the features you would expect on the PC version.
    • RetroAchievements support
      • By registering an account at Retro Achievements and inputting your account details into RetroArch, you can obtain achievements for your games.
    • Game scanning
      • Scanning of your games should fully work, except for perhaps PS1 images right now.
    • Split Joy-Con support
      • If you go to Settings -> Input and enable Split Joy-Con (1 to 8), you can use a full Joy-Con as two separate controllers!
    • Core downloader
      • From Day One, it should be possible to download and update new cores as they arrive on a daily basis without even having to wait for the next RetroArch stable!
    • Runahead support
      • RetroArch Switch comes with runahead support from Day One! This is our game-changing feature that allows you to beat latency and even go beyond the fast response times of the original hardware. Performance of this feature is heavily dependent on the ‘performance’ level of the core and the Switch’s relative power. Try experimenting with cores, and don’t forget to turn it of for more demanding cores that balk under the pressure. Because RetroArch offers such a wide array of cores even for the same system, it’s entirely possible that one specific SNES or Genesis core is fast enough for the kind of runahead at x frames configuration that you are looking for.

44 Cores at Launch!


This might just be the single biggest platform release at launch for a new platform ever for RetroArch! Right from day one, we are starting out of the gates on the Switch with over 44 libretro cores!

So let us quickly go over them one by one –

      • 4DO – 3DO Libretro core. Try to enable the core option Threaded DSP (or a setting named something similar) for better performance.
      • 2048 – A homebrew recreation of the 2048 puzzle game.
      • Cannonball – An OutRun game engine recreation. Requires the original arcade ROMs in order to work.
      • CrocoDS – An Amstrad CPC 6128 emulator.
      • DOSBOX – MS-DOS/Windows 9x emulator. Performance may vary according to which game you are attempting to emulate.
      • Final Burn Alpha – Arcade game emulator. Can emulate (among other examples) Capcom CPS1/CPS2/CPS3 games, Neo Geo, as well as other popular 80s/90s arcade systems.
      • FCEUmm – Nintendo Famicom/NES emulator. Has some nice core options as well as good performance.
      • fMSX – MSX emulator.
      • FreeINTV – Intellivision emulator.
      • Gambatte – Nintendo Game Boy/Game Boy Color emulator. Should be the fastest Game Boy core of all right now, as well as pretty accurate.
      • Gearboy – Nintendo Game Boy/Game Boy Color emulator. Libretro core generously maintained and supported upstream by DrHelius, its original author.
      • Gearsystem – Sega Master System/Game Gear emulator. Libretro core generously maintained and supported upstream byDrHelius, its original author.
      • Genesis Plus GX – Sega Master System/Game Gear/Genesis/Mega Drive emulator. Should be more accurate than Picodrive and is many’s go-to Genesis/Mega Drive emulator. Libretro core maintained upstream by Eke-Eke.
      • Handy – Atari Lynx emulator.
      • MAME 2000 – Arcade emulator based on a 2000 snapshot version of MAME (version 0.36b). Is functionally similar/identical to iMAME4All.
      • MAME 2003 – Arcade emulator based on a 2003 snapshot version of MAME (version 0.78). Is functionally similar/identical to MAME 0.72, except a bit more up-to-date and with some game-specific fixes implemented (as well as a speedup core option for Midway DCS games, such as the Mortal Kombat series).
      • MAME 2003 Plus – Arcade emulator based on a 2003 snapshot version of MAME (version 0.78). Has everything MAME 2003 has, plus more backported game drivers and features.
      • Mednafen NGP – SNK Neo Geo Pocket (Color) emulator.
      • Mednafen PCE Fast – NEC PC Engine (CD) emulator.
      • Mednafen Super-Grafx – NEC Super-Grafx (CD) emulator. Short-lived successor to the PC Engine with backward compatibility.
      • Mednafen VB – Nintendo Virtual Boy emulator.
      • Mednafen WonderSwan – Bandai WonderSwan/WonderSwan Color emulator. This portable handheld had a screen that ran at 75Hz, therefore V-Sync is disabled for this core.
      • mGBA – Nintendo Game Boy Advance emulator. Actively maintained and improved by endrift.
      • NEStopia – Nintendo Famicom/NES emulator known for its accuracy focus. Has plenty of features. Use NstDatabase.xml for additional game compatibility support. Libretro core maintained upstream by NEStopia Undead authors.
      • NX Engine – Cave Story game engine recreation. use the original Cave Story/Doukutsu Monogatari in order for this to work. These files are needed here.
      • O2EM – Magnavox Odyssey 2 emulator.
      • PCSX ReARMed – Sony PlayStation 1 emulator. Comes with an updated Unai video renderer for better performance. Hints: you will want to turn on threaded video for this core for better performance. You can use the PSP PS1 BIOS for better performance.
      • Picodive – Sega Genesis/Mega Drive emulator with 32X peripheral support. There is no Aarch64 dynarec so the dynarec for 32X might still be too slow.
      • PocketCDG – Karaoke MP3 music player.
      • PokeMini – Pokemon Mini emulator.
      • PrBoom – Doom game engine source port. Can run at fixed framerates like 35/40/50/60fps.
      • ProSystem – Atari 7800 emulator.
      • QuickNES – Nintendo Famicom/NES emulator. Fastest NES emulator out of them all.
      • Reminiscence – Flashback game engine recreation.
      • SNES9x 2010 – Super Famicom/Nintendo emulator. Should be considerably faster than Snes9x mainline.
      • SNES9x – Super Famicom/Nintendo emulator. Slower than Snes9x 2010 but has MSU-1 support among other improvements only available in upstream version. Maintained upstream by the original Snes9x devs like bearoso and OV2.
      • Stella – Atari 2600 emulator.
      • TGB Dual – Nintendo Game Boy / Game Boy Color emulator. Has a splitscreen multiplayer mode where gamepad 1 and 2 can play against each other successfully.
      • Tyrquake – Quake 1 game engine. Runs in software renderer, no networking support (yet).
      • VBA Next – Game Boy Advance emulator. Should have an option to multithread rendering which could potentially improve performance a lot.
      • Vecx – Vectrex emulator. Early ’80s game console that rendered everything with wireframe polygons.
      • VICE (x64) – Commodore 64 emulator.
      • XRick – Game engine recreation/port of Rick Dangerous.
      • Yabause – Sega Saturn emulator. Might be too slow for now.

Hints

      • In case PCSX ReARMed is running too slowly, go to Settings -> Video and enable Threaded Video. Threaded Video can also help with certain demanding shaders. Please note that Threaded Video can tend to introduce some judder to frame pacing which isn’t there with non-threaded video, so for all other cores you might want to leave this off.
      • There is a fallback ‘switch’ video driver that you can switch to from OpenGL in case you experience some issue with a core using OpenGL. In case you do, please make sure to set the Menu Driver to ‘rgui’ then, since the ‘switch’ video driver doesn’t have working XMB/MaterialUI menu support. If you fail to do this, you would just get a black screen at startup and you would have to remove your retroarch.cfg config.

Future plans

m4xw already has a Parallel N64 core up and running on the Switch, however it’s currently quite slow and we really want to await the completion of this bounty (which amassed an impressive $1K in less than 6 days BTW!) before we include it.

Beyond that, there is a new menu driver being developed called ‘ozone’ which looks highly promising, and you might see this becoming the default UI for the Switch port in the near future!

BeetleDC Libretro now supports the keyboard as an input peripheral!

Keyboard support has now been implemented by flyinghead! In this video you see us testing the game Typing Of The Dead, which relies on a keyboard as its primary input device..

In order to play this game, make sure the keyboard is set to Port A of the Dreamcast. You can see us doing this in the video by going to the Quick Menu, selecting ‘Controls’, and setting the first port to ‘Keyboard’. Now restart the core and the game. You should now be able to play the game.

Game focus toggle

Quick tip: RetroArch by default binds a lot of keyboard keys to hotkeys. In order to be able to use the keyboard in full, try to bind ‘Game focus toggle’ to a key. You can do this by going to Settings – Input Hotkeys, and binding ‘Game focus toggle’ to any key you want.

How this will work is as follows: if you press the game focus toggle, you will be in ‘game focus’ mode. In this mode, none of the hotkeys will work, and you can use every key of the keyboard. When you want to go back to the RetroArch hotkey mode, you press the ‘game focus toggle’ key again in order to deactivate game focus mode.

Flycast Libretro now supports online multiplayer! Zero-configuration online Dreamcast gaming for the first time ever!

Flycast Libretro has now gained modem and PPP support. It leverages dreamcastlive.net which makes it possible to still play these games while their original servers are down.

Grab the latest core from the buildbot in order to use this! It should work on Windows, Linux, Android, and potentially even macOS seamlessly without having to input an IP address, thanks to true zero-configuration multiplayer! To our knowledge, this is the first time a Dreamcast emulator offers true zero-configuration multiplayer support like this. Demul requires a complicated TAP driver/OpenVPN configuration, and modem support was not implemented yet since the last time we checked.

How to configure online

In this video, I will boot up one of the games that allows you to set your ISP network information. You will need to do this before online multiplayer will work in Dreamcast games such as Phantasy Star Online.

One of the games that lets you do this is Quake III Arena. Other games that allow you to do this include (but are not limited to) Ooga-Booga and Toy Racer.

Input any username and password combo you want, and only input a local phone number. It can be completely bogus, it can be 666 or 888, whatever you want.

After that, you press Dial. These details will now be saved to your NVRAM, and from there, this same ISP info will be used for every subsequent multiplayer game onwards, such as Phantasy Star Online.

BTW – if you are on Windows, you might get a warning at some point from Windows Firewall if you want to allow a connection – select ‘Yes’.

Phantasy Star Online gameplay footage

In this session, you see me and flyinghead meeting up in a lobby in Phantasy Star Online and doing some hunts together! We are both using the same version of Flycast Libretro inside RetroArch.

As you can see, online works surprisingly well! All kudos to flyinghead for implementing the code necessary to be able to emulate this!

Hopefully in the near future we will have keyboard and mouse support to complement all this! It is already in flyinghead’s own branch of flycast right now.