How sjcoding0130/cdn works
This repository collects Live A Hero game assets for use by the Wiki. Its main workflow downloads official bundles, extracts assets, and preprocesses selected files; the AssetStudio wrapper and UnityPy script provide separate extraction routes. The README documents the wrapper’s folder-based CLI, while the downloader’s source shows its network and file operations. Cleanup tools are independent command-line utilities. No publishing or upload implementation is shown, so the Wiki destination is represented as an intended consumer, not an automated integration.
Main entry points: download-official-bundles.ts Bundle downloader · Program.cs AssetStudio CLI · extract.py UnityPy extractor · preprocess.py Asset preprocessor
Components 15
Bundle collection
- Version API
- Bundle CDN
- Bundle downloader
tools/download-official-bundles.ts - Downloaded bundles
- Asset list
version/assetList.Android
Asset extraction
- AssetStudio CLI
AssetStudioWrapper/AssetStudioConsole/Program.cs - UnityPy extractor
extract.py - Extracted assets
Asset processing
- Asset preprocessor
preprocess.py - Processed assets
Asset curation
- Duplicate remover
tools/remove-duplicated-assets.ts - Sensitive asset filter
tools/remove-sensitive-assets.ts - Finish watcher
tools/watch-finish-indicator.ts
Other components
- Operator
- Wiki assets
Connections 17
- Operator → Bundle downloader: runs
- Bundle downloader → Version API: requests version
tools/download-official-bundles.ts - Bundle downloader → Bundle CDN: fetches list and bundles
tools/download-official-bundles.ts - Bundle downloader → Asset list: updates
tools/download-official-bundles.ts - Bundle downloader → Downloaded bundles: writes bundles
tools/download-official-bundles.ts - Operator → AssetStudio CLI: runs
README.md - AssetStudio CLI → Extracted assets: exports assets
AssetStudioWrapper/AssetStudioConsole/Program.cs - Operator → UnityPy extractor: runs
extract.py - UnityPy extractor → Extracted assets: writes assets
extract.py - Operator → Asset preprocessor: runs
- Asset preprocessor → Processed assets: rewrites images and JSON
preprocess.py - Operator → Duplicate remover: runs
tools/remove-duplicated-assets.ts - Operator → Sensitive asset filter: runs
tools/remove-sensitive-assets.ts - Operator → Finish watcher: runs
tools/watch-finish-indicator.ts - Duplicate remover → Processed assets: removes duplicates
- Sensitive asset filter → Processed assets: filters folders
- Processed assets → Wiki assets: intended for
README.md