No Description

Fabian Peter Hammerle 244867b050 setup.py: added classifiers 4 years ago
tests 9789ac2889 cli: fail if select username not in config file or ambiguous 4 years ago
tooncher 9789ac2889 cli: fail if select username not in config file or ambiguous 4 years ago
.gitignore 64431eda67 gitignore: /build and /env 6 years ago
.pylintrc 5860e57415 pylint: disable bad-continuation & missing-docstring check 4 years ago
CHANGELOG.md 9789ac2889 cli: fail if select username not in config file or ambiguous 4 years ago
LICENSE.txt 5b192b434a release v0.4.1 4 years ago
Pipfile a6a79b1510 black format 4 years ago
Pipfile.lock a6a79b1510 black format 4 years ago
README.md c9a16ec2b7 readme: added python interface snippet 4 years ago
setup.cfg 1e7fc4b920 initial 7 years ago
setup.py 244867b050 setup.py: added classifiers 4 years ago

README.md

tooncher

automates toontown rewritten's login process

Installation

$ pip3 install --user --upgrade tooncher

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