Jump to content

Real-Time Body Physics (DirectX 11)


Recommended Posts

Posted
On 11/7/2025 at 2:16 AM, CPVC said:

 

Would you mind sharing your ".package" files with me? I'd like to test them out in game.

I'll compress all the files into a RAR archive and make them available to you. I don't know exactly which ones will work and which won't. But there aren't that many, so it should be easy to filter them.

 

Posted
6 minutes ago, jeno3 said:

I'll compress all the files into a RAR archive and make them available to you. I don't know exactly which ones will work and which won't. But there aren't that many, so it should be easy to filter them.

 

Here are a few examples. They've all worked under different versions of RTBP, but never all with the same version. If some worked under one version, others didn't, and vice versa.

to_CPVC.rar

Posted
9 hours ago, jeno3 said:

Here are a few examples. They've all worked under different versions of RTBP, but never all with the same version. If some worked under one version, others didn't, and vice versa.

to_CPVC.rar 4.06 MB · 0 downloads

 

Cool, thanks. I think I might have come up with a solution, but I need to test it out.

Posted

As soon as I put d3d11.dll in the Bin folder, my Dx11 version exe refuses to start. It gives me an error. But, as soon as I remove the .dll file, the Dx11 .Exe version starts just fine. Any idea why this is?

Posted
8 hours ago, chelzmcnamara said:

As soon as I put d3d11.dll in the Bin folder, my Dx11 version exe refuses to start. It gives me an error. But, as soon as I remove the .dll file, the Dx11 .Exe version starts just fine. Any idea why this is?

 

What is the error message you get when you try to start the game?

Posted
13 hours ago, CPVC said:

 

What is the error message you get when you try to start the game?


So the error went away after I also added the d3d9.dll file to the bin folder as well. Is this the correct way to do it? Because I only had the d3d11.dll file before. 

image.png.0662f8e46c5876ebe615d0d40b3c39d2.png

Posted
3 hours ago, chelzmcnamara said:


So the error went away after I also added the d3d9.dll file to the bin folder as well. Is this the correct way to do it? Because I only had the d3d11.dll file before. 

image.png.0662f8e46c5876ebe615d0d40b3c39d2.png

 

Interesting, you're not the first person to report this issue. You shouldn't need the d3d9.dll version for the d3d11.dll version to run. I must have made a mistake somewhere, because the D3D 11 version is supposed to be completely independent from the DX 9 version. I'll go over the code and see if I've left something in that was supposed to be removed. Thanks for the info.

Posted

Can anyone that has the issue of RTBP DX11 not launching unless the d3d9.dll is present with the d3d11.dll post your log file with the game working? Just fire it up for a couple seconds, quit, and share your log file. Thank you.

Posted

Hi CPVC, I have the game working with just the D3D 11 file, no  D3D 9. I was having trouble getting the game to run at all whether I had just one or both of the files. What worked was removing both, running the game again with neither, closing the game then adding the d3d 11 file back in. God knows why that suddenly made it work but it did.

 

I'm not without some weird glitches though. Physics on women are working as they used to and look good. 2 major issues

1) The system seems to be erroneously picking up children and bits of their body are stretching out to infinity.

2) This is the weirdest to me, the body model looks OK in the world but when viewed through a mirror its glitching out like crazy. The shadow is doing the same thing but there seems to be a shadow length limit that stops it being too obnoxious. Its a little disorienting having a mirror hell dimension in the game!

 

I've uploaded my log, there's definitely a lot of errors showing hopefully they mean something to you.

Log.txt

Posted
On 2/8/2024 at 5:26 AM, yokozii said:

-----RTBP + RESHADE / GSHADE installation instructions that works for me------

 

as of now I have tested the current version of both GSHADE & RESHADE with  the current version of RTBP and it works together

 

2450546cb8f5a2b47e2d8d2556c8a5b8.gif

 

this is how the installation should go: 

 

