Jump to content

Real-Time Body Physics (DirectX 11)


Recommended Posts

Posted
6 hours ago, yokozii said:

oh okay that makes sense. and TBH I talked with some people when trouble shooting why my pc's fans start running hard & overheating from needing so much memory with sims open on a windows 10 forum , thinking I needed to upgrade to windows 11 and they even said that alot of unreal engine games are requiring more POWER with each update and patch , which includes sims 4 ..and it's causing me to kick into UEFI and i think I tried to update my BIOS and it didn't help anything. I agree this more than likely a Maxis issue. (besides Chrome wanting to yank up the RAM and CPU also)

but thank you for this fix ! I'll give it a try and report back on my findings.

 

edit: do you think this conflicts with better exceptions script mod? 

 

I don't think it should conflict with anything like that. Exceptions thrown in a Python script shouldn't escape the Python environment. RTBP's unhandled exception handler catches unhandled C++ exceptions in RTBP and The Sims 4.

Posted (edited)

I got a reply back asking the EVE dev about the Physics Issue with the clothing types. "I believe it has something to do with the way the Real-Time-Body-Physics uses weighted areas for breast bones. From my understanding, augmentation to this area of default EA meshes make them less likely to be compatible."

Another possible reason is that some of the older Eve clothing types pre-2021 were never updated to have the settings of clothing/gender restrictions that Sims 4 released in a patch/update earlier on. That being that this is suppose to target and only provide physics to female only clothing ? So when presented with older EVE clothing that could be also equipped on males regardless of masculine/feminine setting it doesn't apply the physics properly as most eve clothing designs were intended to be used in junction with a female body due to the chest mesh along with it, meaning it could be confused if it's a outfit that wasn't properly tagged for female only settings.

I'll try the new experimental release you posted earlier and see if that fixes some of the current outfit issues. If nothing has changed I'll also experiment with using Sims4Studio to try and manually update some of the older EVE clothing in my mod folder to see if applying updated tags will fix it, enabling the physics to work on them.

 

[Update] Tried the experimental and it has fixed the physics on some eve outfits, there a still a few that don't work but I'll wait till another version is ready for testing.
Untitled1.jpg.4f01dfe904f2ce681d6386c1931ded70.jpg

Edited by ReconUnitZero
Posted (edited)
On 3/11/2024 at 8:39 AM, ReconUnitZero said:

I got a reply back asking the EVE dev about the Physics Issue with the clothing types. "I believe it has something to do with the way the Real-Time-Body-Physics uses weighted areas for breast bones. From my understanding, augmentation to this area of default EA meshes make them less likely to be compatible."

Another possible reason is that some of the older Eve clothing types pre-2021 were never updated to have the settings of clothing/gender restrictions that Sims 4 released in a patch/update earlier on. That being that this is suppose to target and only provide physics to female only clothing ? So when presented with older EVE clothing that could be also equipped on males regardless of masculine/feminine setting it doesn't apply the physics properly as most eve clothing designs were intended to be used in junction with a female body due to the chest mesh along with it, meaning it could be confused if it's a outfit that wasn't properly tagged for female only settings.

I'll try the new experimental release you posted earlier and see if that fixes some of the current outfit issues. If nothing has changed I'll also experiment with using Sims4Studio to try and manually update some of the older EVE clothing in my mod folder to see if applying updated tags will fix it, enabling the physics to work on them.

 

[Update] Tried the experimental and it has fixed the physics on some eve outfits, there a still a few that don't work but I'll wait till another version is ready for testing.
Untitled1.jpg.4f01dfe904f2ce681d6386c1931ded70.jpg

 

The method I was using to determine the breast bones was a little too strict. The last official preview release mandated that the left and right breast bones had matching weights. This seems to be the standard for all default meshes, but Eve meshes don't seem to conform to this all the time. I've removed this restriction in the experimental releases and that's probably why a lot of Eve meshes that didn't work before are now working.

 

