A coder (a very good one at that
) friend of mine connected me with a couple of guys who are working on emulating Stunts at the machine code level, while replacing all graphics.
Hi, I'm divip, a Hungarian coder living in Budapest.
Recently I've joined Csaba Hruska's project on an OpenGL based Stunts remake. Maybe you already know of this, here is a youtube video of it:
https://www.youtube.com/watch?v=XoE5CKLLnaMWe decided that besides developing the modern Bullet physics, the authentic original physics should also be kept. This is what I am working on now.
They know about ZakStunts, not sure if they are aware of restunts and the rest of stuff here.
I have skimmed through this thread several times and I have read a few other resources around here too.
The uncompressed game.exe and the disassemled code is a huge help!
Restunts C files also helps understanding.
We chose a different path to revive the original physics.
First, we use the uncompressed game.exe as a starting point.
Then we emulate every single 8086 instructions and the needed DOS functions with a Haskell program.
The Haskell emulator is at the moment 3338 LOC, located in 8 files in this directory:
https://github.com/csabahruska/stunts/tree/master/emulate8086Currently it is a bit slow (takes 26 seconds to reach the main menu), but it seems to do the right job.
Next, we are going automatically transform the machine code into a program library.
This is not trivial at all, but we have some initial results already.
Hopefully more info coming soon and we can combine forces!
I hope I could give a good overview of our efforts and I hope we can report more progress soon!