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