Bez popisu

Fabian Peter Hammerle 6857c6fde7 release v1.0.0 před 4 roky
tests 9789ac2889 cli: fail if select username not in config file or ambiguous před 4 roky
tooncher e8f594db8b pass all env vars to engine před 4 roky
.gitignore 2509eff02f pipenv: add pytest-cov před 4 roky
.pylintrc 5860e57415 pylint: disable bad-continuation & missing-docstring check před 4 roky
CHANGELOG.md a8ebf39820 release v1.0.0 před 4 roky
LICENSE.txt 5b192b434a release v0.4.1 před 4 roky
Pipfile 2509eff02f pipenv: add pytest-cov před 4 roky
Pipfile.lock 2509eff02f pipenv: add pytest-cov před 4 roky
README.md c9a16ec2b7 readme: added python interface snippet před 4 roky
setup.cfg 1e7fc4b920 initial před 7 roky
setup.py 244867b050 setup.py: added classifiers před 4 roky

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