HentHighSchool Development Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

collapse
* Recent Posts
Re: Struggling with world editor location images by Renaati
[Today at 04:07:06 am]


Re: Girl packs by Leortha
[Today at 02:49:48 am]


Re: [WIP][0.2]Girl Creation Tips by Aren117
[Today at 01:43:42 am]


Re: Tagging Tool 2.8 + TagSet Extended by _neronero
[Yesterday at 10:58:51 pm]


Re: Tagging Tool 2.8 + TagSet Extended by nemojason
[Yesterday at 10:48:25 pm]


Pages: [1] 2 3 ... 18   Go Down

Author Topic: HHS+ KKL2 / Kisekae Paper Doll Editor  (Read 152119 times)

Spinner

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6000
    • View Profile
HHS+ KKL2 / Kisekae Paper Doll Editor
« on: November 28, 2016, 02:22:02 am »

Below are links two Kisekae bundles you can use to make Paper Dolls for HHS+
While I have bundled and documented, the core credit for this goes to SheepDogWorking (ne sivael), Anaconda, et al

Why two?
Version 3.5 (HHS+ KKL2 v3.5.zip):
•   Is the latest version, and yet have seen any extended use in producing HHS paper dolls.
Version 3.2 (HHS+ KKL2 v3.2.zip):
•   Is more thoroughly tested in terms of producing HHS paper dolls.
Keep in mind:
•   In terms of making Paper Dolls for HHS, very little has changed from v3.2 to 3.5
•   Design .txt files are forward but not backward compatible

INSTALLING
(click to show/hide)

What does what and what to do
(click to show/hide)

Open issues / Things to be aware of
(click to show/hide)

Support
•   You need to play around with the Kisekae Editor quite a bit to work out all the functionality and what is/isn't possible.
•   There is not a manual, but it is fairly intuitive.
      ▪   Others might, but I will not be responding to "How to edit that or that?" type questions.

•   Functionality of the Editor outputs (i.e. the ability to produce PD Images suitable for HHS+) has some support.
      ▪   We (the developers of HHS) use this system to make paper dolls for the game.
      ▪   And that was facilitated by work done by WhiteSheepDog, Anaconda and others.


Change History
(click to show/hide)


Other than that, have fun!  You can download from here:
•   HHS+ KKL2 v3.5 (47MB)
•   HHS+ KKL2 v3.2 (44MB)
« Last Edit: December 02, 2018, 01:56:26 am by Spinner »
Logged
If all else fails, try reading Help.

Spinner

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6000
    • View Profile
Re: HHS+ KKL2 / Kisekae Paper Doll Editor
« Reply #1 on: November 28, 2016, 02:32:21 am »

Will be adding notes on "fitting into" the current system here... so this is just placeholder post for now...
« Last Edit: November 28, 2016, 02:38:47 am by Spinner »
Logged
If all else fails, try reading Help.

Spinner

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6000
    • View Profile
Re: HHS+ KKL2 / Kisekae Paper Doll Editor
« Reply #2 on: November 28, 2016, 10:42:04 pm »

I tried to add documentation to the code, even though I stil don't understand exactly why the cutter does some of the things it does... e.g. why it generates breasts for all individual dolls, but penises only for the last doll  ???
Has to do with how the PD stuff in HHs+ works (and Kisekae possibly?).
o  In HHS+ there are 9 outfit levels [0 to 8]
o  And there are 10 breasts sizes [virtually] Flat to Gigantic… and any Female or Futa char could have any size.
    -  So each PD outfit level has to cater for this (i.e. it has to have matching breast sizes for each outfit from 0 to 8.)
o  Males all have the same chest (flat)… but have 10 penis and testicle sizes (Flat to Gigantic).
o  Futas also have 10 penis and testicle sizes (but, see above re breast size)
o  Unlike the beasts, 'Male' genital sizes don't come into play until they are uncovered (which, by convention, only happens at outfit level 7 or 8.)

