Saitama520

Newbie
Jun 16, 2018
76
76
I did not expect the AI to take so much memory though, will have to see if I can do something about that.
There's a reason why it's recommended that when running an AI image gen system you have at least 16GB of RAM; using a different and smaller model can help with that, adding the xformers option may also reduce RAM usage, and not generating high resolution images will also help but no matter what you're looking at several GBs of RAM for the AI system. There's only so much you can do to reduce that footprint.
 

GammaXai

Active Member
Oct 5, 2018
631
328
I did not expect the AI to take so much memory though, will have to see if I can do something about that.
Yeah, I managed to get it working on my previous 16GB system but quite often that was shutting down everything but the AI and the game and then turning some settings down to find a balance between quality of image and quantity of system resources used.
 

Tataro

Well-Known Member
Mar 27, 2018
1,106
1,620
Ok so I’d really like to use the pixel art that’s in the thumbnail of the OP and reddit, what kind of AI model and prompt/Loras should I use to get something similar trough that?
 

xmodo99

Newbie
Feb 20, 2020
24
18
Ok so I’d really like to use the pixel art that’s in the thumbnail of the OP and reddit, what kind of AI model and prompt/Loras should I use to get something similar trough that?
You can just try searching for "pixel art" checkpoints on civitai, maybe something like this?
Not sure if it'll be similar enough/know enough about the concepts. There's examples if you scroll down a bit so you can add some snippets to your prompt.

