No Description

Fabian Peter Hammerle c14c8f39b9 use slightly more specific exception types; upgrade pylint from 2.15.10 to 2.16.1 2 days ago
.github 4d82badb86 build(deps): bump actions/setup-python from 3 to 4 7 months ago
tests 5099ae1500 drop compatibility with python3.5 1 year ago
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 days ago
.gitignore 685954acba pipeline / pipenv: explicitly specify python version to workaround pipenv picking highest available 2 years ago
.pylintrc 999596a8be pylint: enable various optional checks/extensions 8 months ago
CHANGELOG.md bb81c11305 tooncher._login: raise `RuntimeError` instead of `Exception` when server sends unexpected/unsupported response (fixing pylint's broad-exception-raised warning) 2 days ago
LICENSE.txt 5b192b434a release v0.4.1 3 years ago
Pipfile 5893ad3b90 dev env: add upper version constraint for isort to keep compatibility with python3.7 (has not reached end-of-life yet) 2 days ago
Pipfile.lock 163148fddb build(deps-dev): bump pylint from 2.15.10 to 2.16.1 2 days ago
README.md 46222fd196 readme: added command to install from vcs 2 years ago
mypy.ini f366c7e49d pipeline: run mypy 2 years ago
setup.cfg 1e7fc4b920 initial 6 years ago
setup.py c2487fce29 drop compatibility with python3.6 1 year 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',
)