Build youself - drizzle-mizzle/Character-Engine-Discord GitHub Wiki

Prerequirements

  1. Install git or GitHub Desktop and .NET 7 SDK
  2. Clone the repo git clone https://github.com/drizzle-mizzle/Character-Engine-Discord.git
  3. Go to the project directory
    image

Build and run

  1. Execute git pull to make sure you have all the latest updates
  2. Execute dotnet build Character-Engine-Discord.csproj to build or re-build the application
    2.1 [Needed only if you want to use CharacterAI on Linux machine] Install Puppeteer dependencies (for Debian-like distros: sudo apt install libgtk-3-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2)
  3. Execute dotnet run Character-Engine-Discord.csproj to run the application

Compile and publish (this part can be ignored as bot can work in run mode without any problems)

  1. Execute dotnet publish Character-Engine-Discord.csproj -c Release -r linux-x64 --self-contained false
  • If you use Windows or macOS, change linux-x64 to win-x64 or osx-x64 accordingly;
  • If you use 32bit system, you can change -x64 to -x86, but I can't guarantee it will work flawlessly, you're on your own here

image

  1. Go to the Character-Engine-Discord\bin\Release\net7.0\[win|linux|osx]-x64
  2. Your built application will lay in the publish folder ready to work.

  • You may want to add -p:PublishSingleFile=true parameter to the publish command, so you could get a pretty little binary file instead of the .dll mess:
dotnet publish Character-Engine-Discord.csproj -c Release -r linux-x64 --self-contained false -p:PublishSingleFile=true
  • But you will have to manually copy config.json file and storage folder from [win|linux|osx]-x64 folder to the publish folder.

    image

    image

⚠️ **GitHub.com Fallback** ⚠️