Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

There appears to be a problem with dictionaries in the downloadable versions of both 2.3 and 2.5.

No matter what I do, I cannot get it to actually provide dictionary content to the models during play. Include an external dictionary? Nothing. Put something in the default dictionary? Still nothing. Check 'Always Inject'? No reaction. Regex, Recursive, Whole Words...? Doesn't matter. Check different AI model? No change. Check different worlds? Nope! Nothing I do can get the program to include dictionary content in the AI context.

Strangely enough, this is not the case in the web version. There everything works as expected. It is only the downloadable version that has this bug.

I am using the windows version, in case that helps.

Did you remove dictionaries from your prompt on Desktop?

(1 edit)

No, I used a slightly customised prompt, then also used the default prompt and the simplified prompt during testing. Nothing from the dictionary in any of them. Checking the AI context, I can see where it's meant to put it, but no matter what it just gives N/A.

You'd have to give me something reproducible. I asked in the discord but no one else seems to be having that issue. a pretty bad issue at that.

In order to create a step-by-step guide to reproduce the error, I made a second install in a clean new folder and set up the exact same circumstance that led to the error before (i.e. opened up a world with dictionary entries, then asked about something relating to those at the first opportunity). This time, it actually worked for some reason, the AI managed to use dictionary content to make its response.

The bug still persists in the old install, but not the new one. Copying over the userdata folder from the old install to the new install caused the bug to appear. Strange and troubling. Currently suspecting that the formatting for the prompts (including default) got corrupted somehow.

I am going to do another clean install, import the things I want from the old install one-by-one, and see at what point the bug appears. If I do find anything fixable, I'll report back here.

nice, thank you for taking the time for this. sounds like there's a bug to fix but it's not from the default settings. this should reveal it and prevent others from running into it. 

(2 edits)

So my problem turned out to be two problems...

  1. my old install is subtly broken, possibly due to a bug in the in-program update feature or due to me trying to use the .exe in 'app' folder before realising my mistake. Earlier, when I tried to run the default 'Reincarnated to Another World as a Cute Assault Drone' world the placeholders were super broken in the introduction message. And, of course, now that I want to show that brokenness it is suddenly working normally again. In either case, I am unable to reproduce this... weirdness.
  2. If you open Formamorph 1.2.0, export a world that has the dictionary entry {key: '--', value: 'Ignore this'} and then import said world into Formamorph 2.3+, then the dictionary for that world is permanently broken. Even if you remove that entry and add other entries. I found this out with the world I was using to debug test things (modified version of "Test Your Ai's Knowledge" with that entry present along with several others). In other words, I was using a broken world to try and find general problems with the entire program. No wonder things did not seem to add up.
    1. This bug does not occur if you import a world .json exported from 2.3+, only when the file was exported from 1.2.0.
    2. I have no idea how that error managed to spread to all worlds on my original install. Right now, I'm just chalking it up to the general brokenness of that install. Possibly that I did a multi-import with the problem-causing world present? Not sure.

I pushed a serialization fix for dictionaries/placeholders which may solve it in the future.