Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

AIdventure

Text adventure game with an AI. No rules, no censorship, the only limit is your imagination, not someone else's. · By Lyaaaaaaaaaaaaaaa

FAQ Sticky

A topic by Lyaaaaaaaaaaaaaaa created Dec 17, 2021 Views: 2,213
Viewing posts 1 to 1
Developer (53 edits)

Ask your questions here! I will try to update this post to answer your questions.

Is there a tutorial?

There is no official tutorial yet. But you can find guides made by fans here: https://steamcommunity.com/app/2114790/guides/

Is there a phone version?

No.


Are AMD GPU supported?

Not yet.


Do I have to reinstall the game if I installed the demo but bought the full version?

No. You can use the same installation folder. You just need to overwrite the demo folder with the full version files.


In what order are sent the memory, lorebook info and context to the AI?

  1. Memory
  2. Lorebook info (if you triggered some entries with the keys)
  3. The context (The x last characters of your story)
  4. Your input

Where can I share/download community content?

  • You can share/download content wherever you want, but I recommend using the community Discord

I downloaded new scenarios, how do I add them to my game?

  • In the game’s folder, open the scenarios folder and add the downloaded scenarios there.
  • You also can open the game, then the scenario editor and click on Open scenario's folder

How does the lore book work?


How to manually add a new AI?

  1. Add your AI in the models folder
  2. Enable the remote server option in the game
  3. Manually start the server by running the run_server.bat or run_server.sh
  4. When the game will ask you to choose a model, you will be able to choose a custom AI
  5. Write the relative path from models to the AI (If your AI is named “CustomGPT” in the models folder, the path should be CustomGPT.)

Alternatively, you can just request the AI, I might add it in the next update


How can I request a new AI?

  • Create a new post on this forum requesting it.
  • Or request it on the Discord

I have an error every time I clic on Generate

If your game’s version is at least in the 1.5.2

  1. Go in AI Options
  2. Display advanced options
  3. Set Torch_Dtype to float32

The AI is producing very short answers (Or nothing)

Each AI is different and may take more or less time to answer you. The smaller the AI, the more text it will generate in the given time, but a bigger AI will probably produce more convincing answers. Here are a multiple way to improve the generation:

  1. Go in the Options
  2. Go in AI options

You can

  • Increase Max time
  • Reduce Generation's max length, Context max length, memory max length
  • Uncheck Remove unfinished sentence

I downloaded an IA, but I got an error looking like this “RuntimeError: unexpected EOF, expected 16557169 more bytes. The file might be corrupted.” and a lot of more.

The AI is probably corrupted because the download got interrupted

  • Try deleting the AI folders
    • Delete path/to/your/game/models/name_of_your_model on Linux or path\to\your\game\models\name_of_your_model on Windows.
    • Delete path/to/your/game/tokenizers/name_of_your_model on Linux or path\to\your\game\tokenizers\name_of_your_model on Windows

How to add custom fonts?

  1. Download fonts.
  2. Create a fonts folder in the game’s folder.
  3. Move the downloaded .ttf files in the newly created fonts folder.
  4. Restart the game.

I got the “WARNING: Couldn’t find environment at path/to/conda/envs/aidventure

This error means the game can’t start the server because the environment is missing. It can come from an existing installation of conda somewhere on your pc. The environment might be installed in your first conda installation’s folder.

  • Either move the environment to the new conda folder
  • Or edit the settings.cfg file and change the conda= path to the correct path (original install path).

Where can I find the game’s logs?

  • On Windows - %APPDATA%/Roaming/aidventure
  • On Linux - ~local/share/godot/app_userdata/AIdventure OR ~.local/share/godot/app_userdata/AIdventure

The installation fails at “Creating environment” and doesn’t output any logs (Windows only)

The end of the logs should look like this

[2022.04.11 18:45:31] | INFO  | [installer.gd] [create_environment] >> Successfully created the environment

[2022.04.11 18:45:31] | DEBUG | [installer.gd] [create_environment] >> []

Or like this

[2022.04.10 15:03:31] | ERROR | [installer.gd] [create_environment] >> Failed creating the environment. Error: 1
[2022.04.10 15:03:31] | DEBUG | [installer.gd] [create_environment] >> []

Make sure to verify the folder named mamba in your game folder. If in this folder you find no directory named condabin then it indeed failed.

  • Try to disable your antivirus and see if the installation works (This happened with an user of AVG AntiVirus Free).
  • Make sure the path to your game has no white space!

ERROR: Not enough response headers, got: 3, expected >= 4. when starting a game.

This happened on Windows 11. Shutdown Blue Stacks software and try starting a new game again.


USER ERROR: Invalid status code. Got: '404', expected '101'.

Acronis True Image is causing this error when you try to start the server. Try to shut it down, otherwise, uninstall it.


The game doesn’t use my GPU

Please, try the following:

  1. Verify your card supports CUDA on https://developer.nvidia.com/cuda-gpus
  2. AIdventure has to load in your VRAM (memory of your card) the AI. If the AI is too big it will fall back to the CPU. Try to load the smallest model (e.g. distilgpt2)

failed to create process when trying to run the server

  • Make sure you have no white space in your game path.