dependabot[bot] 58233190e8 build(deps-dev): bump pytest from 8.2.2 to 8.3.2 (#181) | 4 bulan lalu | |
---|---|---|
.github | 11 bulan lalu | |
tests | 3 tahun lalu | |
tooncher | 1 tahun lalu | |
.gitignore | 4 tahun lalu | |
.pylintrc | 2 tahun lalu | |
CHANGELOG.md | 1 tahun lalu | |
LICENSE.txt | 5 tahun lalu | |
Pipfile | 1 tahun lalu | |
Pipfile.lock | 4 bulan lalu | |
README.md | 4 tahun lalu | |
mypy.ini | 4 tahun lalu | |
setup.cfg | 8 tahun lalu | |
setup.py | 1 tahun lalu |
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',
)