Jump to content

[mod] EPE CBO Patch


Recommended Posts

Posted

The "bulgarian ep3 era 1 common 1" clothing in EPE isn't properly patched with CBO in this patch. The arms are extremely skinny. I'm still on 1.18.0.2 so its not any 1.18.1 shenanigans and the problem was solved when I disabled CBO.

 

I've only been playing for around an hour or two but this is the only piece of clothing I've noticed to not be properly patched.

Posted

Is it possible to prevent certain makeup elements from being removed during CBO interactions?
This issue comes from the EPE mod — for some reason, eyebrow thickness is treated as part of the "Makeup & Face Paint" portrait category. Or rather, it doesn’t actually appear there, but when the “No Makeup” option is enabled, all characters’ eyebrows become extremely thick.
As a result, during CBO interactions makeup gets removed, and in CBO scenes all characters end up with very thick eyebrows.

Posted (edited)
On 11/17/2025 at 1:42 AM, casio89 said:

Is it possible to prevent certain makeup elements from being removed during CBO interactions?
This issue comes from the EPE mod — for some reason, eyebrow thickness is treated as part of the "Makeup & Face Paint" portrait category. Or rather, it doesn’t actually appear there, but when the “No Makeup” option is enabled, all characters’ eyebrows become extremely thick.
As a result, during CBO interactions makeup gets removed, and in CBO scenes all characters end up with very thick eyebrows.

In my case this happens even in Barbershop when the character is naked. I am using CFP + EPE CBO.

Dressed:

Dressed.png

 

Undressed:

Undressed.png

Edited by Frozen Lake
Posted
23 hours ago, Frozen Lake said:

In my case this happens even in Barbershop when the character is naked. I am using CFP + EPE CBO.

Dressed:

Dressed.png

 

Undressed:

Undressed.png

I agree, it’s either an EPE feature or a bug. If you launch the game with only the EPE mod, the same thing happens. CBO has nothing to do with it; it’s just that during CBO interactions the eyebrows switch to very thick ones, as if they’re being unequipped like clothing

Posted
5 hours ago, casio89 said:

I agree, it’s either an EPE feature or a bug. If you launch the game with only the EPE mod, the same thing happens. CBO has nothing to do with it; it’s just that during CBO interactions the eyebrows switch to very thick ones, as if they’re being unequipped like clothing


I think I found the culprit code. And as you pointed out, it appears to be an EPE feature, i.e., intentional. It is nested in special_makeup in
gfx\portraits\portrait_modifiers\06_makeup.txt

The comment seems to indicate that when makeup is removed, the eyebrows might also disappear, so it is indeed addressing a bug. However, I haven't confirmed that this bug still exists. 

