Jump to content

Real-Time Body Physics (DirectX 11)


Recommended Posts

Posted
On 1/15/2021 at 3:00 AM, Ifrit158 said:

Log.txt 1.18 kB · 4 downloads

 

as requested here is the log file, thank you for all your efforts to save us!

 

Unfortunately, your log file offers no hints on what the problem is. Could you share with me what version of Windows you're running and what DLC you have installed? Thanks.

 

20 hours ago, junior01 said:

i've notice this mod doesn't work with windows 7 only windows 10 why is that because of directx12?

 

 

It should work with Windows 7. Are you sure you installed it correctly?

Posted
On 1/16/2021 at 11:41 PM, CPVC said:

 

Unfortunately, your log file offers no hints on what the problem is. Could you share with me what version of Windows you're running and what DLC you have installeDLC.txtd? Thanks.

 

 

It should work with Windows 7. Are you sure you installed it correctly?

I use windows 10 and here is all dlc i have 

Posted
On 1/19/2021 at 10:51 AM, Ifrit158 said:

I use windows 10 and here is all dlc i have 

 

Hmmm... I wish I had an answer for you, but I still don't know what the problem is. Terribly sorry. ?

 


Because so many people are having problems like this and I don't have enough information to help them, I've spent the last couple nights improving the debugging capabilities of RTBP. In the next preview release, RTBP will include more information in the log file that should hopefully help me figure out what's wrong.

 

Other than that, I'm working on adding a 3D distance limiter to simulations. I, and a few other users, have noticed that the butt has a tendency to collapse into the sim mesh during, uh... "recreational activities".

 

This should prevent that from happening by limiting how far the simulated position can differ from the target position in the negative Z axis. No more concave butts or breasts.

 

Hope this makes sense to you all. I will be publishing a new preview release fairly soon. Thanks for your help and support.

Posted
12 hours ago, elputiclub said:

IMPORTANT FOR ANYONE HAVING CRASHES OR RTBP RUNNING BUT NOT WORKING WHILE IN GAME...

 

RTBP is running outside of the game, he is injecting information that can only be read with better "Video Cards"

Doesn't matter if your computer is 10 years old. just go on google and buy a NVIDIA card for whatever computer you have.

 

Sources: My new computer couldn't play RTBP, i tried downloading new c++ files, new directx9,10,11,12 name it! lol

I removed the NVIDIA card from my old pc into my new pc, and RTBP ran smoothly

 

RTBP should run on any system that supports Direct3D 9. Basically, if your computer can run the Sims 4, it should be able to run the Sims 4 with RTBP.

 

...That is, unless I'm missing something... I'm working on adding better error reporting features to RTBP. It's possible that RTBP won't run under certain hardware for one reason or another.

Posted
20 hours ago, elputiclub said:

IMPORTANT FOR ANYONE HAVING CRASHES OR RTBP RUNNING BUT NOT WORKING WHILE IN GAME...

 

RTBP is running outside of the game, he is injecting information that can only be read with better "Video Cards"

Doesn't matter if your computer is 10 years old. just go on google and buy a NVIDIA card for whatever computer you have.

 

Sources: My new computer couldn't play RTBP, i tried downloading new c++ files, new directx9,10,11,12 name it! lol

I removed the NVIDIA card from my old pc into my new pc, and RTBP ran smoothly

 

 

8 hours ago, CPVC said:

RTBP should run on any system that supports Direct3D 9. Basically, if your computer can run the Sims 4, it should be able to run the Sims 4 with RTBP.

 

...That is, unless I'm missing something... I'm working on adding better error reporting features to RTBP. It's possible that RTBP won't run under certain hardware for one reason or another.

 

Yeh i got a pretty new Nvidia card less than a year ago but it might be something i am doing wrong.. i think i am following installation instructions properly, can you run through just to confirm?

Posted
15 hours ago, Ifrit158 said:

Yeh i got a pretty new Nvidia card less than a year ago but it might be something i am doing wrong.. i think i am following installation instructions properly, can you run through just to confirm?

 

So first of all, you need to find your game installation directory. For most people, it will be "C:/Program Files (x86)/Origin Games/The Sims 4/". From there, enter the "Game/Bin/" directory. If you see a file named "TS4_x64.exe", you're in the right place. Note that depending on which version of Windows you're running and your Explorer configuration settings, the ".exe" part of the file name may be omitted.

 

Extract "d3d9.dll" and "RTBP" from the RTBP ZIP file you downloaded from Loverslab into the "Bin" directory. Double click on "TS4_x64.exe" to launch the game with RTBP enabled. Note that RTBP only works with the 64 bit version of the Sims 4. You need to execute "TS4_x64.exe", otherwise it won't work. "TS4.exe" is the 32 bit version and is not compatible with RTBP.

 

Optional: If you'd like to install a mod that allows you to send commands to RTBP in game, extract the "RTBP Cheats Mod" from the RTBP ZIP file into your Sims 4 mods directory. The readme file will tell you how to communicate with RTBP.

 


Hope this makes sense. I've been thinking about making an (optional) installation wizard. Do you guys think that's something I should do? Let me know. Thanks.

