yt6983138.PhiInfo.CLI
1.1.2
dotnet tool install --global yt6983138.PhiInfo.CLI --version 1.1.2
dotnet new tool-manifest
dotnet tool install --local yt6983138.PhiInfo.CLI --version 1.1.2
#tool dotnet:?package=yt6983138.PhiInfo.CLI&version=1.1.2
nuke :add-package yt6983138.PhiInfo.CLI --version 1.1.2
PhiInfo
This is forked from here, and has been modified for asset extraction for PSLDiscordBot. Readme has been translated, and code have been refactored/trimmed.
Phigros asset extraction implemented using AssetsTools.NET.
Supported functionalities
Informations
- Extract song informations
- Extract collections
- Extract avatar informations
- Extract tips
- Extract chapter informations
Resources
- Extract all song resources (music, cover images, charts)
- Extract all collection resources (cover images)
- Extract all avatar resources (avatar images, name to hash map)
- Extract all chapter resources (cover images)
Core library
Features:
- Async api for apis involving I/O operations
- Development-friendly typed models for extracted informations
CLI
Features:
- Ultra-fast extraction with concurrency (All assets in 22.9 seconds on my PC)
- Flexible options to only extract what you need
- Automatic downloading of APK and classdata.tpk from TapTap or URL
- Support for extracting from OBB and auxiliary OBB files
- Support for multiple languages (Chinese, English, Japanese, Korean, Traditional Chinese)
- Support for Phigros_Resource compatible format<sup>[1]</sup>, so you can swap to this easily
<sup>[1]</sup>: Currently only supports: avatar.txt, collection.tsv, difficulty.tsv, tips.txt, info.tsv, and tmp.tsv
Different to the original project, this project extract to local only and does not spin up a http server, so there is no API endpoint. Instead, the CLI has the following options:
| Name | Valid values | Default value | Description |
|---|---|---|---|
--download-apk |
<url>, TAPTAP |
Download APK from URL or TapTap to the --apk path or temp dir. |
|
--download-classdata |
<url>, AUTO |
Download classdata.tpk from URL or automatically to --classdata path or temp dir. |
|
--apk |
<path> |
Path to the APK file. | |
--obb |
<path> |
Path to the OBB file. | |
--aux-obb |
<path> |
Path to the auxiliary OBB file. | |
--classdata |
<path> |
Path to the class data TPK file. | |
--extract-info-to |
<path> |
Directory to extract Phigros information. | |
--extract-asset-to |
<path> |
Directory to extract Phigros assets. | |
--no-illustration |
false |
Do not extract high-resolution illustrations. | |
--no-low-res-illustration |
false |
Do not extract low-resolution illustrations. | |
--no-blur-illustration |
false |
Do not extract blurred illustrations. | |
--no-music |
false |
Do not extract music. | |
--no-charts |
false |
Do not extract charts. | |
--language |
SimplifiedChinese, EnglishUS, Japanese, Korean, TraditionalChinese, All |
Target language for extracting collections and tips. | |
-?, -h, --help |
Show help and usage information. | ||
--version |
Show version information. |
More detail can be found in the CLI help message.
License
Extracted resources are copyrighted by 南京鸽游网络有限公司 aka Pigeon Games and
their own authors, I do not own any of the resources, and I am not responsible
for any legal issues caused by using these resources.
If 南京鸽游网络有限公司 aka Pigeon Games, or any other copyright holders, have any
issues with this project, please contact me.
WARNING: DO NOT use any asset or info extracted by this tool in commercial way. This can get both developers and you in trouble.
After 2026/03/22
Open sourced under AGPL-3.0-only license.
Before 2026/03/22
Open sourced under MIT license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|