Jump to content

Real-Time Body Physics (DirectX 11)


Recommended Posts

Posted
6 hours ago, CPVC said:

 

 

 

Yeah, you need to run the DX9 version of the Sims 4 at this time. Sorry, about that, I need to update the documentation. (There is a little note about it on the main page, but easily missable.) If you run the Commander first then go to "General" -> "Start the Sims 4...", it should automatically find and run the DX9 version of the Sims 4 for you.

 

Alternatively, you can change to DX9 in the settings or just execute "TS4_DX9_x64.exe" directly.

 

DX11 support is nearly ready. I just need to take care of one little stubborn bug. Other than that, everything is stable and working as expected. I've played for hours with it and other than that stupid bug, everything seems good.

Thank you, thank you. You have a nice day.

Posted
23 hours ago, CPVC said:

 

 

 

Yeah, you need to run the DX9 version of the Sims 4 at this time. Sorry, about that, I need to update the documentation. (There is a little note about it on the main page, but easily missable.) If you run the Commander first then go to "General" -> "Start the Sims 4...", it should automatically find and run the DX9 version of the Sims 4 for you.

 

Alternatively, you can change to DX9 in the settings or just execute "TS4_DX9_x64.exe" directly.

 

DX11 support is nearly ready. I just need to take care of one little stubborn bug. Other than that, everything is stable and working as expected. I've played for hours with it and other than that stupid bug, everything seems good.


It keeps telling me "RTBP Commander was unable to detemine your Sims 4 Executable file. You will need to restart Sims 4 manually, the commander should connect eventually"

Posted
5 hours ago, Ofanichan said:


It keeps telling me "RTBP Commander was unable to detemine your Sims 4 Executable file. You will need to restart Sims 4 manually, the commander should connect eventually"

you need to find your filepath for the game and add it so RTBP can run. copy that filepath into the commander. its wherever your TS4.exe file is and then restart the game and restart the commander after

Posted
8 hours ago, yokozii said:

you need to find your filepath for the game and add it so RTBP can run. copy that filepath into the commander. its wherever your TS4.exe file is and then restart the game and restart the commander after


Hey, I don't find anywhere I can link the filepath. Do you mean to link it to that place in the "load setting file"? 
I have done the RTBP installer like 3 times now

Posted
13 hours ago, Ofanichan said:


Hey, I don't find anywhere I can link the filepath. Do you mean to link it to that place in the "load setting file"? 
I have done the RTBP installer like 3 times now

 

Can I see your install log? After you install RTBP using the installer, a window will pop up with a bunch of text. That is your install log. Copy that text, save it as a text file, and post it here.

Posted
12 hours ago, CPVC said:

 

Can I see your install log? After you install RTBP using the installer, a window will pop up with a bunch of text. That is your install log. Copy that text, save it as a text file, and post it here.

 

RTBPLogs.txt

Posted
1 hour ago, CPVC said:

 

Ok, thanks. That all looks good. Try running "D:\Steam\steamapps\common\The Sims 4\Game\Bin\TS4_DX9_x64.exe".


So I launched the game like that, it's still the same. I am still getting "unable to connect" messages and clicking "start the sims" on the commander still says "unable to determine"

Posted
3 hours ago, Ofanichan said:


So I launched the game like that, it's still the same. I am still getting "unable to connect" messages and clicking "start the sims" on the commander still says "unable to determine"

 

Hmmm... Any error messages pop up when you run "TS4_DX9_x64.exe"? Do you see the RTBP logo in the upper left part of the screen in game when you start it?

Posted
16 hours ago, CPVC said:

 

Hmmm... Any error messages pop up when you run "TS4_DX9_x64.exe"? Do you see the RTBP logo in the upper left part of the screen in game when you start it?


No, sorry.. It doesn't look any different to when I launch it through steam, when I run it like that

Posted
3 hours ago, Ofanichan said:


No, sorry.. It doesn't look any different to when I launch it through steam, when I run it like that

 

Huh, it seems like the EXE isn't picking up the DLL. Usually when a required DLL is in the same directory as the EXE, it'll load the local one first. Maybe there's some sort of security policy in place that is preventing this from happening? Try running "TS4_DS9_x64.exe" as administrator.

 

That or maybe try this: https://superuser.com/a/1503101

 

Maybe that'll do it. I wish I could be more helpful, but it appears that you're doing everything right.

Posted
2 hours ago, CPVC said:

 

