-
Notifications
You must be signed in to change notification settings - Fork 2
Ch1: Setup guide
XVs32 edited this page Sep 12, 2023
·
3 revisions
You need to do this no matter what
- Run Chrome or Chromium with
debug
mode- Example:
chrome --remote-debugging-port=9222 --remote-allow-origins=*
(For Windows user: If you don't know how to start chrome with options, read this)
(--remote-allow-origins=*
is needed at the moment (2023/05/04)ref): -
Use task manager to kill all chrome process if needed.
This debug instance of Chrome must be the first instance of Chrome run. If you have other Chrome windows open,
close all of them before re-starting withremote-debugging
enabled. - How do I know if the
debug
mode is on?- ✔️Access
127.0.0.1:9222
, you should see a blank screen as follow:
- ❌Kill ALL chrome process and retry if you see this:
- ✔️Access
- Example:
Pick one from Beginner, Gamer or Developer
You have limited features but easiest installation.
- Windows
- Double click
kcauto_cui.exe
- Double click
- Linux
- Run
./kcauto_cui
- Run
That's it!
A bit more complicated but full access to all features.
- Windows
- run
.\kcauto_cui.exe
in Powershell for better user experience - or, run
.\kcauto.exe --cfg <your_config_name>
to specify your own config file
(note that you do not need to add.json
here)
- run
- Linux
- Run
./kcauto_cui
- or, run
./kcauto.bin --cfg <your_config_name>
to specify your own config file
(note that you do not need to add.json
here)
- Run
Your own Python environment, free to edit/fix the tool yourself.
-
Install Python 3.7.3
-
(Unix only) Install additional pacakges
python3-tk scrot
-
Install pip if not already installed
-
(Optional, but recommended) Install
pipenv
usingpip install pipenv
-
Install dependencies:
-
pip
-mode:pip install -r requirements.txt
-
pipenv
-mode:pipenv shell
, thenpipenv install --ignore-pipfile
-
-
Windows
- run
python .\kcauto\kcauto_cui.py
- or, run
python kcauto --cfg <your_config_name>
to specify your own config file
(note that you do not need to add.json
here)
- run
-
Linux
- Run
python3.7 ./kcauto/kcauto_cui.py
- or, run
python3.7 kcauto --cfg <your_config_name>
to specify your own config file
(note that you do not need to add.json
here)
- Run