Không có mô tả

Fabian Peter Hammerle bf48c343c9 drop compatibility with python3.8 11 tháng trước cách đây
.github bf48c343c9 drop compatibility with python3.8 11 tháng trước cách đây
tests 5099ae1500 drop compatibility with python3.5 4 năm trước cách đây
tooncher b39a6b91f7 tooncher.launch: raise `RuntimeError` instead of `Exception` when server sends unexpected response instead of confirming login (fixing pylint's broad-exception-raised warning) 2 năm trước cách đây
.gitignore 685954acba pipeline / pipenv: explicitly specify python version to workaround pipenv picking highest available 5 năm trước cách đây
.pylintrc bf48c343c9 drop compatibility with python3.8 11 tháng trước cách đây
CHANGELOG.md bf48c343c9 drop compatibility with python3.8 11 tháng trước cách đây
LICENSE.txt 5b192b434a release v0.4.1 5 năm trước cách đây
Pipfile bf48c343c9 drop compatibility with python3.8 11 tháng trước cách đây
Pipfile.lock bf48c343c9 drop compatibility with python3.8 11 tháng trước cách đây
README.md 46222fd196 readme: added command to install from vcs 5 năm trước cách đây
mypy.ini f366c7e49d pipeline: run mypy 5 năm trước cách đây
setup.cfg 1e7fc4b920 initial 8 năm trước cách đây
setup.py bf48c343c9 drop compatibility with python3.8 11 tháng trước cách đây

README.md

tooncher

automates toontown rewritten's login process

Last Release Python Version

Installation

$ pip3 install --user --upgrade tooncher
# or
$ pip3 install --user git+https://github.com/fphammerle/tooncher@master

Optional: Install cpulimit to enable use of parameter --cpu-limit

$ sudo apt-get install cpulimit

Configuration

# default path: $HOME/.tooncher
accounts:
- username: toon
  password: secret
- username: ceo
  password: golf
- username: cfo
  password: train
engine_path: '/opt/Toontown Rewritten/TTREngine'

Usage

$ tooncher [username]

tooncher --help shows all available options.

Examples

$ tooncher toon
$ tooncher ceo
$ tooncher --cpu-limit 70 cfo

Python Interface

import pathlib
import tooncher

tooncher.launch(
    engine_path=pathlib.Path('/somewhere/toontown-rewritten/TTREngine'),
    username='toon',
    password='secret',
)