Posted
10 hours ago, CPVC said:

 

So first of all, you need to find your game installation directory. For most people, it will be "C:/Program Files (x86)/Origin Games/The Sims 4/". From there, enter the "Game/Bin/" directory. If you see a file named "TS4_x64.exe", you're in the right place. Note that depending on which version of Windows you're running and your Explorer configuration settings, the ".exe" part of the file name may be omitted.

 

Extract "d3d9.dll" and "RTBP" from the RTBP ZIP file you downloaded from Loverslab into the "Bin" directory. Double click on "TS4_x64.exe" to launch the game with RTBP enabled. Note that RTBP only works with the 64 bit version of the Sims 4. You need to execute "TS4_x64.exe", otherwise it won't work. "TS4.exe" is the 32 bit version and is not compatible with RTBP.

 

Optional: If you'd like to install a mod that allows you to send commands to RTBP in game, extract the "RTBP Cheats Mod" from the RTBP ZIP file into your Sims 4 mods directory. The readme file will tell you how to communicate with RTBP.

 


Hope this makes sense. I've been thinking about making an (optional) installation wizard. Do you guys think that's something I should do? Let me know. Thanks.

ah it seemed to work for a very short while, it was because i wasnt using the x64.exe to run the sims, was launching from origin.. it seemed to crash the second my sim talked to a female sim

Posted
15 minutes ago, Ifrit158 said:

ah it seemed to work for a very short while, it was because i wasnt using the x64.exe to run the sims, was launching from origin.. it seemed to crash the second my sim talked to a female sim

