dependabot[bot] 5167db6100 build(deps-dev): bump mypy from 1.11.1 to 1.11.2 (#186) | 2 месяцев назад | |
---|---|---|
.github | 11 месяцев назад | |
tests | 3 лет назад | |
tooncher | 1 год назад | |
.gitignore | 4 лет назад | |
.pylintrc | 2 лет назад | |
CHANGELOG.md | 1 год назад | |
LICENSE.txt | 4 лет назад | |
Pipfile | 1 год назад | |
Pipfile.lock | 2 месяцев назад | |
README.md | 4 лет назад | |
mypy.ini | 4 лет назад | |
setup.cfg | 8 лет назад | |
setup.py | 1 год назад |
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',
)