Skip to main content

HoyoSophonDL CLI is a Python-based reimplementation of HoYoPlay’s downloader logic. It allows users to list, validate, and download game assets directly from HoYoPlay manifests, with support for multi-threading, resumable downloads, and optional GUI mode.

Project description

HoyoSophonDL

HoyoSophonDL is a Python-based tool that replicates and simplifies the core functionality of HoYoPlay's internal downloader systems — inspired by
Hi3Helper.Sophon and SophonDownloader.

It supports both CLI and GUI modes, allowing users to download and manage HoYoPlay game assets efficiently.


🎯 Goal & Purpose

HoyoSophonDL is a Python-native reimplementation of HoYoPlay’s internal downloader logic.
Its primary goals are to:

  • Provide a lightweight, cross-platform, and open-source downloader for HoYoPlay assets.
  • Offer both a command-line interface (CLI) and a PyQt6 GUI for convenience.
  • Enable multi-threaded, resumable, and cancelable downloads.
  • Simplify asset management, manifest parsing, and patch version handling.

⚠️ Disclaimer:
This is an unofficial third-party tool unaffiliated with HoYoverse or Cognosphere.
It is designed purely for educational and experimental purposes.


🚀 Features

  • 🧩 CLI downloader with progress tracking via rich
  • 🖥️ PyQt6 GUI with progress bars, pause/resume/cancel controls
  • ⚙️ Multi-threaded downloads using ThreadPoolExecutor
  • 💾 Automatic resume via lightweight SQLite tracking
  • 🔄 Asset validation and integrity checks
  • 📦 Optional standalone .exe builder (Windows)

🧩 Installation

Option 1 — Install from GitHub

If the package isn’t yet on PyPI, you can install it directly:

pip install git+https://github.com/Jo0X01/HoyoSophonDL.git

Or clone and install manually:

git clone https://github.com/Jo0X01/HoyoSophonDL.git
cd HoyoSophonDL
pip install .

Option 2 — Install from PyPI (after publishing)

CLI-only (lightweight):

pip install HoyoSophonDL

With GUI (PyQt6) support:

pip install HoyoSophonDL[gui]

If you plan to build an executable:

pip install auto-py-to-exe

🧠 Usage

CLI Mode

python -m HoyoSophonDL <game_name> [options]

Common Options

Flag Description
-l, --list List all available games
-i, --info Show game info
-ai, --asset-info Show asset info
-d, --download Start downloading selected assets
-c, --category Asset category (default: game)
-V, --current Current version
-U, --update Target update version
-o, --output Output directory
-t, --threads Number of download threads
-g, --gui Launch PyQt6 GUI instead of CLI

Example

python -m HoyoSophonDL "Honkai Impact 3rd" -d -c game -o ./downloads -t 20

GUI Mode

python -m HoyoSophonDL --gui

🏗️ Building Executables (Windows)

You can turn your Python project into a standalone .exe using auto-py-to-exe


🧱 Architecture Target

Your build’s architecture (x86 or x64) depends on your Python interpreter:

  • To build x64, use 64-bit Python.
  • To build x86, install 32-bit Python and rebuild.

⚖️ License

This project is licensed under the GNU General Public License v3.0 (GPLv3).


🧾 Credits


🧩 Author

Developed by Mr.Jo0x01
For learning, research, and open-source contribution.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hoyosophondl-1.0.5.tar.gz (42.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hoyosophondl-1.0.5-py3-none-any.whl (45.6 kB view details)

Uploaded Python 3

File details

Details for the file hoyosophondl-1.0.5.tar.gz.

File metadata

  • Download URL: hoyosophondl-1.0.5.tar.gz
  • Upload date:
  • Size: 42.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for hoyosophondl-1.0.5.tar.gz
Algorithm Hash digest
SHA256 846b97dd0ff1c762311b2e6e26457795ff79acafeb1d040b2b0addf5d3665969
MD5 494349b431e6cbad27593130a8f0cebf
BLAKE2b-256 66732b812d135370e8cbb8685c32062bc5b88f8fd2d70f9139f6a98a0913c773

See more details on using hashes here.

File details

Details for the file hoyosophondl-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: hoyosophondl-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 45.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for hoyosophondl-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fe44c7f2bc3932b70d9cd033b2e458a3f3b7de54cb91c977c3610ea1dd70b9dd
MD5 5f955d753ee456fc467c73500361c23c
BLAKE2b-256 04b90a56294cbb79365efa1bbb87316080749d2d30041e3511c55b5261aba134

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page