[2023-09-10] AI backend integration (ChatGPT and more), script engine reworks, various UI improvements


This is a major release, comprising one year's worth of development (although I did take breaks in between :) ).

Major changes include:

  • Script engine revamp:
    • A new Evil script engine is implemented, completely replacing the old one.
    • It's performance is 5 to 10 times faster than the old script engine, and supports a lot of language features that you often see in other programming languages.
    • This release introduce a lot of breaking changes! For more information, see https://github.com/Kagamma/satania-buddy/wiki/Scripting-Reference

  • AI backend integration (ChatGPT, KoboldCPP, Oobabooga, WolframAlpha):
    • Implemented directly in evil script, allows you to change and tweak the source code easily.
    • For ChatGPT, you need to supply your own key, by opening ChatGPT.evil file (click on the pencil button in chat window), and replace <YOUR SECRET KEY> with your key.
    • For KoboldCPP and Oobabooga, all you need to do is to run them alongside with satania-buddy. As long as their settings don't change, satania-buddy should be able to connect to their API.
    • If you host your KoboldCPP / Oobabooga instance on a remote server, make sure to change API endpoint in koboldcpp.evil / oobabooga.evil source code.
    • (Please note that Oobabooga integration was implemented back in May, and there might have been changes since then because the Oobabooga API is not as stable as KoboldCPP's)
    • (As a side effect, the old built-in WolframAlpha service and external 3rd party service have been removed. "Rules" feature is also disabled by default, as it will conflict with new AI backend integration)
    • See https://github.com/Kagamma/satania-buddy/wiki/External-Services for more related information.
  • UI overhaul:
    • Implemented a new chat window, replacing the old one for improved AI backend integration, enabling AI service selection within the chat window.
    • Added support for saving and editing chat history for each character.
    • New chat bubble, completely replacing the old one. Non-latin fonts are supported, without having to define character set like the old chat bubble.
    • Improved Evil script editor with dark theme support and enhanced color highlighting for Evil script and JSON. You can also open multiple code editors at once.
    • Introduced new UI changes in other areas such as the Settings dialog, Alarms and Reminders dialog, etc.
  • New Satania model (please note it's not finished yet, and you can still access the old model via Settings menu):
    • Satania in gym uniform!
    • There're plans to add expressions to the new model, and make her react to chat.
  • Bugfixes and other minor improvements.
    • Bumped Spine2D support to version 4.1.
    • Fixed Sit On Window bug, causing sprite not appear when moving to other monitors.
    • Fixed json_parser() and json_stringify()
    • Fixed minor bug that cause POST request invalid.
    • Fixed a bug that cause touch panel not working on sprite-based characters.
    • Fixed issue with ansi strings.
    • Fixed reminder bug.
    • Fixed array concat bug.
    • And many other fixes and improvements, see https://github.com/Kagamma/satania-buddy/commits/master

Files

win64.zip 59 MB
Sep 10, 2023
linux64.tar.gz 56 MB
Sep 10, 2023

Get Satania Buddy

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.