Jump to content

Recommended Posts

Posted
3 hours ago, Omni_Noesis said:

This was incredibly helpful @DoMopi, thank you so so much!

 

edit: I've realized that as the code is written now, the hotkey is global and will activate even when the character is not present. There is an SSR that has an activation hotkey that will only function when that costume is on the character. I imagine there is code that will work for detecting when a character is on screen as well? The SSR in reference is "SSR - Magical Venus - Honoka [look4love]". Can you identify where in the code below that feature is present? Is it possible to code to a character or unique trait of a particular character?

If instead the solution is to code for each Venus a unique hotkey activator, then so be it (as opposed to only one hotkey activation for hair). But I wanted to share this first before committing to that method.

 

------------------------

 

[Constants]
global persist $top = 0
global persist $panty = 0
global persist $skirt = 0
global persist $sleeve = 0
global persist $wing = 0
global persist $waist = 0
global persist $skirtdeco = 0
global persist $skirtribbon = 0
global $mod_active = 0
global $slot_active = 0
global $id = 4311960

 

[Present]
post $mod_active = 0

 

[KeySwitchSlot1]
condition = $\mods\_id\id.ini\swimsuit1 == $id && $mod_active == 1
key = ctrl no_shift no_alt 1
type = cycle
$slot_active = 1, 0
run = CommandListSlot1, CommandListSlot0
[KeySwitchSlot2]
condition = $\mods\_id\id.ini\swimsuit2 == $id && $mod_active == 1
key = ctrl no_shift no_alt 2
type = cycle
$slot_active = 1, 0
run = CommandListSlot1, CommandListSlot0

 

[CommandListSlot1]
Resource\ShaderFixes\help.ini\Notification = ref ResourceSlot1
run = CustomShader\ShaderFixes\help.ini\FormatText
$\ShaderFixes\help.ini\notification_timeout = time + 2.0

 

[CommandListSlot0]
Resource\ShaderFixes\help.ini\Notification = ref ResourceSlot0
run = CustomShader\ShaderFixes\help.ini\FormatText
$\ShaderFixes\help.ini\notification_timeout = time + 2.0

 

What you need to add, and I missed myself, is the $mod_active (or $active, those are two most modders use) constants to the hair code, like so:

 

Quote

 

[Constants]

global persist $Hair = 0
global $active = 0

global $slot_active = 0


[Present]
post $active = 0

[KeySwitchSlot1]
condition = $active == 1

key = ctrl no_shift no_alt 3 type = cycle

$slot_active = 1, 0

run = CommandListSlot1, CommandListSlot0 [KeySwitchSlot2]
condition = $active == 1

key = ctrl no_shift no_alt 4 type = cycle

$slot_active = 1, 0

run = CommandListSlot1, CommandListSlot0


[CommandListSlot1]

Resource\ShaderFixes\help.ini\Notification = ref ResourceSlot1

run = CustomShader\ShaderFixes\help.ini\FormatText

$\ShaderFixes\help.ini\notification_timeout = time + 2.0

[CommandListSlot0]

Resource\ShaderFixes\help.ini\Notification = ref ResourceSlot0

run = CustomShader\ShaderFixes\help.ini\FormatText

$\ShaderFixes\help.ini\notification_timeout = time + 2.0

 

[ResourceSlot0]

type = Buffer

data = "(girl name) Hair Color : Off"

[ResourceSlot1]

type = Buffer

data = "(girl name) Hair Color : On"

[KeyHair]
condition = $active == 1 && $slot_active == 1
Key = ctrl h
type = cycle
$Hair = 0 ,1 ,2

 

 

and for every [TextureOverride] and [Shaderoverride], you need to act that same constant at the end of beginning of the section like so

Quote

;Hair
[TextureOverrideHair]
hash=e25f96ba
$active = 1


if $Hair == 0
   ps-t0 = ResourcPS-Y0

endif

 

Now the mod should only activate when one of the hashes in the .ini are present on screen

  • 6 months later...
  • 2 weeks later...
Posted
On 2/21/2022 at 2:32 PM, zakunhope said:

Leifang is here!