GSHADE---- install Gshade first then RTBP afterwards. follow instructions including the instructions in the .zip for step 1 & 2 NOT the 3rd step AND instructions about editing the graphicsrules.sgr on main download page. add RTBP d3d9.DLL file in bin folder. (you can try to rename gshade d3d9.dll to gshade.dll and add to bin also to see if that works if it doesn't work without it.) 

 

RESHADE (V6.0)---install Reshade with add on support first, then RTBP afterwards. move d3d9.dll to desktop or somewhere safe. follow instructions including the instructions in the .zip for step 1 & 2 AND 3 instructions about editing the graphicsrules.sgr on main download page. add RTBP d3d9.dll file in bin folder. rename desktop .dll to reshade.dll add both files to bin folder. 

 

----things to know---

  • settings.ini name cannot change.
  • you cannot run 2 settings.ini files at once it won't work at all if you try. 
  • you can save other settings as presets in a folder on your pc for later but must be named settings.ini when installed. 
  • here I have a folder on desktop with names of people's settings who have shared them. In this example I'm trying out @yungkingaj2 settings and I saved it in it's own subfolder so i can drag and drop any settings.ini file I want to change out in the future. Screenshot2024-02-08033807.png.0140a542b6a9780ae78a7cdb4b4dd3ec.png
  • how his settings.ini looks in game: it's a soft boing-wiggle that doesn't alternate individual cheeks nor boobs. try it out! 
  • 307d8918fb9ee1b68edf102d0acadb75.gif
  • OLD folders with RTBP & RTBP_MOD WILL NOT WORK WITH PREVIOUS VERSIONS. only settings.ini will. so always fresh install. even with old versions, if you are backtracking, fresh install and clear cache when updating. this will reset physics for sims when simulating.
  • run your game once with reshade / Gshade , close game , install RTBP , run game again to fully load both programs with your processor.
  • allow reshade and gshade to finish loading before going in cas or in game. as you need your processor to simulate both allow the game to load first to avoid physics offsetting. 
  • How I figured this out: letting my game sit for about 10-15 mins (more if you have alot of CC) and things settled and smoothed out. I don't have wild crazy physics because I give my game to fully load before loading a save. I do this to avoid lag & body clipping from CC with a fully loaded game 
  •  
  • missing body parts and offsetting of the chest and bottom is not from RTBP , it is from the bones assigned to the clothes that try to read RTBP along with your settings. people make modded clothing different ways and unless there is ever a seamless way for RTBP to add it's own bones & morphs that work with EA's sliders and presets it is unavoidable. you can restart your game to fix this glitch or reset it. this is why you should let the game fully load first.  
  • the COMMANDER will not work if RTBP is not installed correctly with matching files or mixmatch settings.ini names.
  • COMMANDER  connects to the sims once the game has loaded in by your processor and finds your game.
  • ONLY run COMMANDER after you load your game not before it has load in like reshade / Gshade
  • WW uses bones in body selector that connect to sims differently than RTBP, they both try to simulation physics with animations and can cause clashing. it is nothing wrong. just 2 things trying to do the same thing. it is best to let your game fully load and work with them as much as u can. while your settings will be one way the animations *might* have their own physics and conflict.
  • RTBP folder does NOT go in the mods folder. it will not work if you don't do this. it goes in \Electronic Arts\The Sims 4\
  • RTBP Mod only goes in the mod folder. it will not work if you don't do this.
  • it is important to update your graphics card for NVIDIA patches from your download notifications for RTBP + SIMS4 to run smoothly.

 

I do not have a new high end PC setup. I have NVIDIA / INTEL on a 2019 MSI. I also do not keep my CC on my same drive as my game. I made a tutorial about it here.

I hope these tips can help someone

5d8ce613fa2c66ffcf1fc7c93b0b4b2f.gif

 

thank you was very helpful ❤️ 

Posted
8 hours ago, kunolandalin said:

Hi CPVC, I have the game working with just the D3D 11 file, no  D3D 9. I was having trouble getting the game to run at all whether I had just one or both of the files. What worked was removing both, running the game again with neither, closing the game then adding the d3d 11 file back in. God knows why that suddenly made it work but it did.

 

I'm not without some weird glitches though. Physics on women are working as they used to and look good. 2 major issues

1) The system seems to be erroneously picking up children and bits of their body are stretching out to infinity.

2) This is the weirdest to me, the body model looks OK in the world but when viewed through a mirror its glitching out like crazy. The shadow is doing the same thing but there seems to be a shadow length limit that stops it being too obnoxious. Its a little disorienting having a mirror hell dimension in the game!

 

I've uploaded my log, there's definitely a lot of errors showing hopefully they mean something to you.

Log.txt 2.1 MB · 0 downloads

 

Cool, thanks for the info. The glitches you mention are known issues. I released what I had at the time as a flawed demonstration, just so people could see that it worked in DX 11, but still needed some work. I'll get those glitches fixed as soon as I can and release the real DX 11 version soon.

 

A lot of the "errors" you see in the log file aren't really errors, they're just explaining why a simulator wasn't able to be created for one reason or another. For example, RTBP can't tell the difference between sim body parts and accessories without examining them. When RTBP tries to find a breast on a pair of sunglasses it's going to fail, as it should. Real errors in the log are going to start with "[RTBP.ERRO...".

 

I'll see what I can do with the information you've given me. Thanks again.

Posted
17 hours ago, kunolandalin said:

Hi CPVC, I have the game working with just the D3D 11 file, no  D3D 9. I was having trouble getting the game to run at all whether I had just one or both of the files. What worked was removing both, running the game again with neither, closing the game then adding the d3d 11 file back in. God knows why that suddenly made it work but it did.

 

