dependabot[bot] ee4a51c259 build(deps-dev): bump wrapt from 1.16.0 to 1.17.0 (#197) | 4 days ago | |
---|---|---|
.github | 1 year ago | |
tests | 3 years ago | |
tooncher | 1 year ago | |
.gitignore | 4 years ago | |
.pylintrc | 2 years ago | |
CHANGELOG.md | 1 year ago | |
LICENSE.txt | 5 years ago | |
Pipfile | 1 year ago | |
Pipfile.lock | 4 days ago | |
README.md | 4 years ago | |
mypy.ini | 4 years ago | |
setup.cfg | 8 years ago | |
setup.py | 1 year ago |
automates toontown rewritten's login process
$ 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
# default path: $HOME/.tooncher
accounts:
- username: toon
password: secret
- username: ceo
password: golf
- username: cfo
password: train
engine_path: '/opt/Toontown Rewritten/TTREngine'
$ tooncher [username]
tooncher --help
shows all available options.
$ tooncher toon
$ tooncher ceo
$ tooncher --cpu-limit 70 cfo
import pathlib
import tooncher
tooncher.launch(
engine_path=pathlib.Path('/somewhere/toontown-rewritten/TTREngine'),
username='toon',
password='secret',
)