Masterserver only runs in Linux like systems, the normal game server runs everywhere.
For instructions, I tried many times in the past to write a document on how to do it, but I get bored very fast and never finish it, a very basic steps are found in
this post, just remove the "-r 1001" from the line and you would have the latest version.