|
8 uur geleden | |
---|---|---|
.github | 9 maanden geleden | |
tests | 2 jaren geleden | |
tooncher | 1 jaar geleden | |
.gitignore | 4 jaren geleden | |
.pylintrc | 2 jaren geleden | |
CHANGELOG.md | 1 jaar geleden | |
LICENSE.txt | 4 jaren geleden | |
Pipfile | 11 maanden geleden | |
Pipfile.lock | 8 uur geleden | |
README.md | 4 jaren geleden | |
mypy.ini | 3 jaren geleden | |
setup.cfg | 7 jaren geleden | |
setup.py | 1 jaar geleden |
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',
)