blackkick

New Member
Nov 13, 2020
2
0
59
The time it takes depends a lot on your configs, desired results, and the machine you're playing in.
I have an old machine. I have to use the "--lowvram" in the stable diffusion command line for it to work. Each image takes about 2 minutes for me. And i find it unplayable. The reason I'm investing time in it is because I expect to have a new computer soon enough.
Anyway, if you don't have to use that argument in the command line, you should get faster results than me.

View attachment 5193167 <<< these are the in-game configs i use

You can find the model checkpoint here: and basically I use their recommended settings for sampler (LCM) steps (7) and cfg scale (1.3). I also kept their image aspect ratio of 1.25 although using a lower resolution 640x800. I tried using their recommendation size but it would take more time to generate the images and it would break often.

My first attempts at GenAI were far worse. For instance when I tried the LCM sampler for the first time I thought it was literally the worse of the list. In the meantime I realized that the important thing is to use a model checkpoint with the settings they were trained to work with to get proper results.
Some model checkpoints are meant for artistic purposes with high quality generations but require an high number of steps to provide any outcome, while others give you decent results with few steps but if you raise the number of steps they fall behind in the artistic value.
In our case if the game is to be playable and enjoyable, that means time is an important factor. So my advise is using a model checkpoint that was trained to give good and consistent results with a low step requirement. The lower the steps, the faster the generations will be.

These are a few examples using the GenAI version shared by user689. No big prompt changes. Just adding to positive prompt style "<lora: Pony Realism Slider:2.8>, Stable_Yogis_PDXL_Positives2" and to negative "Stable_Yogis_PDXL_Negatives2-neg".
You can find the LORA here:
You can find the embeddings here: ,

View attachment 5193217 View attachment 5193218 View attachment 5193223 View attachment 5193224 View attachment 5193225 View attachment 5193226 View attachment 5193227 View attachment 5193231 View attachment 5193233 View attachment 5193248

Those are the first 10 interactions in a new game. Not all is perfect but I have to say that I'm happy with image quality and overall consistency of the results.
Looks very promising, I tried installing stable diffusion as the guide says and everything works, until I reach adding the ''--medvram --no-half-vae --listen --port=7860 --api --cors-allow-origins *'' to the command arguments. I did some testing and the problematic arguments is ''--listen'' that seems to make my stable diffusion unable to open using the Webui-user.bat. There is no error message or anything, it just ... stop at the ''Startup time'' step and never moves further (where without the --listen it opens in a few seconds without issue, and stable diffusion works)

Did you encounter that issue while getting everything to work? And if so how did you get it to work?
 

Saitama520

Newbie
Jun 16, 2018
91
92
206
There is no error message or anything, it just ... stop at the ''Startup time'' step and never moves further (where without the --listen it opens in a few seconds without issue, and stable diffusion works)

Did you encounter that issue while getting everything to work? And if so how did you get it to work?
When you add those arguments Stable Diffusion launches properly; what changes is that it no longer automatically opens the GUI in your web browser like it does without the listen argument. If you open the localhost:7860 GUI page in your web browser yourself after the command line stops updating you'll find that Stable Diffusion is in fact working.

While I haven't tried Stable Diffusion with Lab Rats yet, I do have extensive experience in configuring it to work in Free Cities which is not dissimilar in use.
 
  • Like
Reactions: sp1ker

dirgetka

Member
Aug 17, 2017
284
610
251
Do the guys maintaining the game now have any guidance on best practices for modding? I've cobbled together a small "job history" feature, purely for flavour, and am trying to figure out how to make it as unintrusive as possible (plus compatible with subsequent releases).

The problem I've run into is that while I can do most of the work entirely in my own mod file, there are a few tweaks to existing files: a new attribute on the Person class with 1 line in the init function, 1 new line in business_actions.rpy calling my UDF, 1 new line in each of interview_ui.rpy and girl_overview.rpy to display the new attribute. What's the best way to set my mod up for compatibility here, so that I don't have to manually update and overwrite these files every time there's a new release?
 

NaughtyAnon

Newbie
Apr 2, 2020
44
36
152
need someone to just do a 1 click download run for the AI stuff..... if possible.
Given the amount of variables in making the AI system work a one click solution will never be viable. What runs amazing for me and takes 3-4 seconds to generate images may take 5+ minutes for you. Not even mentioning the style may not be one you like and you would still have to discover your own preference.
 

JoeRiks

New Member
Apr 16, 2024
6
3
81
Can't complete Sarah love story
Sarah_love_progress.png
I have already complete the love 80 progression scene but it isn't registering Console.png
I think this is bcause of an error in people/Sarah/sarah_definition_ren.py
Sarah_code.png
This variable is only set by the function HR_director_sexy_meeting_start_label in people/Sarah/HR_supervisor_role.rpy but this function isn't called from anywhere and is dead code !!!
Dead_code.png
 

blackkick

New Member
Nov 13, 2020
2
0
59
When you add those arguments Stable Diffusion launches properly; what changes is that it no longer automatically opens the GUI in your web browser like it does without the listen argument. If you open the localhost:7860 GUI page in your web browser yourself after the command line stops updating you'll find that Stable Diffusion is in fact working.

