Skip to main content

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

Formamorph

Every choice transforms your body and shapes your adventure · By FieryLion

General Discussion Sticky

A topic by FieryLion created 6 days ago Views: 1,935 Replies: 71
Viewing posts 1 to 17
Developer(+1)(-1)

Talk about whatever u want

(1 edit)

how to download and use the router to run it on your own computer and let the potato rest as you called it. Thanks for help. 

(overall, I didn't understand much of what you wrote in this manual)

Developer

what language do you prefer? I’ll try to translate the manual

Polish🥺

Developer(+1)(-1)

Szybki Przewodnik Konfiguracji: (Darmowa!) Konfiguracja OpenRouter

1. Utwórz Konto OpenRouter i Zdobądź Klucz API

2. Wybierz Model

  • Zalecany darmowy model: mistralai/mistral-7b-instruct:free
  • Skopiuj dokładną nazwę modelu

3. Skonfiguruj Ustawienia Gry

  • Otwórz ustawienia gry (przycisk menu w prawym górnym rogu)
  • Zmień URL API na: https://openrouter.ai/api/v1/chat/completions
  • Wklej swój klucz API
  • Wprowadź wybraną nazwę modelu
  • opcjonalnie: W tym samym menu ustawień zwiększ limit pamięci z 2k do 3k, jeśli maksymalna pamięć modelu wynosi 5k (po prostu odejmij 1-2k od maksymalnej długości kontekstu modelu)

To wszystko! Teraz powinieneś móc grać w grę używając szybszych modeli AI!

4. Więc…

  • Istnieje jednak limit dla małych darmowych modeli. Mały model 7b prawdopodobnie zawiedzie, gdy świat będzie zbyt duży i złożony, jak np. Veilwood :(
  • Jeśli chcesz grać w naprawdę dużym, złożonym świecie, polecam wydać kilka dolarów na openrouter i użyć płatnego modelu, takiego jak mistral nemo instruct. Nie musi to być drogi model, wystarczy taki, który jest inteligentny i kreatywny.
Ważne:
- Darmowe modele mają limity żądań!
- Różne modele mają więcej/mniej limitów. Możesz eksperymentować, zmieniając darmowe modele.
Najlepszy darmowy model: meta-llama/llama-3.3-70b-instruct:free
- Ten model jest bardzo inteligentny i ma ekstremalną pamięć (128K!)
- JEDNAK: ma bardziej ograniczone limity żądań, co oznacza, że nie możesz wysyłać wielu zapytań, może raz na minutę

it works thank you

I think that one is better. Can you read if it is all correct?

Developer (1 edit)

looks good! Note that the 7b model is a bit small and may fail a few requests here and there

Yeah But still, I get those messages of error all dat time. By the way. I switched again onto your vanilla settings for a bit and it wrote well. But for some weird reason, I cannot say nor understand why the openrouter.ai setup won't work. Does it have a daily capacity, that website, myabe?

Developer

oh it could be, maybe it has a daily max free limit. I’m not entirely sure sorry!

I dink it is. Because it worked well before. Like I said- 18 and more pages. But now- not even a Smithereen. I am quite certain it is with daily cap.

Developer

try a different world and see if it works, if it is then it could be a memory issue. If you try a different world and it works then it means your world save may be bugged :c

A fine idea.

Developer

for now feel free to use the default AI settings, I fixed stability issues and my PC shouldn’t drop requests anymore…most of the time

Yeah, already I am using your setup and works fine. Mayhaps there are some websites that can be without daily cap, and then we could connect to that- but that is just an idea. Good game still, FireyLion. Cheers!

Developer

glad u like it!

Although, yeah, I tried the other world but error remains- well, life. I tried the Llama free ver again.

Developer

my pc bluescreened lmao

Life, dude. We all bluescreen someday. 

And yeah, I can't get the models working from the website. Nothing. Just gotta use your default one. (Poor potato of yours, indeed.)

(+1)

Still trying to get it work somehow, but futile. I guess there is nothing to do about it.

Developer(-1)

btw using the default model should be twice as fast now

Well, yeah, default works, really. But damn, really just wanted to get the website work with it. Would have been so cool.  ;)

Developer(-1)

tbh? If you’re willing to pay openrouter a few bucks you can use the better models there, I’ve tested some

Nah, I will pass on the paying. But was cool til it worked, and now I just use your setup. But can you like, always play it by yourself? I just don't know how this whole system works, to be very fair. I just did as it was in instructions, it then worked some time, because I did it right, I presume, but now the fate hit and I'll be using your setup. Thumbs up still for trying to make it work, though! :)

