Jump to content

Pregnancy Normalmap Swapper


Recommended Posts

Posted (edited)

ok this is pretty annoying, I install this mod but have to dealing the glossy effect skin everytime I swape armor, now I uninstall the mod the game still having that issues, before I install the mod I don't have this kind of proplem, can anyone help ?

fresh new game also have the proplem

Edited by Helloworldofdeath
  • 2 weeks later...
Posted (edited)

IMPORTANT: HOW DO I CLEAN CHARACTERS FROM THIS?

 

I and 4 other people have spent dozens of hours debugging a body-skin glitch related to racemenu, that occurs whenever body-textures are reset, such as cellchanges, fast travel, and so on.

 

At first i excluded this mod from being the culprit, because i tested with this mod disabled and the glitch still happened.

 

But now i've been struck by lightning and had an amazing idea: Racemenu is a fucking mess. It has no automatic mechanism to clean characters from old overlays and stuff. All cleaning is the responsibility of mods using racemenu, which is a horrible idea.

 

This mod changes what? The BODY TEXTURE OVERRIDE in racemenu. It does so even when chars aren't pregnant (they get the stage 0 texture then). And guess what? Since it's just a plugin calling racemenu to add overrides - never remove them - it infects every NPC we ever met in our savegame with said override. So if i disable this mod, the result is dozens or hundreds of NPCs with invalid bodytex overrides.

 

So dear developer: How do we clean this mess? And before you say we're not supposed to remove mods mid-playthrough: Your mod or the feature in racemenu appears to be bugged. It's likely what's causing the earlier mentioned glitch. And now we have no accessible way to remove those override-refs from NPCs. Basically our savegames are corrupted.

 

Now before you call me a meanie, first let me remind you we're talking silent longterm savegame corruption here, which is the bane of all skyrim players. Secondly i already have an idea what's causing the glitch. If i'm right, i may be able to provide a solution to the glitch, but i cannot provide a solution to the - frankly - dumb behavior of this mod. After all there's no reason to add permanent refs to every char in the game - regardless of pregnant or not. That's just bad software design. And doing so without a way to clean up is irresponsible.

 

UPDATE:

Turns out there is no fix, unless the developer creates a function to clean every NPC in skyrim.

 

Every save you made since installing this mod is corrupt. Also, because skyrim doesn't properly clean itself unless you restart it, if you disable this mod, try to load one of the corrupted saves, and then - without restart - begin a new game, your new game will be corrupted too. Same happens if you have multiple playthroughs, and load/save between them. Or if you loaded saves from before this mod, after playing saves with this mod. It's like a virus.

 

Basically what you need to do is: Disable this mod. Delete (or backup) all your savegames and racemenu presets (yes, those are infected too). Then launch skyrim with no savegames and clean presets and start a new game.

Edited by libertyordeath
Posted (edited)
On 4/29/2023 at 9:42 AM, libertyordeath said:

Basically what you need to do is: Disable this mod. Delete (or backup) all your savegames and racemenu presets (yes, those are infected too). Then launch skyrim with no savegames and clean presets and start a new game.


Got any advice on how to clean racemenu presets from this?

EDIT: Nevermind, I managed to figure out a workaround.
If anyone else wants to salvage their racemenu presets from this bug, follow these steps.

As a reminder, this fix is if you've removed the mod and the glowy skin bug persists.
 

First, you'll need to locate your preset file. It's located under SKSE/Plugins/Chargen/Presets.
 

If you're using Mod Organizer 2, you can access the Data tab underneath the executables drop-down menu. https://i.imgur.com/P4HvKQq.png
If not, then... I dunno, in your Skyrim folder?

 

Next you'll want to locate the infected preset. It will have the same name as the one you use through Racemenu, and end with the suffix .jslot
Open the preset file with notepad or a similar program (I used SublimeText, but notepad++ or maybe even regular notepad should work.)


CTRL +F and search for "PNS." You'll find a string of code looking like this. https://i.imgur.com/ujyjwMt.png

Highlight everything shown in the screenshot, from "skinOverrides" to the last "]," bit and delete it. Save the file, and that should be your preset fixed.

Edited by LewderAnnieMay
Posted
On 4/18/2023 at 6:22 PM, Helloworldofdeath said:

ok this is pretty annoying, I install this mod but have to dealing the glossy effect skin everytime I swape armor, now I uninstall the mod the game still having that issues, before I install the mod I don't have this kind of proplem, can anyone help ?

fresh new game also have the proplem

Check the post above this one. I messaged you a different fix earlier, but this one's a lot better.

Posted (edited)

UPDATE:

 

