Hard-fork of the Ryujinx project

dependabot[bot] eb47108ec6 nuget: bump the nunit group across 1 directory with 2 updates 1 bulan lalu
.github d3619bc6fb Remove `test-ava` archives from release workflow 1 bulan lalu
distribution 68092bf00b infra: We don't need to create `test-ava` archives for macOS either 1 bulan lalu
docs 7e9a293dab docs: "s_" on internal static fields should not be enforced 1 bulan lalu
src 49574a99f5 Added a command line option (-c, --config) to load a configuration file through the command line parameters (#59) 1 bulan lalu
.editorconfig ec6cb0abb4 infra: Make Avalonia the default UI (#6375) 9 bulan lalu
.gitattributes 7210c17c5e misc: Enforce LF (#4253) 1 tahun lalu
.gitignore aa34084ba1 infra: Add AppImage build workflow (#28) 1 bulan lalu
CONTRIBUTING.md 11539dcc66 gui: Remove remaining in-app and meta social link references (#22) 1 bulan lalu
Directory.Packages.props eb47108ec6 nuget: bump the nunit group across 1 directory with 2 updates 1 bulan lalu
LICENSE.txt 306eeead06 Update license (#788) 5 tahun lalu
README.md fec4f4ada9 meta: Link Greem's project 🙂 1 bulan lalu
Ryujinx.sln 2c5c0392f9 Make HLE project AOT friendly (#7085) 3 bulan lalu
Ryujinx.sln.DotSettings 1a676ee913 Update DotSettings (#6535) 6 bulan lalu
crowdin.yml 39ba11054b Update Crowdin configuration file 2 tahun lalu
global.json 29e192f241 Migrate to .NET 8 (#5887) 1 tahun lalu
nuget.config 3d1a0bf374 [Headless] Fix for not receiving any SDL events on Linux (#4182) 1 tahun lalu

README.md

As of now, the ryujinx-mirror/ryujinx repository serves as a downstream hard fork of the original Ryujinx project. You can download nightly binaries for Windows, macOS, and Linux (including AppImages) from the latest release.

[!NOTE] This fork is not affiliated with the original Ryujinx project, or Nintendo whatsoever.

Current Goals

If you would like a version with more new features & improvements, feel free to check out GreemDev's fork. We aim to keep this repository more focused on small fixes and infrastructure reconstruction, staying more true to the original Ryujinx project.

  • ☑️ Reconstruct basic build infrastructure & workflows for this repository, based on revision hashes as opposed to semver releases (for now)
  • ☑️ To be as safe as possible, remove all previous in-app and meta references to Patreon, ryujinx.org etc while keeping full attribution of original authors and contributors in-tact.
  • Keep 'branding' as pure and faithful to the original project as possible.

Join Discussion

Feel free to join the ryujinx-mirror Discord community to join in on the development of this fork going forward.
See #ryujinx-info for more information.

ryujinx-mirror Discord



Ryujinx
Ryujinx
(REE-YOU-JINX)

Ryujinx is an open-source Nintendo Switch emulator, created by gdkchan, written in C#. This emulator aims at providing excellent accuracy and performance, a user-friendly interface and consistent builds. It was written from scratch and development on the project began in September 2017. Ryujinx is available on Github under the MIT license.

Compatibility

As of May 2024, Ryujinx has been tested on approximately 4,300 titles; over 4,100 boot past menus and into gameplay, with roughly 3,550 of those being considered playable.

You can check out the compatibility list here.

Anyone is free to submit a new game test or update an existing game test entry; simply follow the new issue template and testing guidelines, or post as a reply to the applicable game issue. Use the search function to see if a game has been tested already!

Usage

To run this emulator, your PC must be equipped with at least 8GiB of RAM; failing to meet this requirement may result in a poor gameplay experience or unexpected crashes.

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.

See the releases page for automatic builds for Windows, macOS, and Linux.

Documentation

If you are planning to contribute or just want to learn more about this project please read through our documentation.

Building

If you wish to build the emulator yourself, follow these steps:

Step 1

Install the .NET 8.0 (or higher) SDK. Make sure your SDK version is higher or equal to the required version specified in global.json.

Step 2

Either use git clone https://github.com/ryujinx-mirror/ryujinx on the command line to clone the repository or use Code --> Download zip button to get the files.

Step 3

To build Ryujinx, open a command prompt inside the project directory. You can quickly access it on Windows by holding shift in File Explorer, then right clicking and selecting Open command window here. Then type the following command: dotnet build -c Release -o build the built files will be found in the newly created build directory.

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 either the OpenGL (version 4.5 minimum), Vulkan, or Metal (via MoltenVK) APIs through a custom build of OpenTK or Silk.NET respectively. There are currently six graphics enhancements available to the end user in Ryujinx: Disk Shader Caching, Resolution Scaling, Anti-Aliasing, Scaling Filters (including FSR), Anisotropic Filtering and Aspect Ratio Adjustment. 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.

License

This software is licensed under the terms of the MIT 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

  • LibHac is used for our file-system.
  • AmiiboAPI is used in our Amiibo emulation.
  • ldn_mitm is used for one of our available multiplayer modes.
  • ShellLink is used for Windows shortcut generation.