Bright Dawn

Bright Dawn is a native PC port of Golden Sun: Dark Dawn that offers high-resolution and widescreen rendering.

README

Bright Dawn

Bright Dawn is a native PC version of Golden Sun: Dark Dawn (Nintendo DS, 2010), made by static recompilation: the game's own code, read from a ROM you supply, is translated to C++ and compiled for your computer, with an interpreter behind it for whatever is not translated. The aim is one unified screen, high-resolution and widescreen rendering, controller-first input, and packs for textures, models and music. It runs on Windows and Linux.

To try it, download the latest pre-release for Windows or Linux from the Releases page: each one says how to start it, the controls, and what changed since the last one.

ROM and asset disclaimer

Bright Dawn contains no part of the game. This repository and its packages hold no ROM, no game code, no pictures, no sound and no other game data, and they never will. To play, you need a ROM image dumped from a cartridge of the game that you own. Please do not ask for ROMs, or post links to them or any game data, in issues.

Found a problem? Report a problem, in the launcher (Log) or the pause menu (Escape), opens the report form filled in with your version and system, and the folder of the logs: attach the log, never the ROM, saves or other game files.

Everything Bright Dawn takes from the game is read from your own ROM on your own computer, while it runs: the launcher's pictures and font, and the game's code that the game builder translates and compiles. What it makes from your ROM stays in your per-user data directory.

Recognised releases, by cartridge game code: BO5E (USA), BO5P (Europe), BO5J (Japan).

Golden Sun is a trademark of Nintendo. Bright Dawn is a fan project, not affiliated with or endorsed by Nintendo or Camelot Software Planning.

Roadmap and current state

In short: playable through the early game. From its opening, Saha Town, the first cave, battles and saving in the game have been tried; later parts have not been tried yet. Music and sound effects play. The game's save is kept between runs. Every part in detail: docs/STATUS.md.

The project map below shows each part of Bright Dawn, how the parts connect, the state of each, and what comes next.

Last change (29 November 2026): Dump assets (launcher, Debug): the game's 3D textures as PNG files, its sampled sounds and its music as Ogg Vorbis files, in the dumps folder of the user data folder, as they are first used.

Bright Dawn project map: each part and its status