I'm not without some weird glitches though. Physics on women are working as they used to and look good. 2 major issues

1) The system seems to be erroneously picking up children and bits of their body are stretching out to infinity.

2) This is the weirdest to me, the body model looks OK in the world but when viewed through a mirror its glitching out like crazy. The shadow is doing the same thing but there seems to be a shadow length limit that stops it being too obnoxious. Its a little disorienting having a mirror hell dimension in the game!

 

I've uploaded my log, there's definitely a lot of errors showing hopefully they mean something to you.

Log.txt 2.1 MB · 1 download

 

I have no idea why this worked, but I can confirm that removing both dll's, starting the game, quitting and then placing just the dx11 DLL back into the folder has also worked for me.

 

Thank you very much for sharing this fix.

 

One thing worth noting for anyone else who might have this problem, I couldn't get the game all the way to the main menu with both dll's removed, so I had to close the game with Task manger but then after placing the dx11 dll back in the folder, everything worked normally. Just a heads-up.

Posted (edited)

Could someone link to the .zip of the DX11 version? I understand that it's somewhere within this post history but I'd rather not have to dig through potentially dozens of pages to find it if someone already knows where/has a direct link or quote to it.

EDIT: Oh nvm, ignore. I just scrolled up and someone quoted the post.

Edited by DatGreninja
Posted
On 11/30/2025 at 12:26 PM, CPVC said:

 

看起来是你的游戏路径出了问题。在尝试获取当前目录后不久会抛出异常。你是从哪里运行游戏的?

First of all, thank you for your reply. I started the game from the game path in the folder. Is there any way to avoid this situation from happening? In addition, reinstalling d3d9 and d3d11 also produces corresponding animation effects, which are effective, but there are issues with the image and texture reflected by the mirror afterwards

Posted (edited)

Hi CPVC, I love this mod, have used it for ages now,  but just recently i keep getting [RTBP.ERRO 00:03:38.45] _EXCEPTION_RECORD(Access Violation) and crashing to desktop. I was using v0.4-p8 but after getting these errors constantly i upgraded it to  v0.4-p9-e1 which unfortunately did not fix the issue. I even tried the dx11 version (I really want the dx11 one to work but it keeps either stopping the sims from starting at all or just crashes to desktop without an error). Here is the log file, hopefully you can figure it out. Thanks in Advance.

Log.rar

Log1.rar

Edited by aardin
new dx11 log
Posted
8 hours ago, Gzbbbbbb said:

First of all, thank you for your reply. I started the game from the game path in the folder. Is there any way to avoid this situation from happening? In addition, reinstalling d3d9 and d3d11 also produces corresponding animation effects, which are effective, but there are issues with the image and texture reflected by the mirror afterwards

 

Oh, I see what's going on now. Try this build of the DX9 version of RTBP. It shouldn't have any issues dealing with Unicode path names. Just replace the old "d3d9.dll" with the new one.

 

RTBP DX9 Fixed Unicode.zip

 

The issues with the DX11 version (deformed sims in mirrors, occasional funky shadows and children) are know. Fixing that is my number one priority. The DX9 version doesn't have these issues, so I'd suggest sticking with that for now.

 

6 hours ago, aardin said:

Hi CPVC, I love this mod, have used it for ages now,  but just recently i keep getting [RTBP.ERRO 00:03:38.45] _EXCEPTION_RECORD(Access Violation) and crashing to desktop. I was using v0.4-p8 but after getting these errors constantly i upgraded it to  v0.4-p9-e1 which unfortunately did not fix the issue. I even tried the dx11 version (I really want the dx11 one to work but it keeps either stopping the sims from starting at all or just crashes to desktop without an error). Here is the log file, hopefully you can figure it out. Thanks in Advance.

Log.rar 13.66 kB · 0 downloads

Log1.rar 1.5 kB · 0 downloads

 

Uh oh, looking at your log file, it seems that the exception originates from within the game, specifically the Python language that the Sims 4 uses to do simulation:

 

...
10: 0x3ca29120 PyEval_EvalFrameDefault
11: 0x3ca27ec0 Py_CheckFunctionResult
...

 

Functions beginning with "Py" are Python functions.

 

This could be a bug in the game or with a script mod. RTBP's unhandled exception handler catches any uncaught exception thrown by the game, not just those originating from within RTBP, so a bug in the game or in a mod can will be caught and a stack trace will be printed in RTBP's log.

 

I'd say check your script mods, see if the game starts without them. If it does, check and see if any of your script mods need updates.

Posted

Thanks for the help CPVC i don't remember adding any new script mods during this time but i guess a game update around this time might have broken 1 or more mods i have not updated, i'll do the old 50/50 and see if i can track it or them down.

