private void MODtoTPFButton_Click(object sender, EventArgs e)
{
string filename = "";
if (!CheckTree())
return;
using (OpenFileDialog ofd = new OpenFileDialog())
{
ofd.Title = "Select .mod to convert to .tpf";
ofd.Filter = "ME3Explorer Mods|*.mod";
if (ofd.ShowDialog() == System.Windows.Forms.DialogResult.Cancel)
return;
filename = ofd.FileName;
}
Overall.UpdateText("Loading .mod from: " + filename);
backbone.AddToBackBone(b =>
{
LoadMOD(filename);
return true;
});
}