The current system doesn't output shadows (not sure if that's how we uses it, or if it's part of kkl).
I've added a toggle in config.php to enable or disable this behaviour.. the PNG compression has also been made configurable.
Will take a look… Thanks.

This was fixed by gfth... but configurability is always nice to have.

I haven't no idea about the 1 pixel offset atm.. not sure how to verify it yet either...  :-\
So… I don't know how kkl does what it does… But the images created are different from what Kisekea alone does.
o  Char positioning, overall pic dimensions (cropping) and transparency all seem to be part of what kkl (and or the php stuff does).
    NB: The char size itself is not changed (i.e. what is in the Default char.txt files is retained as is).

o  So, I assume, somewhere therein defines the top or bottom placement of the car within the cropped png.

o  As for confirmation… Any image editor that supports layers allows you to do that.
    But, if that isn't something you have, but you can find where the positioning is defined and adjust that, I can test for you.
« Last Edit: November 28, 2016, 11:25:54 pm by Spinner »
Logged
If all else fails, try reading Help.

Spinner

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6000
    • View Profile
Re: HHS+ KKL2 / Kisekae Paper Doll Editor
« Reply #3 on: November 30, 2016, 12:15:00 am »

So... Current things that would be good to have done:

1 Pixel Up Issue
I have managed to ID how and where to solve the 1 pixel up problem... but requires someone with php skills to implement properly.

Line 285 in lib.php is:
   imagecopy($dstimg, $srcimg, $targetXPosition, 0, $deltaX, 30, $charaXSize, 1121);

By changing to:
   imagecopy($dstimg, $srcimg, $targetXPosition, 0, $deltaX, 29, $charaXSize, 1121);
the chars are shift down 1 pixel... so almost fixed... but:
•   This solves the problem for Adult females only
•   For Adult Males the value has to be 32, and for Students, the value has to be 30

So... can set to 29, 30 or 32, depending on what you're working on.
But... It would obviously be much neater if the php check the file name and switched the value accordingly.
EDIT: I have edited lib.php and it now supports the above (will include on v2 of the bundle)

Folder Structure
I think the current folder structure can be improved to make things easier to navigate.

If you have downloaded the bundle above, you will see:
•   I have put .bat 'launchers' into the top folder level, and the default .txt files in a separate sub-folder at this level (HHS+ Default People).
•   The idea is make using this easier and not to have to go into (and potential break) the Kisekae/KKKL Stuff

In the same way, it would be easier to work with and navigate if the "SourceFiles" was renamed "HHS+ Work in Progress" (or maybe "HH+ WIP Files") and placed at the top level.
Likewise, the images folder could be renamed "HHS+ PD Images" and also placed at the top level.

Adding Pubic Hairs (the big one?)
Currently, I add all the Pubic hairs to the images using a separate Image editor. There are 17 variants of Pubic hair and this a time consuming process.
(and has to done for each new outfit added)

As the Autocutter/Batch Image Maker is obviously modding the .txt files on the fly to produce all the breast sizes etc.
It would seem at least feasible that the pubic hairs could be added on the fly...?

Obviously, that would mean crafting the .txt elements (i.e. create .txt files with all the pubic hairs and extract the relevant bits).
So I could do that… but the php stuff is not really my skill set.


Any help with any of the above would be very much appreciated...  :D
« Last Edit: December 01, 2016, 02:56:48 am by Spinner »
Logged
If all else fails, try reading Help.

Anaconda

  • Newbie
  • *
  • Offline Offline
  • Posts: 35
    • View Profile
Re: HHS+ KKL2 / Kisekae Paper Doll Editor
« Reply #4 on: November 30, 2016, 11:36:13 am »

1 Pixel Up Issue
will be done..

Folder Structure
In the same way, it would be easier to work with and navigate if the "SourceFiles" was renamed "HHS+ Work in Progress" (or maybe "HH+ WIP Files") and placed at the top level.
Likewise, the images folder could be renamed "HHS+ PD Images" and also placed at the top level.
I'll make both configurable so you can tweak config.php when you make your bundle.. you could simply set it to "../HHS+ Work in Progress".. i prefer not to make it the default, cause then the cutter would have a depedency on directories above its own, complicating testing and updating

