private void LoadImportedPlatforms()
        {
            var platforms = DatHelper.GetImportedPlatforms();

            Array.Sort(platforms);

            platformToProcessSelectBox.Items.Clear();
            platformToProcessSelectBox.Items.AddRange(platforms);
        }
        private void importDatButton_Click(object sender, EventArgs e)
        {
            var selectedPlatform = importPlatformComboBox.SelectedItem;

            if (selectedPlatform == null)
            {
                MessageBox.Show("Select a platform first from the combo box", "Warning", MessageBoxButtons.OK,
                                MessageBoxIcon.Warning);
                return;
            }

            openDATFileDialog.ShowDialog();

            if (openDATFileDialog.FileName == null)
            {
                return;
            }

            DatHelper.ImportDat(openDATFileDialog.FileName, selectedPlatform.ToString());
            LoadImportedPlatforms();
        }
        private void processSelectedPlatformsButton_Click(object sender, EventArgs e)
        {
            var selectedPlatform = platformToProcessSelectBox.SelectedItem;

            if (selectedPlatform == null)
            {
                MessageBox.Show("Please select a platform to process", "Warning", MessageBoxButtons.OK,
                                MessageBoxIcon.Warning);
                return;
            }

            var platform = selectedPlatform.ToString();

            Progress <ProcessProgress> progress  = new Progress <ProcessProgress>();
            ProcessProgressForm        form      = new ProcessProgressForm(progress);
            NoIntroLBProcessor         processor = new NoIntroLBProcessor(platform, DatHelper.GetPlatformDatFile(platform));

            Task.Run(() => { processor.Process(progress); });

            form.Show(this);
        }