News:

Please request registration email again and then check your "Spam" folder

Former www.henthighschool.com

Upgrading Images with AI

Started by user_272, Jun 26, 2023, 05:06 AM

Previous topic - Next topic

user_272Topic starter

Its been a while since I've posted anything. I failed to make a new account when the change occured, I just wasnt into the game enough to post anything about it for a while.

However, I have been messing around with Ai images recently and I decided to work on remaking some. So i started with the images of the first quest i started, Serria Hardman. But before I get to far into this I was wondering if anyone else is doing this. Would be nice to collaborate.

Question: Can HHS+ load webp images? I should try, but Im lazy right now. If it does it would save a lot of space.

Yes, Im aware of finger/limb issues. Thats why I want to collaborate, to help generate/pick the very best images. This is also why I posted in mods, because if im doing this alone I will most certainly upgrade images that look close enough, its your choice to use it or not.










user_272Topic starter

Ok, I just did a quick "dir /s" search for several types of images(bmp/gif/jpeg/jpg/png) in the game, and imported it into a spreadsheet so I could track my progress and share with others should they want to join in. I grossly underestimated the amount of time and images that were in this game. I dont have the exact number, havent gone through and formatted each cell(lots of blank rows), but its something like 20,000+ images. Im certain there is a bunch that are apart of the PD system, probably some items/backgrounds/etc that dont need to change. But even still there is just a rough guess of over 10,000 images that probably do need updating.  Once I get a more complete list I will start eliminating folders/images that dont need to be recreated.

This is definitely not a project I will complete on my own. But I will try to hit some major quests. I can take requests once I get all these images sorted into a workable list.

Things I noticed though... The Names of the Images are for the most part horendous. I may re-write events to use my new names. This also gives me the opportunity to make extra images and add them to a random selection. It does however make it completely incompatible with any other mod that changes those files. So for now I will use the current names.

barteke22

You want to look into the EventPictures folder, there's 6446 images there currently (all in use).  In explorer you can just search for kind:pics

Most recent chain images are .webp.

Things in the PCGeneralSex folder follow a strict naming convention described in the GexSex pack guides, and can be expanded by just adding more images.

The Expandable Areas guide also mentions some other places that are expandable.  Everything else is... hardcoded to however whoever made it slapped it in there...

jeana

oh this looks like a interesting way to update/standardize allot of the artwork.
what resolution are we looking at and do we have a specific model we should use?
can do variants on a single picture for different specific dress codes?

user_272Topic starter

#4
Quote from: barteke22 on Jun 28, 2023, 10:04 PMYou want to look into the EventPictures folder, there's 6446 images there currently (all in use).  In explorer you can just search for kind:pics

Most recent chain images are .webp.

Things in the PCGeneralSex folder follow a strict naming convention described in the GexSex pack guides, and can be expanded by just adding more images.

The Expandable Areas guide also mentions some other places that are expandable.  Everything else is... hardcoded to however whoever made it slapped it in there...
Thank you. Yea I realized as I was going through some of the images that most were not in the events folder. Thanks for the update about webp images, forgot to search for those. Honestly didnt expect them, but now I can ensure any images I make are in webp format for the best quality/size ratio.

Quote from: jeana on Jun 28, 2023, 11:25 PMoh this looks like a interesting way to update/standardize allot of the artwork.
what resolution are we looking at and do we have a specific model we should use?
can do variants on a single picture for different specific dress codes?

I havent settled on a size yet, mostly because most LoRA's I use are trained/modeled to be 512 wide and 768 tall. So it makes it difficult to get good images that are wide. I have been aiming for 768x512, but settling for 640x512, either one I have been using HiResFix/img2img at 1.5x(768x960 and 768x1152) for test images. But I may go up to 2.5x(1280x1600 and 1280x1920) if I can get some support. My absolute limit would be something like 2048x3072, but those get tricky sometimes and take a long time to make. I would prefer to keep it under 2K on any side. Plus it allows other to help if they have lower end GPU's.

As for model, most do Anime, but I have been having better luck with Anything V5. Havent downloaded heantai diffusion, maybe I will try that one. Im not specificly trying to keep to a specific style, other than anime. I will aim to keep most of the quests to a single style, but I think with the current art it wont matter if there are some outliers.

Absolutely making some varient images. Thats where some of the modding will have to fill in though. Im wonder how to use the meta files, maybe there is some way to use that to have mods select the appropriate image based on the availible images. Like finding a short hair blonde image if you are currently having sex with a short hair blonde. But honestly that is down the road for me. Im just gonna worry about getting some images made, Im hoping I can build some support as I start upgrading the existing ones. Then someone far better at the editor can do that part.

jeana

ok, trying out ai image gen. made up a random character.
hands little fucked, i did 640x512 then img2img doubled it to 1280x1024.
i kinda feel it be more interesting to add a new npc character with there own narrative so we can setup the alt outfits as a test?

user_272Topic starter

Im down to make new characters. But it will be difficult to get consistant outfits. Probably could get the color schemes close enough. What are you using to make yours?

jeana

#7
im still experimenting with models/lora's but mostly anything v4.5 or similar (got a bunch of lora's)
prompt:"blush, bracelet, classroom,  dark-skinned_female, dark_skin, jewelry, looking_at_viewer, nail_polish, navel, plaid, short_hair, smile, solo, sunset, school girl outfit, detailed hands, bent over, panties,ass, back, white sailor outfit"

now trying Serria Hardman. having some dificulty trying to keep her hair (and dick) stable




user_272Topic starter

yep, that will be near impossible without a lot of work. all the combinations between clothing, haircolor/length, breast size, dick length. Im just gonna focus on the basics, thinking about just adding new images into the PCGeneralSex folder for now. As those are random anyhow, and it will improve the quality of random encounters.

 :o that last image has a tiny hand on the penis  :P

jeana

i did some more, allot of iterations
Serria Hardman having a hard time


user_272Topic starter

nice, lets move this to discord so we can share images better. Same username, User_272#1314

barteke22

You can make a themed post in the image discord forum, I've replaced the old image thread to better handle image spam.

In some cases, like PCGenSex, you can provide additional overlays for hair colour.  There's also a function for that one can manually use (internal version, or included with PD_System_Heads mod).

dcsobral

What came of this? Were the images incorporated, was a mod created...?

Zaiaku

Join the discord, it seems it was taken there
Corrupting Students since 2006

ElPresidenete

Thing is, there is already TON of good pictures and even image packs (I made one and I know of at least 2 more), but they still need to be processed, re-named and put into proper folders.