Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
Experimental Nintendo Switch Emulator written in C#
C# Other
  1. C# 99.3%
  2. Other 0.7%
Branch: master
Clone or download
gdkchan Use correct shader local memory size instead of a hardcoded size (#914)
* Use correct shader local size instead of a hardcoded size

* Remove unused uniform block

* Update XML doc

* Local memory size has 23 bits on maxwell

* Generate compute QMD struct from nv open doc header

* Remove dummy arrays when shared or local memory is not used, other improvements
Latest commit 796e5d1 Feb 2, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Also use Github Actions as a CI" (#847) Dec 22, 2019
ARMeilleure Name all threads (#886) Jan 13, 2020
Ryujinx.Audio Name all threads (#886) Jan 13, 2020
Ryujinx.Common Name all threads (#886) Jan 13, 2020
Ryujinx.Graphics.GAL Support configurable point size (#916) Feb 1, 2020
Ryujinx.Graphics.Gpu Use correct shader local memory size instead of a hardcoded size (#914) Feb 2, 2020
Ryujinx.Graphics.Nvdec Add runtime identifiers to new projects Jan 9, 2020
Ryujinx.Graphics.OpenGL Use correct shader local memory size instead of a hardcoded size (#914) Feb 2, 2020
Ryujinx.Graphics.Shader Use correct shader local memory size instead of a hardcoded size (#914) Feb 2, 2020
Ryujinx.Graphics.Texture Add runtime identifiers to new projects Jan 9, 2020
Ryujinx.HLE Fix inconsistencies with UserId (#906) Feb 2, 2020
Ryujinx.LLE .NET Core 3.0 is here! (#784) Oct 31, 2019
Ryujinx.Profiler Name all threads (#886) Jan 13, 2020
Ryujinx.ShaderTools Fix ShaderTools Jan 9, 2020
Ryujinx.Tests.Unicorn Fix Fcmge_S/V & Fcmgt_S/V Inst.s (#815) Nov 10, 2019
Ryujinx.Tests Implemented fast paths for: (#846) Dec 30, 2019
Ryujinx Fix application list (#891) Jan 31, 2020
.gitattributes aloha Feb 4, 2018
.gitignore Implement ContentManager and related services (#438) Nov 18, 2018
.travis.yml Add some tests (#18) Feb 16, 2018
CONFIG.md Use the Joystick interface for game controller input. (#737) Aug 5, 2019
KEYS.md Rename "RyuFs" directory to "Ryujinx" and use the same savedata syste… Jan 5, 2020
LICENSE.txt Update license (#788) Oct 13, 2019
README.md Update path for system archives in README (#870) Jan 10, 2020
Ryujinx.sln Re-add NVDEC project (not integrated) Jan 9, 2020
Ryujinx.sln.DotSettings Add features to GUI (#757) Nov 29, 2019
appveyor.yml .NET Core 3.0 is here! (#784) Oct 31, 2019

README.md

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.0 (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.

You can’t perform that action at this time.