Hello there Na Amigo,
I doubt any of us will be able to help you out with XML based distributions. These are old, not safe and not being used anymore, still the Protocol in the source code should, I guess, be written in the same way we had on older TFS versions (check github.com/otland/tfs-old-svn/).
Just compare the files, it's going to be a lot of work if you have no clue about programming but I belive you'll manage to do it depending on your needs.
Kindest Regards,
Okke