MCPcopy Create free account
hub / github.com/TwilitRealm/dusklight

github.com/TwilitRealm/dusklight @v1.4.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.4.1 ↗ · + Follow
108,337 symbols 253,238 edges 18,904 files 2,004 documented · 2% updated todayv1.4.1 · 2026-06-16★ 4,893383 open issues

Browse by type

Functions 54,017 Types & classes 54,320
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Logo

<a href="https://twilitrealm.dev">Official Website</a>
•
<a href="https://discord.gg/6NpMhefCK9">Discord</a>

Overview

Dusklight is a reverse-engineered reimplementation of Twilight Princess.

It aims to be as accurate as possible to the original while also providing new options, enhancements, and tools to customize your experience.

Setup

[!IMPORTANT] Dusklight does not provide any copyrighted assets. You must provide your own copy of the original game.

[!IMPORTANT] At a minimum, Dusklight requires a GPU with support for either D3D12, Vulkan, or Metal. Your experience with specific hardware, operating systems, and drivers may vary. In particular, older Intel iGPUs have a high likelihood of incompatibility. We are also aware of a number of issues on devices with Adreno GPUs and are working to resolve them.

1. Dump your game

You must dump your own copy of the game, please see this article for instructions. After dumping, you can use a program like Dolphin or nodtool to convert the .iso to a .rvz to save space.

Currently, only the GameCube USA and EUR releases are supported. Support for other versions of the game is planned in the future.

2. Download Dusklight

3. Setup the game

Windows / macOS / Linux - Extract the .zip file - Launch Dusklight - Press Select Disc Image and provide the path to your supported game dump - Press Play!

iOS - Follow the iOS setup guide

Android - Install the Dusklight APK - Launch Dusklight - Press Select Disc Image and provide the path to your supported game dump - Press Play!

Building

If you'd like to build Dusklight from source, please read the build instructions.

Pull requests are welcomed! Note that we do not accept contributions that are primarily AI-generated and will close your PR if we suspect as much. Please also see the code conventions.

Credits

Special thanks to the TP decompilation team, the GC/Wii decompilation community, the Aurora developers, the TP speedrunning community, and all contributors.

<a href="https://github.com/encounter/aurora">
    <img src="https://github.com/TwilitRealm/dusklight/raw/v1.4.1/assets/aurora-powered.png" alt="Powered by Aurora" width="800">
</a>

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Enum 48,012
Method 36,914
Function 17,103
Class 6,307
Interface 1

Languages

C++95%
C5%
Java1%

Modules by API surface

include/d/d_com_inf_game.h1,136 symbols
include/d/actor/d_a_alink.h722 symbols
include/d/actor/d_a_player.h498 symbols
libs/JSystem/include/JSystem/J3DGraphBase/J3DMatBlock.h469 symbols
src/d/actor/d_a_alink.cpp423 symbols
src/d/d_item.cpp387 symbols
include/d/d_stage.h360 symbols
libs/JSystem/include/JSystem/J2DGraph/J2DMatBlock.h277 symbols
include/d/d_meter2_info.h255 symbols
include/d/d_cc_d.h221 symbols
include/SSystem/SComponent/c_cc_d.h219 symbols
include/d/d_save.h213 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page