rubber_duck Posted December 23, 2024 Posted December 23, 2024 Hi there! I've developed a special tool for generating BodyGen files. I'll release it sometime next week, once I've got the documentation written. In the meantime, I've done some testing and results look promising. However, there's a slight inconvenience - random NPCs. To sum it up, random NPCs don't use any body preset defined in morphs.ini and templates.ini. This is the morphs.ini file that's been generated by my tool: Spoiler All|Female|HumanRace=- Claire CBBE v2023 - |- Claire's CBBE Preset - (Sept 2020) -|01 - Type Busty (Normal)|02 - Type Busty (Medium)|03 - Type Busty (Extreme)|Amazin Amazon|AmazonBombshell|ANGIE (Modified3)|AniBody BigBoobs Clothes|AniBody MilkTank Boobs Nude|AniBody Normal Boobs|AniBody Small Boobs Push Up|Arabelle|Arcade Fighter|Dat Ass with Cleavage|CustomPreset test|BBWMILKMAIN|Big Beautiful Woman|Busty Girl Body Fallout 4|Cals Sticky Thicky Milf 2.0|Cals Sticky Thicky milf|Carla Gray (nude)|Carla Gray (clothed)|CBBE Radiance|CBBEYoga2|CBBEYogaMom|CELESTIAL THICC + BREAST 2.0|CELESTIAL THICC + BREAST 4.0|CELESTIAL THICC|Champa CBBE Body|Chubby Ana|ChubbyCompanionPreset|Consequences of radiation|CowgirlPreset|Delta Body Elit|Delta Chubby Elit|Delta Sexy Elit|FAPP version 1.3 - A-Cup [GENERAL]|FAPP XL version 1.3 - B-Cup [GENERAL]|FAPP XL version 1.3 - D-Cup [GENERAL]|FAPP XL version 1.3 - E-Cup [GENERAL]|FIT 2|Fragile (Outfit)|GEEE|HentaiBody001|my preset|My body|Ivory Grace CBBE BodyPreset|JuicyGracie|KANNA CBBE BodySlider|Kinda Thicc|LatinPreset|LordDkkrs Thicc preset|LUDEX Bodies - [Curvy][Breasts]|LUDEX Bodies - [Curvy][Fit][Breasts]|LUDEX Bodies - [Fit]|LUDEX Bodies - [Milf]|LUDEX Bodies - [Milf][Fit]|LUDEX Bodies - [Oppai]|LUDEX Bodies - [Oppai][Fit][Clothes]|LUDEX Bodies - [Slim][Fit][Breasts]|Luna_CBBE|LUST FO4|Lya - CBBE Nanakochan - Breast Large|Mamacita|Marika (TheGoddesCBBE)|Marvelous|MAT - Thicc Women (CBBE Bodyslide Preset)|Mega Milf 1.1|Milf Body - Nude|Miss Ultimate|mOOve CBBE|Nuclear curves bodyslide preset|Ollie Preset Thiccer|ORGASM|OxtonbodyV3|OxtonCBBEBody+V6|Parallax Body|Perfect.2|PerfectBody_BigBoobsNude|PerfectBody_ExtraBigBoobsNude|PerfectBody_SmallBoobsClothed|Perfection1|PLUZ Bodyslide Preset|R1|R2|RD - MegaFatty|RD - Rubenesque Momma|Rubenesque Momma|Rubenesque Venus of Rome|sarah cameron|SecretaryPreset|CustomPreset 3|Stripper|Sucubus Nude|Sucubus|Suki Body 2|That Gym Booty 2.0|That Gym Booty|THBBE|The Nordic Bombshell Original v1.0|Theresa Orlowski|Thicc and Well Rounded CBBE Preset |True BBW|VIPER CBBE 2|VIPER CBBE 3|VIPER CBBE Chest Rigs|xy - Type 3DCG (Blessed)(1)(a)(Bigger)|xy - Type 3DCG (Blessed)(2)(b)|xy - Type 3DCG (Blessed)(2)(Bigger)|xy - Type 3DCG (Blessed)(2)(e)(v3)|xy - Type 3DCG (Blessed)(2)(e)|xy - Type 3DCG (Pawg)(1)|xy - Type 3DCG (Pawg)(2)(e)|xy - Type 3DCG (Pawg)(2)|xy - Type Cake (Boston Cream Pie)|xy - Type Cake (Strawberry Shortcake) All|Female|GhoulRace=AniBody Small Boobs Push Up|Arabelle|Arcade Fighter|Chubby Ana|THBBE|The Nordic Bombshell Original v1.0|Consequences of radiation # Female Player Fallout4.esm|7=exclude_from_bodygen # Cait Fallout4.esm|79249=Parallax Body # Curie (Synth) Fallout4.esm|1647C6=Champa CBBE Body # Piper Fallout4.esm|2F1E=Big Beautiful Woman # R4-04 (Tales From the Commonwealth) 3DNPC_FO4.esp|4356=GEEE # Ivy (Companion Ivy V6) CompanionIvy.esm|0803=Ivory Grace CBBE BodyPreset # Heather (Heather V2) llamaCompanionHeatherv2.esp|AB33=Thicc and Well Rounded CBBE Preset # Ellen (Ellen The Cartographer) ellen.esp|1002=LUST FO4 I'm not going to share templates.ini as that one is 100% correct. Now, as for the (potential) problem... I've set my Female Player to use 'exclude_from_bodygen' - the body preset with that name doesn't exist, and this keeps the Player's body on default. My current companion, Ivy, is set to use 'Ivory Grace CBBE BodyPreset' body preset, and it works properly! However, the problem I'm running into is with all the other non-Unique Human Female NPCs. I'm pretty confident that all the Female NPCs (companions, in my case) will work and have the body preset I've set them to use. However, the same cannot be said about other, generic, Human Female NPCs. From my solid 45 minutes of play testing things, none of the generic Human Female NPCs used any of the body presets I've defined in 'All|Female|HumanRace'. Why is that? Is something broken, or did I mess something up? Any help is much appreciated, thanks in advance!
Imsofake Posted December 23, 2024 Posted December 23, 2024 Does all of the names of the presets match 100% in the templates.ini file and does your other companions have the bodyslide presets you assigned them for sure cause if they do I don't see anything that would mess with non-unique females also I thought you need to put the first 2 digits for DLC and modded characters for Example llamaCompanionHeatherv2.esp|xx00AB33= where xx is your load order ohh and if you want I have most of the form IDs for a lot of mods on nexus and lovers lab already in my morphs.ini file if that would make it easier for you
rubber_duck Posted December 23, 2024 Author Posted December 23, 2024 4 hours ago, Imsofake said: Does all of the names of the presets match 100% in the templates.ini file and does your other companions have the bodyslide presets you assigned them for sure cause if they do I don't see anything that would mess with non-unique females also I thought you need to put the first 2 digits for DLC and modded characters for Example llamaCompanionHeatherv2.esp|xx00AB33= where xx is your load order ohh and if you want I have most of the form IDs for a lot of mods on nexus and lovers lab already in my morphs.ini file if that would make it easier for you Thanks for replying! Preset names match 100%, there's no denying that. I'm not sure whether I need to put the first 2 digits for load order for specifying companions as I've used a similar referencing type in my old morphs.ini (very similar to the one I've provided) and it worked flawlessly for months. It could be that I made a configuration mistake - the one with f4ee.ini (LooksMenu configuration). Let me explain. On my current save, I've never had BodyGen active. Then, once I finished coding the tool for generating BodyGen files, I've started the testing phase on that save - it seemed like a perfect candidate because BodyGen was never activated on it. However, upon closer inspection, I noticed that in f4ee.ini I had the following line: bEnableBodyGen=1, which means BodyGen was, technically, active this whole time. I've since set bEnableBodyGen=0, loaded the most recent save, waited a minute, then saved and exited the game. Finally, I've edited f4ee.ini yet again, this time setting bEnableBodyGen=1. I have no idea if this would contribute to something, but I found a post on Nexus mentioning this process. I will test this now even further. In the meantime, if anyone has any more info regarding the topic - I'd be very grateful! Thanks in advance, and thanks for replying!
Invictusblade Posted December 23, 2024 Posted December 23, 2024 one more thing, how many folders of bodygen's do you have? because in my experience, (I might be wrong) but I think the last ESP(in your load order) is the active one. (I remember having issues with them a while(years) ago)
rubber_duck Posted December 23, 2024 Author Posted December 23, 2024 8 minutes ago, Invictusblade said: one more thing, how many folders of bodygen's do you have? because in my experience, (I might be wrong) but I think the last ESP(in your load order) is the active one. (I remember having issues with them a while(years) ago) What do you mean exactly? I've specified the correct path - that being Data/F4SE/Plugins/F4EE/BodyGen/Fallout4.esm and my morphs.ini and templates.ini are located exactly there. From my MO2: @Invictusblade, I'm using your Overlay Framework, but I've disabled the BodyGen morphs you provided. That means that morphs.ini and templates.ini from INVB_OverlayFramework.esp are empty. Now, because INVB_OverlayFramework.esp is loaded after Fallout4.esm, it could be that its empty files 'overwrite' my files. Could that be it? I'm not sure if that makes sense as I've had working BodyGen a few months back, and its files were too in Fallout4.esm, and I've been running your Overlay Framework for years.
Invictusblade Posted December 23, 2024 Posted December 23, 2024 9 hours ago, rubber_duck said: What do you mean exactly? I've specified the correct path - that being Data/F4SE/Plugins/F4EE/BodyGen/Fallout4.esm and my morphs.ini and templates.ini are located exactly there. From my MO2: @Invictusblade, I'm using your Overlay Framework, but I've disabled the BodyGen morphs you provided. That means that morphs.ini and templates.ini from INVB_OverlayFramework.esp are empty. Now, because INVB_OverlayFramework.esp is loaded after Fallout4.esm, it could be that its empty files 'overwrite' my files. Could that be it? I'm not sure if that makes sense as I've had working BodyGen a few months back, and its files were too in Fallout4.esm, and I've been running your Overlay Framework for years. so I am using my load order as an example Fallout4.esm = 00 INVB_OverlayFramework.esp = 15 (and while it isn't active) MilkingHumanKindness.esp = 45(not really) and also just because it is empty doesn't mean that it doesn't get used (delete/move the folder) *you still have the files look I might be completely wrong about this (but I did have issues with load orders and bodygen ages ago(long before ROF)) when I was playing around with them, one of the more reliable ESPs to use is "StartMeUP.esp" because it was always near the bottom of the loadorder.
rubber_duck Posted December 23, 2024 Author Posted December 23, 2024 (edited) 36 minutes ago, Invictusblade said: so I am using my load order as an example Fallout4.esm = 00 INVB_OverlayFramework.esp = 15 (and while it isn't active) MilkingHumanKindness.esp = 45(not really) and also just because it is empty doesn't mean that it doesn't get used (delete/move the folder) *you still have the files look I might be completely wrong about this (but I did have issues with load orders and bodygen ages ago(long before ROF)) when I was playing around with them, one of the more reliable ESPs to use is "StartMeUP.esp" because it was always near the bottom of the loadorder. So you are suggesting that I copy the morphs.ini and templates ini from my Data/F4SE/Plugins/F4EE/BodyGen/Fallout4.esm to the last-loaded plugin (or any plugin loaded at the end of the plugin list), like Data/F4SE/Plugins/F4EE/BodyGen/StartMeUp.esp? Can it be a dummy plugin? For example, I have my very own RD_BorealisLOD.esp plugin loaded dead-last, and there are no more active plugins after it. That's a dummy plugin whose purpose is to load the contents of a BA2 archive into the game, and because of that - the ESP is ESL-flagged (not ESL, ESL-flagged). Would it work if I put my morphs.ini and templates.ini into that directory, Data/F4SE/Plugins/F4EE/BodyGen/RD_BorealisLOD.esp? Also, I'm not using any mods for BodyGen - just those 2 files that I've generated myself. Edited December 23, 2024 by rubber_duck
rubber_duck Posted December 24, 2024 Author Posted December 24, 2024 Pardon my French, but... Motherfucker, I've cracked it. Two days' worth of researching, thinking, experimenting, energy drinks, cigarettes, nerves, and ruined relationships... but I fucking did it. It's 2:42 AM, so I have to get some sleep. I'll post the solution after a few hours.
Invictusblade Posted December 24, 2024 Posted December 24, 2024 6 hours ago, rubber_duck said: So you are suggesting that I copy the morphs.ini and templates ini from my Data/F4SE/Plugins/F4EE/BodyGen/Fallout4.esm to the last-loaded plugin (or any plugin loaded at the end of the plugin list), like Data/F4SE/Plugins/F4EE/BodyGen/StartMeUp.esp? Can it be a dummy plugin? For example, I have my very own RD_BorealisLOD.esp plugin loaded dead-last, and there are no more active plugins after it. That's a dummy plugin whose purpose is to load the contents of a BA2 archive into the game, and because of that - the ESP is ESL-flagged (not ESL, ESL-flagged). Would it work if I put my morphs.ini and templates.ini into that directory, Data/F4SE/Plugins/F4EE/BodyGen/RD_BorealisLOD.esp? Also, I'm not using any mods for BodyGen - just those 2 files that I've generated myself. so did this work? (or was it something else) (btw I think you need to treat it like a BA2 with multiple versions based on other ESPs(think of it like archiveless BA2's) *it gets a bit weird I was a bit busy today so I couldn't get back to LL until now 3 hours ago, rubber_duck said: Pardon my French, but... Motherfucker, I've cracked it. Two days' worth of researching, thinking, experimenting, energy drinks, cigarettes, nerves, and ruined relationships... but I fucking did it. It's 2:42 AM, so I have to get some sleep. I'll post the solution after a few hours.
rubber_duck Posted December 24, 2024 Author Posted December 24, 2024 9 hours ago, Invictusblade said: so did this work? (or was it something else) (btw I think you need to treat it like a BA2 with multiple versions based on other ESPs(think of it like archiveless BA2's) *it gets a bit weird I was a bit busy today so I couldn't get back to LL until now Hey, sorry, had some things to sort out. Right, so for the explanation... Your proposed solution - having the morphs and templates files in a directory other than Fallout4.esm did not work on my end. But get this - I tried to create literally as many directories as I have plugins enabled, whether they are ESM, ESP or even ESLs. None of them worked. So that got me thinking some more. It was the ENCODING of the morphs.ini file that caused the issue. Basically, the beggining of the morphs.ini file, this part right here: All|Female|HumanRace=, it appears to be a perfectly normal line for specifying body presets for mentioned NPCs of the target race (in this case, All Female Human NPCs). However, when read more thoroughly, there was 'ZWNBSP' right before 'All' at the beginning. So, rather than having 'All|Female|HumanRace=', I actually had 'ZWNBSPAll|Female|HumanRace=', and that caused the issue. The best part? That 'ZWNBSP' issue isn't detectable - I've looked at the morphs.ini file about a million times in various text editors (Vim, VS Code, Notepad++, etc.), and I only managed to find it when I wrote a script in C for analyzing the file. Long story short, to attempt to fix the issue, I opened the morphs.ini file in Notepad++, and then selected Encoding ⇾ Convert to ANSI. Finally, I saved the file, loaded the game and it started working. Unfortunately, while the issue is fixed, it appears that my tool is responsible for that issue - both morphs.ini and templates.ini were generated by my tool, and I converted both their encodings to ANSI just for the sake of mind. I'll see what I can do to fix it, but as a result I'll have to postpone the release - I thought of releasing the tool this week, but now it seems like I'll release it in the first weeks of 2025. 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now