Skip to content

J4s0nZhang/TaskTohsaka

Repository files navigation

Task:Tohsaka

Task:Tohsaka is a collection of automation/ analysis tools for the mobile game Fate Grand/Order. Works primarily on Windows. Requires the BlueStacks emulator since certain inputs are emulator specific. This is a personal project to automate farming during lottery events, and created in a way to prevent account banning due to 3rd party software being used. All scripts in this repo mimick player inputs externally, and thus cannot be traced.

The features of this repo include:

  • quick team automation
  • lotto box collection
  • smart farming using deep learning

Newest Features

  • GUI for 3 turn quick team automation
  • GUI for lotto box collection
  • Sets window size and location of BlueStacks on Windows so coords only need to be obtained once.

Packages

To use anything in the repo, first install the depencies:

  1. cd into the src/ folder
  2. run pip install -e . in the terminal

Additionally, you need:

  • FGO emulated on BlueStacks

Installation and usage

Recommended to install above package dependencies using an Anaconda environment.

Once dependencies are installed, run the dantes quick team loop GUI inside the env with:

python scripts/dantes_quick.py 

run the lotto box clicker GUI with:

python scripts/lotto_clicker.py

The current implementation requires a specific set of screen coordinates/ screenshots for in-game buttons. These will have to differ machine to machine due to varying screen size and resolutions. The coordinate information is stored in mac_coords and wind_coords respectively, and the images are stored in mac_imgs and wind_imgs.

For more information on which coordinates need to be obtained and stored in what order, refer to docs.

The dantes quick loop instructions are stored on a per turn basis in turn<#>_cmds.txts. Txts for all 3 turns are required, and a 3 turn farming setup is assumed based on the nature of quick teams.

For more information on setting up the turn command txts, refer to docs.

If you run scripts/src/gameControl.py, it will continuously print out your mouse location to console, and let you check the button coordinates. A more user friendly, GUI based system to get coordinates in WIP.

Releases

No releases published

Packages

No packages published