Experimental Nintendo Switch Emulator written in C#
Go to file
2020-05-27 18:22:50 +10:00
.github
ARMeilleure Implement CNTVCT_EL0 (#1268) 2020-05-23 12:15:59 +02:00
Ryujinx Refactor out Application details from Horizon (#1236) 2020-05-15 03:16:46 -03:00
Ryujinx.Audio Upgrade projects to C#8 (#1193) 2020-05-04 12:14:48 +10:00
Ryujinx.Common Refactor SystemInfo and implement macOS system info backend (#1177) 2020-05-04 12:15:27 +10:00
Ryujinx.Cpu Implement a new physical memory manager and replace DeviceMemory (#856) 2020-05-04 08:54:50 +10:00
Ryujinx.Debugger Upgrade projects to C#8 (#1193) 2020-05-04 12:14:48 +10:00
Ryujinx.Graphics.GAL Spanify Graphics Abstraction Layer (#1226) 2020-05-23 11:46:09 +02:00
Ryujinx.Graphics.Gpu Spanify Graphics Abstraction Layer (#1226) 2020-05-23 11:46:09 +02:00
Ryujinx.Graphics.Nvdec Refactor shader GPU state and memory access (#1203) 2020-05-06 11:02:28 +10:00
Ryujinx.Graphics.OpenGL Flush GL commands before inevitably waiting for a query result. (#1278) 2020-05-27 17:51:03 +10:00
Ryujinx.Graphics.Shader Implement TMML and TMML.B (#1270) 2020-05-23 12:04:35 +02:00
Ryujinx.Graphics.Texture Upgrade projects to C#8 (#1193) 2020-05-04 12:14:48 +10:00
Ryujinx.HLE Fix GetDisplayVersion (#1276) 2020-05-27 18:22:50 +10:00
Ryujinx.LLE Upgrade projects to C#8 (#1193) 2020-05-04 12:14:48 +10:00
Ryujinx.Memory Implement a new physical memory manager and replace DeviceMemory (#856) 2020-05-04 08:54:50 +10:00
Ryujinx.Memory.Tests Implement a new physical memory manager and replace DeviceMemory (#856) 2020-05-04 08:54:50 +10:00
Ryujinx.ShaderTools Refactor shader GPU state and memory access (#1203) 2020-05-06 11:02:28 +10:00
Ryujinx.Tests Upgrade projects to C#8 (#1193) 2020-05-04 12:14:48 +10:00
Ryujinx.Tests.Unicorn Upgrade projects to C#8 (#1193) 2020-05-04 12:14:48 +10:00
.editorconfig
.gitattributes
.gitignore
appveyor.yml
CONFIG.md
KEYS.md
LICENSE.txt
README.md
Ryujinx.sln Implement a new physical memory manager and replace DeviceMemory (#856) 2020-05-04 08:54:50 +10:00
Ryujinx.sln.DotSettings

Ryujinx

An Experimental Switch emulator written in C#

A lot of games boot, but only some are playable. See the compatiblity list here.

Usage

To run this emulator, you need the .NET Core 3.1 (or higher) SDK.

If you use a pre-built version, you can use the graphical interface to run your games and homebrew.

If you build it yourself you will need to: Run dotnet run -c Release -- path\to\homebrew.nro inside the Ryujinx project folder to run homebrew apps. Run dotnet run -c Release -- path\to\game.nsp/xci to run official games.

Every file related to Ryujinx is stored in the Ryujinx folder. Located in C:\Users\USERNAME\AppData\Roaming\ for Windows, /home/USERNAME/.config for Linux or /Users/USERNAME/Library/Application Support/ for macOS. It can also be accessed by clicking Open Ryujinx Folder under the File menu in the GUI.

Latest build

These builds are compiled automatically for each commit on the master branch, and may be unstable or completely broken.

The latest automatic build for Windows, macOS, and Linux can be found on the Official Website.

Requirements

  • Switch Keys

    Everything on the Switch is encrypted, so if you want to run anything other than homebrew, you have to dump encryption keys from your console. To get more information please take a look at our Keys Documentation.

  • System Titles

    Some of our System Module implementations, like time, require System Data Archives. You can install them by mounting your nand partition using HacDiskMount and copying the content to Ryujinx/bis/system.

  • Executables

    Ryujinx is able to run both official games and homebrew.

    Homebrew is available on many websites, such as the Switch Appstore.

    A hacked Nintendo Switch is needed to dump games, which you can learn how to do here. Once you have hacked your Nintendo Switch, you will need to dump your own games with NxDumpTool to get an XCI or NSP dump.

Features

  • Audio

    Everything for audio is partially supported. We currently use a C# wrapper for libsoundio, and we support OpenAL (installation needed) too as a fallback. Our current Opus implementation is pretty incomplete.

  • CPU

    The CPU emulator, ARMeilleure, emulates an ARMv8 CPU, and currently only has support for the new 64-bit ARMv8 instructions (with a few instructions still missing). It translates the ARM code to a custom IR, performs a few optimizations, and turns that into x86 code. To handle that, we use our own JIT called ARMeilleure, which uses the custom IR and compiles the code to x86.

  • GPU

    The GPU emulator emulates the Switch's Maxwell GPU using the OpenGL API (version 4.2 minimum) through a custom build of OpenTK.

  • Input

    We currently have support for keyboard, mouse, touch input, JoyCon input support emulated through the keyboard, and some controllers too. You can set up everything inside the configuration menu.

  • Configuration

    The emulator has settings for dumping shaders, enabling or disabling some logging, remapping controllers, and more. You can configure all of them through the graphical interface or manually through the config file, Config.json.

    For more information you can go here (Outdated).

Compatibility

You can check out the compatibility list here.

Don't hesitate to open a new issue if a game isn't already on there.

Help

If you have homebrew that currently doesn't work within the emulator, you can contact us through our Discord with the .NRO/.NSO and source code, if possible. We'll take note of whatever is causing the app/game to not work, on the watch list and fix it at a later date.

If you need help with setting up Ryujinx, you can ask questions in the support channel of our Discord server.

Contact

If you have contributions, need support, have suggestions, or just want to get in touch with the team, join our Discord server!

If you'd like to donate, please take a look at our Patreon.