No Description

gdkchan e9c15d32cb Use a different method for out of bounds blit (#2302) 4 years ago
.github f48828351c ci: Do not enforce userid on nightly PR comment 5 years ago
ARMeilleure 65ac00833a Use branch instead of tailcall for recursive calls (#2282) 4 years ago
Ryujinx 7b8ad1c36c ffmpeg: Attempt to fix RootPath on some linux distributions (#2292) 4 years ago
Ryujinx.Audio eb056218a1 audio: Implement a SDL2 backend (#2258) 5 years ago
Ryujinx.Audio.Backends f556c80d02 Haydn: Part 1 (#2007) 5 years ago
Ryujinx.Audio.Backends.OpenAL 6cb22c9d38 Miria: The Death of OpenTK 3 (#2194) 5 years ago
Ryujinx.Audio.Backends.SDL2 eb056218a1 audio: Implement a SDL2 backend (#2258) 5 years ago
Ryujinx.Audio.Backends.SoundIo d02eeed9c1 Haydn: Make SoundIO session implementation lock-free (#2068) 5 years ago
Ryujinx.Common b5c72b44de Merge pull request #2177 from riperiperi/feature/parallel-shader-cache 4 years ago
Ryujinx.Cpu 305f06eb71 HLE: Fix integer sign inconcistency accross the codebase (#2222) 5 years ago
Ryujinx.Graphics.Device aa129fdbdf infra: Migrate to .NET 5 (#1694) 5 years ago
Ryujinx.Graphics.GAL b5c72b44de Merge pull request #2177 from riperiperi/feature/parallel-shader-cache 4 years ago
Ryujinx.Graphics.Gpu e9c15d32cb Use a different method for out of bounds blit (#2302) 4 years ago
Ryujinx.Graphics.Host1x aa129fdbdf infra: Migrate to .NET 5 (#1694) 5 years ago
Ryujinx.Graphics.Nvdec aa129fdbdf infra: Migrate to .NET 5 (#1694) 5 years ago
Ryujinx.Graphics.Nvdec.H264 7b8ad1c36c ffmpeg: Attempt to fix RootPath on some linux distributions (#2292) 4 years ago
Ryujinx.Graphics.Nvdec.Vp9 c465d771dd Enable multithreaded VP9 decoding (#2009) 5 years ago
Ryujinx.Graphics.OpenGL c316c059ef Assign _backgroundContext before starting its worker thread. (#2299) 4 years ago
Ryujinx.Graphics.Shader 5271cfe70b Fix dimensions check for scale eligibility (#2301) 4 years ago
Ryujinx.Graphics.Texture dbce3455ad Fix lineSize for LinearStrided -> Linear conversion (#2091) 5 years ago
Ryujinx.Graphics.Vic aa129fdbdf infra: Migrate to .NET 5 (#1694) 5 years ago
Ryujinx.Graphics.Video aa129fdbdf infra: Migrate to .NET 5 (#1694) 5 years ago
Ryujinx.HLE 26e5b5acff Extend info printed when guest crashes/breaks execution (#1845) 4 years ago
Ryujinx.Input bec67dbef7 misc: Move configuration management to the Ryujinx project (#2269) 4 years ago
Ryujinx.Input.SDL2 2c3dab6986 input: Implement a SDL2 keyboard backend (#2277) 4 years ago
Ryujinx.Memory a539303e71 Remove unused physical region tracking (#2085) 5 years ago
Ryujinx.Memory.Tests 548add9abd Test: Fixes github action warning (#2100) 5 years ago
Ryujinx.SDL2.Common eb056218a1 audio: Implement a SDL2 backend (#2258) 5 years ago
Ryujinx.ShaderTools aa129fdbdf infra: Migrate to .NET 5 (#1694) 5 years ago
Ryujinx.Tests 4bd1ad16f9 Add Sqdmulh_Ve & Sqrdmulh_Ve Inst.s with Tests. (#2139) 5 years ago
Ryujinx.Tests.Unicorn aa129fdbdf infra: Migrate to .NET 5 (#1694) 5 years ago
.editorconfig 9be4e4c766 Adding .editorconfig so code style can be consistent and localized (#1131) 6 years ago
.gitattributes b7e1d9930d aloha 8 years ago
.gitignore fe8fbb6fb9 Implement ContentManager and related services (#438) 7 years ago
LICENSE.txt 306eeead06 Update license (#788) 6 years ago
README.md d394c7ee98 Update README.MD to reflect new OpenGL requirements, gamedb statistics, mods support (#2167) 5 years ago
Ryujinx.sln eb056218a1 audio: Implement a SDL2 backend (#2258) 5 years ago
Ryujinx.sln.DotSettings da4e0856c9 Add features to GUI (#757) 6 years ago
appveyor.yml aa129fdbdf infra: Migrate to .NET 5 (#1694) 5 years ago
global.json e28a924501 Edit the global.json to allow use of dotnet sdk 5.0.XXX (#2008) 5 years ago

README.md

Ryujinx

An experimental Switch emulator written in C#

As of March 2021, Ryujinx has been tested on over 3,200 titles: ~2,700 boot past menus and into gameplay, with approximately 1,900 of those being considered playable. See the compatibility list here.

Usage

To run this emulator, we recommend that your PC have at least 8GB of RAM; less than this amount can result in unpredictable behavior and may cause crashes or unacceptable performance.

See our Setup & Configuration Guide on how to set up the emulator.

Latest build

These builds are compiled automatically for each commit on the master branch. While we strive to ensure optimal stability and performance prior to pushing an update, our automated builds may be unstable or completely broken.

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

Building

If you wish to build the emulator yourself you will need to:

Step one: Install the X64 version of .NET 5.0 (or higher) SDK.

Step two (choose one):
(Variant one)

After the installation of the .NET SDK is done; go ahead and copy the Clone link from GitHub from here (via Clone or Download --> Copy HTTPS Link. You can Git Clone the repo by using Git Bash or Git CMD.

(Variant two):

Download the ZIP Tarball. Then extract it to a directory of your choice.

Step three:

Build the App using a Command prompt in the project directory. You can quickly access it by holding shift in explorer (in the Ryujinx directory) then right clicking, and typing the following command:
Run dotnet build -c Release inside the Ryujinx project folder to build Ryujinx binaries.

Ryujinx system files are stored in the Ryujinx folder. This folder is located in the user folder, which can be accessed by clicking Open Ryujinx Folder under the File menu in the GUI.

Features

  • Audio

Audio output is entirely supported, audio input (microphone) isn't supported. We use C# wrappers for OpenAL, and libsoundio as the fallback.

  • CPU

The CPU emulator, ARMeilleure, emulates an ARMv8 CPU and currently has support for most 64-bit ARMv8 and some of the ARMv7 (and older) instructions, including partial 32-bit support. It translates the ARM code to a custom IR, performs a few optimizations, and turns that into x86 code.
Ryujinx also features an optional Profiled Persistent Translation Cache, which essentially caches translated functions so that they do not need to be translated every time the game loads. The net result is a significant reduction in load times (the amount of time between launching a game and arriving at the title screen) for nearly every game. NOTE: this feature is now enabled by default in the Options menu > System tab. You must launch the game at least twice to the title screen or beyond before performance improvements are unlocked on the third launch! These improvements are permanent and do not require any extra launches going forward.

  • GPU

The GPU emulator emulates the Switch's Maxwell GPU using the OpenGL API (version 4.5 minimum) through a custom build of OpenTK. There are currently four graphics enhancements available to the end user in Ryujinx: disk shader caching, resolution scaling, aspect ratio adjustment and anisotropic filtering. These enhancements can be adjusted or toggled as desired in the GUI.

  • Input

We currently have support for keyboard, mouse, touch input, JoyCon input support emulated through the keyboard, and most controllers. Controller support varies by operating system, as outlined below.
Windows: Xinput-compatible controllers are supported natively; other controllers can be supported with the help of Xinput wrappers such as x360ce.
Linux: most modern controllers are supported.
In either case, you can set up everything inside the input configuration menu.

  • DLC & Modifications

Ryujinx is able to manage add-on content/downloadable content through the GUI. Mods (romfs, exefs, and runtime mods such as cheats) are also supported; the GUI contains a shortcut to open the respective mods folder for a particular game.

  • Configuration

The emulator has settings for 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, found in the user folder which can be accessed by clicking Open Ryujinx Folder under the File menu in the GUI.

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 are having problems launching homebrew or a particular game marked status-playable or status-ingame in our compatibility list, you can contact us through our Discord server. We'll take note of whatever is causing the app/game to not work, put it 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.

License

This software is licensed under the terms of the MIT license. The Ryujinx.Audio project is licensed under the terms of the LGPLv3 license. This project makes use of code authored by the libvpx project, licensed under BSD and the ffmpeg project, licensed under LGPLv3. See LICENSE.txt and THIRDPARTY.md for more details.

Credits