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.0.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.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hg2_data_extractor-0.3.0.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.0.tar.gz
Algorithm Hash digest
SHA256 5e05fe2ceba75b1cd90dcdc39c14818432653e876cece459903d97e1d7a5c487
MD5 60a7e11e4cb8c7a3f616b8718bf12256
BLAKE2b-256 22ac5f3107cdada052bdfadf131e311c1d2942258f40d058c4c04606aa688b7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hg2_data_extractor-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eced80f1c23fb3eead3e5b6e54f2531609071a43cddde2bcb14c7c15ce98e7dc
MD5 0969a1017bf585d2cbe8f0c6a921bc82
BLAKE2b-256 421d54a5487692f6307ee690385814209300b573d63c5d117076c90be3905ef3

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