Brak opisu

Ac_K eb2cc159fa Ava UI: Fixes and cleanup Updater (#4269) 3 lat temu
.github 8c720783f5 linux: Fix packaging step for CI & Add Ryujinx.Headless.SDL2 to Ryujinx.sh (#4249) 3 lat temu
ARMeilleure 36d53819a4 NativeSignalHandler: Fix write flag (#4306) 3 lat temu
Ryujinx ae4324032a Optimize string memory usage. Use Spans and StringBuilders where possible (#3933) 3 lat temu
Ryujinx.Audio 41bba5310a Audren: Implement polyphase upsampler (#4256) 3 lat temu
Ryujinx.Audio.Backends.OpenAL 535fbec675 Use NuGet Central Package Management to manage package versions solution-wise (#4095) 3 lat temu
Ryujinx.Audio.Backends.SDL2 456fc04007 Better SDL2 Audio Init Error Logging (#3967) 3 lat temu
Ryujinx.Audio.Backends.SoundIo 403e67d983 audio: Rewrite SoundIo bindings (#4088) 3 lat temu
Ryujinx.Ava eb2cc159fa Ava UI: Fixes and cleanup Updater (#4269) 3 lat temu
Ryujinx.Common ae4324032a Optimize string memory usage. Use Spans and StringBuilders where possible (#3933) 3 lat temu
Ryujinx.Cpu 410be95ab6 Fix NRE when disposing AddressSpace with 4KB pages support (#4307) 3 lat temu
Ryujinx.Graphics.Device edf7e628ca Use method overloads that support trimming. Mark some types to be trimming friendly (#4083) 3 lat temu
Ryujinx.Graphics.GAL 8fa248ceb4 Vulkan: Add workarounds for MoltenVK (#4202) 3 lat temu
Ryujinx.Graphics.Gpu 86fd0643c2 Implement support for page sizes > 4KB (#4252) 3 lat temu
Ryujinx.Graphics.Host1x 09c9686498 misc: Use official names for NVDEC registers (#4192) 3 lat temu
Ryujinx.Graphics.Nvdec 09c9686498 misc: Use official names for NVDEC registers (#4192) 3 lat temu
Ryujinx.Graphics.Nvdec.FFmpeg 0fbcd630bc Replace `DllImport` usage with `LibraryImport` (#4084) 3 lat temu
Ryujinx.Graphics.Nvdec.Vp9 c1372ed775 Use ReadOnlySpan<byte> compiler optimization in more places (#3853) 3 lat temu
Ryujinx.Graphics.OpenGL 8fa248ceb4 Vulkan: Add workarounds for MoltenVK (#4202) 3 lat temu
Ryujinx.Graphics.Shader ae4324032a Optimize string memory usage. Use Spans and StringBuilders where possible (#3933) 3 lat temu
Ryujinx.Graphics.Texture 470be03c2f GPU: Add fallback when 16-bit formats are not supported (#4108) 3 lat temu
Ryujinx.Graphics.Vic 08831eecf7 IPC refactor part 3+4: New server HIPC message processor (#4188) 3 lat temu
Ryujinx.Graphics.Video 4da44e09cb Make structs readonly when applicable (#4002) 3 lat temu
Ryujinx.Graphics.Vulkan bb89e36fd8 Vulkan: Destroy old swapchain on swapchain recreation (#3889) 3 lat temu
Ryujinx.HLE ae4324032a Optimize string memory usage. Use Spans and StringBuilders where possible (#3933) 3 lat temu
Ryujinx.Headless.SDL2 8071c8c8c0 Ava UI: Fixes "Hide Cursor on Idle" for Windows (#4266) 3 lat temu
Ryujinx.Horizon 4d2c8e2a44 Prepo: Fix SaveSystemReport* IPC definitions (#4278) 3 lat temu
Ryujinx.Horizon.Common 6f60e102a2 HIPC: Fix reply possibly also receiving one request (#4232) 3 lat temu
Ryujinx.Horizon.Generators ae4324032a Optimize string memory usage. Use Spans and StringBuilders where possible (#3933) 3 lat temu
Ryujinx.Horizon.Kernel.Generators ae4324032a Optimize string memory usage. Use Spans and StringBuilders where possible (#3933) 3 lat temu
Ryujinx.Input 51b3953cfc [Headless] Add missing arguments & Fix typos (#4193) 3 lat temu
Ryujinx.Input.SDL2 c6d05301aa infra: Migrate to .NET 7 (#3795) 3 lat temu
Ryujinx.Memory 86fd0643c2 Implement support for page sizes > 4KB (#4252) 3 lat temu
Ryujinx.Memory.Tests 86fd0643c2 Implement support for page sizes > 4KB (#4252) 3 lat temu
Ryujinx.SDL2.Common cbaa845f5d Include a start.sh file with correct launch options (#4013) 3 lat temu
Ryujinx.ShaderTools 535fbec675 Use NuGet Central Package Management to manage package versions solution-wise (#4095) 3 lat temu
Ryujinx.Tests 86fd0643c2 Implement support for page sizes > 4KB (#4252) 3 lat temu
Ryujinx.Tests.Unicorn 0fbcd630bc Replace `DllImport` usage with `LibraryImport` (#4084) 3 lat temu
Ryujinx.Ui.Common cff9046fc7 ConfigurationState: Default to Vulkan on macOS (#4299) 3 lat temu
Ryujinx.Ui.LocaleGenerator e876c43ce9 Misc; Remove duplicated entries and clean locale csproj (#4209) 3 lat temu
Spv.Generator c6d05301aa infra: Migrate to .NET 7 (#3795) 3 lat temu
distribution d16288a2a8 Set LSApplicationCategoryType to games (#4257) 3 lat temu
.editorconfig 4da44e09cb Make structs readonly when applicable (#4002) 3 lat temu
.gitattributes 7210c17c5e misc: Enforce LF (#4253) 3 lat temu
.gitignore 3d1a0bf374 [Headless] Fix for not receiving any SDL events on Linux (#4182) 3 lat temu
Directory.Packages.props 7f27aabbd0 chore: Update Ryujinx.SDL2-CS to 2.26.1 (#4199) 3 lat temu
LICENSE.txt 306eeead06 Update license (#788) 6 lat temu
README.md 73a42c85c4 Add crowdin badge and information in readme (#3990) 3 lat temu
Ryujinx.sln d6b86a6629 Readd Ryujinx.Ui.LocaleGenerator removed in #4188 (again) 3 lat temu
Ryujinx.sln.DotSettings 80a879cb44 Fix SpirV parse failure (#3597) 3 lat temu
crowdin.yml 39ba11054b Update Crowdin configuration file 3 lat temu
global.json c6d05301aa infra: Migrate to .NET 7 (#3795) 3 lat temu
nuget.config 3d1a0bf374 [Headless] Fix for not receiving any SDL events on Linux (#4182) 3 lat temu

README.md


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.

Discord

Compatibility

As of November 2022, Ryujinx has been tested on approximately 3,800 titles; over 3,600 boot past menus and into gameplay, with roughly 3,200 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.

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

For our Local Wireless and LAN builds, see our Multiplayer: Local Play/Local Wireless Guide .

Avalonia UI comes with translations for various languages. See Crowdin for more information.

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.

If you want to see details on updates to the emulator, you can visit our Changelog.

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, follow these steps:

Step 1

Install the X64 version of .NET 7.0 (or higher) SDK.

Step 2

Either use git clone https://github.com/Ryujinx/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 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.

Contact

If you have contributions, suggestions, need emulator support or just want to get in touch with the team, join our Discord server. You may also review our FAQ.

Donations

If you'd like to support the project financially, Ryujinx has an active Patreon campaign.

<img src="https://images.squarespace-cdn.com/content/v1/560c1d39e4b0b4fae0c9cf2a/1567548955044-WVD994WZP76EWF15T0L3/Patreon+Button.png?format=500w" width="150">

All developers working on the project do so in their free time, but the project has several expenses:

  • Hackable Nintendo Switch consoles to reverse-engineer the hardware
  • Additional computer hardware for testing purposes (e.g. GPUs to diagnose graphical bugs, etc.)
  • Licenses for various software development tools (e.g. Jetbrains, IDA)
  • Web hosting and infrastructure maintenance (e.g. LDN servers)

All funds received through Patreon are considered a donation to support the project. Patrons receive early access to progress reports and exclusive access to developer interviews.

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.