DOAX_VV 2022-02-21 21-32-14.png

 

 

Hi!   I love the mod. I have two questions:

 

1. What body skin did you use for leifang in this picture? I like the shape of the nipples but in the skin that I use, they're different. 

 

2. Does the mod also chage the colour of pubic hair, or is it only head?

Posted
On 10/23/2023 at 8:54 PM, makubex53 said:

 

Where can download  Tsukush long hair mod?

You have to purchase it in the in-game Venus shop.

Posted
17 hours ago, callum_callum said:

 

 

Hi!   I love the mod. I have two questions:

 

1. What body skin did you use for leifang in this picture? I like the shape of the nipples but in the skin that I use, they're different. 

 

2. Does the mod also chage the colour of pubic hair, or is it only head?

I use the skin created by Mr. Maro.

I can only change the hair color because altering the pubic hair color requires modifying another file, which is a big task and a bit challenging for me.

  • 3 months later...
Posted

is there an easy way to edit the haircolor?

for example giving tamaki real black hair?

(i tried opening some of the dds hair files to edit the colors, but they just show as black squares)

Posted (edited)

Leifang has always  been a C-Tier girl for me.

 

1345638999_DOAX_VV2022-02-2121-32-14.png.d5351aeaed75c79cb2cbecc284652bed.thumb.png.be137bf16a86be23d982b7eadf4919ba.png


WOW after this hair mod I'm going to have to reevaluate that!

For the next girl to expand your work upon, my vote goes to Misaki if only because we see her all the time, you know? Not to mention that she has plenty of hair style options. Please be sure to support black hair that's like her sister, Nagisa.

 

Then maybe Monica and Koharu (again, because we see them routinely via certain menus).

 

Honoka and Nyotengu I suppose could follow after them, being some other top tier and popular waifus.

Your call of course! It's exciting whoever you release next! Keep going man!
 

~HolyDarkness

 

P.S. I second the guy before this post...how does one open these .dds files? I begin to wonder that myself.

Edited by theholydarkness
Posted
On 2/27/2024 at 1:01 AM, theholydarkness said:

Leifang has always  been a C-Tier girl for me.

 

1345638999_DOAX_VV2022-02-2121-32-14.png.d5351aeaed75c79cb2cbecc284652bed.thumb.png.be137bf16a86be23d982b7eadf4919ba.png


WOW after this hair mod I'm going to have to reevaluate that!

For the next girl to expand your work upon, my vote goes to Misaki if only because we see her all the time, you know? Not to mention that she has plenty of hair style options. Please be sure to support black hair that's like her sister, Nagisa.

 

Then maybe Monica and Koharu (again, because we see them routinely via certain menus).

 

Honoka and Nyotengu I suppose could follow after them, being some other top tier and popular waifus.

Your call of course! It's exciting whoever you release next! Keep going man!
 

~HolyDarkness

 

P.S. I second the guy before this post...how does one open these .dds files? I begin to wonder that myself.

u can use photpshop or paint.net to open and edit dds file

  • 2 weeks later...
Posted

It worked all the time. As of today, when I change the hair color of a single character on the monitor, the hair color of all other characters using a hair mod also changes.

 

Is there a known fix?

Posted
2 hours ago, hofuko667 said:

It worked all the time. As of today, when I change the hair color of a single character on the monitor, the hair color of all other characters using a hair mod also changes.

 

Is there a known fix?


You'll need to go into the .ini and change the hotkey for each girl. For instance, I have Sayuri set to cttl+h, shift+h for Elise, alt+h for Fiona, etc.

You'll need to make a unique two-button hotkey for each girl. I tried things like ctrl+alt+h and that leads to the same conflict so you'll need to get creative.

Posted
39 minutes ago, theholydarkness said:


You'll need to go into the .ini and change the hotkey for each girl. For instance, I have Sayuri set to cttl+h, shift+h for Elise, alt+h for Fiona, etc.

You'll need to make a unique two-button hotkey for each girl. I tried things like ctrl+alt+h and that leads to the same conflict so you'll need to get creative.

 

Ok, thanks for the answer. Sounds good, i'll give it a try.

  • 4 weeks later...
  • 4 months later...
  • 2 weeks later...
  • 1 month later...
