Obvious question is obvious, but... You DID install stable diffusion locally, right? The mod itself requires a stable diffusion install, and isn't as easy as just drag & dropping the mod.
Let's assume that you're starting from complete scratch, since I'm sure some others out there are trying to get the mod running from nothing as well, and it's easier to just start here. It's strongly, strongly recommended that you don't do this on cards with less than 6gb vram, or on older 20x cards (if you're doing this on a 10x ti card, it's possible but jfc what are you doing), and assumes you're using an nvidia card.
- Install forge (or reForge if you know what you're doing)
You must be registered to see the links
- I'd suggest doing the advanced install steps (downloading python 3.10, git, then doing a git clone of the
You must be registered to see the links
)
- Download a model, I've listed two here, but the current genning standard is using an illustrious based model, such as
You must be registered to see the links
- Place the .safetensors model in your webui\models\Stable-diffusion\ folder
- Locate your webui-user.bat file inside of your webui folder, !!!MAKE A COPY OF IT!!!, then (optionally rename, and) edit that copy with a text editor. Locate
and add the following to it after the ='s sign
Code:
--port=7860 --api --cors-allow-origins *
It is important that you use this copy to launch the webui when running the game. You want to leave the default webui-user.bat alone, and use that one when using stable diffusion normally when not playing the game. If you don't do this, and attempt to install extensions in to stable diffusion, you will have a very bad time.
- Run copied/renamed webui-user.bat from the above step and wait for it to open forge in your browser
- While waiting on the webui to open, download the mod and extract it in to the mods folder located inside of the game folder where your lab rats 2 exe is located. DO NOT LAUNCH THE GAME YET.
- When the webui finally opens, it is safe to launch the game
- Once loaded in to the game, click the GenAI Config button at the bottom of your UI
- Scroll down, click 'Model' and select the model you downloaded/want to use (I'll assume you listened and used an illustrious based model, such as noobai, or the other two I listed)
- Click 'Sampler' and select Euler or Euler A
- Set Steps to 25
- Set CFG scale to 5.0
- Set your resolution to 1024x1024 or 896x1152
- Set 'Auto Generate' to On to automatically generate images, or Off if you want to manually generate them. For simplicity's sake, set it to on and go talk to a girl. With any luck, you've installed everything correctly and it'll tell you when it's generating an image. All that's left to do is wait. Time taken varies based on hardware..