21 Home
ascpixi edited this page 2024-03-05 01:03:51 +01:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

yuzu emulator

yuzu is an experimental open-source emulator for the Nintendo Switch from the creators of Citra. It is written in C++ with portability in mind, with builds actively maintained for Windows and Linux. yuzu is licensed under the GPLv2 (or any later version). Refer to the license.txt file included.

Check out our website!

For development discussion, please join us on Discord.

Development

Most of the development happens on GitHub. It's also where our central repository is hosted.

If you want to contribute, please take a look at the Contributor's Guide and Developer Information. You should as well contact any of the developers on Discord in order to know about the current state of the emulator.

Usage

You may download a precompiled binary from our website, or you can build it yourself from the source code.

Note: macOS is no longer supported due to Apple deprecating OpenGL and their current version not supporting the OpenGL extensions we require. (source)

Log Filters

Yuzu supports configurable filtering of log message per-class. This is especially useful if youre debugging a subsystem and want very detailed messages from it or if you want to silence some annoyingly spammy errors (e.g. unimplemented GPU features.)

Messages are filtered in each class according to their severity, the filter will block all messages in the class that are below the configured severity.

The severity levels are:

  • Trace: Extremely detailed and repetitive (many times per frame) debugging information that is likely to pollute logs.
  • Debug: Less detailed debugging information.
  • Info: Status information from important points during execution.
  • Warning: Minor or potential problems found during execution of a task.
  • Error: Major problems found during execution of a task that prevent it from being completed.
  • Critical: Major problems during execution that threathen the stability of the entire application. (This severity cannot be filtered out.)

Note: Trace is permanently filtered out in non-Debug builds for performance reasons.

Class names can be discovered from the log messages themselves. For example, this message is in the class Service:

[ 10.285042] Service core/hle/service/service.h:Service::Interface::SyncRequest:84: unknown/unimplemented function '0x01020000': port=APT:U

A complete list can be found in the source

To configure the log filter, you need to change the configuration in:

Emulation -> Configure... -> General -> Debug tab. Change the Global Log Filter setting.

The filter string consists of a space-separated list of filter rules, each of the format:

  • Class.Subclass:Severity -- a log class name, with subclasses separated using periods.
  • *:Severity -- wildcards are allowed and can be used to apply a rule to all classes.

A severity level name which will be set as the minimum logging level of the matched classes. Rules are applied left to right, with later rules overriding previous ones in the sequence.

A few examples of filter rules:

  • *:Info -- Resets the level of all classes to Info.
  • Service:Info -- Sets the level of Service to Info (without affecting its subclasses).
  • Service.FS:Trace -- Sets the level of the Service.FS class to Trace.

Support

We happily accept monetary donations or donated games and hardware. Please see our donations page for more information on how you can contribute to yuzu. Any donations received will go towards things like:

  • Switch consoles to explore and reverse-engineer the hardware
  • Switch games for testing, reverse-engineering, and implementing new features
  • Web hosting and infrastructure setup
  • Software licenses (e.g. Visual Studio, IDA Pro, etc.)
  • Additional hardware (e.g. GPUs as-needed to improve rendering support, other peripherals to add support for, etc.)

We also more than gladly accept used Switch consoles, preferably ones with firmware 3.0.0 or lower! If you would like to give yours away, don't hesitate to join our Discord and talk to bunnei. You may also contact: donations@yuzu-emu.org.