Luke Street 905da94b40 Fix game compile flags on Linux/GCC
There was a conflict with per-target compile flags and the PCH.
The PCH was causing the game code to be built without the inlining
flags actually taking effect (internal `src/dusk` files did not use
them), which caused mods to fail to resolve static functions for
hooks. Fix: split Dusklight internals (`src/dusk/`) into a separate
static library altogether, cleanly allowing us to disable inlining
and patching flags only for internal code while also fixing the PCH
flags issue.

Additionally, this updates symgen to v1.3.4, which includes a fix
for GCC function fragments and specializations getting resolved as
display name aliases, conflicting with the actual functions.

Aurora also updated to include https://github.com/encounter/aurora/pull/244
2026-08-31 17:11:05 -06:00
2026-05-11 22:06:58 -06:00
2026-08-05 07:54:31 -06:00
2026-08-31 17:11:05 -06:00
2026-08-20 17:49:26 -06:00
2026-08-22 21:55:14 -06:00
2026-08-05 07:54:31 -06:00
2026-07-10 01:10:23 -06:00
2026-07-08 17:49:48 -06:00
2024-10-10 08:29:58 -06:00
2024-10-10 08:29:58 -06:00
2026-08-05 07:54:31 -06:00
2026-04-25 15:46:12 -06:00
2026-08-29 18:51:11 -07:00
2026-08-05 07:54:31 -06:00
2023-07-25 17:22:44 -04:00

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 D3D12, Vulkan 1.1+, or Metal. For older devices, best-effort support is provided for D3D11 and OpenGL ES (Android), but will not achieve full accuracy or performance. Your experience with specific hardware, operating systems, and drivers may vary.

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 .rvz to save space.

Dusklight currently supports all commercial discs except for Wii's Korean release.

Note

Dusklight is based on the Twilight Princess decompilation, which is currently only matching for GameCube. As a result, even when playing Dusklight with a Wii disc, you will be presented with the GameCube version's HUD and certain other specificities.

2. Install Dusklight

Visit the official installation guide for full instructions.

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.


S
Description
No description provided
Readme 375 MiB
Languages
C++ 55.7%
C 43.3%
POV-Ray SDL 0.3%
Pawn 0.3%
CMake 0.3%