Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phstudy/dsa-downloader
Disney Sorcerer's Arena resources downloader.
https://github.com/phstudy/dsa-downloader
Last synced: 27 days ago
JSON representation
Disney Sorcerer's Arena resources downloader.
- Host: GitHub
- URL: https://github.com/phstudy/dsa-downloader
- Owner: phstudy
- License: mit
- Created: 2021-10-07T08:59:43.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-09T04:04:29.000Z (over 1 year ago)
- Last Synced: 2024-09-14T10:57:25.470Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DSA Downloader
DSA Downloader is a Disney Sorcerer's Arena resources downloader,
which allow developers to download localization files and assets.## How to use
Show supported commands
```
$ dsa-downloader --help
Usage: dsa-downloader [OPTIONS] COMMAND [ARGS]...Options:
--debug / --no-debug
--help Show this message and exit.Commands:
download-assets Download assets.
download-langs Download localization files.
download-gamedata Download gamedata.
extract-config Extract bootstrap config from APK file.
```Install the library using pip
```
$ python -m pip install dsa-downloader
```Extract bootstrap config from *[Disney Sorcerer's Arena APK](https://apkcombo.com/apk-downloader/#package=com.glu.disneygame)* file
```
$ dsa-downloader extract-config com.glu.disneygame.apk
bootstrap_config file is written to out/bootstrap_config.json.
```Download gamedata
```
$ dsa-downloader download-gamedata
gamedata-static.bin is written to out/gamedata/9c49b3b7-1479-4c28-8894-d1da716e36ce_gamedata.bin# Convert gamedata binary to json
$ curl -O https://github.com/phstudy/dsa_proto_dumper/blob/main/gamedata/gamedata.fbs
$ flatc --json --defaults-json --strict-json --raw-binary gamedata.fbs -- out/gamedata/9c49b3b7-1479-4c28-8894-d1da716e36ce_gamedata.bin
```Download localization files
```
$ dsa-downloader download-langs --langs ChineseTraditional --langs English
ChineseTraditional localization file is written to out/langs/Loc_ChineseTraditional.txt.
ChineseTraditional localization file is written to out/langs/Loc_ChineseTraditional.json.
English localization file is written to out/langs/Loc_English.txt.
English localization file is written to out/langs/Loc_English.json.
```Download assets
```
$ dsa-downloader download-assets
2%|██▋ | 81/3896 [00:03<03:00, 21.08it/s]
```## Docker
Use docker container to extract bootstrap config from *APK* file
```
$ docker run --rm -v "$PWD":/dsa study/dsa-downloader dsa-downloader \
extract-config com.glu.disneygame.apk
bootstrap_config file is written to out/bootstrap_config.json.
```