Skip to content

Instantly share code, notes, and snippets.

@FabulousCupcake
Last active March 28, 2023 07:56
Show Gist options
  • Save FabulousCupcake/4f760c9c379b06a8f639c9497dcb1aaf to your computer and use it in GitHub Desktop.
Save FabulousCupcake/4f760c9c379b06a8f639c9497dcb1aaf to your computer and use it in GitHub Desktop.
Obtaining Blue Archive Account Data Dump

This guide will briefly explain how to obtain your own account data dump in JSON, which you can then process in Google Spreadsheet or some tools such as justin163's planner.

This guide assumes you have the game running on a mobile phone and you have desktop running in the same network.
If you run the game using an emulator on Windows, see the addendum section further below.

⚠️ Disclaimer

This breaks the game Terms of Service and is NOT allowed.
You are responsible for any actions taken to your account, do it at your own risk.

Pre-requisites

mitmproxy Setup

Simply run mitmproxy with the script, adding .*ngsm.nexon.com.* to the ignored hosts list:

mitmdump -q -m wireguard -s ba-account-data-dump.py --ignore-hosts '.*ngsm.nexon.com.*'

Now launch the game with VPN / Wireguard client enabled.
You should get the dump several seconds after the Tap to Login screen and that's it! :KyaruPog:

Addendum

  • You clean up the JSON a bit with jq: cat account-data.json | jq -r .packet | jq
  • I made a small tool that transforms the dump into a JSON that you can import into justin163.com/planner:
    https://codepen.io/FabulousCupcake/full/eYLOoqj
  • While this is possible on Windows with emulator, it requires you to run mitmproxy in transparent mode.
    • At the moment you'll need to patch it a bit and rebuild it to make it work, so I'm not covering it.
    • There should be a new osproxy mode that should make this easier, so I suppose just wait for that.
    • When it does come out, just replace the mode with osproxy and boot up BA in the emulator; it should just work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment