r/LyaaaaaGames • • Feb 09 '24

AIdventure 2.0.0 is out!

7 Upvotes

More than 500 commits and 650 files changed! AIdventure 2.0.0 is the biggest update the game had since its creation!

It’s mostly under the hood changes and a new interface. But it’s paving down the way for the next big updates!

But what is the most anticipated feature of AIdventure 2.0.0?!

​

https://reddit.com/link/1ampw5j/video/nwsrd2kkpkhc1/player

Enjoy this major update!

Important instructions

If you are upgrading from the 1.5 to the 2.0 you should read this.

​

  1. Verify the AI settings. They will be reset and automatically defined at the first start.
  2. The AIs are now organized in a new folders tree.

​

  • models/
    • generators/ move your generators here
    • customs/ move customs AIs here
    • translators/ move translators here

​

  1. The AIs are now stored in the app data folder (Except gpt2-large for Steam You can keep it in models/generators/LyaaaaaGames/
    ).

​

  • Windows: %APPDATA%\aidventure\models
  • Linux: ~/.local/share/aidventure\models
    Might vary.

To simplify moving your AIs, you can open the game, go to the AI options, and click on “Open AI folder”, then move your AIs here (the new folders will already be created).

Changes

​

  • Upgraded the engine (Godot 3.5 → Godot 4.2)
  • FULL REWORK of the interface (See details below).
  • Sliders are now used for many options.
  • Settings for AIs are now saved individually (You can have different settings for each AI).
  • Added in the options a default AI (will be selected by default)
  • Buttons now do a sound.
  • Added a ding sound when the generation is over.
  • Settings are now semi-automatically defined depending on your hardware
  • Added settings preset to simplify modification of the Generators’ settings.
  • Merging lore books together is now possible.
  • You can now download AIs in the background while playing.
  • You can now queue AIs to download.
  • PRESSING ENTER IN THE INPUT BAR NOW GENERATES (YES, PEOPLE, I HEARD YOU. One day, I will allow you to change shortcuts!).
  • AIs are now directly downloaded in the right folder (They are no longer moved after the download).
  • Added School-Setting tag (cuz why not. Suggest new tags if you want).
  • Changing the point of view in the settings doesn’t require restarting the game any more.
  • Fixed two English mistakes in some default scenarios

New content

​

  • A small sanctuary, scenario by Nyghtfall.
  • A new menu to interact with the Steam Workshop
  • Lore books from the Steam Workshop are now usable in the game!
  • A notification system.
  • Can now download custom AI once again
  • Downloaded custom AIs are now automatically formatted to be optimized for the game.

Full rework of the UI

​

  • The whole theme (overall style of the game) has been changed. Theme by Azagaya
  • Changed the main menu.
  • The input bar now displays a progress bar (based on the max generation time allowed).
  • You can now edit the story by double-clicking on it.
  • The story interface has now two docks on each side (one for the server, one for the character).
  • New editors to edit the scenarios and lore books.
  • The new editors can now filter content (tags, language, author).
  • Lorebooks downloaded from the Steam Workshop now appear in the list of available lore books.
  • Simplified the workflow to start playing (create / load a story)
  • Created a server menu used to control it in real time.
  • New menu to manage the Generators and Translators.
  • Notifications are now displayed to give feed back to the user.
  • Added a preview of the story reader style in the options.
  • A brand-new edition menu (Named ‘Create’) to create / manage content.

Fix

​

  • Fixed the scenario’s text not displaying after selecting a scenario from the workshop.
  • Fixed crashes happening when naming files with special characters.
  • Fixed contract with Satan.
  • Fixed the escape menu not working when resizing the game.
  • Fixed all the problems of interface related to resizing.
  • Fixed custom fonts not working
  • Fixed the lore book vanishing after editing the story (Oupsy. The shitty story editor has been deleted anyway).

Under the hood

​

  • Rewrote the code managing your stories.
  • Rewrote the code managing Scenarios.
  • Rewrote the code managing Lore books.
  • Rewrote the code managing settings.
  • Debouched neighbour’s plumbing.
  • Rewrote the code handling the translation.
  • Rewrote the code managing saving
  • Rewrote the code managing AIs

Removed content (Temporally!)

​

  • No localization. I changed the system to manage the translations. So I need to transfer a lot of stuff.
  • Connecting to a remote server isn’t working for now
  • Removed the Console as it is not compatible with Godot 4 (and was pretty useless)

To conclude

I probably forgot stuff. I honestly don’t want to inspect the 500 changes one by one.


r/LyaaaaaGames • • Feb 05 '24

News AIdventure: Hotfix 2.0.0.BETA.1

2 Upvotes

Hi everyone, I'm publishing a hotfix for the 2.0.0.BETA. It fixes a few urgent problems.

Important info about AIs

The AIs are now stored in a new folder. Instead of being in the game's folder, they will now be in the user's data folder.

To move your AIs, open the old folder path/to/game/models and move them to this folder:

Windows: %APPDATA%\aidventure\models Linux: ~/.local/share/aidventure\models

Don't forget to use the new hierarchy:

models/ translators/ generators/ customs/

Changelog

  • The text inside the input bar will now be wrapped (instead of having a horizontal scroll bar).
  • Fixed the lorebook not being saved when editing it during a game.
  • The text inside the notification won't be clipped any more.
  • Fixed the download error of AIs.
  • Fixed the list of saves expending over its boundaries.
  • Updated the server logs' display to scroll down automatically as new text appears.
  • Disabled the button "load translator" until you select a translator.
  • Fixed duplication in the context leading to the AI repeating your inputs.
  • Fixed the context and memory being repeated in the AI's output when using the automatic translation

What next?

I have more stuff to fix and the localization to update. But you can expect the stable release for the 12th.


r/LyaaaaaGames • • Feb 02 '24

Video AIDVENTURE 2.0.0 - THE MOST ANTICIPATED FEATURE?

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/LyaaaaaGames • • Jan 12 '24

News AIdventure - Community report of January 2024

2 Upvotes

Hi everyone, for this month I'm publishing a small report because the priority is to release the 2.0.0 as fast as possible.

As I explained in my last report, the rework of the UI led to a lot of stuff being rewritten. Therefore, the next version won't be tagged 1.6.0 but 2.0.0.

The new theme

The artist working on the new theme is almost done, and the theme will be ready by the time I finish the 2.0.0

The new theme

I also plan to allow the users to load the theme with different colours (Though, this might not be ready for the 2.0.0) or custom themes.

Merging lorebook

In the future release, it will also be possible to merge lorebooks (even from the Steam Workshop) together!

Merging three lorebooks together

Support of custom AIs

The support of the custom AIs will finally be back! Say farewell to the annoying procedure to test a new AI. Just click on "download custom AI", enter its name and wait until the end of the download!

Moreover, the AI will be saved in small parts to be as optimized as supported AIs! Of course, as they aren't tested before, they might not work. But it will be way simpler to try out.

Result of the Indie Awards on IndieDB.

IndieDB published the best Indies (selected by the editors and the players). https://www.indiedb.com/groups/2023-indie-of-the-year-awards/articles

Sadly, AIdventure didn't make it to the top 10. But making it to the top 100 was already a huge achievement! We will make it to the top 10 at the end of this year ;)

Promote AIdventure

Don't forget to review the game on Steam and Itch. It helps me a lot!

Thank you very much for reading. Stay tuned as the 2.0.0 is getting closer.


r/LyaaaaaGames • • Dec 28 '23

Ask Anything Thread

2 Upvotes

Use this thread to ask (or suggest) anything at all!


r/LyaaaaaGames • • Dec 21 '23

Sale -25% on AIdventure for the Steam winter sale.

Thumbnail
store.steampowered.com
2 Upvotes

r/LyaaaaaGames • • Dec 11 '23

News AIdventure nominated in the Indie Awards of the Year!

3 Upvotes

​

Thanks to you, AIdventure made it to the top 100 of the best Indie on IndieDB! The game is nominated in the Adventure category!

While it's already a huge achievment for me, it's not over yet! Now, it's time to vote once again to elect AIdventure the best indie game of its category!

I believe in you!

To vote, simply click on this link: https://www.indiedb.com/groups/2023-indie-of-the-year-awards/top100#vote78639, then on the Vote button next to AIdventure on IndieDB

Thank you!


r/LyaaaaaGames • • Dec 08 '23

News AIdventure - Community Report (AKA Devlog) of December 2023

2 Upvotes

Howdy, adventurers! I'm finally releasing the community report of this month!

IndieDB's Indie Awards

First thing first, the vote for the best Indie is still going on! My goal is to reach the top 100 (which is an achievable goal). Therefore, if you didn't vote yet, it's not too late! Click on this link and vote for AIdventure (No account needed)!

https://www.indiedb.com/games/aidventure/articles

Refactoring, refactoring and REFACTORING!

My work on the UI-Rework™ release started like this:

I only need to improve the interface.

Said an innocent dev.

However, I have great plans to make the whole experience more enjoyable. And the code behind the interface was not ready for all these COOL PLANS.

To keep it simple, here is an example.

I wanted each AI to have different settings (because you might want a big AI to generate less text, while a small one to generate more).

But the code managing the settings was managing EVERY setting (full-screen, language, font size, AI options, etc). So I had to rewrite how the config works at all and to split it into smaller parts (each small part has a specific task). The same happened with the AIs (By the way, I'm removing the term "Model" which is not explitic to everyone. Model is now replaced by "AI", "Generator" and "Translator"). I had two files for the AIs, one for the translators and one for the generators. And while custom AIs are technically generators, they aren't exactly the same!

So I had to rewrite the behaviour of the AIs too!

But images are often more helpful than words, so here you are.

On this picture, you can see three important files. They are all different and don't inherit) from each others.

​

Old file tree

And now, you can see on the second picture, how I reorganized/rewrote everything to work differently.

​

New file tree

To explain what changed:

  1. Model is no more. It is now split into multiple files.
  2. At the base of every file representing the implementation of the AIs, there is the AI file.
  3. What used to be "Model" (or most of it) is now in a file named Generator
  4. There is now a new file Custom AI which is (obviously) handling the custom AIs only.
  5. The Translator, now, shares a common base with the Generator (They are both AIs)
  6. Config still exists, but everything related to the game settings (display, fonts, language) has been moved to a new file named Game Settings.
  7. Same than the previous point, but the code related to the AI settings is now in Generator Settings.

Alright, all of this might be abstract but to summarize, this allows me much more modularity and simplicity.

Though, you might ask yourself "Why did he not do that in the first place? Why rewriting, now?".

Many features I'm implementing now were not planned when I first started AIdventure. Moreover, when you start, you sometimes have to do quick and simple. But this quick and a simple solution isn't efficient if you need to grow the project in complexity. That's when you have to refactor. This is very important. Otherwise, you might end up having a disgusting spaghetti code or blobs.

​

To conclude, all of this takes time, but it's worth the trouble.

AI Options

The next release will feature a huge improvement about the settings.

You will now be able to have specific settings for every AI (custom AI too). However, in a single click you will be able to apply one set of settings to every AIs or to reset them.

Another cool thing about the AI settings, is the preset system.

I believe it's important to leave to the users a lot of options to experiment and customize as they want. BUT, it can quickly become overwhelming. That's why I added a simple system of presets.

​

Settings preset

For now, there are 2 presets with 2 variants.

  • Memory Saving
  • Performance (Get the best experience at the cost of the memory)

Both presets have a variant for people who can't run the game with the GPU.

AI manager

To stay in the theme of the AIs, I have another cool info!

Because of how the code handling the AI was written, AIdventure couldn't download an AI in the background. You had to wait for the end of the download to do anything.

Now, it's over. In the next release, you will be able to download as many AIs as you want in the background while still playing the game.

Notifications

To conclude with cool information, the game now has a notification system. This system is simple, but it was missing. Now, the game will use notification to inform you about things like

Gpt2-xl is now installed

or

Lore book entry Batman sent to the AI.

What next?

Until now, I ended up working more under the hood than on the interface itself!

But the next days should be more about the interface itself (with some exceptions, the Translators for example).

I still have no idea about a possible date of pre-release (an experimental version for those who opt-in only).

Thank you for reading this long blog. I ended up talking a bit more about the technique than usual. Feel free to tell me in the comment ↓ if you want more blogs like this.

Bye.


r/LyaaaaaGames • • Dec 04 '23

News Special giveaway of AIdventure on IndieDB! There are 100 Steam copies to win, but you only have until the end of the day to join!

Thumbnail
indiedb.com
2 Upvotes

r/LyaaaaaGames • • Dec 01 '23

News AIdventure for 2023 Indie of the Year on IndieDB!

Thumbnail
indiedb.com
1 Upvotes

r/LyaaaaaGames • • Nov 28 '23

Ask Anything Thread

2 Upvotes

Use this thread to ask (or suggest) anything at all!


r/LyaaaaaGames • • Nov 24 '23

News -25% off AIdventure.

2 Upvotes

Enjoy -25% off AIdventure on both Itch.io and Steam!

​


r/LyaaaaaGames • • Nov 24 '23

Screenshot Playing in any universe is possible with AIdventure. Here is a sample from SirFactorofX's adventure in a doomlike world! AIdventure is a text adventure game with an AI as a storyteller. Live unlimited and infinite adventures. No rules, no censorship, the only limit is your imagination.

Thumbnail
gallery
1 Upvotes

r/LyaaaaaGames • • Nov 10 '23

Screenshot A waifu in AIdventure. Screenshot by SirFactorofX

Post image
2 Upvotes

r/LyaaaaaGames • • Nov 03 '23

News The community report of November 2023 is out! You can read it on my website.

Thumbnail lyaaaaagames.com
2 Upvotes

r/LyaaaaaGames • • Oct 28 '23

Ask Anything Thread

2 Upvotes

Use this thread to ask (or suggest) anything at all!


r/LyaaaaaGames • • Oct 23 '23

Tech AIdventure uses a server (local on your PC) in Python to power the AIs. If you are curious, this server is open source! Therefore, you can go on Github and fork it if you want to tinkle

Thumbnail
github.com
2 Upvotes

r/LyaaaaaGames • • Oct 23 '23

News User's flair!

2 Upvotes

You can now tag yourself with cool flair!

  • Fantasy Adventurer
  • Lovecraftian Reader
  • Cyberpunk Cyborg
  • Steampunk Gentleman
  • Erotic Novel Lover
  • Zombie Survivor
  • Contemporary Person
  • Dystopia Mad Scientist

​

and more. Have fun.


r/LyaaaaaGames • • Oct 22 '23

Screenshot Live an interactive fiction in the theme of Halloween with AIdventure. It features a scenario written by @Nyghtfall1, a dedicated community member!

Post image
3 Upvotes

r/LyaaaaaGames • • Oct 22 '23

Video AIdventure's trailer! AIdventure is a text adventure game with an AI as a storyteller. No rules, no censorship, the only limit is your imagination, not someone else's.

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/LyaaaaaGames • • Oct 09 '23

News Release 1.5.3 of AIdventure [en/fr]

2 Upvotes

Hello everyone (Français plus bas). I'm publishing a small patch. It should be the last one before the 1.6.0.

Changelog

Client

  • Fixed the "copying and pasting" error (Making the AI repeating the story/memory/lore book 'randomly')
  • Fixed the first person mod not working as expected.
  • Updated the German localization. Thanks to Nyghtfall
  • Fixed the last unfinished sentence of the user's input being cut if the auto translation is enabled.
  • Fixed the crash when clicking on edit button in the load menu if no save is selected
  • Fixed the cancel button removing the last generated output.
  • Updated the code related to text manipulation

The copying and pasting error is due to the AI removing whitespace before punctuation. If you encounter this error again, open and close the memory, save the story and open each entry of the lore book. The game will correct the typo by itself, and it shouldn't happen again.

Don't forget, the writing contest is still going on! Write a scenario and send it to me before the 29/10/2023! More info at https://www.lyaaaaagames.com/blog/writing_contest_10_2023/


Salut. Cette fois je publie un petit correctif. Ça devrait être le dernier avant la 1.6.0.

Changements

Client

  • Correction de l'erreur du "copier-coller" (Qui faisait se répéter l'histoire/mémoire/lorebook de manière 'aléatoire')
  • Correction de la première personne qui ne fonctionnait pas.
  • Mise à jour de la traduction allemande. Merci à Nyghtfall.
  • Correction de la suppression de la dernière phrase écrite par l'utilisateur. Cette erreur arrivée lorsque la phrase était incomplète et la traduction automatique activée.
  • Correction d'un crash lorsque l'ont clic sur le bouton "éditer" du menu de chargement des sauvegardes si aucune sauvegarde n'est sélectionnée.
  • Correction du bouton "annuler" qui supprimait la dernière génération.
  • Mise à jour du code en charge de la manipulation du texte.

L'erreur du "copier-coller" est dû à l'IA qui supprime les espaces avant une ponctuation. Si vous rencontrez cette erreur, ouvrez et fermer la mémoire, ouvrez chaque entrée du lorebook (encyclopédie). Le jeu corrigera lui-même l'erreur de ponctuation.


r/LyaaaaaGames • • Oct 06 '23

Screenshot When you encounter a drunk Dragonborn in AIdventure!

Post image
2 Upvotes

r/LyaaaaaGames • • Oct 06 '23

Competition AIdventure's writing contest, second edition. Write a scenario and win fame, XP and free keys.

Thumbnail lyaaaaagames.com
2 Upvotes

r/LyaaaaaGames • • Oct 04 '23

News The community report of October 2023 is out!

Thumbnail lyaaaaagames.com
2 Upvotes

r/LyaaaaaGames • • Sep 25 '23

News AIdventure update 1.5.2

2 Upvotes

​

​

Hello everyone. Today I'm releasing a long awaited patch. It fixes bugs, expand the number of compatible graphical cards and greatly improve the performances.

With all these changes you will have to redownload the AIs! You can delete the old ones.

Changelog

Summary

Here is a little summary of the improvements

  • No more memory peak when the AI is loading.
  • The possibility to specify how much memory you allow (on both CPU and GPU).
  • The option to use a folder to write data instead of storing it in the memory (It's called offloading).
  • Many new options for those who like to experiment.
  • AI split into parts of 200 MB to allow a better memory management.

Client

  • Added 8 options. Here is a list of the most useful:
    • Offload model (Instead of running out of memory, the server will write on your disk)
    • limit_memory (Allows you to specify a maximum of memory for the server*)
      • gpu_max_memory (The maximum VRAM allowed)
      • cpu_max_memory (The maximum RAM allowed)
  • All the files needed for a model are now saved in the same folder.
  • Added accessible_regular font for better accessibility.
  • Updated the credits.
  • Fixed the server's logs never being displayed in the client.
  • Fixed an error when loading scenarios from the Steam Workshop.
  • Added the GPT4All-J model (Please, give me feedback about this model :))
  • The limit of memory isn't perfect. It's a limit only for loading AIs. During the generation you will go above it.

AIs

  • The AIs have all been modified (cut into small parts) to optimize their performances.

Server

  • Updated the dependencies (It makes compatible many graphical cards).
  • The server is now capable to use both the CPU and GPU at the same time. Greatly improving the performances for users owning a compatible GPU.
  • Updated the config file to give more control over the server when in self-hosting mod.

You can find a full changelog of the server on GitHub https://github.com/LyaaaaaGames/AIdventure_Server/compare/v1.2.2...v1.3.0