https://github.com/axix-official/unitycn-helper
A tool helps decrypt/encrypt assetbundle files for UnityCN.
https://github.com/axix-official/unitycn-helper
unity
Last synced: about 1 year ago
JSON representation
A tool helps decrypt/encrypt assetbundle files for UnityCN.
- Host: GitHub
- URL: https://github.com/axix-official/unitycn-helper
- Owner: AXiX-official
- License: mit
- Created: 2024-03-12T10:27:26.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-11T11:47:42.000Z (about 1 year ago)
- Last Synced: 2025-04-19T10:28:17.573Z (about 1 year ago)
- Topics: unity
- Language: C#
- Homepage:
- Size: 62.5 KB
- Stars: 24
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UnityCN-Helper
[
](https://api.gitsponsors.com/api/badge/link?p=kgrFzvDuyvkJEf6+zLA7aLDDcBWMpjb6y2T0cwUg3qWtChhxMrU9lzUtyeo9RVIfU4/KIFXE0+fdycrPSrqv60sLut/vi0Lk/nbN5INWYNS3DyemrDmv4liXBIUVXvOz9oY58wyiMV/awJdRZLOzJQ==)
A tool helps decrypt/encrypt assetbundle files for UnityCN.
## Command Line Arguments
- -i, --infile Required. Input file to be processed.
- -o, --outfile Required. Output processed file.
- -e, --encrypt (Default: false) Encrypt the asset file.
- -d, --decrypt (Default: false) Decrypt the asset file.
- -k, --key Required. UnityCN key for decryption.
- -f, --folder (Default: false) Operate on a folder instead of a file.
- --help Display this help screen.
- --version Display version information.
### Example
```bash
./UnityCN-Helper -i test.bundle -o test.bundle.de -k 5265736F6E616E63655265626F726E52 -d
./UnityCN-Helper -i test.bundle.de -o test.bundle -k 5265736F6E616E63655265626F726E52 -e
```
for operating on a folder:
```bash
./UnityCN-Helper -i test -o output -k 5265736F6E616E63655265626F726E52 -d -f
./UnityCN-Helper -i output -o output_en -k 5265736F6E616E63655265626F726E52 -e -f
```
## You need to know
In fact, after modifying the asset file, encrypting is not necessary.
For games I encountered, the game can load unencrypted asset files as well as encrypted asset files.
## Special Thanks
- [Perfare](https://github.com/Perfare) for creating and maintaining and every contributor of [AssetStudio](https://github.com/Perfare/AssetStudio)
- [Razmoth](https://github.com/Razmoth) for figuring out and sharing Unity CN's AssetBundle decryption ([src](https://github.com/RazTools/Studio)).