dependabot[bot] cebc6adf3b build(deps-dev): bump pytest from 8.3.2 to 8.3.3 (#188) | 2 meses atrás | |
---|---|---|
.github | 11 meses atrás | |
tests | 3 anos atrás | |
tooncher | 1 ano atrás | |
.gitignore | 4 anos atrás | |
.pylintrc | 2 anos atrás | |
CHANGELOG.md | 1 ano atrás | |
LICENSE.txt | 4 anos atrás | |
Pipfile | 1 ano atrás | |
Pipfile.lock | 2 meses atrás | |
README.md | 4 anos atrás | |
mypy.ini | 4 anos atrás | |
setup.cfg | 8 anos atrás | |
setup.py | 1 ano atrás |
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',
)