While I haven't tried Stable Diffusion with Lab Rats yet, I do have extensive experience in configuring it to work in Free Cities which is not dissimilar in use.
Thanks a lot!!! It worked wonder for the GenAI V3.0 for LR2. I can now focus on tweaking the checkpoints and setting to my taste.

hibakuxa When you installed the version of user689 for the GenAI, how did you install it? I tried in a few different way to install it (overiding files, not overidding files, a new folder in the mods location), I get the modified overlay, but the generation don't seem to work when I tried installing it (where they work fine with the version 3.0 ont the github). I love the idea of the cache system, as the way it currently is, everytime you close the game every images needs to get redone from scratch, which is mildly annoying currently.

Still I enjoy the integrated system, I haven't tweaked my setting much yet, but the images generated are promising from an initial standpoint, without much effort or imput on my side. The prompts work are satisfying enough, and can be manually tweaked if you consistently obtain a wierd unwanted effect, which is great.
 

Hephannon

Member
Mar 1, 2020
243
160
143
Can't complete Sarah love story
View attachment 5210298
I have already complete the love 80 progression scene but it isn't registering View attachment 5210309
I think this is bcause of an error in people/Sarah/sarah_definition_ren.py
View attachment 5210322
This variable is only set by the function HR_director_sexy_meeting_start_label in people/Sarah/HR_supervisor_role.rpy but this function isn't called from anywhere and is dead code !!!
View attachment 5210337
I stuck on Stephanie tennis and Ashley boobjob quest

Tried 2 times, one without the additional mods then with them, never was I able to finish any story...
 

hibakuxa

Newbie
Nov 10, 2017
31
32
37
Thanks a lot!!! It worked wonder for the GenAI V3.0 for LR2. I can now focus on tweaking the checkpoints and setting to my taste.

hibakuxa When you installed the version of user689 for the GenAI, how did you install it? I tried in a few different way to install it (overiding files, not overidding files, a new folder in the mods location), I get the modified overlay, but the generation don't seem to work when I tried installing it (where they work fine with the version 3.0 ont the github). I love the idea of the cache system, as the way it currently is, everytime you close the game every images needs to get redone from scratch, which is mildly annoying currently.

Still I enjoy the integrated system, I haven't tweaked my setting much yet, but the images generated are promising from an initial standpoint, without much effort or imput on my side. The prompts work are satisfying enough, and can be manually tweaked if you consistently obtain a wierd unwanted effect, which is great.
I use 3 versions of GenAI. They have different features I like and since I'm mainly testing and not properly playing the game I go around the 3. I just move the GenAI folder out of the mods and move in the one I want. Warning, saves and images already produced might be lost when you change GenAI.

Main version from original author: (despite the readme saying v0.30, it's actually v0.31 and has some very nice upgrades allowing different profiles.)
Version from AnotherMike with Narration Processing and the ABGRemover: here
Version from user689 because of the cache system, although I've been finding some other problems as I test it more: here
 
  • Like
Reactions: doubledude123

Mishun

Active Member
Jan 27, 2018
759
253
168
can you simplify game please? City Laws Legalise Topless Outfits, Convince City Administrator, i did it, policy STILL LOCKED, what else i need to do?
 

keer

Active Member
Jun 20, 2017
790
1,654
389
can you simplify game please? City Laws Legalise Topless Outfits, Convince City Administrator, i did it, policy STILL LOCKED, what else i need to do?
If you want a console code that should unlock the policies, try:
```$ mc.business.event_triggers_dict["council_influence"] = [("Vandalay", "teamup"), ("University", "submission")]```
This should replicate finishing those two story lines..
 

Mishun

Active Member
Jan 27, 2018
759
253
168
If you want a console code that should unlock the policies, try:
```$ mc.business.event_triggers_dict["council_influence"] = [("Vandalay", "teamup"), ("University", "submission")]```
This should replicate finishing those two story lines..
i copy pasted entire line into game console, ```$ mc.business.event_triggers_dict["council_influence"] = [("Vandalay", "teamup"), ("University", "submission")]```, didn't work for me, anything else i should try?
 

tlsmith1

Newbie
Oct 7, 2018
27
14
220
i copy pasted entire line into game console, ```$ mc.business.event_triggers_dict["council_influence"] = [("Vandalay", "teamup"), ("University", "submission")]```, didn't work for me, anything else i should try?
copy and paste this starting with the dollar sign. $ mc.business.event_triggers_dict["council_influence"] = [("Vandalay", "teamup"), ("University", "submission")]
 

Mishun

Active Member
Jan 27, 2018
759
253
168
copy and paste this starting with the dollar sign. $ mc.business.event_triggers_dict["council_influence"] = [("Vandalay", "teamup"), ("University", "submission")]
my impatience ruin my experience, i should be more patient with this game, after i run this script and waited some time she invited me to hotel room, and after sex with her both policies finally unlocked, sorry for bothering you:oops:
 
4.60 star(s) 79 Votes