MCPcopy Create free account
hub / github.com/decaf-emu/decaf-emu

github.com/decaf-emu/decaf-emu @release

Chat with this repo
repository ↗ · DeepWiki ↗ · release release ↗ · + Follow
9,122 symbols 22,876 edges 1,490 files 938 documented · 10% updated 22mo agorelease · 2023-11-09★ 1,27447 open issues

Browse by type

Functions 7,140 Types & classes 1,982
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Build status

decaf-emu

Researching Wii U emulation. Licensed under the terms of the GNU General Public License, version 3 or later (GPLv3+).

You can find us for developer discussion: - on discord using https://discord.gg/tPqFBnr

Support

None, this is an in-development project and user support is not provided.

Building from Source

See BUILDING.md

Binaries

The latest Windows and Linux binaries are available via Actions artifacts. You must be logged into GitHub in order to download the artifacts.

MacOS builds are currently not provided due to complications with Vulkan.

Running

Run the decaf-qt executable, it is recommended to run the emulator from the root git directory so that it is able to access resources/fonts/*. Alternatively, set resources_path in the configuration file to point to the resources directory.

Configuration files can be found at: - Windows - %APPDATA%\decaf - Linux - ~/.config/decaf

On Linux, a "Bus error" crash usually indicates an out-of-space error in the temporary directory. Set the TMPDIR environment variable to a directory on a filesystem with at least 2GB free.

Additionally there is an SDL command line application which can be used by ./decaf-sdl play <path to game>

Core symbols most depended-on inside this repo

Shape

Function 4,487
Method 2,653
Class 1,787
Enum 195

Languages

C++98%
C1%
Python1%

Modules by API surface

src/libgpu/src/vulkan/vk_mem_alloc.h565 symbols
src/libgpu/latte/latte_pm4_commands.h106 symbols
src/libcpu/src/interpreter/interpreter_loadstore.cpp91 symbols
src/libgpu/src/spirv/spirv_shaderspvbuilder.h87 symbols
src/libgpu/src/spirv/spirv_alu_op2.cpp83 symbols
src/libdecaf/src/cafe/libraries/coreinit/coreinit_fs_cmd.cpp72 symbols
src/libdecaf/src/cafe/libraries/gx2/gx2_registers.cpp70 symbols
src/libcpu/src/interpreter/interpreter_integer.cpp67 symbols
src/libdecaf/src/cafe/libraries/coreinit/coreinit_thread.cpp62 symbols
src/libdecaf/src/cafe/libraries/coreinit/coreinit_dynload.cpp53 symbols
src/libdecaf/src/cafe/libraries/nn_temp/nn_temp_tempdir.cpp52 symbols
src/libgpu/src/latte/latte_decoders.h51 symbols

For agents

$ claude mcp add decaf-emu \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page