No Description

Fabian Peter Hammerle 685954acba pipeline / pipenv: explicitly specify python version to workaround pipenv picking highest available 3 years ago
.github 685954acba pipeline / pipenv: explicitly specify python version to workaround pipenv picking highest available 3 years ago
tests 9f5f3a6e9f fixed test_start_engine_mac 4 years ago
tooncher d2ec81428d change user agent to workaround blacklisting of "Python-urllib/3.*" 3 years ago
.gitignore 685954acba pipeline / pipenv: explicitly specify python version to workaround pipenv picking highest available 3 years ago
.pylintrc 967f52b61e pipenv: added pylint 4 years ago
CHANGELOG.md c485d1f220 release v1.0.2 3 years ago
LICENSE.txt 5b192b434a release v0.4.1 4 years ago
Pipfile 685954acba pipeline / pipenv: explicitly specify python version to workaround pipenv picking highest available 3 years ago
Pipfile.lock 685954acba pipeline / pipenv: explicitly specify python version to workaround pipenv picking highest available 3 years ago
README.md 46222fd196 readme: added command to install from vcs 3 years ago
setup.cfg 1e7fc4b920 initial 7 years ago
setup.py 47400a4add setup.py: use readme as long description 4 years 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',
)