There now is a savegame cleaner mod against PNS. It's still beta, because i've only tested it on my setup. The cleaner was created by user Traison. Please read the descriptions how to use it carefully. Also, further down in the linked thread is a V3 version of the cleaner which likely works better than V2.

 

 

GENERAL FIX FOR SKYRIM LEAKING ACROSS SAVES:

 

While the above cleaner fixes the damage caused by PNS, it does not fix the general issue of Skyrim leaking data across saves. For this there's another mod, called "Clean Save Auto Reloader" on nexus. It automatically restarts skyrim when you try to reload, which stops skyrim from leaking across saves.

 

https://www.nexusmods.com/skyrimspecialedition/mods/88219

 

 

POOR-MANS REPLACEMENT FOR PNS:

 

While there is no real replacement for PNS, i found a way to make the default body normalmap look slightly better across different stages of pregnancy.  The default 3BA normalmap pretty much looks only good on flat bellies. The moment you have the slightest bump, it creates an ugly dark outline around the whole belly. So basically it only looks good in 10% of cases, and "shit" in 90% of cases. 

 

I found that if i replace the stock 3BA female normalmap with the "20%" version from DW's pack, it looks slightly worse on flat bellies - subtle enough to be ignored. And it looks "decent" with pregnancy states up to 60%. So it's not perfect, but a better compromise than what comes stock with 3BA. Here's the nexus link to DW's pack.

 

https://www.nexusmods.com/skyrimspecialedition/mods/68977

 

 

Edited by libertyordeath
  • 2 weeks later...
Posted (edited)

Could you not fix this by just replacing the stage 0 normalmap with the default one used by Skyrim?

 

EDIT: Another solution would be to use SKSE functions GetSkin and SetSkin instead of Nioverride. Racial Skin Variation uses these and these don't seem to get baked in the save file.

Edited by wareware
  • 2 weeks later...
  • 5 weeks later...
  • 2 weeks later...
Posted
On 5/25/2023 at 11:33 PM, wareware said:

Could you not fix this by just replacing the stage 0 normalmap with the default one used by Skyrim?

 

EDIT: Another solution would be to use SKSE functions GetSkin and SetSkin instead of Nioverride. Racial Skin Variation uses these and these don't seem to get baked in the save file.

looked at scripts. SKSE GetSkin SetSkin use ActorBase not Actor. I think would change normalmap on all actor that use same base. not sure. make sense for RSV and not PNS.

Posted (edited)

Sorry if this isn't the place to post but I figure some people here know a bit about texture issues, Whenever I don't have any armor on I'm getting this weird translucent skin bug. Does anyone know a fix for this? I am using Fair Skin with UBE and normalmap replacer if that helps.

ScreenShot0.png

Edited by H Bof
  • 2 weeks later...
Posted (edited)

I've struggled to get Argonians to work. They are loading the normalmaps from _Default.image.png.0982ec0a38457209b048a13438467842.png

 

For the life of me I can't find a reason why.
I'm pretty sure I've set up my files correctly
image.png.1a3f3a4d96067523c9b73990a008ff21.png
I thought I just made the textures wrong because I'm fairly new to that, but the papyrus log shows I've not even gotten there.
I've been working with this for a day and a half before I even got this far, so I'm really out of ideas of where to start.

If anyone has thoughts on what might be wrong I'd really appreciate the help.
Haven't even tried Khajiit. No point until I get this working.

Papyrus.0.log

Edited by Darken687
  • 2 weeks later...
Posted

So I've been trying this for a while now and I like the concept. I do have a weird thing going on where the hands not only flash, but they have a distorted appearance until I either change character weight in racemenu or equip/ unequip something to the hands slot.

 

There are two potential culprits that I can think of; either Wet Function Redux or Female Hands Redone. From what I've seen, they each seem to work fairly well independently, but all three together are causing issues.

 

Any thoughts on how to resolve this or should I just figure out which matter most to me?

  • 1 month later...
Posted
On 8/26/2023 at 3:07 AM, BadJoke said:

So I've been trying this for a while now and I like the concept. I do have a weird thing going on where the hands not only flash, but they have a distorted appearance until I either change character weight in racemenu or equip/ unequip something to the hands slot.

 

There are two potential culprits that I can think of; either Wet Function Redux or Female Hands Redone. From what I've seen, they each seem to work fairly well independently, but all three together are causing issues.

 

Any thoughts on how to resolve this or should I just figure out which matter most to me?

I have the same problem. Even before I installed female hands redone, this problem happens to my character when casting a spell.

Posted
On 9/27/2022 at 12:48 AM, Crabrangooned said:

Hey just wanted to say thanks for this mod and thanks for the updates. The pregnant body just looks miles better with proper normal maps. Especially in fire lit dungeons with high contrast.

 

