Closed brynet closed 3 years ago
Hi @brynet, sorry I didn't notice your message until today. Did you manage to fix it? If not, I have a guess that maybe on your platform the types dgMatrix (Newton's matrix) and hpl::cMatrixf (the engine's matrix) aren't actually compatible. It's better to make sure they have the same size (64 bytes) and alignment properties.
Another developer @namtsui managed to get it to work, we collaborated and are merging our efforts, thank-you. I still have not worked out why I ran into this with how I was building before, I suspect it may have been due to compiler I used, but I appreciate your suggestion on where I should look.
https://twitter.com/canadianbryan/status/1314551619766419459
Hello @buzer2020 ! :-)
I discovered your fork last night, it was interesting to me as it appears to be the first attempt to have sorted out the lack of source code for dependencies and patched in a slightly newer version of Newton. I'm also attempting to get Amnesia running on an unsupported platform, so I needed to compile everything from source. Removing FBX, even if temporarily, also helped a ton.
I've actually managed to cobble things together using the CMake project files, and compiling both Newton 2.32 and Angelscript with your patches, it works well enough to load into the main menu and create a profile, but crashes when creating a new game inside Newton with a
SIGBUS
. I've spent a couple hours staring at backtraces and C++ code, but unfortunately I can't make any progress...if I comment out the assignments, like so:
It no longer crashes, but then I think the character model collides with the floor and keeps falling through the world, dying over and over again.. but that's just a guess.
I know you're working on 64-bit Windows, but I thought I'd let you know your work so far as been helpful getting me this far.