However if you only need that level of fidelity you can just try to use the SVG packs (I think they're included by default), plus the performance is much better.
 

Tataro

Well-Known Member
Mar 27, 2018
1,106
1,620
You can just try searching for "pixel art" checkpoints on civitai, maybe something like this?
Not sure if it'll be similar enough/know enough about the concepts. There's examples if you scroll down a bit so you can add some snippets to your prompt.

However if you only need that level of fidelity you can just try to use the SVG packs (I think they're included by default), plus the performance is much better.
SVG packs? From where? Don’t think pregmod allows XL ai models. But yes I’m in love with that style and fidelity of art on OP, nothing better than that. Alternatively how can I train a model to produce art exactly like that?
 

Zorlond

Member
Jun 15, 2021
344
458
SVG packs? From where? Don’t think pregmod allows XL ai models. But yes I’m in love with that style and fidelity of art on OP, nothing better than that. Alternatively how can I train a model to produce art exactly like that?
Been using AI gen in this game for months, pretty sure it doesn't care what type of checkpoint you're using. Pony, XL, SD, Free Cities will just toss the prompts in and use whatever picture the AI throws back. Just a matter of trying checkpoints and seeing which ones give results the player likes. I got a whole list of checkpoints I've tried and their observed results. Very very few have been total failures.
 

Yukemoto

Member
Jun 19, 2020
333
581
Is there a way to increase the "Maximum random slave events per week"?
I used to be able to adjust it via notepad, but what I could find did not change the number in game.
 

zzczys

Active Member
Jul 20, 2019
911
186
If you learn the code language and some git functions, you can create your own branch while also staying updated to the main branch. That way you can add in your wants and still be part of the game.

Or find the name of the variable you want to change and put in the provided console;
variable name = X, or whatever number you want.
 
  • Like
Reactions: JungleNuts

Yukemoto

Member
Jun 19, 2020
333
581
Try checking the game options under Content & Flavour.

View attachment 3813387
I saw that, I should have been more specific, I used to be able to use notepad to increase the number of events and when using the manual event method, I'd get to have 12 events, now , no matter what I extend or update, It shows 12 but only gives me the default options (currently just 2)

This is new with this update feels bad.
 

zzczys

Active Member
Jul 20, 2019
911
186
I assume you are using the inbuilt browser FChost.

1720532277419.png

Observe the console, below the 'display changed variables'

The variable you want is V.RIEPerWeek

1720532438516.png

In this example I am attempting to change the number to 4, its currently 3
Click 'run custom function' to execute

End week and proceed up to the Random Individual Events

1720532600541.png

I now have 4 RIE events
Just checked the gitgud and the variable name is still the same.
===============
Use notepad++(Free to use) to search and edit.
Search for the text in options 'Maximum random slave events per week' using notepad++ Find in files function

1720532998775.png

I used another phrase to find it, but you should get the idea.

==============
You will have to repeat these steps each time you update the game. That is why I recommend learning the game code and git functionality, with those in hand you can create your own branch with your own edits while also staying updated.
 

Yukemoto

Member
Jun 19, 2020
333
581
I assume you are using the inbuilt browser FChost.

View attachment 3814467

Observe the console, below the 'display changed variables'

The variable you want is V.RIEPerWeek

View attachment 3814477

In this example I am attempting to change the number to 4, its currently 3
Click 'run custom function' to execute

End week and proceed up to the Random Individual Events

View attachment 3814485

I now have 4 RIE events
Just checked the gitgud and the variable name is still the same.
===============
Use notepad++(Free to use) to search and edit.
Search for the text in options 'Maximum random slave events per week' using notepad++ Find in files function

View attachment 3814498

I used another phrase to find it, but you should get the idea.

==============
You will have to repeat these steps each time you update the game. That is why I recommend learning the game code and git functionality, with those in hand you can create your own branch with your own edits while also staying updated.
That was informative, thank you for helping me find an easier way to increase it without notepad, the game is still not changing the X number left amount like it used to, that seems to have been separated from "events" at some point, so the old way may never return (goodbye 20 back to back events!:cry:)
 

zzczys

Active Member
Jul 20, 2019
911
186
Oh sorry I forgot about file editing.
If you edit any files in /src, you must run compile.bat in the base game folder again. Preferably run as admin. Once it is done, it will auto exit itself. Copy the html file from the bin folder to the fchost folder, replace the html there.

Before FChost came along, you run the html file directly from the bin folder in a browser.

While it is possible to edit the html directly, the sheer size of it makes it a little difficult. So its easier to edit the files in /src.
 
  • Like
Reactions: JungleNuts

xmodo99

Newbie
Feb 20, 2020
24
18
SVG packs? From where? Don’t think pregmod allows XL ai models. But yes I’m in love with that style and fidelity of art on OP, nothing better than that. Alternatively how can I train a model to produce art exactly like that?
Loras are pretty much plugins/addons for the base checkpoint models.

To use the linked Lora, you can try:
  • Use this as the main checkpoint (download into models/stable-diffusion, and then select it in the top left dropdown in auto1111)
  • Then download this lora into models/Lora
  • Change the "AI style prompting" into something that uses the Pixel Lora, and get rid of <lora:LowRA:0.5> or similar.
    • For example positive: full body portrait, (dark theme:0.5), black background, masterpiece,best,quality, <lora:pixelbuildings128-v2:1>, pixel, pixel art
    • negative: (worst quality:2), (low quality:2), (normal quality:2), lowres, bad anatomy, bad hands, normal quality, ((monochrome)), ((grayscale)) watermark
    • Just pulled these out of my ass so you'll probably need a few changes for it to actually be good
  • Done!

To train a model, you probably don't want to be training a full checkpoint. A Pixel art lora makes much more sense. You can just google for tutorials "train stable diffusion Lora" and look for a relatively recent one and you should be fine.

1720579203381.png
 
  • Like
Reactions: JungleNuts

Alphanineteen

New Member
Jun 30, 2017
5
2
Hi there fellow Arcologists.

Since there is no discord or similar place to discuss the Pregmod I'm asking this question here.

FC version: 0.10.7.1,mod version: 4.0.0-alpha.31,build: 1232, commit: 74030add

Using a few basic Rules in the assistant I'm not getting the behavior I expect.
I have a simple set of rules to adjust behavior rules depending on devotion. The rules assistant generally applies them nicely for the devoted and worshipping slaves. Slaves with very low devotion however is a different story.
Using Devotion 20 as the separation point I continually end up with slaves to obedient for the cellblock, but not caught by my Devotion >= 20 rule.

What can I use instead of devotion to catch the output from the cellblock (And new slaves just fearful enough to not need it) properly?

P.S. To send Ambivalent slaves that can benefit from School to the Schoolroom I use "And slave education < 30" but I've yet to get that to work. Basically I want new slaves to get caught by one of three rules.
1. Restrained and sent to the Cellblock.
2. Given a Uniform and send to school.
3. Given a Swimsuit and sent to the spa.
Any slaves remaining in the penthouse I handle manually.
 

Zorlond

Member
Jun 15, 2021
344
458
What can I use instead of devotion to catch the output from the cellblock (And new slaves just fearful enough to not need it) properly?
Off the top of my head, the Cellblock requires a lack of compliance, which is something I don't know the triggers for. Once compliant, the slave is ejected because confinement stops working. So to handle them, I would add an additional rule with the exact same triggers as the Cellblock rule and lower priority, but the assignment it gives mandates having compliance, like House Servant. You'll get some useful work from them, and also easy access for your Head Girl or Personal Attention.

But I might be off-base. As above said, exporting the rules you have for us to look over would probably be better.
 

DERDER22

New Member
Sep 11, 2021
4
8
For slaves to be scared enough to work their fear needs to be less then -20, so set up two rules one for less then 20 devotion and more then -20 fear, the second one for less then 20 devotion and less then -20 fear that should filter out the slave capable of work.

Attached is how I have been dealing with this
 

Yukemoto

Member
Jun 19, 2020
333
581
Oh sorry I forgot about file editing.
If you edit any files in /src, you must run compile.bat in the base game folder again. Preferably run as admin. Once it is done, it will auto exit itself. Copy the html file from the bin folder to the fchost folder, replace the html there.

Before FChost came along, you run the html file directly from the bin folder in a browser.

While it is possible to edit the html directly, the sheer size of it makes it a little difficult. So its easier to edit the files in /src.
Oh! I use Google Chrome to play FC! Does that make a difference?
 

zzczys

Active Member
Jul 20, 2019
911
186
Oh! I use Google Chrome to play FC! Does that make a difference?
Its a little more tedious to edit the local storage for chrome, but still possible. Instructions are somewhere on the git. When your saves get larger as you own more slaves, you might not be able to use the save slots. So save to disk or edit the local storage.
FCHost doesnt have this issue.
 
  • Like
Reactions: scrumbles
4.40 star(s) 23 Votes