I got some free time, and tried to compile hpl1 engine for amd64. I've updated angelscript, and now using newton-2. Collision, object interaction so far looks good (no object instant hitting).
I've created a custom waf based build script, it's available here along with HPL1Engine, OALWrapper, and PenumbraOverture: https://github.com/DirtYiCE/penumbrabuild
Of course, you can just fetch the modified HPL1Engine
, but that case you have to manually update cmake scripts (and probably send me a pull request, so users don't like waf can use cmake).
Some notes for now:
- The game slows down horribly after a few minutes of play. It's probably because of the physics changes, but the hpl1's built in timing doesn't measure any slowdown, even when the fps drops down to 1-2.
- On the very beginning of the game (boat cabin) the notebook is scaled down in the map file. With newton-1, it's somewhy ignored, and displayed in 1:1, but with newton-2, it's scaled down (and get lost immediately as you load the level), so you cannot pick it up. For now, find maps/level00_01_boat_cabin.dae, go to line 58422, and comment out
(assuming you have the linux version from humble indie bundle. I don't know if the assets are same in the different releases...)
<scale sid="scale">0.028078 0.223144 0.168925</scale>
- There is a problem when loading the third level (entering the shelter), and newton segfaults. I'm not 100% sure it's newton's fault, but until i sort this out there's a patch here. Apply it to the checked out newton, and recompile it.
- Didn't really get past mine entrace, so there may be other problems.