Adding Pubic Hairs (the big one?)
Currently, I add all the Pubic hairs to the images using a separate Image editor. There are 17 variants of Pubic hair and this a time consuming process.
(and has to done for each new outfit added)

As the Autocutter/Batch Image Maker is obviously modding the .txt files on the fly to produce all the breast sizes etc.
It would seem at least feasible that the pubic hairs could be added on the fly...?

Obviously, that would mean crafting the .txt elements (i.e. create .txt files with all the pubic hairs and extract the relevant bits).
So I could do that… but the php stuff is not really my skill set.
I'd need some more info about how public hair is added to PDs..
Does the current PD system support a "Public Hair" directory containing the different public hair overlays? Or do you simply take the different variations of public hair and generate different versions of each body with different public hair? Or maybe only for the last body? The last two? Or only for bodies in which public hair is already visible?
Assuming you create different variations of the bodies, how does this affect naming since i understand the current PD system expects all bodies to be named "Gender_nbr.png"? (E.g. would we then have a "Female_0_ph00.png", "Female_0_ph01.png", etc..?)

I'm pretty sure this could be automated, but i'd need to know more about what goes in and what comes out :)
« Last Edit: November 30, 2016, 11:43:24 am by Anaconda »
Logged

Spinner

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6000
    • View Profile
Re: HHS+ KKL2 / Kisekae Paper Doll Editor
« Reply #5 on: November 30, 2016, 01:25:46 pm »

1 Pixel Up Issue
will be done..
... Wow... ty...  :D

Folder Structure
In the same way, it would be easier to work with and navigate if the "SourceFiles" was renamed "HHS+ Work in Progress" (or maybe "HH+ WIP Files") and placed at the top level.
Likewise, the images folder could be renamed "HHS+ PD Images" and also placed at the top level.
I'll make both configurable so you can tweak config.php when you make your bundle.. you could simply set it to "../HHS+ Work in Progress".. i prefer not to make it the default, cause then the cutter would have a depedency on directories above its own, complicating testing and updating
Also wow...  :D

Adding Pubic Hairs (the big one?)
Currently, I add all the Pubic hairs to the images using a separate Image editor. There are 17 variants of Pubic hair and this a time consuming process.
(and has to done for each new outfit added)

As the Autocutter/Batch Image Maker is obviously modding the .txt files on the fly to produce all the breast sizes etc.
It would seem at least feasible that the pubic hairs could be added on the fly...?

Obviously, that would mean crafting the .txt elements (i.e. create .txt files with all the pubic hairs and extract the relevant bits).
So I could do that… but the php stuff is not really my skill set.
I'd need some more info about how public hair is added to PDs..
Does the current PD system support a "Public Hair" directory containing the different public hair overlays? Or do you simply take the different variations of public hair and generate different versions of each body with different public hair? Or maybe only for the last body? The last two? Or only for bodies in which public hair is already visible?
Assuming you create different variations of the bodies, how does this affect naming since i understand the current PD system expects all bodies to be named "Gender_nbr.png"? (E.g. would we then have a "Female_0_ph00.png", "Female_0_ph01.png", etc..?)

I'm pretty sure this could be automated, but i'd need to know more about what goes in and what comes out :)
Yeas... so I have a folder structure... and there are details to be worked out... (i.e linking thinking)

But I can confirm that the notion works... I have tested and have identified the "bits" of the .txt files required can be isolated, extracted and placed into the .txt file to produce the outcome.

Will put together full details as soon as practical...  ;)
Logged
If all else fails, try reading Help.

Spinner

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6000
    • View Profile
Re: HHS+ KKL2 / Kisekae Paper Doll Editor
« Reply #6 on: December 01, 2016, 10:00:19 am »

Have posted a new bundle (v2).  With the help of Anaconda... this is an improvement of v1...  :D
Logged
If all else fails, try reading Help.

