No Description

dependabot[bot] cac5d69e47 build(deps): bump actions/setup-python from 2.3.0 to 2.3.1 8 months ago
.github cac5d69e47 build(deps): bump actions/setup-python from 2.3.0 to 2.3.1 8 months ago
tests 5099ae1500 drop compatibility with python3.5 10 months ago
tooncher 5099ae1500 drop compatibility with python3.5 10 months ago
.gitignore 685954acba pipeline / pipenv: explicitly specify python version to workaround pipenv picking highest available 2 years ago
.pylintrc 5099ae1500 drop compatibility with python3.5 10 months ago
CHANGELOG.md 5099ae1500 drop compatibility with python3.5 10 months ago
LICENSE.txt 5b192b434a release v0.4.1 2 years ago
Pipfile 5099ae1500 drop compatibility with python3.5 10 months ago
Pipfile.lock d6592703a7 build(deps-dev): bump types-pyyaml from 6.0.0 to 6.0.1 9 months ago
README.md 46222fd196 readme: added command to install from vcs 2 years ago
mypy.ini f366c7e49d pipeline: run mypy 1 year ago
setup.cfg 1e7fc4b920 initial 5 years ago
setup.py 4ce2fe7e6f package metadata: add python3.10 classifier 10 months ago

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',
)