////private void FindGameInstallationPath(GameConfiguration gameConfiguration)
        ////{
        ////    // Could not find anything in the registry indicating whether the game uses
        ////    // the windows user documents folder for storing saves, mods, etc.
        ////    if (!String.IsNullOrEmpty(gameConfiguration.CustomWindowsUserDocumentsSubFolder))
        ////    {
        ////        string windowsUserDocumentsFolder = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
        ////        string combinedPath = windowsUserDocumentsFolder + gameConfiguration.CustomWindowsUserDocumentsSubFolder;

        ////        if (Directory.Exists(combinedPath))
        ////        {
        ////            gameConfiguration.InstallationPath = combinedPath;
        ////            this.LogItems.Add(new LogEntry("Added custom file location: " + combinedPath));
        ////        }
        ////    }
        ////}

        #endregion

        #region [ Helper Methods ]

        /// <summary>
        /// Shows an (helpful?) error message if something goes wrong during parsing.
        /// </summary>
        /// <param name="xmlFileName">Name of the XML file.</param>
        /// <param name="exception">The exception.</param>
        private void ShowMalformedOrMissingXMLElementError(string xmlFileName, XMLParseExceptionBase exception)
        {
            var lineInfo = FindExpectedLineNumber(exception.ParentElement);

            var message = "There was an error reading " + xmlFileName;

            if (lineInfo != null)
            {
                message += ". The element starting at " + lineInfo.Item1 + ", position: " + lineInfo.Item2 + " seems to be missing subitem named " + exception.PropertyName + ".";
            }
            else
            {
                message += "; the element named " + exception.PropertyName + " couldn't be properly read.";
            }

            MessageBox.Show(message, "Configuration file error", MessageBoxButtons.OK, MessageBoxIcon.Error);
        }
        /// <summary>
        /// Shows an (helpful?) error message if something goes wrong during parsing.
        /// </summary>
        /// <param name="xmlFileName">Name of the XML file.</param>
        /// <param name="exception">The exception.</param>
        private void ShowMalformedOrMissingXMLElementError(string xmlFileName, XMLParseExceptionBase exception)
        {
            var lineInfo = FindExpectedLineNumber(exception.ParentElement);

            var message = "There was an error reading " + xmlFileName;

            if (lineInfo != null)
            {
                message += ". The element starting at " + lineInfo.Item1 + ", position: " + lineInfo.Item2 + " seems to be missing subitem named " + exception.PropertyName + ".";
            }
            else
            {
                message += "; the element named " + exception.PropertyName + " couldn't be properly read.";
            }

            MessageBox.Show(message, "Configuration file error", MessageBoxButtons.OK, MessageBoxIcon.Error);
        }