Could you find me an Eve top that doesn't work and share your log file? Don't select another outfit or anything. Just Alt+Tab out of the game after you find a non-working top, find your log file and post it here. RTBP logs a bunch of useful info when creating breasts simulators, even if it fails. That info could be helpful.

 

Thanks so much for sharing your info with me and helping me improve this mod.

Edited by CPVC
Posted

Would it be feasible to change how the damping works? Right now it seems like damping is linear. As physics movement hits the set limit it just stops abruptly. This mostly effects test physics 3 and 5 as the other test physic settings as well as the default, are too subtle and movement would never hit the limit with any sim animation.

 

Could damping be simulated with a curve? ie; the damping gets strong as movement approaches the set limit.

Posted
18 hours ago, alexlll said:

Could you add more settings for angular physics? Mass, power, gravity, minimum and maximum X Y and Z.

 

Linear mass, power, gravity, and distance limits apply to angular physics as well.

 

5 hours ago, fanbongo said:

Would it be feasible to change how the damping works? Right now it seems like damping is linear. As physics movement hits the set limit it just stops abruptly. This mostly effects test physics 3 and 5 as the other test physic settings as well as the default, are too subtle and movement would never hit the limit with any sim animation.

 

Could damping be simulated with a curve? ie; the damping gets strong as movement approaches the set limit.

 

Hmmm... Yeah, that actually might be a good idea. It would make the approach to the min/max distances look a bit more natural. Maybe after a certain threshold has been reached, like 80 or 90 percent of the limit, some variable interpolation could kick in. I'll look into this.

Posted
11 minutes ago, CPVC said:

 

Linear mass, power, gravity, and distance limits apply to angular physics as well.

 

 

Hmmm... Yeah, that actually might be a good idea. It would make the approach to the min/max distances look a bit more natural. Maybe after a certain threshold has been reached, like 80 or 90 percent of the limit, some variable interpolation could kick in. I'll look into this.

 

Exactly! Might be cool if the threshold before damping gets stronger was configurable in the commander but I'd rather have an mvp first to keep things somewhat simple as it currently is.

Posted
2 hours ago, CPVC said:

 

Linear mass, power, gravity, and distance limits apply to angular physics as well.

Distance limit settings don't work with butt angular physics. If the angular physics of the breast can still be adjusted somehow, then the butt angular physics  behaves as it wants.

Due to butt physics I often have to use the RTBP reboot function.

Posted
21 hours ago, alexlll said:

Distance limit settings don't work with butt angular physics. If the angular physics of the breast can still be adjusted somehow, then the butt angular physics  behaves as it wants.

Due to butt physics I often have to use the RTBP reboot function.

 

Whoops, my bad. I was kinda neglecting the angular physics code, because it's a work in progress and I was focusing on other things. Please remember to tread lightly when playing with debug flags. Some of these flags intentionally crash the Sims 4 to test RTBP's error handling.

Posted

i keep getting the error nstaller failed!: filesystem error: cannot rename: Permission denied [C:\Users\Admin\AppData\Local\Temp\RTBP v0.4-p7 2024-02-02 (2).zip\d3d9.dll] [C:\Program Files\EA Games\The Sims 4\Game\Bin\d3d9.dll]

Posted
19 hours ago, Buefy said:

i keep getting the error nstaller failed!: filesystem error: cannot rename: Permission denied [C:\Users\Admin\AppData\Local\Temp\RTBP v0.4-p7 2024-02-02 (2).zip\d3d9.dll] [C:\Program Files\EA Games\The Sims 4\Game\Bin\d3d9.dll]

 

Whoops, forgot to include the manifest file that tells Windows that the RTBP Installer needs to be run as an administrator. Right click on "RTBP Installer.exe" then click "Run as administrator". That'll give it the permissions needed to install RTBP.

 

Had I remembered to include the manifest file, this would have been done automatically. Sorry about that.

Posted
6 hours ago, CPVC said:

 

Whoops, forgot to include the manifest file that tells Windows that the RTBP Installer needs to be run as an administrator. Right click on "RTBP Installer.exe" then click "Run as administrator". That'll give it the permissions needed to install RTBP.

 

