If you want to make a new Launcher for your Private Server, Here's a few things you might want and a Semi-Guide.
Create a New Windows form application.
I would recommend 4 or 5 Buttons, A play button, Site button, Vote button, Exit button and If you like a Credits button.
For the Play Button
Code:
Process.Start(System.IO.Directory.GetCurrentDirectory() + "\\conquer.exe", "blacknull");
Code:
System.Diagnostics.Process.Start("http://www.xtremetop100.com/in.php?site=YourXtremeTopID");
Code:
MessageBox.Show("Credits to bla bla bla");
Create a label and this is the code. It will show the patch number, and you could probly make it into a auto-patcher xD
I used a switch statement, This went up above the Play.exe code.
Code:
switch (version) { case 1001: MessageBox.Show("Client is up to date. Have fun playing =)"); break; default: MessageBox.Show("Please Patch Client up"); break; }
And to read it, Put this under Form1_Load_1
Code:
if (System.IO.File.Exists("version.dat")) { label1.Text = string.Format("Client Version: {0}", System.IO.File.ReadAllLines("version.dat")[0]); version = Convert.ToInt32(System.IO.File.ReadAllLines("version.dat")[0]); } else label1.Text = "Error 101: Unable to find version.dat";
Press thanks if it helped at all.