dependabot[bot] 7d1e6cbcf6 build(deps-dev): bump mypy from 1.11.0 to 1.11.1 (#183) | hai 3 meses | |
---|---|---|
.github | hai 11 meses | |
tests | %!s(int64=3) %!d(string=hai) anos | |
tooncher | hai 1 ano | |
.gitignore | %!s(int64=4) %!d(string=hai) anos | |
.pylintrc | %!s(int64=2) %!d(string=hai) anos | |
CHANGELOG.md | hai 1 ano | |
LICENSE.txt | %!s(int64=4) %!d(string=hai) anos | |
Pipfile | hai 1 ano | |
Pipfile.lock | hai 3 meses | |
README.md | %!s(int64=4) %!d(string=hai) anos | |
mypy.ini | %!s(int64=4) %!d(string=hai) anos | |
setup.cfg | %!s(int64=8) %!d(string=hai) anos | |
setup.py | hai 1 ano |
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',
)