Had I remembered to include the manifest file, this would have been done automatically. Sorry about that.

its working, but im not seeing the physics while im creating my sim.

Posted
17 hours ago, Buefy said:

its working, but im not seeing the physics while im creating my sim.

 

Huh. Anyway I could see your log?

Posted
On 3/7/2024 at 12:01 AM, CPVC said:

 

Uh, oh. I could be wrong, but I think this might be originating from the Sims 4 itself. The only RTBP related functions I see in this stack trace are the ones that catch the error and print the trace. The function that seems to be throwing this exception appears to be "PyInit_Tuning", which is related to the Sims 4's simulation service which uses the Python programming language, hence the "Py" prefix to the function name.

 

I'd suggest trying this again without RTBP installed. If the game crashes, Maxis is to blame. Wait for an update. I've heard that the last update broke a lot of stuff. I know I've been having problems with script mods. If not, attached to this post is a build of RTBP with unhandled exception handling disabled. Maybe Maxis has their own way of handling unhandled exceptions and my way is interfering with it. This might work for you.

RTBP v0.4-p7-eX (Unhandled Exception Handler Disabled) 2024-04-06.zip 5.54 MB · 26 downloads

 

Just wanted to chime in and say I'm encountering this as well. Used the dll provided in the attachment but ended up with a strange white screen containing a minimized error window with no message. Let me know though if you need any help with testing the next release which resolves the original issue

Posted

rtbp without gui works ok but I wanted to have better control over it so i tried to install the gui. i'm having issues installing rtbp gui.. i downloaded the gui zip. did the manual folder search and tried to install. Both install directory & mods directory were valid except for the Zip file it was asking.. when I first downloaded the zip I extracted it first to use the installer. It won't let me use installer unless I extract it. Install log says zip file is invalid. what am i doing wrong? thanks!

Posted
4 hours ago, mxm89 said:

rtbp without gui works ok but I wanted to have better control over it so i tried to install the gui. i'm having issues installing rtbp gui.. i downloaded the gui zip. did the manual folder search and tried to install. Both install directory & mods directory were valid except for the Zip file it was asking.. when I first downloaded the zip I extracted it first to use the installer. It won't let me use installer unless I extract it. Install log says zip file is invalid. what am i doing wrong? thanks!

 

So you've installed RTBP manually and it's working? If that's the case, just go to the folder you extracted the GUI Tools bundle to and fire up the "RTBP Commander.exe". Click "General" (menu bar, upper left), then "Start the Sims 4...".

 

The Sims 4 should start up and eventually the Commander should make contact and you're in business. Just Alt+Tab out of game and use the Commander to tweak the settings. These changes will be applied instantly.

 

The Installer isn't necessary if you're able to manually install the RTBP DLL. The Installer is mainly for people that don't know how to locate their Sims 4 installation directory or their Sims 4 documents directory. When it asks for a ZIP file, it wants the RTBP release file, the one that includes the "d3d9.dll", the settings file, and Sims 4 script mod files.

Posted (edited)

Hey im trying to install, and I'm getting everything correct but when select the file i downloaded for the zip file it doesn't work. And a pop up asking if the file i selected is a valid version. If i try to download it, it fails and says the file is not the right one. Even if i downloaded the one of the page. 

RTBP Installer Log.txt

Edited by TRE32
Posted
26 minutes ago, fanbongo said:

I started getting this error today. No new mods but I did install an NVIDIA driver update.

image.png.6665baed9913c2bf97f2d7edfff18e02.png

 

Updating in case others encounter the same issue. Reinstalled NVIDIA driver as a "Clean Install" and the issue was fixed.

Posted
12 hours ago, TRE32 said:

Hey im trying to install, and I'm getting everything correct but when select the file i downloaded for the zip file it doesn't work. And a pop up asking if the file i selected is a valid version. If i try to download it, it fails and says the file is not the right one. Even if i downloaded the one of the page. 

RTBP Installer Log.txt 5.16 kB · 1 download

 

That is the wrong ZIP. You've selected the GUI Tools bundle. You need to choose the RTBP proper ZIP.

 