I am looking into running the AI end locally to spare you some resources. Is the API key mandatory within the settings? If I run it only locally with no way for it to leave my device, it shouldn't matter too much who can use it to be honest.

Developer (1 edit)

depends on the backend you use? I think koboldcpp you leave it blank but I’m not entirely sure…

Just make sure to download the game because the browser won’t let you connect locally (localhost URL)

(1 edit)

No worries, I have downloaded the game. That part won't stop me. :V

Also, thanks for the hint about KoboldCPP! I was gonna try it using Ollama (with instructions from our old friend ChatGPT), but since Kobold can also host it as an API server, I would try that method first. That will be tomorrow though, for now I need to catch some sleep.

Developer

good luck!

I was able to get it to work! However, the output seems to fail at parsing \n and it just treats it as literal text. I'm not sure how you run your AI, but do you know a way to change how this works in KoboldCPP so that it formats it differently? It's not the end of the world, but I figure it's worth asking. >.>

Developer(+1)

ah no its a bug on the game’s part will fix next patch

What if, when selecting a world, there is just a black screen, and there is no settings button (which you are writing about) Either I'm blind, or... the problem was solved in discord but I'm too lazy to go there
Developer

can you screenshot?

Developer

what happens when you Enter a World? just black screen?

Yes

Developer

what browser are you using? Try chrome or firefox

I use chrome Now I tried firefox... and it worked
Thanks for the advice and your games I wish you health and good luck in the future
Developer

Thanks! I’m glad you like my games :)

(1 edit)

Struggling to run locally with kobold, if anyone has any advice it would be appreciated

Developer(+1)(-1)

your URL should be http://localhost:6069/v1/chat/completions

(1 edit)

does this work with lm studio cause im new to the ai scene i guess also im curious if futanari could be added

Developer

It should! Plan to add a toggle for futanari, the main problem is I do not have a 3D model of a dick :c

is there a ai you recommend on lm studio and how to use it cause im getting kinda tired of hitting a limit with the free on

Developer

mistral nemo or any of its finetunes should work and has massive memory! nemo is 128K token limit

so i have mistral nemo and turned on the server and i think i have everything connected and its not working so yeah i dont know how to use this lol

Developer

did you use the correct url? it should be http://localhost:5001/v1/chat/completions

replace 5001 with your port number

nevermind its working now lol

How can I force my character's stats to go up or down?

Developer

the AI is very lax, so you can simply tell it to do so in the prompt such as “Oh no I loss some health” and maybe it’ll play an event that makes you loose health

Will there be implemented more things to do? like grow height, butt, muscles etc?

Developer

hmm you want the player 3d model to adjust height? For muscles unfortunately this character model is too simple to define muscles. If you have 3D modelling skills you can help create new shape keys.

If you just want new in-game stats then you can just create new stats using the world editor

Had a lot of fun messing around in the default worlds (veilwoods especially), and have decided to create my own world, any tips or recommendations?

Developer(+1)

You need to keep these stats for now because they are mandatory for the 3D character viewer: Stomach, Fatness, and Breast size. Otherwise go ham, make whatever you want and share your worlds so others can play too c:

Keep the description of the entities and locations concise because too long and you use up the AI’s limited context limit, or you can use better AI models with more memory

(+1)

cheers, ill keep those in mind

(+1)

Genuinely, at least what I do, is I type out a description, role, goal, and general capabilities of a creature, take it to the AI I plan on using, and tell it to try an minimize the amount of context tokens used while keeping the theme, goals and capabilities of the creature intact for a Storytelling AI to use, it tends to work fairly well, you do get an AI occasionally going off the rails with it though.

Would it be possible to one day edit those mandatory stats? Especially the stomach one. Quite often, because its called 'stomach' and not something more general like 'belly size', it doesn't treat that stat too well, often ignoring contexts that are unrelated to food and ingestion when handling it. Very often leads to significant differences between the generated text and the 3D character viewer.

