Sunrise
The parts, settings and internals of Sunrise.
Sunrise is one DLL. It loads into the game and carries both a client mod and a local server. The game talks to that server as if it were the live service. No outside server is involved.
Start with How Sunrise is built.
Conventions:
- A path like
src/server/bap/is relative to theSunrisefolder of the Sunrise repo. - Most function and field names come from Sunrise, not Bungie. The game ships without them.
- Code is either a short excerpt from the source or C-like pseudocode.
- For how the game itself works, see Destiny 2.
How Sunrise is built
The parts, threads and startup order of the Sunrise DLL.
Read more →Settings, logs and in-game tools
The settings file, the log and its format, and the in-game menu.
Read more →From launch to orbit
How the game reaches Sunrise, signs on, opens its BAP link and walks the boot steps to orbit.
Read more →Accounts, characters and saves
How Sunrise stores the player's account and sends it to the game over the BAP link.
Read more →The Activity Host
How Sunrise loads the client into a destination and serves the activity link after that.
Read more →Client hooks
Every hook Sunrise installs in the game client, what it does, and what retires it.
Read more →Mods
How Sunrise finds, orders, checks and loads mods, the folder and manifest a mod needs, mod config and cheat mods.
Read more →