sudo apt-get install libleptonica-dev libtesseract-dev tesseract-ocr pipenv
Other ways to install pipenv: https://pypi.org/project/pipenv/#Installation
pipenv install
- Set environment variables
TIBIA_PID=<the tibia PID>
TERMINATOR_PATH=<directory path where Tibia Terminator is located>
- Configure Tibia Terminator
cd "${TERMINATOR_PATH}"
pipenv shell
sudo -E $(which python3.8) -m tibia_terminator.tools.app_config_manager \
"${TERMINATOR_PATH}/tibia_terminator/app_config.json" \
find_addresses \
--tibia_window_config "${TERMINATOR_PATH}/char_configs/tibia_window_config.json" \
--hotkeys_config "${TERMINATOR_PATH}/char_configs/hotkeys_config.json" \
--pid ${TIBIA_PID}
- Execute Tibia Terminator
cd "${TERMINATOR_PATH}"
pipenv shell
sudo -E $(type -p python3.8) -m tibia_terminator start \
--app_config_path "$(TERMINATOR_PATH)/tibia_terminator/app_config.json" \
--char_configs_path "${TERMINATOR_PATH}/char_configs/" \
--tibia_window_config_path "${TERMINATOR_PATH}/char_configs/tibia_window_config.json" \
--debug_level 1 \
${TIBIA_PID}