I managed to get Koboldcpp working, using Gemmasutra-Pro-27B-v1j-Q3_K_M, but it won't alter the stats of the bars like Satiety and others. Does somebody have an idea how to get it to work? Or is it even possible?

Developer(+1)

You should use an instruct model because regular RP models fail at following precise instructions like updating game stats, as they are meant to produce flowing story and not manage an actual game with RPG mechanics.

Also I heard complaints from other players that koboldcpp doesn’t work well as an AI endpoint, so you may want to switch to LMStudio instead

(1 edit)

Aaah, okay. I'll try it out then! Tha!

How can I run the LM Studio locally and get it working with the game? Oh, Is it already like local after install? 

Wanna be sure to make things correct way, that is all.

Yo, I do have a question. Would it be okay if I made a post that helps people set up a local AI so that they don't have to run off of your servers? I've kind of got the hang of it using LM Studio and the model Qwen2.5-7B-Instruct-1M-GGUF . I figure someone might as well show how to run it all locally, since it does include a bit of tweaking for the prompts. So far, the AI on my end seems to be running stable with the outputs with only occasional misfires.

Developer

sure!

I got it working also. Even the stress and health/stamina bars change.

(+1)

I noticed that traits don't affect the starting prompt/story so a trait that says "you have xyz" like Busty is ignored if the breasts stat is too low. It'd be neat if trait descriptions could be added to the AI's context. Another neat feature would be adding/removing traits through the story much like how stats change over time or just manually. i.e. you start with busty and if the breasts stat drops too low, you lose busty or allow the player to remove/add it at will. As it stands traits are basically just filler for stat changes, which is okay but there isn't really any way to shape the starting prompt/story other than numerical statistics.

That's.... very much a limit of the AI. I might be speaking for the creator a bit, but this is just what I have noticed after several hours of tinkering with the worlds, the AIs, prompts, and how AI context works. Genuinely, there's a few things that can happen, 1 is just that the AI ignores the descriptions of the stats, 2 might be that AI using "Rolling Window" or "Truncated Middle" for context Overflow (IE more data present than the AI can handle) and the AI just starts throwing data out, and inadvertantly throws out the fact that you had the trait, especially if you use Rolling Context, where unless you are specifically telling the AI you have X trait every other passage 9Most rolling windows only have a 2k Context limit) the AI will completely forget you have X trait. Or it could just be that the AI doesn't see the trait as important or have an effect on the story, and again, it just throws it out or ignores it.

There are limits to the AI, but in this case traits are never passed to the model. Using devtools to check the network request sent to chat completions, it shows all of the information that gets sent to the AI. As of 1.0.3, it sends the system prompt and however much of your story that fits in the context limit you set. For me this was set to 64k (model supports up to 128k), but setting it to 1k reduces the information sent to just the system prompt and latest action, so the system prompt isn't being thrown out. I'm sure it wouldn't be handled as consistently if the story context grew to outweigh the system prompt, but that's a separate issue inherent to how messages are weighted. The issue here is just that traits aren't included in the system prompt, so the AI never knows they exist to begin with. Adding "<TRAITS DESCRIPTION>" to the system prompt, similar to how world data and stat descriptions are handled doesn't add any trait information, so there's presumably no code to support it.

Developer(+1)

check new update

How do you write the script to give +1 regen to the "Pregnancy Progression" stat when "Conception" stat is more than 0? I added new stats to the editor so that I can play with multiple pregnancy mechanic.

Developer (2 edits)

Sorry the AI can’t update the min/max or regen of a stat just yet, will be very soon. You can still tell it to increase the pregnancy stat when the conception stat is positive, just change the stat update system prompt in the settings (latest version). The AI will focus more on updating the stats that you describe there.

Positive? Like...instead of more than 0, I should write "If XXX is positive..." ?

Developer

yea

(3 edits)

Hi, I want to say that the project is good, keep developing. My feedback is as follows:

- I get annoyed when the AI does not follow pre-set rules and forgets about locations until you remind it.

- It also adds units to the main character that do not affect him.

- You can also add a button to create a world, it is just inconvenient to create a new world by copying the old one and changing it.

- I also want the AI to change the character model with the corresponding description of the stats at the moment in the game history.