Fabian Peter Hammerle 2509eff02f pipenv: add pytest-cov | пре 4 година | |
---|---|---|
tests | пре 4 година | |
tooncher | пре 4 година | |
.gitignore | пре 4 година | |
.pylintrc | пре 4 година | |
CHANGELOG.md | пре 4 година | |
LICENSE.txt | пре 4 година | |
Pipfile | пре 4 година | |
Pipfile.lock | пре 4 година | |
README.md | пре 4 година | |
setup.cfg | пре 7 година | |
setup.py | пре 4 година |
automates toontown rewritten's login process
$ pip3 install --user --upgrade tooncher
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',
)