Posted
17 hours ago, CPVC said:

 

哦,我现在明白了。试试这个DX9版本的RTBP版本。它应该不会有处理Unicode路径名称的问题。只需把旧的“d3d9.dll”替换成新的。

 

RTBP DX9 固定Unicode.zip 8.76 MB · 1 次下载

 

DX11版本的问题(镜子里模拟变形、偶尔有怪异阴影和儿童)是众所周知的。解决这个问题是我的首要任务。DX9版本没有这些问题,所以我建议暂时继续用DX9版本。

 

 

哦,看了你的日志文件,似乎异常来自游戏内部,特别是模拟人生4用来做模拟的Python语言:

 

 

...
10: 0x3ca29120 PyEval_EvalFrameDefault
11: 0x3ca27ec0 Py_CheckFunctionResult
...

 

 

以“Py”开头的函数是Python函数。

 

这可能是游戏本身或脚本模组的bug。RTBP的未处理异常处理程序会捕捉游戏抛出的任何未捕获异常,而不仅仅是来自RTBP内部的异常,因此游戏内或模组中的bug会被抓获,栈痕迹会被打印到RTBP日志中。

 

我建议检查一下你的脚本模组,看看游戏是否不需要它们就开始。如果有,看看有没有脚本模组需要更新。

Thank you

Posted
9 hours ago, Gzbbbbbb said:

Thank you

 

Is it working now? Hopefully switching to the Unicode aware version of the "get current directory" function fixed it.

Posted (edited)

Hi CPVC, You were correct the other day, after i updated all my script mods it stopped crashing, but now i have another weird error that also just started happening recently, i have missing body parts on random sims, attached is my log and a few pics of the issue, i also have some strange stretching happening randomly, (attached is a mp4 of the issue as i could not capture the issue any other way), both issues went away after i removed d3d9.dll and re-appeared when it was replaced, i tried clearing the caches in case it was the issue but it didn't help. i also started a new game and family but the issues were still there,

just adding a bit more info, the holes in the clothing still occurred even after removing all mods by renaming the mods folder and letting the game make a new empty one, i normally run in full screen windowed but i tried running just full screen and also changing the refresh rates from the lowest 60hz all the way up to 177hz but none of these fixed the issues. i am re-adding mods one at a time to find which one is causing the texture (mesh?) stretching problem

missing crotch 1.jpg

missing belly.jpg

stretching.rar Log.rar

Edited by aardin
more info
Posted
On 12/9/2025 at 3:44 PM, aardin said:

Hi CPVC, You were correct the other day, after i updated all my script mods it stopped crashing, but now i have another weird error that also just started happening recently, i have missing body parts on random sims, attached is my log and a few pics of the issue, i also have some strange stretching happening randomly, (attached is a mp4 of the issue as i could not capture the issue any other way), both issues went away after i removed d3d9.dll and re-appeared when it was replaced, i tried clearing the caches in case it was the issue but it didn't help. i also started a new game and family but the issues were still there,

just adding a bit more info, the holes in the clothing still occurred even after removing all mods by renaming the mods folder and letting the game make a new empty one, i normally run in full screen windowed but i tried running just full screen and also changing the refresh rates from the lowest 60hz all the way up to 177hz but none of these fixed the issues. i am re-adding mods one at a time to find which one is causing the texture (mesh?) stretching problem

missing crotch 1.jpg

missing belly.jpg

stretching.rar 2.14 MB · 1 download Log.rar 53.13 kB · 1 download

 

Hmmm, missing sim parts usually means a simulator has gone out of control. Since this issue appears to happening at crotch height, it makes me think it's something to do with the dick simulator. The dick simulator has been unmaintained and untested, mostly because I forget it even exists, so it could be buggy. Try disabling it and see what happens.

 

In your settings file, set "enableBallsPhysics" to false.

Posted

I keep running into this issue. I have 0 idea what causes it, or how to even avoid it from happening.

 

I have no idea if it's because of the preset i have or something else. Anyone have any solutions to _EXCEPTION_RECORD(Integer Divide By Zero)

imtiredofthis.png

Posted (edited)
7 hours ago, yeasgz said:

I keep running into this issue. I have 0 idea what causes it, or how to even avoid it from happening.

 

I have no idea if it's because of the preset i have or something else. Anyone have any solutions to _EXCEPTION_RECORD(Integer Divide By Zero)

imtiredofthis.png

 

forgot to include the log file lol

 

Update: saw someone mention RTBP isn't really compatible with Windows 11, so I'm going to assume that might be my issue? Cause so far I've only managed to get it running once before the integer divide by zero appears. 

Log.txt

Edited by yeasgz

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