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] [-s STAGE [STAGE ...]] [-c] [-r REFILL] [-l] [-v]
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 REFILL, --refill REFILL
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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file arknights-farmer-2020.8.1.tar.gz
.
File metadata
- Download URL: arknights-farmer-2020.8.1.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25952c1b4357ecec950a4af04d3d27898cd3dc695156074f855f71c1d030ad00 |
|
MD5 | e4ace802573e0239ea59a270768aa0cd |
|
BLAKE2b-256 | 9d43c276dcbc68ede000530331192d0978951618cd4738a184393a10944dc5d7 |
File details
Details for the file arknights_farmer-2020.8.1-py3-none-any.whl
.
File metadata
- Download URL: arknights_farmer-2020.8.1-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5147390fcc2b9a4dffb23690a885957a319258a944223f6b41f96e7b1aee8f6f |
|
MD5 | 5331473de434a6c4d13c2b056715088f |
|
BLAKE2b-256 | 2f9e9f4ebd487323d47e3e81539ce6ceb00c40da0cab75af5271504ed8f8de5a |