dependabot[bot] 5fba21397e build(deps-dev): bump black from 24.4.2 to 24.8.0 (#184) | 3 miesięcy temu | |
---|---|---|
.github | 11 miesięcy temu | |
tests | 3 lat temu | |
tooncher | 1 rok temu | |
.gitignore | 4 lat temu | |
.pylintrc | 2 lat temu | |
CHANGELOG.md | 1 rok temu | |
LICENSE.txt | 4 lat temu | |
Pipfile | 1 rok temu | |
Pipfile.lock | 3 miesięcy temu | |
README.md | 4 lat temu | |
mypy.ini | 4 lat temu | |
setup.cfg | 8 lat temu | |
setup.py | 1 rok temu |
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',
)