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] [-s STAGE [STAGE ...]] [-c] [-r REFILL] [-l] [-v]
[-m MANUAL]
optional arguments:
-h, --help show this help message and exit
required args:
-s STAGE [STAGE ...], --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 AMOUNT, --refill AMOUNT
how many times you want to refill. default is 0
-l, --list-task list unfinished task(s) from recent farming session
-v, --version show version
-m AMOUNT, --manual AMOUNT
manual mode (good for single stage farming like event
stages)
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.
Metadata
Release files for arknights-farmer 2020.12.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| arknights-farmer-2020.12.18.tar.gz | 1.1 MB | Without provenance | Details for arknights-farmer-2020.12.18.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| arknights_farmer-2020.12.18-py3-none-any.whl | Python 3 | none | any | Details for arknights_farmer-2020.12.18-py3-none-any.whl |
Total release size: 2.2 MB
Release files / arknights-farmer-2020.12.18.tar.gz
| Download URL | arknights-farmer-2020.12.18.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d3f31f1936d59238dd696e243851c7b29179855cd82ba3ab444e1e9c0c955b59
|
|
BLAKE2b-256 checksum How to use checksums |
c796fc342e2026a68098d22075aaa21a4db046dd49baba07c9c4b6c8fd04319d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
|
Release files / arknights_farmer-2020.12.18-py3-none-any.whl
| Download URL | arknights_farmer-2020.12.18-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3fd4b0f75c9d3c6c61e19636a96614014d85a2f99e6a423b59b8d782c9b571fd
|
|
BLAKE2b-256 checksum How to use checksums |
57e9efdf1d06465cb9ded92f05058ef255ad78f6bc03fcc74ff07b23c1f4a38a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
|
Security for arknights-farmer 2020.12.18
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.