You will need the source of NitePR.

That's is all I know to do. And then I guess you can learn C++ to do whatever