Sem descrição

VocalFan 5cab8ea4ad Fix Unicorn Warnings (#2575) há 4 anos atrás
.github 31cbd09a75 frontend: Add a SDL2 headless window (#2310) há 4 anos atrás
ARMeilleure f2a7b300c4 Fix type mismatch in `BitwiseAnd` simplification (#2571) há 4 anos atrás
Ryujinx 686b63e479 Added fallbacks for all Audio Backends (#2582) há 4 anos atrás
Ryujinx.Audio b8ad676fb8 Amadeus: DSP code generation improvements (#2460) há 4 anos atrás
Ryujinx.Audio.Backends f556c80d02 Haydn: Part 1 (#2007) há 5 anos atrás
Ryujinx.Audio.Backends.OpenAL a27986c311 Make audio disposal thread safe on all 3 backends (#2527) há 4 anos atrás
Ryujinx.Audio.Backends.SDL2 6d9bc7cf90 sdl2: Update to Ryujinx.SDL2-CS 2.0.17 (#2553) há 4 anos atrás
Ryujinx.Audio.Backends.SoundIo a27986c311 Make audio disposal thread safe on all 3 backends (#2527) há 4 anos atrás
Ryujinx.Common 70f79e689b Implement vibrations (#2468) há 4 anos atrás
Ryujinx.Cpu 4b60371e64 Return mapped buffer pointer directly for flush, WriteableRegion for textures (#2494) há 4 anos atrás
Ryujinx.Graphics.Device 40b21cc3c4 Separate GPU engines (part 2/2) (#2440) há 4 anos atrás
Ryujinx.Graphics.GAL c702943af3 Swap BGR components for 16-bit BGR texture formats (#2567) há 4 anos atrás
Ryujinx.Graphics.Gpu bdc1f91a5b Remove pool cache entries for incompatible overlapping textures (#2568) há 4 anos atrás
Ryujinx.Graphics.Host1x aa129fdbdf infra: Migrate to .NET 5 (#1694) há 5 anos atrás
Ryujinx.Graphics.Nvdec aa129fdbdf infra: Migrate to .NET 5 (#1694) há 5 anos atrás
Ryujinx.Graphics.Nvdec.H264 7b8ad1c36c ffmpeg: Attempt to fix RootPath on some linux distributions (#2292) há 4 anos atrás
Ryujinx.Graphics.Nvdec.Vp9 c465d771dd Enable multithreaded VP9 decoding (#2009) há 5 anos atrás
Ryujinx.Graphics.OpenGL 5b8ceb9173 Swap BGR565 components by changing the format (#2577) há 4 anos atrás
Ryujinx.Graphics.Shader 0ba4ade8f1 Ensure render scale is initialized to 1 on the backend (#2543) há 4 anos atrás
Ryujinx.Graphics.Texture 4b60371e64 Return mapped buffer pointer directly for flush, WriteableRegion for textures (#2494) há 4 anos atrás
Ryujinx.Graphics.Vic aa129fdbdf infra: Migrate to .NET 5 (#1694) há 5 anos atrás
Ryujinx.Graphics.Video aa129fdbdf infra: Migrate to .NET 5 (#1694) há 5 anos atrás
Ryujinx.HLE 32cad88cc6 Bugfix LibHac update to 0.13.3 and remove SD card workaround (#2579) há 4 anos atrás
Ryujinx.Headless.SDL2 dadc0e59da Update to LibHac 0.13.1 (#2475) há 4 anos atrás
Ryujinx.Input 70f79e689b Implement vibrations (#2468) há 4 anos atrás
Ryujinx.Input.SDL2 70f79e689b Implement vibrations (#2468) há 4 anos atrás
Ryujinx.Memory bb8a920b63 Do not dirty memory tracking region handles if they are partially unmapped (#2536) há 4 anos atrás
Ryujinx.Memory.Tests 4b60371e64 Return mapped buffer pointer directly for flush, WriteableRegion for textures (#2494) há 4 anos atrás
Ryujinx.SDL2.Common 6d9bc7cf90 sdl2: Update to Ryujinx.SDL2-CS 2.0.17 (#2553) há 4 anos atrás
Ryujinx.ShaderTools 97a2133207 shadertools: Prepare for new target Languages and APIs (#2465) há 4 anos atrás
Ryujinx.Tests 5cab8ea4ad Fix Unicorn Warnings (#2575) há 4 anos atrás
Ryujinx.Tests.Unicorn aa129fdbdf infra: Migrate to .NET 5 (#1694) há 5 anos atrás
.editorconfig 9be4e4c766 Adding .editorconfig so code style can be consistent and localized (#1131) há 6 anos atrás
.gitattributes b7e1d9930d aloha há 8 anos atrás
.gitignore fe8fbb6fb9 Implement ContentManager and related services (#438) há 7 anos atrás
LICENSE.txt 306eeead06 Update license (#788) há 6 anos atrás
README.md 8588586062 Add SDL2 information & updated game compatibility stats (#2337) há 4 anos atrás
Ryujinx.sln 31cbd09a75 frontend: Add a SDL2 headless window (#2310) há 4 anos atrás
Ryujinx.sln.DotSettings da4e0856c9 Add features to GUI (#757) há 6 anos atrás
appveyor.yml 31cbd09a75 frontend: Add a SDL2 headless window (#2310) há 4 anos atrás
global.json e28a924501 Edit the global.json to allow use of dotnet sdk 5.0.XXX (#2008) há 5 anos atrás

README.md

Ryujinx

An experimental Switch emulator written in C#

As of May 2021, Ryujinx has been tested on nearly 3,400 titles: ~3,000 boot past menus and into gameplay, with approximately 2,100 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 SDL2 & libsoundio as fallbacks.

  • 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.
There are three memory manager options available depending on the user's preference, leveraging both software-based (slower) and host-mapped modes (much faster). The fastest option (host, unchecked) is set by default. 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 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, and nearly all controllers. Motion controls are natively supported in most cases; for dual-JoyCon motion support, DS4Windows or BetterJoy are currently required. In all scenarios, 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. Anyone is free to submit an updated test on an existing game entry; simply follow the new issue template and testing guidelines, and post as a reply to the applicable game issue.

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