Spinner

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6000
    • View Profile
Re: HHS+ KKL2 / Kisekae Paper Doll Editor
« Reply #7 on: December 01, 2016, 08:39:02 pm »

New bundle (v2.1) posted... Has Anaconda's latest changes...  :D
Logged
If all else fails, try reading Help.

Spinner

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6000
    • View Profile
Re: HHS+ KKL2 / Kisekae Paper Doll Editor
« Reply #8 on: December 01, 2016, 09:05:01 pm »

Hey Anaconda,

I assume you saw my responses re the latest suite of changes you did.
Those php files are now in v2.1. So I think it's safe to move the discussion and updates to here now.

Aside from the Shadows and Pubic Hair issues, there is another small change that makes sense:

As you know, the system outputs "front" head files named:
o  Male_head_front.png
o  Male_head_front.1.png
o  Male_head_front.2.png
o  Etc...

It would be great if you could change these to:
o  Male_Head_0.png
o  Male_Head_1.png
o  Male_Head_2.png
o  Etc...

It's a small thing, but: is more consistent with how everything else works; it saves having to rename them this way manually; and it removes the ambiguity of level 0.

The separation of "back" head files obviously needs to be retained. For consistency, it would suggest:
o  Male_Head_Back_0.png
o  Male_Head_Back_1.png
o  Male_Head_Back_2.png
o  Etc...
Logged
If all else fails, try reading Help.

erw255

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 829
    • View Profile
Re: HHS+ KKL2 / Kisekae Paper Doll Editor
« Reply #9 on: December 01, 2016, 09:52:38 pm »

That would be just fine for the generic characters.  Keep in mind that some won't need back heads, though.  For special characters, I've been doing it like this:

Let's use the female principle as an example.  She has three different back heads, and several different front heads.

It would be Principal_FHead_Back_01.png, Principal_FHead_Back_02.png, Principal_FHead_Back_03.png, Principal_FHead_Front_01.png, Principal_FHead_Front_02.png, Principal_FHead_Front_03.png, Principal_FHead_Front_04.png, etc.
Logged

erw255

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 829
    • View Profile
Re: HHS+ KKL2 / Kisekae Paper Doll Editor
« Reply #10 on: December 01, 2016, 10:00:15 pm »

I would like to request (if possible) two more things.