Solution may include removing the two eyebrow morphs but this risks reintroducing the disappearing eyebrows bug (which, as I said, I haven't tested). Still, even so, this maybe more aesthetically pleasing?


Or, remove the main activation triggers, should_be_fully_naked_portrait_trigger = yes and should_be_topless_portrait_trigger = yes. This will allow characters to keep their makeup when naked or topless but may lead to some rather unusual behavior, like wearing full makeup when the character has spent months naked or half-naked in a dirty dungeon cell, or other similar context. Since these two triggers are in the vanilla file too, I am guessing this was the original intention of Paradox for more realism. But that's pretty much it?


Or, we can try tweaking the morphs, turning the eyebrow thickness down to a more reasonable level. This will make every naked or topless character have the same eyebrows, albeit in a thinner shape and form. Presumably the game will not suffer from a little more consistency?

On a side note, absolutely the same code can be found in the Character Beautification mod, which means that the thick eyebrows when naked problem exists there too.

    no_makeup = {
        dna_modifiers = {
            morph = {
                mode = add
                gene = gene_makeup
                template = no_makeup
                range = {0 1}
            }
            morph = { # TEMPORARY hack for when removing makeup in the barbershop. Without this, eyebrows will be gone. It should be fixed properly in code, as this doesn't give us actual eyebrows from DNA.
                mode = modify
                gene = gene_eyebrows_shape
                template = avg_spacing_avg_thickness
                value = 0.71
            }
            morph = { # TEMPORARY hack for when removing makeup in the barbershop. Without this, eyebrows will be gone. It should be fixed properly in code, as this doesn't give us actual eyebrows from DNA.
                mode = modify
                gene = gene_eyebrows_fullness
                template = layer_2_avg_thickness
                value = 0.83
            }
        }
        outfit_tags = { no_clothes nightgown }
        weight = {
            base = 0
            modifier = {
                add = 1000
                should_be_fully_naked_portrait_trigger = yes
            }
            modifier = {
                add = 1000
                should_be_topless_portrait_trigger = yes
            }
            modifier = { #
                add = 50
                is_male = yes
                # Japanese gfx
                portrait_shared_clothing_contents_trigger = {
                    CULTURE_SCOPE = culture
                    CULTURE_FLAG = japanese
                }
            }
        }
    }

Posted (edited)

So, it seems that the disappearing-eyebrows-when-nude bug has been fixed. Tested the first solution and the eyebrows did not change at all when the character was nude in Barbershop or in CBO interactions. 

I made a standalone fix (only one file), which can be used until EPE gets rid of their temporary thick eyebrows solution in gfx\portraits\portrait_modifiers\06_makeup.txt. Then you can remove it from your load order.

The fix removes the two morphs affecting 
gene_eyebrows_shape and gene_eyebrows_fullness.

Same character, nude in Barbershop, with the same eyebrows as when dressed:

No change in eyebrows.png

EPE Eyebrow Fix.zip

Edited by Frozen Lake
Posted
6 hours ago, Frozen Lake said:

So, it seems that the disappearing-eyebrows-when-nude bug has been fixed. Tested the first solution and the eyebrows did not change at all when the character was nude in Barbershop or in CBO interactions. 

I made a standalone fix (only one file), which can be used until EPE gets rid of their temporary thick eyebrows solution in gfx\portraits\portrait_modifiers\06_makeup.txt. Then you can remove it from your load order.

The fix removes the two morphs affecting 
gene_eyebrows_shape and gene_eyebrows_fullness.

Same character, nude in Barbershop, with the same eyebrows as when dressed:

No change in eyebrows.png

EPE Eyebrow Fix.zip 2.99 kB · 1 download

Oh yes, now it works as it should! Thank you very much! I tried to solve this issue with ChatGPT, but it’s not very good at modding yet)

  • 4 weeks later...
Posted

I got these two errors while testing stuff out.
 

[19:41:56.716](portraitaccessories.cpp:159): [2025-12-12 19:41:56.639] [Clausewitz Error] [error] [portraitaccessories.cpp:159] accessory group [legwear:tgp_chinese_high_nobility_legwear] has an invalid accessory "m_legwear_sec_tgp_chinese_hi_nob_01"
[19:41:56.716](portraitaccessories.cpp:159): [2025-12-12 19:41:56.639] [Clausewitz Error] [error] [portraitaccessories.cpp:159] accessory group [legwear:tgp_southeast_commoner_legwear] has an invalid accessory "m_legwear_sec_tgp_southeast_com_01"

I found the issue stems in common>genes>07_gene_special_accessories_misc.txt
This only happens when I use CBO, or maybe it's the other mods I have on installed idk? 

Posted

After the EPE update, all women within the scope of all under heaven DLC have become nude (including minors). I loaded CBO, CB, CFP together with EPE. A few days ago, everything was OK. I don't know if it's a problem with the patch not being updated or other issues

Posted
12 hours ago, ChestnutKCN said:

After the EPE update, all women within the scope of all under heaven DLC have become nude (including minors). I loaded CBO, CB, CFP together with EPE. A few days ago, everything was OK. I don't know if it's a problem with the patch not being updated or other issues

Yeah, CBO unofficial and everything CBO-related on LL needs an update for the latest version, I think. 

Posted
On 12/14/2025 at 7:13 PM, ChestnutKCN said:

After the EPE update, all women within the scope of all under heaven DLC have become nude (including minors). I loaded CBO, CB, CFP together with EPE. A few days ago, everything was OK. I don't know if it's a problem with the patch not being updated or other issues

It's okay now, the issue has been resolved with the update of the EPE+CFP patch

Posted (edited)

I do think we need an update. After all the EPE CFP patches, I noticed an issue where in barbershop you can't choose Chinese/asian clothings. Even though they are now clothed, in barbershop, the default is still listed as none. I removed all the CBO related stuff and the issue worked itself out. 