Huh, it seems like the EXE isn't picking up the DLL. Usually when a required DLL is in the same directory as the EXE, it'll load the local one first. Maybe there's some sort of security policy in place that is preventing this from happening? Try running "TS4_DS9_x64.exe" as administrator.

 

That or maybe try this: https://superuser.com/a/1503101

 

Maybe that'll do it. I wish I could be more helpful, but it appears that you're doing everything right.


I am already running it as an administrator sadly, no difference :c And that link honestly seems too big brain for my feble mind hahah.
I think I'll have to hold on to this until you get to fix that pesky bug and try again then

Posted

While I'm still hunting down that last little annoying bug, I'll let you guys play with what I have so far. This is extremely experimental and only meant for people that know what they're doing. Test this at your own risk, backup your saves, etc., etc., etc. Don't be surprised if something unusual happens.

 

In this ZIP file, you'll find a "d3d11.dll" file. Put that in your "...\Game\Bin\" folder and execute "TS4_x64.exe" to start the DX11 version of the game.

 

Breasts appear to work flawlessly, but the butt causes some visual glitches. This is the bug I've been trying to squash. Oh, and for some outfits one of the butt cheeks is deflated. Another thing I need to fix. Ball physics are completely disabled. Those need some work.

 

RTBP Commander will work with this build, but some of the commands have not been implemented yet. Adjusting the variables will work, though.

 

Once I've taken care of the bug, I'll start adding everything back and put out an official release. After that, the DX9 version will be depreciated and all new work will go towards the DX11 version.

 

RTBP DX11 Preview 2025-10-18.zip

Posted
1 hour ago, alexlll said:

After I got everything up and running, I tried setting it up. While the breasts react well to the slider movements in static mode, their movement is almost invisible in dynamic mode, so I'm sticking with the old version.

 

  Hide contents

ошибка.jpg

 

версия игры 1.113.277.1030 Log.txt версия игры 1.118.257.1020.txt

 

Huh. Make sure you're running the latest version of the Commander.

Posted

It turns out I accidentally deleted part of the previous message. It said I tried RTBP on both the old and new versions of the game. It didn't work on the old version, but it works fine on the new one. That's why I've attached two log files.

Posted
1 hour ago, alexlll said:

It turns out I accidentally deleted part of the previous message. It said I tried RTBP on both the old and new versions of the game. It didn't work on the old version, but it works fine on the new one. That's why I've attached two log files.

 

Oh, I see what you mean. Well, I developed this version of RTBP around the 1.118.257.1020 version, so the older version must be different enough that the new RTBP won't work with it. So, I guess make sure you're running the latest version of the game for the new RTBP to work.

 

Patches are free, right? So someone with just the base game can update to 1.118.257.1020, no expansion packs required?

Posted

I made a short comparison of DirectX 9 vs. DirectX 11.

In Direct X 9 the breasts move and can be adjusted using the sliders. Direct X 11, the breasts don't move and can only be adjusted for height using the sliders.

 

Posted
14 hours ago, alexlll said:

I made a short comparison of DirectX 9 vs. DirectX 11.

In Direct X 9 the breasts move and can be adjusted using the sliders. Direct X 11, the breasts don't move and can only be adjusted for height using the sliders.

 

 

Seems to be working on my end. Anyone else having problems?

 

Are the commands going through? In the Commander, you should see the response from RTBP in the log terminal. For example, changing the spring k value should output 'Spring "female left and right breasts", variable "spring k" set to "200"'.

 

Also, I saw this in your log file:

[RTBP.DBUG (Settings::load/INIReader::parse) 00:00:2.77 1] Successfully read 1 sections with a total of 11 entries.

 

It should say "read 10 sections with a total of 117 entries". Is your settings file correct? Also, I notice that RTBP is reporting that you don't have any debug flags set in your settings file. If you were using alternative breast or butt modes before, those don't appear to be getting loaded anymore.

 

I'm not certain what the problem is. 99.9% of the code is identical to the DX9 version, so they should behave identically. I'll check the old source code and see if I missed something.

Posted

Are the commands going through? 

- Every movement of the sliders is noticeably reflected in the shape of the breasts in the game, which means they work.

 

Also, I notice that RTBP is reporting that you don't have any debug flags set in your settings file.

-Yes, I had to modify the setting file and without this, DirectX 11 version would not launch. I am attaching the modified file. When I first launched DirectX 11, the log file and setting ini file were not created in the rtbp folder. I had to add them manually.

 

