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.");
        }
        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.");
        }