Skip to content

Tools to parse and enumerate Sophon manifest and chunk streams

License

Notifications You must be signed in to change notification settings

CollapseLauncher/Hi3Helper.Sophon

Repository files navigation

Hi3Helper.Sophon - Sophon Download Library

Now Available on NuGet!

NuGet Downloads NuGet version

Hi3Helper.Sophon is a Sophon-compatible library to download certain well-known games created by miHoYo/HoYoverse (for example: Genshin Impact and Zenless Zone Zero). Hi3Helper.Sophon was written and compatible for .NET implementations listed below:

  • .NET Standard 2.0 (including .NET Framework 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 and 4.8.1)
  • .NET 6.0
  • .NET 8.0
  • .NET 9.0

This project is heavily used as a part of our main project's submodule, Collapse Launcher.

What is Sophon?

Sophon is a new download method introduced by HoYoverse and was firstly introduced widely to the public on the release of their new Unified launcher, HoYoPlay.

Sophon allows files to be downloaded into several chunks, which result more efficient, faster and less error-prone download process compared to conventional archive file download method. This also allows the download process requiring much less disk space since the files will be written into disk on-the-fly without reserving double the size of disk space.

Usage Example

The Test projects was targetted for multiple TFMs, including .NET Framework 4.6.2, .NET 6.0, .NET 8.0 and .NET 9.0. Below are some example you can try:

Basic Example

Complete Code Example

About

Tools to parse and enumerate Sophon manifest and chunk streams

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published