Well, there's ptrace/gdb? (Since you mentioned Diablo II, you might want a windows debugger, but same idea)

Well, the program doesn't really work anymore, hence why I want a VM.

If it runs in Wine, you can use winedbg