Hi there. I've just released a C library that provides functions
to read, parse, and write Descent 3 demo files. It also has
bindings to the Lua scripting language.
You can find it, and further info on it, on this descentforum.de
thread. Enjoy!