示例#1
0
        private void PatchFolder_Click_1(object sender, RoutedEventArgs e)
        {
            //var Dialog = new FolderBrowserDialog();
            var Dialog = new VistaFolderBrowserDialog();

            Dialog.UseDescriptionForTitle = true;
            Dialog.Description            = "Elige la carpeta con los archivos del Tales of Vesperia extraídos (para JTAG).";
            Dialog.ShowNewFolderButton    = false;
            //if (Dialog.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
            if (!(bool)Dialog.ShowDialog())
            {
                return;
            }

            PatchThread.Run(this, UpdateProgress, "", Dialog.SelectedPath, true);
        }
示例#2
0
        private void PatchIso_Click_1(object sender, RoutedEventArgs e)
        {
            var Dialog = new OpenFileDialog();

            Dialog.Filter = "Archivos ISO (*.iso)|*.iso|Todos los archivos (*.*)|*.*";
            Dialog.Title  = "Elige la ISO de la versión PAL del Tales of Vesperia";
            if (Dialog.ShowDialog() != System.Windows.Forms.DialogResult.OK)
            {
                return;
            }

            var SDialog = new SaveFileDialog();

            SDialog.Filter   = "Archivos ISO (*.iso)|*.iso";
            SDialog.Title    = "Elige dónde quieres guardar la versión traducida del Tales of Vesperia";
            SDialog.FileName = "Tales of Vesperia [PAL] [Español].iso";
            if (SDialog.ShowDialog() != System.Windows.Forms.DialogResult.OK)
            {
                return;
            }

            PatchThread.Run(this, UpdateProgress, Dialog.FileName, SDialog.FileName, false);
        }