Hard-fork of the Ryujinx project
Go to file
FICTURE7 64088f04e3
Fix LiveInterval.Split (#1660)
Before when splitting intervals, the end of the range would be included
in the split check, this can produce empty ranges in the child split.

This in turn can affect spilling decisions since the child split will
have a different start position and this empty range will get a register
and move to the active set for a brief moment.

For example:

  A = [153, 172[; [1899, 1916[; [1991, 2010[; [2397, 2414[; ...

  Split(A, 1916)

  A0 = [153, 172[; [1899, 1916[
  A1 = [1916, 1916[; [1991, 2010[; [2397, 2414[; ...
2020-11-04 23:09:45 -03:00
.github Remove the Ryujinx.Debugger project (#1506) 2020-08-30 19:06:05 +02:00
ARMeilleure Fix LiveInterval.Split (#1660) 2020-11-04 23:09:45 -03:00
Ryujinx Preserve command line arguments when updater restarts Ryujinx (#1643) 2020-10-29 23:07:10 +01:00
Ryujinx.Audio Memory Read/Write Tracking using Region Handles (#1272) 2020-10-16 17:18:35 -03:00
Ryujinx.Audio.Renderer Amadeus: Fix multi-channel PCM sources on REV8 (#1536) 2020-09-06 16:54:33 -03:00
Ryujinx.Common Fix GetStream implementation (#1588) 2020-10-01 05:22:09 +02:00
Ryujinx.Cpu Memory Read/Write Tracking using Region Handles (#1272) 2020-10-16 17:18:35 -03:00
Ryujinx.Graphics.Device New GPFifo and fast guest constant buffer updates (#1400) 2020-07-23 23:53:25 -03:00
Ryujinx.Graphics.GAL Add seamless cubemap flag in sampler parameters. (#1658) 2020-11-02 17:03:06 -03:00
Ryujinx.Graphics.Gpu Add seamless cubemap flag in sampler parameters. (#1658) 2020-11-02 17:03:06 -03:00
Ryujinx.Graphics.Host1x Silence several build warnings (#1428) 2020-08-06 23:40:41 +02:00
Ryujinx.Graphics.Nvdec Silence several build warnings (#1428) 2020-08-06 23:40:41 +02:00
Ryujinx.Graphics.Nvdec.H264 Fix H264 output frame size when decoding videos of different sizes (#1606) 2020-10-11 11:09:38 +02:00
Ryujinx.Graphics.Nvdec.Vp9 Fix asserts on VP9 decoder in debug mode and build warnings (#1480) 2020-08-20 00:07:04 -03:00
Ryujinx.Graphics.OpenGL Add seamless cubemap flag in sampler parameters. (#1658) 2020-11-02 17:03:06 -03:00
Ryujinx.Graphics.Shader Support res scale on images, correctly blacklist for SUST, move logic out of backend. (#1657) 2020-11-02 16:53:23 -03:00
Ryujinx.Graphics.Texture Support 3D BC4 and BC5 compressed textures (#1655) 2020-11-01 15:32:53 -03:00
Ryujinx.Graphics.Vic Silence several build warnings (#1428) 2020-08-06 23:40:41 +02:00
Ryujinx.Graphics.Video New NVDEC and VIC implementation (#1384) 2020-07-12 05:07:01 +02:00
Ryujinx.HLE Motion Fixes (#1589) 2020-10-28 20:52:07 +01:00
Ryujinx.Memory Memory Read/Write Tracking using Region Handles (#1272) 2020-10-16 17:18:35 -03:00
Ryujinx.Memory.Tests Memory Read/Write Tracking using Region Handles (#1272) 2020-10-16 17:18:35 -03:00
Ryujinx.ShaderTools Remove the Ryujinx.Debugger project (#1506) 2020-08-30 19:06:05 +02:00
Ryujinx.Tests CPU (A64): Add Scvtf_S_Fixed & Ucvtf_S_Fixed with Tests. (#1492) 2020-08-31 20:48:21 -03:00
Ryujinx.Tests.Unicorn Remove the Ryujinx.Debugger project (#1506) 2020-08-30 19:06:05 +02:00
.editorconfig Adding .editorconfig so code style can be consistent and localized (#1131) 2020-05-03 00:58:58 +02:00
.gitattributes aloha 2018-02-04 20:08:20 -03:00
.gitignore Implement ContentManager and related services (#438) 2018-11-18 17:37:41 -02:00
appveyor.yml Remove profiled build task from AppVeyor (#1319) 2020-06-23 16:46:23 +02:00
LICENSE.txt Update license (#788) 2019-10-12 23:48:31 -03:00
README.md Touch README (#1592) 2020-10-01 09:39:27 +02:00
Ryujinx.sln Support 3D BC4 and BC5 compressed textures (#1655) 2020-11-01 15:32:53 -03:00
Ryujinx.sln.DotSettings Add features to GUI (#757) 2019-11-29 15:32:51 +11:00

Ryujinx

An experimental Switch emulator written in C#

As of August 2020, Ryujinx goes past menus and in-game on over 1,500 commercial titles. Of those, more than half are 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 .NET Core 3.1 (or higher) SDK.

Step two (choose one):
(Variant one)

After the installation of the Net Core 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 -r win-x64 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 (installation needed), 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 disabled by default and must be enabled 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.4 minimum) through a custom build of OpenTK. There are currently two graphics enhancements available to the end user in Ryujinx: resolution scaling and anisotropic filtering. These can both be adjusted 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 and exefs) are also supported and 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.Renderer 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.