Edited by DarthKnight
Posted
On 12/15/2025 at 10:28 PM, ChestnutKCN said:

It's okay now, the issue has been resolved with the update of the EPE+CFP patch

For me they are still all naked, only female in Asia (mongolian fine)

Posted
On 12/16/2025 at 10:56 AM, DustyVirus said:

For me they are still all naked, only female in Asia (mongolian fine)

I was able to fix this by copying the files in the genes folder in the EPE+CFP and pasting it in the CFP+EPE+ED+CBO patch gene folder. this prob works if you use the non ED version as well. 

  • 1 month later...
Posted (edited)
On 11/19/2025 at 2:05 PM, Frozen Lake said:

So, it seems that the disappearing-eyebrows-when-nude bug has been fixed. Tested the first solution and the eyebrows did not change at all when the character was nude in Barbershop or in CBO interactions. 

I made a standalone fix (only one file), which can be used until EPE gets rid of their temporary thick eyebrows solution in gfx\portraits\portrait_modifiers\06_makeup.txt. Then you can remove it from your load order.

The fix removes the two morphs affecting 
gene_eyebrows_shape and gene_eyebrows_fullness.


I am quoting myself here because I need to make an important clarification.

The EPE Eyebrow Fix makes nude characters show their real eyebrows as specified in their DNA, which are absolutely the same as when they are dressed, Without this fix, if you play with EPE all nude characters will have the same thick eyebrows. EPE has implemented this hack to deal with disappearing eyebrows when makeup is removed in the Barbershop.

The problem is that this hack was implemented in the No Makeup portrait modifier which also gets activated when the character becomes nude or topless. Hence the thick eyebrows appear when their makeup gets removed OR when they get naked.

 

In vanilla, all characters who are eligible to wear makeup (for example, female family members of Chinese governors, among others) will automatically put on makeup when they are generated at game start or, for example, when they get married into a Chinese noble family. You can remove the makeup of such characters in the Barbershop, however they will have no eyebrows. The EPE team apparently thought this was a problem and made the aforementioned hack.

When characters wearing makeup lose their eligibility to wear makeup (for example when they divorce their noble Chinese husband, a governor, etc.) they will automatically stop wearing makeup and will have their eyebrows back as specified in their DNA. 

My guess for the vanilla behavior is that medieval Chinese and Japanese makeup had very stylized eyebrows that were very different in shape and position on the face from natural eyebrows. People wearing such makeup, particularly in Japan, had to either shave or pluck their natural eyebrows. Hence no eyebrows when makeup is removed. This seems to me to be what Paradox intended. 

Now, the EPE Eyebrow Fix doesn't change that. It preserves the vanilla behavior. With this fix when you remove the makeup of such characters in the Barbershop their eyebrows WILL disappear. This is contrary to EPE, where such characters will get thick eyebrows to replace their shaven or plucked ones.

However, with this fix when you undress a character (for example by clicking Undress in the Barbershop, or when they are naked in events, etc.) their makeup WILL disappear (you can put it on later) and they WILL NOT get thick eyebrows. Instead, they will get the eyebrows as specified in their DNA.


Or if it is a character created by you in Ruler Designer, they will get the eyebrows you had chosen for them.

This is the current state of the matter. I only hope I didn't make this more confusing.

Edited by Frozen Lake
  • 3 weeks later...
  • 3 weeks later...
Posted

Not sure why but certain characters can't be undressed or have their model colored brown. One example for testing purposes, if I start 1066 as the holy roman emperor, I can't undress, and there is no option for No Clothes under clothing. Attaching my mod list below (idk why EPE is negative there, but I was told it's normal)image.png.fcaa3d1ccb0947c4116488a06842757f.png

Posted
1 hour ago, ShadowPenguin said:

Not sure why but certain characters can't be undressed or have their model colored brown. One example for testing purposes, if I start 1066 as the holy roman emperor, I can't undress, and there is no option for No Clothes under clothing. Attaching my mod list below (idk why EPE is negative there, but I was told it's normal)image.png.fcaa3d1ccb0947c4116488a06842757f.png

 

Check if the character is under 18, no clothes option will only show for characters over 18.

Posted
18 hours ago, csirke128 said:

 

Check if the character is under 18, no clothes option will only show for characters over 18.

 

Oops, that would be it. Thank you!

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...