First, penis iterations that would actually work in the game (as much as think penises are ugly and decidedly not sexy, they're still a part of the game).  As it is in the autocutter, it's not really doing the job as it would need to.

Second, two additional PDs, one for younger (loli) girls and one for younger (shota) boys.  The idea is that the breasts and penises generated for them would be smaller.

The second request is of lower priority because loli content would be for add-on packs only.
Logged

Spinner

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6000
    • View Profile
Re: HHS+ KKL2 / Kisekae Paper Doll Editor
« Reply #11 on: December 01, 2016, 10:04:48 pm »

That would be just fine for the generic characters.  Keep in mind that some won't need back heads, though.  For special characters, I've been doing it like this:

Let's use the female principle as an example.  She has three different back heads, and several different front heads.

It would be Principal_FHead_Back_01.png, Principal_FHead_Back_02.png, Principal_FHead_Back_03.png, Principal_FHead_Front_01.png, Principal_FHead_Front_02.png, Principal_FHead_Front_03.png, Principal_FHead_Front_04.png, etc.
Yeah... the nomenclature defined is aimed at suiting most uses...

Nomenclature for special people is better retained as hand crafted (i.e. manually renaming the files).  Reasoning:
o  Cutting code to handle each specific takes as long (or longer) than simply renaming the files.
o  If also adds complexity to both the code and .txt file naming convention. And adding complexity, increases the chance of bugs and human error.
o  As these are rarely changed, it doesn't make sense to add that overhead.
« Last Edit: December 01, 2016, 10:15:58 pm by Spinner »
Logged
If all else fails, try reading Help.

Spinner

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6000
    • View Profile
Re: HHS+ KKL2 / Kisekae Paper Doll Editor
« Reply #12 on: December 01, 2016, 10:10:28 pm »

I would like to request (if possible) two more things.

[1] First, penis iterations that would actually work in the game (as much as think penises are ugly and decidedly not sexy, they're still a part of the game).  As it is in the autocutter, it's not really doing the job as it would need to.

[2] Second, two additional PDs, one for younger (loli) girls and one for younger (shota) boys.  The idea is that the breasts and penises generated for them would be smaller.

The second request is of lower priority because loli content would be for add-on packs only.
[1] Will take look and work out a solution

[2] I am treating this thread as official HHS+ development support. And adding Loli isn't part of that track.
Logged
If all else fails, try reading Help.

Spinner

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6000
    • View Profile
Re: HHS+ KKL2 / Kisekae Paper Doll Editor
« Reply #13 on: December 02, 2016, 04:01:34 am »

Hey Anaconda,

So.. have done the work re the pubic hairs.
Took a bit 'cause either Kisekae has changed or some our existing stuff was hand crafted (so had to go through a color matching exercise)

So here is how it works:
o  The Kisekae .txt define pubic hair at 'eh_' (with no pubic hair = just 'eh_').
o  So, for each hair type, the 'eh_' needs to switched to ehX.nnnnnnn (where X is the style and nnnnnnn is the Hex color code).
    NB: If one of the 'standard' colors is used, nnnnnnn become simply nn, where it is the Kisekae color pallet index.
          However, I have deliberately avoided that, to mitigate the possibility of indexes being changed in Kisekae.

o  We currently use 17 pubic hairs states (16 with hair and one shaved)... for Female Adults only.
    I intended to add hair for adult males, but it is a lot of work, and no-one asked for it.
    If this all goes to plan though, doing that could potentially become a lot easier.

o  Below are the names and 'eh_' code for each of the 17 hair states:
(click to show/hide)

Folder structure
o  The structure follows the same nomenclature as the hairs. E.g. Black_Tuft is the folder name for hair 'Black_Tuft'

o  Creating each variant is the same as creating just one... everything for goes to each sub-folder.
    Due to the mechanics of the current PD display code, that includes breasts.

o  A nice to have would be to not include the heads (but deleting those manually is no major effort). 

o  Obviously pubic hair will not be visible for all outfits.  In fact, just a few (6, 7 and/or 8, depending on the outfit).
    But, deleting the unwanted ones is also no big effort (compared to building all this in an image editor).
    And your new feature, of being able to "hide any chars", almost solves that...

Hide any chars feature
o  This new feature of yours, turned out to be real boon in time-savings when I did all the work to make the pubic hair .txt bits.

o  One drawback though is that the feature currently names the file for the first char found as 0, then 1, etc.
    The main benefit of this feature is as I described in the opening post for v2.1 (i.e. speed up editing) and to support this kind of thing.
    In order for it to do either of these though, the file names need to match the char position, even when hidden.

o  Obviously .txt structure allows for this...  So, if at all possible, doing that would be superb...  :D

« Last Edit: December 02, 2016, 04:49:36 am by Spinner »
Logged
If all else fails, try reading Help.

Spinner

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6000
    • View Profile
Re: HHS+ KKL2 / Kisekae Paper Doll Editor
« Reply #14 on: December 02, 2016, 04:48:18 am »

I would like to request (if possible) two more things.

[1] First, penis iterations that would actually work in the game (as much as think penises are ugly and decidedly not sexy, they're still a part of the game).  As it is in the autocutter, it's not really doing the job as it would need to.

[1] Will take look and work out a solution
So... yeas... the previous 'Autocutter' didn't support penis's well and testicles not at all...
I assume sivael treated this as low priority... as we didn't need then, and currently still don't.

But I agree, at some stage, this should be sorted out. Perhaps let's get the stuff done that's needed now, and then put some energy into this...?
Logged
If all else fails, try reading Help.
Pages: [1] 2 3 ... 18   Go Up
 


SimplePortal 2.3.3 © 2008-2010, SimplePortal