I'm not certain what the problem is. 99.9% of the code is identical to the DX9 version, so they should behave identically.

-The thing is that I observed a similar problem in previous versions of DirectX 9, so I chose the one that works correctly for me and I'm sticking with it. I'm attaching the version that works correctly.

Desktop.rar

Posted
15 hours ago, alexlll said:

Are the commands going through? 

- Every movement of the sliders is noticeably reflected in the shape of the breasts in the game, which means they work.

 

Also, I notice that RTBP is reporting that you don't have any debug flags set in your settings file.

-Yes, I had to modify the setting file and without this, DirectX 11 version would not launch. I am attaching the modified file. When I first launched DirectX 11, the log file and setting ini file were not created in the rtbp folder. I had to add them manually.

 

I'm not certain what the problem is. 99.9% of the code is identical to the DX9 version, so they should behave identically.

-The thing is that I observed a similar problem in previous versions of DirectX 9, so I chose the one that works correctly for me and I'm sticking with it. I'm attaching the version that works correctly.

Desktop.rar 4.36 MB · 0 downloads

 

Ah, ok, I think I see what's going on. The version of RTBP you are using is v0.4-p8. I checked the old source code and the breast simulation method you you like had been removed in later versions. In this build I've added it back. Enable the debug flag "testAltBreastPhysics6" to use that method.

 

RTBP DX11 Preview 2025-10-21.zip

Posted (edited)

The thing is that rtbp for DirectX 9x works for me with "testAltBreastPhysics3", but in the DirectX 11 version this flag doesn't work.

The additional flag you added in the latest version works. But it works if you additionally enable the "enable Slow Motion flag", this is great news. Now you can adjust the breast movement!

If anyone is interested, here are my settings.

Settings.rar

Edited by alexlll
Posted (edited)

So excited to try this, thank you for releasing the preview to play with!!!

 

Not sure why, but I can't seem to get it working, I completely removed the old RTBP installation for DX9, added in the new d3d11.dll and ran it, Sims started up fine and loaded into the CAS but the commander wouldn't connect.

 

I tried adding the RTBP and RTBP Mod folders back in from v0.4-p9-e1 and with those folders in place, I couldn't get past the loading screen on startup, just sits there with the green diamond spinning...

 

Any help on what I might be doing would be greatly appreciated!!!

Edited by RealSiViX
Posted
16 hours ago, alexlll said:

The thing is that rtbp for DirectX 9x works for me with "testAltBreastPhysics3", but in the DirectX 11 version this flag doesn't work.

The additional flag you added in the latest version works. But it works if you additionally enable the "enable Slow Motion flag", this is great news. Now you can adjust the breast movement!

If anyone is interested, here are my settings.

Settings.rar 497 B · 3 downloads

 

The meanings of the "testAlt*" debug flags might change between releases. It depends on what I'm testing at the time. In previous releases, "testAltBreastPhysics3" might have been the same method as "testAltBreastPhysics6" is now.

 

Anyway, I'm glad it's working for you. I'll make sure to keep this flag in across releases and not change it.

 

5 hours ago, RealSiViX said:

So excited to try this, thank you for releasing the preview to play with!!!

 

Not sure why, but I can't seem to get it working, I completely removed the old RTBP installation for DX9, added in the new d3d11.dll and ran it, Sims started up fine and loaded into the CAS but the commander wouldn't connect.

 

I tried adding the RTBP and RTBP Mod folders back in from v0.4-p9-e1 and with those folders in place, I couldn't get past the loading screen on startup, just sits there with the green diamond spinning...

 

Any help on what I might be doing would be greatly appreciated!!!

 

Make sure you're executing "TS4_x64.exe", not "TS4_DX9_x64.exe". Also, make sure "DirectX 9" is not checked in the options, under the "Graphics" section. If all is well, the game should pick up the DLL and work. This build will not show the logo like the DX9 version. I haven't implemented that yet.

Posted
3 hours ago, CPVC said:

Make sure you're executing "TS4_x64.exe", not "TS4_DX9_x64.exe". Also, make sure "DirectX 9" is not checked in the options, under the "Graphics" section. If all is well, the game should pick up the DLL and work. This build will not show the logo like the DX9 version. I haven't implemented that yet.

 

I figured it out!!!

 

Turns out, the new version still requires the old dx9 dll, I put the old dll back in the folder and it started right up, have only tested in CAS but looking good so far, thank you again!!!


 

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