public void Save(ArgumentsWork.Parameters parameters, string dest) { if (dest == "") { dest = Util.GetNewPath(source, ".PTP"); } PTP.SaveProject(dest); }
private void ExportPTP(string dest, ArgumentsWork.Parameters ParList) { if (dest == "") { dest = Util.GetNewPath(source, ".PTP"); } PersonaEditorLib.FileStructure.PTP.PTP PTP = new PersonaEditorLib.FileStructure.PTP.PTP(ParList.OldFont, ParList.OldMap, ParList.NewFont, ParList.NewMap); PTP.Open(BMD, ParList.CopyOld2New); PTP.SaveProject(dest); }
private void ExportPTP(string dest, ArgumentsWork.Parameters ParList) { if (dest == "") { dest = Util.GetNewPath(source, ".PTP"); } PersonaEditorLib.FileStructure.BMD.BMD BMD = new PersonaEditorLib.FileStructure.BMD.BMD(); BMD.Open(BF.GetBMD(), Path.GetFileNameWithoutExtension(dest), true); PersonaEditorLib.FileStructure.PTP.PTP PTP = new PersonaEditorLib.FileStructure.PTP.PTP(ParList.OldFont, ParList.OldMap, ParList.NewFont, ParList.NewMap); PTP.Open(BMD, ParList.CopyOld2New); PTP.SaveProject(dest); }