MADEAPPS / newton-dynamics

Newton Dynamics is an integrated solution for real time simulation of physics environments.
http://www.newtondynamics.com
Other
936 stars 182 forks source link

Newton update for "Amnesia: The Dark Descent" #274

Open Spatzendame opened 2 years ago

Spatzendame commented 2 years ago

Hi,

I want to update the newton.dll for this game. But when I replace the old original file with the latest version and start the Launcher.exe an error message occurs. Can someone here tell me why that happens and whether it is even possible to upgrade this library and how to fix it/make it compatible?

And maybe the same for "SOMA" too.

Thank you so much.

JulioJerez commented 2 years ago

I do not think they are binary compatible.

On Wed, Feb 9, 2022, 1:18 PM Spatzendame @.***> wrote:

Hi,

I want to update the newton.dll for this game. But when I replace the old original file with the latest version and start the Launcher.exe an error message occurs. Can someone here tell me why that happens and whether it is even possible to upgrade this library and how to fix it/make it compatible?

Thank you so much.

— Reply to this email directly, view it on GitHub https://github.com/MADEAPPS/newton-dynamics/issues/274, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6EPJD2CFB7OZ35TS3UQJ3U2LKY7ANCNFSM5N6VJ67A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

Spatzendame commented 2 years ago

Hmm, okay. But there's any way to make it compatible? I mean we have both source codes from Amnesia and Newton.

Hedede commented 2 years ago

Hmm, okay. But there's any way to make it compatible? I mean we have both source codes from Amnesia and Newton.

Compile them both together?

JulioJerez commented 2 years ago

well, It should be very easy thing to do for a programmer with a better that beginner skill set, the new library of far, far better. faster and more accurate. But I do not have time. beside I think the Amnesia license is GPL, so will be problematic for me to do it.

If you or someone try to do it, I can help but giving some pointers, but I cannot be a lead. I would love to see that game with the new engine.

Spatzendame commented 2 years ago

Amnesia is open source here on Github.

https://github.com/FrictionalGames

So a programmer should be able to compile new dlls for it very easily. But my skills are way too low.

antonyvolkoff commented 1 year ago

i updated the library to version 2.36, everything works, a few changes have been made

JulioJerez commented 1 year ago

It mean some matrix is not orthonormal.

You updated to a very old version, why didn't you go for 3.14? The interface is almost identical. 2.xx is not even if GitHub. So it is hard to make any fix.

On Sun, Jan 22, 2023, 1:46 AM Anton Volkov @.***> wrote:

i updated the library to version 2.36 but i get assert in collision detection when calculating support vertices. if the library is in release, I don’t get the assert, but the character falls down I can't solve this problem. I don't understand the calculations inside the library _ASSERTE(dgAbsf(dir % dir - dgFloat32 (1.0f)) < dgFloat32 (1.0e-3f));

— Reply to this email directly, view it on GitHub https://github.com/MADEAPPS/newton-dynamics/issues/274#issuecomment-1399441729, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6EPJDNJR7AJL5ZPLQKARTWTT6XXANCNFSM5N6VJ67A . You are receiving this because you commented.Message ID: @.***>

JulioJerez commented 1 year ago

You can put a break point and see if the magnitude of fire is not too far from one, and just comment out the assert. Si if that works.

On Sun, Jan 22, 2023, 2:17 PM Julio Jerez @.***> wrote:

It mean some matrix is not orthonormal.

You updated to a very old version, why didn't you go for 3.14? The interface is almost identical. 2.xx is not even if GitHub. So it is hard to make any fix.

On Sun, Jan 22, 2023, 1:46 AM Anton Volkov @.***> wrote:

i updated the library to version 2.36 but i get assert in collision detection when calculating support vertices. if the library is in release, I don’t get the assert, but the character falls down I can't solve this problem. I don't understand the calculations inside the library _ASSERTE(dgAbsf(dir % dir - dgFloat32 (1.0f)) < dgFloat32 (1.0e-3f));

— Reply to this email directly, view it on GitHub https://github.com/MADEAPPS/newton-dynamics/issues/274#issuecomment-1399441729, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6EPJDNJR7AJL5ZPLQKARTWTT6XXANCNFSM5N6VJ67A . You are receiving this because you commented.Message ID: @.***>