PartStatusNow
rom๐ŸŸข WorksChecks the ROM, reads its file system, archives and every kind of compression the game uses.
assets๐ŸŸก Partly worksDecodes the menus' pictures and the game's font (NFTR) for the launcher. Textures, models and sounds: not yet.
modsโšช Not startedPlanned: replace game files without changing the ROM.
translator๐ŸŸข WorksTranslates 18,271 functions of the game's code, and the interrupt entry of Bright Dawn's own BIOS, to C++, on your computer, with interrupt polls and instruction counts. Where code puts its own return address in lr before a jump, that address is translated too, and so is the place a saved thread context is resumed at, and code whose address the program loads as a constant (its interrupt handler, for example).
game builder๐ŸŸข WorksDownloads its compiler (and Python on Windows) for the build and deletes it after. The downloaded compiler is not yet tried on a real build.
game library๐ŸŸข WorksBuilds, loads and runs: reaches the name entry like the interpreted game, about twice as fast (600 frames in 11 s instead of 24).
runtime๐ŸŸข WorksRuns translated code with the interpreter behind it. Interrupts are taken where translated code polls for them. Calls that never return no longer pile up until the program crashes (the Windows crash after about 7 minutes). Each run writes a log of the places run in the interpreter, with why.
nds๐ŸŸก Partly worksThe console model runs the game from the title screen to battles, with a save from about two thirds through the game. The game's save is kept between runs, also one made in the game; the console's language is a setting. The second processor's music player is written natively.
gfx๐ŸŸข WorksBoth screens in one window, any size, stacked, side by side or the touch screen alone, sharp pixels with smooth edges. Drawn through Vulkan, or the system's renderer where there is none. 3D scenes by the graphics hardware at up to 8 times the DS's resolution, battles too, with vertices between the DS's pixels so that models move smoothly, on one screen or both, or by the processor. The 2D engines' pictures by the graphics hardware too, pixel for pixel as the processor draws them, except where a display capture needs the processor's. Outlines (original thickness, 1 pixel or off), shadows and fog as on the DS; at 1x the processor's picture, pixel for pixel, with the smoothing of polygon edges; above 1x outlines that meet the models' edges, as wide on every side and smooth, without the costly drawing by the DS's rules. The 2D stays at the DS's resolution: the game does not turn or scale it, so it would look the same drawn larger. Display captures at the same resolution, also where a background shows one turned or made larger (the start of a battle). Widescreen (3D), a first version: the 3D scene on its screen goes on a third further at each side (16:9), battles too; in battles the 2D goes on to the edges too (the backdrop's whole picture, text boxes as at their edge, the battle log made longer), on the field and in menus the background goes on at the sides (tiled ones at the same scroll, the field under a menu blurred as the game blurs it), the HUD goes to the wide edges (Widescreen HUD: icons and boxes move to the corners, the help box and the ring of commands made longer, with their text; a touch on a moved icon reaches the game), or stays in the middle if chosen; the box test the field culls models with looks a little past the wide view, so models at the sides are drawn. A picture made larger than the window is made smaller by averaging, without stairs on its edges. Textures in 3D scenes sharp as on the DS, or smoothed (bilinear) if chosen, by the processor and the graphics hardware.
audio๐ŸŸข WorksMusic and sound effects play through your audio device (SDL 3), mixed at 48,000 samples a second in floating point and kept in step with the frames. Sound quality: Enhanced (the mix at full precision) or Original (10 bits, as the DS); Interpolation of the game's sampled sounds between their samples, in melonDS's ways: None (as the DS), Linear, Cosine, Cubic or Gaussian. Replacement music: Ogg Vorbis files in the music folder play in place of the game's music, by the names in the ROM's sound archive (SEQ_MAP1.ogg), each with a loop of its own (from its tags or music.ini), following the game's fades, pauses and stops. Settings, Sound: on or off, the volume, the quality, the interpolation, the replacement music and its volume, and a button that opens the music folder (made at start). The setup page and the Build page download the music pack into it (from a Google Drive link still to come).
input๐ŸŸข WorksKeyboard, any number of controllers, the mouse as the stylus. Keys and buttons can be bound in Settings, Controls. On the field the left stick walks in any direction, at any pace from a walk to a run.
ui, app๐ŸŸข WorksThe launcher's first page is Play and your save, on the game's page of saves, and a gear to the settings; its other pages look like the game's settings menu; all from your ROM. The setup before the first build is in the program's own look. Settings book, pause menu. Settings, Quality of life: Start skips the opening of a new game. Report a problem opens a filled-in bug form on GitHub. An Updates page says when a newer release is out on GitHub (asked at start; the first page's message bar says so too). A Debug page switches on the frame log (what each frame costs, part by part), pause and step by frame, a frame overlay, a capture hotkey, a performance report to paste to Claude, the known GPU issues' workarounds, and Dump assets: the game's 3D textures (PNG), its sampled sounds and its music, each sequence recorded as heard (Ogg Vorbis, by libvorbis), written to the user data folder's dumps folder as they are first used.
platform, core๐ŸŸข WorksWindow, files, settings, frame timing, log, checksums. A crash is noted with where it happened; a game that stops finishing frames too.
CI and releases๐ŸŸข WorksEvery change is built and tested on Linux and Windows; a pre-release is made from main only when the owner asks for one (Actions, CI, Run workflow), after all checks pass. Its description gives the state first, then the big changes since the last one. Issue forms for bugs, a stuck game or wrong graphics, and wishes.

Next:

  1. Higher resolutions, 1: a display capture that the game uses as a texture, or changes itself (the middle of the blurred field behind the menu), is read at the DS's resolution.
  2. Higher resolutions, 2: the scroll of the 3D layer (BG0) is not used, by either 3D path.
  3. Widescreen, 2: the sides show one background only; HUD elements not yet known (a dialogue's bubble, the status screen's characters) stay centred; 3D on both screens at once (the title) stays 4:3. Then mods.

The same, as a page of its own: the project map.

Credits and thanks

Bright Dawn stands on the work of these projects and people. Thank you.

WhoWhat Bright Dawn takes from itLicence
SkyEmu, by Skyler "Sky" SalehIts ARM core (third_party/skyemu), the interpreter behind the translated codeMIT
Dear ImGui, by Omar CornutDraws the launcher, the settings book and the pause menu (third_party/imgui)MIT
SDL 3, by Sam Lantinga and the SDL contributorsThe window, drawing (Vulkan and the system's renderers), input, controllers; downloaded and built in by the buildzlib
stb_vorbis and stb_image_write, by Sean Barrett and the stb contributorsReads the Ogg Vorbis files of a music pack; writes the PNG files of the asset dump (third_party/stb)MIT or public domain
libogg and libvorbis, by the Xiph.Org FoundationWrite the Ogg Vorbis files of the asset dump; downloaded and built in by the buildBSD-3-Clause
Zig, by the Zig Software FoundationThe compiler the game builder downloads to build the game from your ROM (from the ziglang package)MIT
LLVM and Clang, by the LLVM projectThe C++ compiler inside Zig; also used by the tests to build ARM test programsApache-2.0 with LLVM exceptions
Python, by the Python Software FoundationRuns the game builder and the translator; downloaded for the build on Windows if not installedPSF License
NooDS, by Hydr8gonA reference for the console's behaviour, such as the second processor's start-up handshake; no code takenGPL-3.0-or-later
melonDS, by Arisotura and the melonDS teamThe sound interpolation (None, Linear, Cosine, Cubic and Gaussian), adapted from its sound unit, src/SPU.cpp (src/nds/sound_interpolation.cpp); and the model for the default screen filter, sharp pixels with smooth edgesGPL-3.0-or-later
GBATEK, by Martin KorthThe documentation of the DS hardware that much of the console model is written fromNo licence stated; used as documentation only
DSDecmp, by barubaryIts Golden Sun plugin, the only public description of the LZ40 compression, which the first decoder was written from; no code takenMIT
graphify, by Safi Shamsi and the Graphify contributorsMaps the repository's code into a graph for development; not part of the packagesApache-2.0
DS Asset Lab, by BoneyKKThe parts of the translator from this earlier project (tools/translator/dslab), placed by its author under this project's licenceGPL-3.0
Golden Sun: Dark Dawn, by Camelot Software Planning, published by NintendoThe game itself, which you supplyNot included

The packages carry the licences of the code built into them, in licenses/.

Licence

Bright Dawn is under the GPL-3.0; see LICENSE. third_party/skyemu and third_party/imgui are under the MIT licence, each with its licence alongside; third_party/stb is under the MIT licence or in the public domain. libogg and libvorbis, which the build downloads, are under the BSD-3-Clause licence. src/nds/sound_interpolation.cpp is adapted from melonDS (Copyright 2016-2025 melonDS team, GPL-3.0-or-later), as its header says.