Skip to content

Installation Tutorial (Linux,MacOS)

Samuel Sithakoul edited this page Nov 27, 2023 · 10 revisions

Installation

Download text-generation-webui

Be sure to follow the instructions on this page beforehand to install chatbot models.

Monik.A.I Installation

  • Clone the repository or download the latest release (source code.zip)
  • Go to the project folder with your favorite IDE
  • Be sure to have Python installed (3.9), it is not tested and functional for other versions with conflicts between several libraries.

To setup all the libraries:

  • Run these commands in a terminal opened within the project folder to install the packages:
    pip install -r requirements_linux_mac.txt
    python -m playwright install firefox
    

If you don't want to use some features, you can comment them in requirements_linux_mac.txt before running these commands.

  • For troubleshooting and other issues, don't hesitate to submit an issue

Add to the game

The submod is in Releases under the name Monik.A.I-game-version.zip. To add it to your game, you have to extract it and add it in the root of your game folder (at the same location where there is already a game folder).

Usage

Execute python main.py for the chatbot feature and fill in the window the same way as for the user version. Refer to common information usage here for more information about the meaning of the options. Be sure to follow the instructions on this page to add chatbot models.

For voicing of the game in real time, run python voicing.py and launch DDLC yourself when the message Waiting for connection... appears.

Update new versions

To update, you'll just have to:

  • Run these commands to overwrite your files with the ones on the repository:
git fetch origin
git reset --hard origin
pip install -r requirements.txt
  • Download the latest Monik.A.I-game-version.zip in Releases or use the Auto Updater directly in MAS.