Skip to main content

Farming assistant for Arknights

Project description

arknights-farmer

Farming assistant for Arknights.

Installation

Prerequisites

  • Python >= 3.7.4
  • pip
  • adb from android platform-tools added to your $PATH

From Source

Clone this repository using git clone command (or just download the zip version).

Install the dependencies using pip.

$ pip install -r requirements.txt

Run the script using the following command inside the repo directory.

$ python3 -m arknights-farmer

From PyPi (Recommended)

For Windows users (run cmd as administrator):

pip install arknights-farmer

For Linux users:

$ sudo pip install arknights-farmer

Usage

usage: arknights-farmer [-h] [-p] [-s STAGE] [-c] [-r REFILL]

optional arguments:
  -h, --help            show this help message and exit

required args:
  -p, --penguin         use farm route data from penguin-stats.io
                        (experimental do not use)
  -s STAGE, --stage STAGE
                        manually add stage(s) to farm task (e.g. 1-7:100
                        4-4:25 (separated by whitespace))
  -c, --cont            continue from the most recent farming session

optional args:
  -r REFILL, --refill REFILL
                        how many times you want to refill. default is 0

Connect to ADB

Use the adb devices command to check if your adb client is connected to your emulator.

Refer to your emulator manual on how to connect your adb client.

Emulator Setting

Make sure to use the following display settings on your emulator:

  • Display Resolution: 1280x720
  • DPI: 240 DPI

Examples

$ arknights-farmer -s 1-7:100           # runs 1-7 100 times (will stop whenever you run out of sanity)
$ arknights-farmer -s 1-7:100 -r 10     # runs 1-7 100 times with 10 times sanity refill (prioritizes using sanity potion)
$ arknights-farmer -s 1-7:100 ce-5:20   # runs 1-7 100 times then CE-5 20 times
$ arknights-farmer -c                   # continues the most recent halted farming session

Before starting the script, make sure to set yourself in the main menu screen.

You can safely stop the script using Ctrl-C. It will save the ongoing farming task(s) before quitting.

Contributing

Pull requests are welcome.

License

Licensed under the MIT License. See LICENSE for more information.

Disclaimer

It has not been clear whether it is safe to use this tool or not. I am not responsible for what happens to your account.

Use at your own risk.

Project details


Download files

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

Source Distribution

arknights-farmer-2020.7.11.1.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

arknights_farmer-2020.7.11.1-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file arknights-farmer-2020.7.11.1.tar.gz.

File metadata

  • Download URL: arknights-farmer-2020.7.11.1.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.4

File hashes

Hashes for arknights-farmer-2020.7.11.1.tar.gz
Algorithm Hash digest
SHA256 028830dd3606b16f902fac871e26c280d4f74b730c96fadc020bb7844cf89651
MD5 a053be2277f382780bfefb33bbc0bf40
BLAKE2b-256 3c5f8e0e9a025766eac8b4fe868b8476fb87bca7951a2ec31cf4760c5dbbc83d

See more details on using hashes here.

File details

Details for the file arknights_farmer-2020.7.11.1-py3-none-any.whl.

File metadata

  • Download URL: arknights_farmer-2020.7.11.1-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.4

File hashes

Hashes for arknights_farmer-2020.7.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8d3024c3a1bec774b325c1d999fd7a7a27a8ae8d0e10ac2a9e25b0b933af7fcc
MD5 33541c953c1cf002b4aa63ff892a1753
BLAKE2b-256 e35258257addf726aecb8e1d2ce6a95d3938c3adad9cdd590a68b07266552d46

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page