Skip to main content

Python package for extracting Houkai Gakuen 2 assets data

Project description

About

hg2-data-extractor is a Python package for downloading, decrypting and extracting Houkai Gakuen 2 unity text assets data

Installation

pip install hg2-data-extractor

Usage

To get help, type --help with any command or even package

Download

To download data_all file use:

hg2-data-extractor download

By default, download directory is ./data_all/

Decrypt

To decrypt downloaded data_all file use:

hg2-data-extractor decrypt 

By default, decrypts ./data_all/data_all_encrypted.unity3d

Extract

To extract text assets data from data_all_decrypted use:

hg2-data-extractor extract --asset-names asset_name1,asset_name2,...

By default, WeaponDataV3, CostumeDataV2, PassiveSkillDataV3, SpecialAttributeDataV2, PetData, PetSkillData assets will be extracted to ./extracted/

List

To check all valid asset names, use (data_all_decrypted is required):

hg2-data-extractor lst

By default, extracts to ./extracted/asset_names.txt

Credits

This project is a copied and modified version of hg2-downloader project authored by BLUEALiCE

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

hg2_data_extractor-0.3.1.tar.gz (43.3 kB view details)

Uploaded Source

Built Distribution

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

hg2_data_extractor-0.3.1-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file hg2_data_extractor-0.3.1.tar.gz.

File metadata

  • Download URL: hg2_data_extractor-0.3.1.tar.gz
  • Upload date:
  • Size: 43.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.24

File hashes

Hashes for hg2_data_extractor-0.3.1.tar.gz
Algorithm Hash digest
SHA256 73b1dc85f9179c613ae0988f2fbd9089e1cb4ba8bf0db0dc906ea08ffca66c75
MD5 0358fad33f0efd1dd27581be8f696958
BLAKE2b-256 a52f2820cf32cf7bd46be11f9c4b9a23939212187f0c41b42ba0df0887f8af30

See more details on using hashes here.

File details

Details for the file hg2_data_extractor-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for hg2_data_extractor-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 27a061ab4cf7855eb3e2710a5af1a4b197c3e5cf7d334f24deb5776a2eb92636
MD5 3b779dbfc4fff712a32ae7593f4ca5cc
BLAKE2b-256 0ca5aff44364b19a3b660a0399f8317a623e425362c13e1bf021ddb7fdee753c

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