Skip to content

Contribute Your Code

Snap Hutao Remastered is developed using C# and the .NET Framework for both the desktop client and server. We greatly appreciate feedback from the open-source community. If you are willing to contribute your code, please read the following guidelines.

You can find all unsolved opened issues on GitHub.

Setup Snap Hutao Remastered Project

For more contribution details, please refer to CONTRIBUTING.md on GitHub.
This guide is not mandatory; you can adjust it according to your personal habits for different situations.

  1. Download and install Visual Studio 2026
    • You need to install the following components:
      • .NET desktop development
      • Desktop development with C++
      • Windows application development
  2. Use Git to clone the project repository: git@github.com:SnapHutaoRemasteringProject/Snap.Hutao.Remastered.git.
  3. Switch the branch to develop.
  4. Open the project solution (Solution) with Visual Studio using the corresponding .slnx file, and you can start developing.

Enable Debug

  1. Download and install Sysinternals Suite from the Microsoft Store or download it from the Microsoft website.
  2. Locate and run the DebugView program (either in the Start menu or in the unzipped files).
  3. Launch the Snap Hutao Remastered main program.
  4. Observe the debug information output by DebugView.

Start Pull Request

  • All Pull Requests not initiated from other branches of the project are only allowed to be merged into the develop branch.
  • If your code is related to an existing issue, please use keywords to link your PR to the relevant issue. This will automatically close the issue when the PR is merged into the main branch.

Test Binary Package

Attention

If you want to try the latest Alpha version, please download and install SnapHutaoRemasteringProjectRootCA.cer to Trusted Root Certification Authorities first.

  • After each push, a GitHub Actions script will automatically run to build the latest solution:
    • For the main, develop, and feat branches, the script will automatically upload the built Snap Hutao Remastered Alpha archive for testing.
    • Other branches will only verify code buildability and will not provide an upload feature.
  • You can view all build logs in the Alpha pipeline.

使用 VitePress 构建 | 以开源社区力量为原神 PC 端玩家提供极致的游戏体验