Exemplo n.º 1
0
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            string input = SelectDump();

            if (input == null)
            {
                return;
            }

            string output = SaveFile();

            if (output == null)
            {
                return;
            }

            S3DPAK.BuildPak(input, output);

            MessageBox.Show("S3DPAK Built.");
        }
Exemplo n.º 2
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            string input = SelectPak();

            if (input == null)
            {
                return;
            }

            string path = SelectPath();

            if (path == null)
            {
                return;
            }

            S3DPAK pak = new S3DPAK();

            pak.LoadPak(input);
            pak.DumpAllFiles(path);

            MessageBox.Show("Files Dumped.");
        }