Geen omschrijving

stan 2966b19955 sqlite 1 dag geleden
.github 1120748c6f cleanup 2 dagen geleden
Sunrise 2966b19955 sqlite 1 dag geleden
.clang-format 052d6a480f Initial commit 3 weken geleden
.clang-tidy f84356c14b PR cleanup 2 dagen geleden
.clangd 74ddc67f23 linux: a few quality of life improvements for developing on linux 3 weken geleden
.editorconfig 1f0445a45d misc: change line endings from CLRF to LF in editor config 3 weken geleden
.gitignore f84356c14b PR cleanup 2 dagen geleden
CMakeLists.txt 2966b19955 sqlite 1 dag geleden
LICENSE 052d6a480f Initial commit 3 weken geleden
README.md 2966b19955 sqlite 1 dag geleden
Sunrise.sln 052d6a480f Initial commit 3 weken geleden
THIRD_PARTY.md 2966b19955 sqlite 1 dag geleden
THIRD_PARTY_NOTICES.md 2966b19955 sqlite 1 dag geleden
linux-to-win-toolchain.cmake 0c9790075e build: add cmake as build tool for linux 3 weken geleden

README.md

Sunrise

Destiny 2 Offline Exploration Mod

This mod installs onto an old build of the game and allows you to play it offline, loading into destinations and exploring them.

Most gameplay features are not currently supported. (Missions, Enemies, NPCs, Quests, Persistent Saves, ...)

Features

  • Load into any Destination (matchmade activities are currently broken)
  • Exploration Features (Fly, Noclip, Activity Override, ...)
  • Basic Inventory Management

WIP

This mod is a work in progress. Things might break or work in unexpected ways. There is also currently a lack of documentation. This will improve over the coming weeks.

Support Me

Leave a star on this repo.

If you want to support my open source work you can find the means on my profile. Also consider donating to charity instead.

All content released under this project is free and open source. If someone is trying to sell you something you are getting scammed.

Rules

Issues are for bug reports only.

PRs are for pull requests only.

Do not go and argue/chat there, you can do that on the discord.

Building

Windows

Install Visual Studio 2026 with the Desktop development with C++ workload. The project builds against the v145 toolset and the 10.0.26100 Windows SDK, so check that both are selected in the installer.

The easiest route is to open Sunrise.sln, select the Release x64 configuration and build.

To build from a command line, use the Developer PowerShell for VS 2026:

  1. Clone the repository

    git clone https://github.com/stanuwu/Sunrise
    cd Sunrise
    
  2. Build the solution

    msbuild Sunrise.sln /m /p:Configuration=Release /p:Platform=x64
    

Linux

Make sure you have git, cmake, clang, ninja, llvm, and xwin installed.

  1. Clone the repository

    $ git clone https://github.com/stanuwu/Sunrise
    $ cd Sunrise
    
  2. Download Windows headers:

    $ xwin --sdk-version 10.0.26100 --accept-license splat --include-debug-libs --output .xwin-cache
    
  3. Configure and build the project

    $ cmake -B build -G Ninja -DCMAKE_TOOLCHAIN_FILE=$(pwd)/linux-to-win-toolchain.cmake -DCMAKE_BUILD_TYPE=Release
    $ cmake --build build
    

Saved progression

Sunrise stores account and character progression in Sunrise/data/investment.sqlite3, relative to the DLL. Inventory, currencies, sockets, subclass choices, titles, unlocks, objectives, seasonal progress, claims, and ownership survive restarts. Character unlock banks are separate. Earned world rewards also survive while waiting for their inventory grant and pickup notification. In-game account preferences, account keybindings, and each item's seen marker are also saved. Client-mod options and local server policy remain in Sunrise/settings.json. Selection, current activity, and sign-in time last only for the current run.

The DLL embeds Sunrise/resources/database/investment_schema.sql, investment_defaults.sql, account_settings_schema.sql, and account_settings_defaults.sql. New databases use these defaults. Version-1 saves upgrade to version 2 without replacing their inventory or progression; the added account preferences start with the bundled defaults. Settings files with an older or missing version are deleted and replaced with bundled defaults. There is no settings migration or progression import. Existing SQLite saves are kept.

Close the game before copying or editing the database. Back up the whole Sunrise/data folder. Removing that database starts a new save from the bundled defaults. A database with a newer schema is refused rather than replaced.

Contributing

Pull Requests are welcome. Please follow these rules:

  • No Copyrighted Data - All game data should be extracted at runtime.
  • Code Formatting - Stick to the provided clang-format and clang-tidy configs.
  • Clean Code - Try to post readable high-quality code, follow the project's existing style of comment and add docs.
  • Provide Documentation - Please explain what you changed, why you changed it and the effects it has in detail, it saves me a lot of work.
  • Follow Up - If something with the PR is not right, I will reply and ask you to fix it.
  • One Feature - Do not put multiple features into one PR.
  • Complete Implementations - Do not PR features that are not completed and/or have non-functional parts.
  • Server Focus - For features that are intended to be part of the server, don't abuse client patches. Sometimes it's needed but mostly everything should go through the right requests and pushes.

Credits

All Contributors

Dependencies:

Artwork:

Testing:

Inspiration/Helpful Repos

Other:

  • Ginsor - Gave me some useful pointers

Want to be added to or removed from the credits? Let me know.

Content Disclaimer

Sunrise is not:

  • A Crack
  • A Cheat
  • A Custom Server

Everyone needs to provide their own copy of the game, no piracy is happening. The mod does not connect to any servers, it runs completely locally. We do not offer any servers or services.

Legal Disclaimer

This project is not for profit. It does not affect live servers or newer versions of the game where research like this could pose a security risk. No game data will be included in the release so this is not a copyright violation. This is also not a circumvention of protective measures. Please do not file any DMCA or other copyright claims against this. Legal action will be taken for abuse of the copyright system to censor this work.

AI Disclaimer

AI was used in the creation of this project. If you are not comfortable with the use of AI in programming projects beware.

AI was NOT used to create any art or creative writing. Only for RE, development and documentation purposes. All AI work that is publicly released is reviewed by a human. AI is a tool and the user is responsible for the results it produces.

Affiliation Disclaimer

This project is not affiliated with Bungie or Sony in any way.