Hi ! Just wanted to pop in because I launch my game from Origin as well, and the mod is working fairly well for me (aside from some body part moving when they shouldn't I mean)

Posted
16 minutes ago, Shay Winter said:

Hi ! Just wanted to pop in because I launch my game from Origin as well, and the mod is working fairly well for me (aside from some body part moving when they shouldn't I mean)

it seems to be whenever i see a female sim in cas i ctd.. if in game i get a couple seconds with a female sim interation in some way and then ctd.. tried everything i can think of now but my knowledge is pretty lacking anyways haha, ill just wait for an update unless mod author needs any more info from me :)

Posted
On 1/30/2021 at 9:41 PM, Gawking Penguin said:

This here mod is incredible. I'am in awe.

 

Thanks for the kind words, Mr. Penguin!

 

On 2/1/2021 at 9:02 PM, rukasulucas said:

does it work on wickedwhims animations?

 

Yes, it should add to the animations.

Posted
8 hours ago, alexlll said:

How is the work going? I'm waiting for a new version with the ability to write errors to a log file.

 

Pretty good. Just about ready to release the new preview release after I fix a couple things. I did have to take a few days off due to some family issues, but I'm back to working on it again.

Posted
On 2/5/2021 at 5:41 PM, CPVC said:

 

Pretty good. Just about ready to release the new preview release after I fix a couple things. I did have to take a few days off due to some family issues, but I'm back to working on it again.

looking forward to see the new release.

Posted

I placed the  d3d9.dll and RTBP documents in Program Files(86) - Origin Games- Sims 4- Game- Bin. When i attempt to run the sims 4 a message reads " there is a problem with your game's setup please reinstall Sims 4' I am running Sims 64 bit on a Windows Laptop. Am i doing anything wrong? Any notes? 

Posted
On 2/7/2021 at 7:49 AM, sannidan said:

I placed the  d3d9.dll and RTBP documents in Program Files(86) - Origin Games- Sims 4- Game- Bin. When i attempt to run the sims 4 a message reads " there is a problem with your game's setup please reinstall Sims 4' I am running Sims 64 bit on a Windows Laptop. Am i doing anything wrong? Any notes? 

I have this exact issue. I've tried so many things but it just won't budge

Posted
38 minutes ago, YahtzeeNicki said:

I have this exact issue. I've tried so many things but it just won't budge

 

Program Files (x86) is for 32 bit.  This works w/ 64 bit only.

 

"Installation

Move "d3d9.dll" and "RTBP" to your Sims 4 installation directory + "Game/Bin/". It should be in the same directory as "TS4_x64.exe". Currently, this mod only works with the 64 bit version of The Sims 4.

This next step is optional. If you'd like to send commands to the physics engine, copy the folder "RTBP Cheats Mod" to your documents + "Electronic Arts/The Sims 4/Mods/"."

 

 

Posted
On 2/6/2021 at 10:49 PM, sannidan said:

I placed the  d3d9.dll and RTBP documents in Program Files(86) - Origin Games- Sims 4- Game- Bin. When i attempt to run the sims 4 a message reads " there is a problem with your game's setup please reinstall Sims 4' I am running Sims 64 bit on a Windows Laptop. Am i doing anything wrong? Any notes? 

 

1 hour ago, YahtzeeNicki said:

I have this exact issue. I've tried so many things but it just won't budge

 

Are you launching the game from within Origin? Try executing "TS4_x64.exe" directly. It's possible that Origin is launching the 32 bit version for some reason.

 

 

Everyone else: Sorry for the delay in releasing the next preview release of RTBP. I've gotten everything I said I would do done, but I haven't been able to find a way to catch and report all uncaught exceptions yet. As far as I can tell, I'm doing everything correctly, but it's just not working.

 

Don't worry, I'll figure something out. If I can't within the next few days, I'll publish the next preview release without this feature and hopefully include it in the next next preview release.

 

I'd like to do a proper release soon, too, with updated documentation and source code. I think it's very important to get the source code out there so others can build on my work and create mods like this one.

Posted
11 hours ago, trunnk said:

 

Program Files (x86) is for 32 bit.  This works w/ 64 bit only.

 

"Installation

Move "d3d9.dll" and "RTBP" to your Sims 4 installation directory + "Game/Bin/". It should be in the same directory as "TS4_x64.exe". Currently, this mod only works with the 64 bit version of The Sims 4.

This next step is optional. If you'd like to send commands to the physics engine, copy the folder "RTBP Cheats Mod" to your documents + "Electronic Arts/The Sims 4/Mods/"."

 

 

I have the 64bit version downloaded though, and the one in my (x86) folder is titled TS4_64.exe. where exactly would one find the 64 one?

Posted
16 hours ago, YahtzeeNicki said:

I have the 64bit version downloaded though, and the one in my (x86) folder is titled TS4_64.exe. where exactly would one find the 64 one?

That's the one you want.

 

Posted
19 hours ago, YahtzeeNicki said:

I have the 64bit version downloaded though, and the one in my (x86) folder is titled TS4_64.exe. where exactly would one find the 64 one?

I misspoke about the folders.  attached is how my directory looks, if you need something to go by.  Make certain you use the RTBP-supplied file for d3d9.dll.  I find that it is the ONLY one that works.

 

You could test mod conflicts by:

--clearing all mods except for RTBP (back them up elsewhere, and just see if you can get RTBP to work.)

--then add the other mods back in until you get the error (offending mod) again.

 

I've been running mods for years in S4 and I only get the "there is a problem with your game's setup please reinstall Sims 4" when I have a mod conflict or a mod incompatible with the game version.  Also, try and only go ONE folder deep in your mods folder.  Long directories and weird folder names with special characters brick the mod loading process.  I currently run 3557 mod items (including RTBP) without issue.  Good Luck.

Capture.JPG

Capture2.JPG

  • 2 weeks later...
Posted

Hey CPVC why not make a visual studio installer? You would seriously help those that mess up on installing it properly.  It would also attract more attention to those unable to get this working properly or overwhelmed by setting it up. You could also make some radio or checkbox selections for various physics settings that people can choose from too and change at whim.

Posted
On 2/20/2021 at 4:28 PM, Gzudser said:

Hey CPVC why not make a visual studio installer? You would seriously help those that mess up on installing it properly.  It would also attract more attention to those unable to get this working properly or overwhelmed by setting it up. You could also make some radio or checkbox selections for various physics settings that people can choose from too and change at whim.

Yeah, I think making an (optional) installer would be for the best. I'll probably make one and release it with the next, next release.

 


Everyone else: Once again, sorry for the delays. The last preview release didn't go very well, so I promised to spend more time testing before releasing. I've borrowed a Windows 10 laptop to test RTBP on and, interestingly enough, RTBP isn't working on it. It hooks Direct 3D and everything, but the physics just aren't working.

 

I think it might have something to do with the fact that this machine has an Intel GPU while my primary PC has an AMD GPU. I've already discovered that the rendering pipeline is different for some reason and written code to compensate for that, but RTBP still isn't working correctly.

 

I think this might be why RTBP works for some people but not for others.

 


Anyway... I'm not going to call this an official preview release, because it hasn't been extensively tested, and there are known problems with it, but you can try this if you're up for it. If it doesn't work, revert to the previous preview release, which can be found here.

 

Change Log



* An RTBP logo will appear when the game is started and disappear after a few seconds, just to show people where to find me if they have feedback or require support. To prevent this from happening, set the "showLogoAtStartup" option in your "Settings.ini" file to "false".

* The Sims 4 will now tell RTBP when the game is paused or when speeds 2 or 3 are activated. When this happens, RTBP will pause the physics simulations and resume them when the game returns to speed 1 (normal speed).

* Minor performance improvements.

* Dick simulator added. Currently only the testicles are targeted. Vertex selection might need to be tweaked slightly, but you will now see bouncing balls.**

* More verbose logging. RTBP will now log all the DLC installed, the version of Windows you're running (or emulating), and what GPU you're using at startup. This should help me squash bugs when log files are shared with me.

* Added a 3D distance limiter to the spring simulation class that will allow me to limit the distance of the simulations based on axis. At this point, it only tries to prevent the breasts and butt from collapsing into the sim. Also, the limits are hard coded currently, but I could make it so you could set these variables manually in the settings file. Please let me know if you think that's something I should do.

* Uncaught exception handling. When an exception is thrown and not caught, RTBP will intercept it and log all the information it can about the exception, along with a backtrace. This information should help me solve problems with RTBP in the future.
    
**Doesn't seem to work when Wicked Whims animations are running. Don't worry, I'll fix it.

RTBP Preview v0.3-p6 2021-02-21.zip

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