Skip to main content

Disney Sorcerer's Arena resources downloader

Project description

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 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dsa_downloader-0.0.8-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file dsa_downloader-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: dsa_downloader-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for dsa_downloader-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 cac45c2710cb267769b266311a9f2df828af0395a9d12f2f4d4b18aba3d8e303
MD5 6c226ab7f7c5f42ed9926608f9834126
BLAKE2b-256 5cd03c6e48b408413ab4c00b363e18c7798adeb9fb322a4ea7d9148f18c327f2

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