dependabot[bot] 1ca5b5841b build(deps-dev): bump pytest from 8.2.0 to 8.2.1 (#174) | il y a 5 mois | |
---|---|---|
.github | il y a 11 mois | |
tests | il y a 3 ans | |
tooncher | il y a 1 an | |
.gitignore | il y a 4 ans | |
.pylintrc | il y a 2 ans | |
CHANGELOG.md | il y a 1 an | |
LICENSE.txt | il y a 4 ans | |
Pipfile | il y a 1 an | |
Pipfile.lock | il y a 5 mois | |
README.md | il y a 4 ans | |
mypy.ini | il y a 4 ans | |
setup.cfg | il y a 7 ans | |
setup.py | il y a 1 an |
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',
)