Kevin Lema 8705e75b9d Add HUD scale setting (#1387)
* Add HUD scale setting

Adds a "HUD Scale" preference (50%–200%) that scales the gameplay HUD
(hearts, magic/lantern meter, light drops, rupees/keys, action buttons
and the mini-map) without affecting dialog boxes or menus.

Each HUD group is scaled around its own pane origin and nudged toward
its anchor corner (via dApplyHudCorner) so it stays put against the
screen edge instead of drifting toward the centre when shrunk. The
mini-map is scaled and shifted in d_meter_map so its bottom-left corner
stays anchored. The setting is clamped to a safe range and is a no-op on
non-PC targets. It is disabled in the menu while Minimal HUD is enabled.

Signed-off-by: kevin Lema <kevin.soesto@gmail.com>

* Scale remaining gameplay HUD elements with HUD scale

Extends the HUD Scale setting to the item ammo counters, the lantern oil
  gauge and the small-key counter, and gives the oil/magic meter a reduced
  horizontal anchor pull so it stays on-screen at small scales.

Signed-off-by: kevin Lema <kevin.soesto@gmail.com>

* Update settings.cpp

Signed-off-by: kevin Lema <kevin.soesto@gmail.com>

---------

Signed-off-by: kevin Lema <kevin.soesto@gmail.com>
2026-06-05 00:14:09 -06:00
2026-06-04 23:30:30 -06:00
2026-05-11 22:06:58 -06:00
2026-06-05 00:03:29 -06:00
2026-06-05 00:14:09 -06:00
2026-05-23 00:23:22 -04:00
2026-06-05 00:14:09 -06:00
2026-04-22 02:44:58 -07:00
2024-10-10 08:29:58 -06:00
2024-10-10 08:29:58 -06:00
2026-04-25 15:46:12 -06:00
2023-07-25 17:22:44 -04:00
2026-05-11 22:06:58 -06: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 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

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.


S
Description
No description provided
Readme 351 MiB
Languages
C++ 54.7%
C 44.1%
Java 0.3%
POV-Ray SDL 0.3%
Pawn 0.3%
Other 0.2%