Emulators will survive against Nanook
Find a file
Mary a389dd59bd
Amadeus: Final Act (#1481)
* Amadeus: Final Act

This is my requiem, I present to you Amadeus, a complete reimplementation of the Audio Renderer!

This reimplementation is based on my reversing of every version of the audio system module that I carried for the past 10 months.
This supports every revision (at the time of writing REV1 to REV8 included) and all features proposed by the Audio Renderer on real hardware.

Because this component could be used outside an emulation context, and to avoid possible "inspirations" not crediting the project, I decided to license the Ryujinx.Audio.Renderer project under LGPLv3.

- FE3H voices in videos and chapter intro are not present.
- Games that use two audio renderer **at the same time** are probably going to have issues right now **until we rewrite the audio output interface** (Crash Team Racing is the only known game to use two renderer at the same time).

- Persona 5 Scrambler now goes ingame but audio is garbage. This is caused by the fact that the game engine is syncing audio and video in a really aggressive way. This will disappears the day this game run at full speed.

* Make timing more precise when sleeping on Windows

Improve precision to a 1ms resolution on Windows NT based OS.
This is used to avoid having totally erratic timings and unify all
Windows users to the same resolution.

NOTE: This is only active when emulation is running.
2020-08-17 22:49:37 -03:00
.github Add Issue Templates (#1456) 2020-08-07 10:52:03 -03:00
ARMeilleure Amadeus: Final Act (#1481) 2020-08-17 22:49:37 -03:00
Ryujinx Amadeus: Final Act (#1481) 2020-08-17 22:49:37 -03:00
Ryujinx.Audio Upgrade projects to C#8 (#1193) 2020-05-04 12:14:48 +10:00
Ryujinx.Audio.Renderer Amadeus: Final Act (#1481) 2020-08-17 22:49:37 -03:00
Ryujinx.Common Amadeus: Final Act (#1481) 2020-08-17 22:49:37 -03:00
Ryujinx.Cpu Implement inline memory load/store exclusive and ordered (#1413) 2020-07-30 11:29:28 -03:00
Ryujinx.Debugger Upgrade projects to C#8 (#1193) 2020-05-04 12:14:48 +10:00
Ryujinx.Graphics.Device New GPFifo and fast guest constant buffer updates (#1400) 2020-07-23 23:53:25 -03:00
Ryujinx.Graphics.GAL Facilitate OpenGL debug logging via GUI (#1373) 2020-08-02 16:41:24 +02:00
Ryujinx.Graphics.Gpu Add missing depth-color conversions in CopyTexture (#1474) 2020-08-14 20:03:19 +10: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 New NVDEC and VIC implementation (#1384) 2020-07-12 05:07:01 +02:00
Ryujinx.Graphics.Nvdec.Vp9 Silence several build warnings (#1428) 2020-08-06 23:40:41 +02:00
Ryujinx.Graphics.OpenGL Rename DebugLevel Performance to Slowdowns (#1450) 2020-08-07 15:30:06 +02:00
Ryujinx.Graphics.Shader Refactor shader translator ShaderConfig and reduce the number of out args (#1438) 2020-07-30 15:53:23 +10:00
Ryujinx.Graphics.Texture New NVDEC and VIC implementation (#1384) 2020-07-12 05:07:01 +02: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 Amadeus: Final Act (#1481) 2020-08-17 22:49:37 -03:00
Ryujinx.Memory Print guest stack trace on invalid memory access (#1407) 2020-07-30 23:16:41 +10:00
Ryujinx.Memory.Tests Fix Vcvt_FI & Vcvt_RM; Add Vfma_S & Vfms_S. Add Tests. (#1471) 2020-08-13 02:34:02 -03:00
Ryujinx.ShaderTools Refactor shader GPU state and memory access (#1203) 2020-05-06 11:02:28 +10:00
Ryujinx.Tests Amadeus: Final Act (#1481) 2020-08-17 22:49:37 -03:00
Ryujinx.Tests.Unicorn Fix Vcvt_FI & Vcvt_RM; Add Vfma_S & Vfms_S. Add Tests. (#1471) 2020-08-13 02:34:02 -03: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
CONFIG.md Add Profiled Persistent Translation Cache. (#769) 2020-06-16 20:28:02 +02:00
KEYS.md Rename "RyuFs" directory to "Ryujinx" and use the same savedata system the Switch uses (#801) 2020-01-05 12:49:44 +01:00
LICENSE.txt Update license (#788) 2019-10-12 23:48:31 -03:00
README.md Amadeus: Final Act (#1481) 2020-08-17 22:49:37 -03:00
Ryujinx.sln Amadeus: Final Act (#1481) 2020-08-17 22:49:37 -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 June 2020, Ryujinx goes past menus and in-game on over 1,000 commercial titles. Of those, roughly half are considered playable. See the compatiblity 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. If you use a pre-built version, you can use the graphical interface to run your games and homebrew: simply add the directory containing your homebrew or games in the Options > Settings > General tab > Game Directories menu item.

If you build it 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 win10-x64 inside the Ryujinx project folder to build Ryujinx binaries.

Every file related to Ryujinx is 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.

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.

Requirements

  • Switch Keys

    Everything on the Switch is encrypted, so if you want to run anything other than homebrew, you have to dump encryption keys from your console. To get more information please take a look at our Keys Documentation.

  • Firmware

    You need an official Switch firmware by either dumping directly from your Switch, or dumping your game cartridge to an XCI file; you may install firmware in Ryujinx directly from an XCI file as long as it has not been trimmed. Install the firmware, after you've installed your keys, from the Tools > Install Firmware menu item.

  • Executables

    Ryujinx is able to run both official games and homebrew.

    Homebrew is available on many websites, such as the Switch Appstore.

    A hacked Nintendo Switch is needed to dump games, which you can learn how to do here. Once you have hacked your Nintendo Switch, you will need to dump your own games with NxDumpTool to get an XCI or NSP dump.

Features

  • Audio

    Audio is partially supported. We use C# wrappers for OpenAL (installation needed), the main audio backend, and libsoundio as the fallback. Our current Opus implementation is incomplete.

  • 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. To handle that, we use our own JIT called ARMeilleure, which uses a custom IR and compiles the code to x86.
    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.

    For more information you can go here (Outdated).

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 have homebrew or a particular game marked playable or in-game in our compatibility list that doesn't work within the emulator, you can contact us through our Discord. 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.