Go to this page: https://www.loverslab.com/files/file/14085-real-time-body-physics/ and click the green button on the right that  says "Download this file". Use that ZIP file with the installer.

Posted (edited)
On 3/12/2024 at 5:43 PM, CPVC said:

Could you find me an Eve top that doesn't work and share your log file? Don't select another outfit or anything. Just Alt+Tab out of the game after you find a non-working top, find your log file and post it here. RTBP logs a bunch of useful info when creating breasts simulators, even if it fails. That info could be helpful.


These one's are not made by the Eve Creator but some were based off of Eve's breast mesh design (not sure what version). But testing these 3 so far don't show any physics in-game or in CAS. The outfits are [ Coco Tops ] [ Squeeze Halter Top ] and [ XS Crop Top ]

Most of Nitro's clothing work, but these ones in particular don't seem to. Another one which seems to work on/off on occasion at random is [ Squeeze Ruffle Top ]

I'll list some more in the future as I've been cleaning up a lot of older mods out of my system. But is it easier investigate the issue with provided links to the outfits ? Or would only the log file suffice ?

Log.txt

Edited by ReconUnitZero
Posted
6 hours ago, ReconUnitZero said:


These one's are not made by the Eve Creator but some were based off of Eve's breast mesh design (not sure what version). But testing these 3 so far don't show any physics in-game or in CAS. The outfits are [ Coco Tops ] [ Squeeze Halter Top ] and [ XS Crop Top ]

Most of Nitro's clothing work, but these ones in particular don't seem to. Another one which seems to work on/off on occasion at random is [ Squeeze Ruffle Top ]

I'll list some more in the future as I've been cleaning up a lot of older mods out of my system. But is it easier investigate the issue with provided links to the outfits ? Or would only the log file suffice ?

Log.txt 31.91 kB · 0 downloads

 

These links ought to be enough for the time being. I'll examine them and see if I detect a pattern. Thanks.

Posted
On 4/3/2024 at 7:32 PM, ReconUnitZero said:


These one's are not made by the Eve Creator but some were based off of Eve's breast mesh design (not sure what version). But testing these 3 so far don't show any physics in-game or in CAS. The outfits are [ Coco Tops ] [ Squeeze Halter Top ] and [ XS Crop Top ]

Most of Nitro's clothing work, but these ones in particular don't seem to. Another one which seems to work on/off on occasion at random is [ Squeeze Ruffle Top ]

I'll list some more in the future as I've been cleaning up a lot of older mods out of my system. But is it easier investigate the issue with provided links to the outfits ? Or would only the log file suffice ?

Log.txt 31.91 kB · 0 downloads

 

Ok, I think I've fixed this now. Just had to remove a single seemingly redundant check in the breast simulator creation function. This will be included in the next release, as long as I don't see any problems.

Posted
On 4/6/2024 at 3:23 PM, CPVC said:

Ok, I think I've fixed this now. Just had to remove a single seemingly redundant check in the breast simulator creation function. This will be included in the next release, as long as I don't see any problems.

Thanks again, I'll hold off reporting the other clothing/outfits that are also not working in my list until the update to see if they are also fixed by the new release.

Posted (edited)

Ok, the next version of RTBP is live. Check the change log for more info.

 

Although not part of this release, I've been working on some other interesting things. I've created a dynamic library system that allows me to change parts of the code while the Sims is running. I can edit the code for the dynamic library, compile it, and instruct RTBP to load the new code, all without having to restart the game.

 

Another thing I've been experimenting with is an integrated GUI. I'm testing ImGui and seeing if I can implement the functionality of RTBP Commander directly in game. The ImGui paradigm is a little odd for me, and I'm not completely sold on it, but if I could embed the Commander in RTBP, that would make things much easier for everyone.

 

RTBPImGuiPreviewCropped.jpg.6d1b7d9bb43f74bce31485a304009b8a.jpg

(The GUI is not functional yet. This is just a preview.)

 

Please let me know if you encounter any problems with the new release. Thanks.

 

 

Edited by CPVC
Forgot file link.

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