|  Fabian Peter Hammerle
				
				fc3b8dbccd
				tooncher/controls.py: added ref to TODO | 7 years ago | |
|---|---|---|
| scripts | 7 years ago | |
| tests | 8 years ago | |
| tooncher | 7 years ago | |
| .gitignore | 8 years ago | |
| LICENSE.txt | 8 years ago | |
| README.md | 7 years ago | |
| setup.cfg | 8 years ago | |
| setup.py | 7 years ago | 
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
Optional: Install xlib for python to enable extended controls:
$ sudo apt-get install python3-xlib
or
$ pip3 install --user xlib
# 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.
To enable the use of WASD keys for walking,
launch tooncher with the --extended-controls option:
$ tooncher --extended-controls username
While in the game press ` (grave) to enable extended controls.
Press ` again to disable.
The command line parameter --extended-controls-toggle may be used
to change the toggling key:
$ tooncher --extended-controls --extended-controls-toggle slash username
Extended controls require the X Window System (X11).
$ tooncher toon
$ tooncher --extended-controls ceo
$ tooncher --cpu-limit 70 cfo
| Key | Action | 
|---|---|
| ` | turn Extended Controls on / off | 
| W | walk forward | 
| S | walk backward | 
| A | turn left | 
| D | turn right |