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);
        }
 public PTPConsole(string filepath, ArgumentsWork.Parameters parameters)
 {
     source = Path.GetFullPath(filepath);
     PTP    = new PersonaEditorLib.FileStructure.PTP.PTP(parameters.OldFont, parameters.OldMap, parameters.NewFont, parameters.NewMap);
     PTP.Open(source);
 }