I'm a BHUNP user so I created my own dds files in paintnet. I also use a texture slide mod to have flat chest at 0 weight and big biddies at 100 weight... and by consequence had to create 40 normal maps to cover the options.

 

I have some fairly noticeable seam issue at the hips and little on the side. I'm pretty certain I can correct this by returning to my original normal maps, lining them up and then just subtracting from the top layer with a soft eraser. But I need to do that 40 times so it's a task for another day. If I achieve something I'm happy with I'll share them here. Unless I need permission from the normals creator to do that. I believe they are from Fair Skin Complexion.

can you upload those normal maps plz? i cant find any preg normal maps for BHUNP.

Posted

Is it possible to make this work with multiple sliders at the same time? I've tried to do this, but it seems that after adding more sliders, even the "PregnancyBelly" slider stops working.

 

image.png.d50d8700c7017653c5b28332128e7ed5.png

Posted (edited)
On 8/3/2023 at 6:38 AM, H Bof said:

Sorry if this isn't the place to post but I figure some people here know a bit about texture issues, Whenever I don't have any armor on I'm getting this weird translucent skin bug. Does anyone know a fix for this? I am using Fair Skin with UBE and normalmap replacer if that helps.

ScreenShot0.png

It means that the mod has unloaded your current normal map, but has not loaded another one.. facing the same issue ATM

In my case:

 [11/05/2023 - 08:54:39PM] [PNS] @MEF<Prisoner> @UpdateSkinTexture: fileName=data/textures/PNS/00DZN_NordRace/female/femalebody_0_msn_p0.dds, exists?=False

tells that I haven't placed normal maps properly

Edited by Earen
Posted
10 hours ago, Earen said:

It means that the mod has unloaded your current normal map, but has not loaded another one.. facing the same issue ATM

In my case:

 [11/05/2023 - 08:54:39PM] [PNS] @MEF<Prisoner> @UpdateSkinTexture: fileName=data/textures/PNS/00DZN_NordRace/female/femalebody_0_msn_p0.dds, exists?=False

tells that I haven't placed normal maps properly

Thanks! I was able to get it working a while ago, if I remember it was something really dumb like I accidentally deleted the regular normal map or accidentally renamed it with an extra character in the name I forget which it was.

  • 2 months later...
Posted

I don't know if this mod is still being updated, but here is my problem

When I play my Nord (NordRace) character everything works fine but when i switch race with racemenu to something else like Orc (OrcRace), the textures are not updated and I'm stuck with an orc using nord textures.

 

 

Posted (edited)

Thanks for this mod, I find it integral to my gameplay, inflation and pregnancy mods look odd without it. Setting it up required a bit of effort, and I have discovered workarounds for multiple texture-related issues that I wanted to share. Maybe this will help others.

These seem to be issues with the way textures work in the game, rather than a bug with this mod.

 

Weird body shading:

One of the causes seems to be when the pregnancy normal maps have a different compression or resolution than the base normal map. Perhaps that causes them to fail to load.

I opened each texture in PaintDotNet and resaved to match the compression of the base normal map. I use BC7 Linear.

This also occurs when starting a new character. When the spell is first added my character's body will sometimes look weird until an outfit is equipped once. Sometimes hands appear messed up too, which is resolved by equipping gloves once. Afterwards, this character will not have this issue, and future saves are fine as well.

 

Shiny/Glossy body:

This appeared in my game only recently, I'm not sure what triggered it. It occurs whenever an outfit is equipped or unequipped. New saves and existing saves both have it. opening RaceMenu or reloading the save temporarily fixes it.

I resolved it by adding a black alpha channel to every pregnancy normal map. It seems the alpha channel of a normal map determines shininess in some cases, and normal maps without an alpha channel are automatically white, or maximum shine.

Edited by REKutanaga
Posted
On 8/25/2023 at 10:07 PM, BadJoke said:

So I've been trying this for a while now and I like the concept. I do have a weird thing going on where the hands not only flash, but they have a distorted appearance until I either change character weight in racemenu or equip/ unequip something to the hands slot.

 

There are two potential culprits that I can think of; either Wet Function Redux or Female Hands Redone. From what I've seen, they each seem to work fairly well independently, but all three together are causing issues.

 

Any thoughts on how to resolve this or should I just figure out which matter most to me?

I suggest going into config and editing MorphValueMin to something slightly below zero (I did -0.2). The mod is acting up when it deals with a slider value that it isn't configured to handle and when the morph value somehow goes into negative, it has to be taught what to do. I did have texture issues, but no other distortion though, so it may not apply to your case.

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
×
×
  • Create New...