/// <summary> /// Uses SteamCMD to download the game server files for the provided Steam App ID /// Return the SteamCMD process for tracking /// </summary> /// <returns>Process</returns> public void DownloadGameServerFiles(GameServer gameServer) { if (!DetectSteamCmd()) { InstallSteamCmd(); } ProcessStartInfo start = new ProcessStartInfo(); start.Arguments = String.Format("+login {0} +force_install_dir \"{1}\" +app_update {2} +quit", _steamCmd.GetCredentialString(), gameServer.HomeDirectory, gameServer.Game.SteamAppId); start.FileName = Path.Combine(_defaultDirs.GetSteamCmdDirectory(), "steamcmd.exe"); Process proc = Process.Start(start); //return proc; }