Posted (edited)

Hello, I decided to keep working on Girls Hair Color myself.

I started with Ayane because she has so many hairstyles. She has the same color style as zakunhope's original mod:

preia.png.2626f248617b884eaeb03e8cc328f28c.png

 

You will need to enable and disable the sub-folders when you need, because some hashes have different textures depending on the hair style.

Ayane_HairColor_sldomopi.zip

 

However, there is a problem with Ayane Style2. I used the correct hash and texture, but some colors and even the non-edited original color is not showing well, so I can only think it's a shader problem, but I didn't find the right ones to fix it, so I need some help...

DOAX_VV101300-57-157.png.c4253a140caaefa9a3a7d287a8158e6e.pngDOAX_VV101300-57-248.png.5986174a4065d18bbc5c66f64f73f03c.png

 

Lobelia, Koharu and Yukino are planned next

Edited by DoMopi
Posted
8 hours ago, DoMopi said:

您好,我决定自己继续研究 Girls Hair Color。

我从 Ayane 开始,因为她有很多发型。她的颜色样式与 zakunhope 的原始 Mod 相同:

preia.png.2626f248617b884eaeb03e8cc328f28c.png

 

您需要在需要时启用和禁用子文件夹,因为某些哈希具有不同的纹理,具体取决于发型。

Ayane_HairColor_sldomopi.zip 47.61 兆字节 · 2 下载

 

但是,Ayane Style2 存在一个问题。我使用了正确的哈希和纹理,但是有些颜色甚至未编辑的原始颜色都显示得不好,所以我只能认为是着色器问题,但我没有找到合适的来修复它,所以我需要一些帮助......

DOAX_VV101300-57-157.png.c4253a140caaefa9a3a7d287a8158e6e.pngDOAX_VV101300-57-248.png.5986174a4065d18bbc5c66f64f73f03c.png

 

Lobelia、Koharu 和 Yukino 计划下一步

 

绿.7z

Posted
On 10/13/2024 at 5:38 PM, callum_callum said:

@DoMopi Great work, thanks!  Would it be possible to have a mod that changes hair colour AND the colour of the pubic hair at the same time? 

It's possible. You could either make a single mod that handles hair and body texture, or 2 mods that have the same key bindings 

As for how to do it in Photoshop or other image editors: Open a not-shaved Ayane skin, then, add a new layer with your favorite (shaved) Ayane skin, duplicate it for each color, and get a png of the pubic hair texture we use (砂夜子 posted one above you) place it according to where the original pubic hair was, delete the skin with pubic hair included, make a copy of each png pubic hair for each skin, and use Hue/Saturation levels (or the option match color, using Ayane's hair textures)

It's a pretty tedious job, I know 😭 I mostly use girls shaved or with natural pubic hair color, and skin textures are huge in size.

Posted

Sorry for double post. I made hair color mod for Koharu.

CTRL 3/4 to activate, SHIFT + 3 to remove hair accessory

It includes scalp and eyebrow color (not compatible with makeup mods) but again, I ran into a problem

preview.png.2f6467610ba709838b0af3f7dc354918.png

 

She's one of the girls that go back to their original color when you use water function (Helena and Kasumi also do this, I searched my Kasumi wip and CeeZ_M's Mai swap to see if I could fix it but no luck. Pixel shaders didn't work, replacing ps-t1 didn't either. And, Tina has the same issue...

DOAX_VV101518-45-5822.png.33412d347472cc5831a6067f58cbf6bc.pngDOAX_VV101518-46-0023.png.f8025c680d95b40c81fad9b14ee83a38.pngDOAX_VV101518-46-0124.png.370d41d573aa1798fee309ec54e04ac0.png

 

DOAX_VV101523-12-291.png.1759a853292ed35d597c937fb4994e43.png

 

Regardless, here's the mods, maybe somebody knows what to do about the wet hair texture problem, then I can finally complete the collection of all 30 girls

 

Tina_Hair_HighlightColors_[SLDoMopi].zip

 

Koharu_HairColor[SLDoMopi].zip

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...