Ejemplo n.º 1
0
        /// <summary>
        /// THIS HASNT BEEN TESTED IN A LONG TIME. DOES IT WORK?
        /// </summary>
        public static Disc FromIsoPath(string isoPath)
        {
            var ret = new Disc();

            ret.FromIsoPathInternal(isoPath);
            ret.Structure.Synthesize_TOCPointsFromSessions();
            ret.Synthesize_SubcodeFromStructure();
            return(ret);
        }
Ejemplo n.º 2
0
        public static Disc FromCuePath(string cuePath, CueBinPrefs prefs)
        {
            var ret = new Disc();

            ret.FromCuePathInternal(cuePath, prefs);

            ret.Structure.Synthesize_TOCPointsFromSessions();
            ret.Synthesize_SubcodeFromStructure();
            ret.Synthesize_TOCRawFromStructure();

            //try loading SBI. make sure its done after the subcode is synthesized!
            string sbiPath = Path.ChangeExtension(cuePath, "sbi");

            if (File.Exists(sbiPath) && SBI_Format.QuickCheckISSBI(sbiPath))
            {
                var sbi = new SBI_Format().LoadSBIPath(sbiPath);
                ret.ApplySBI(sbi);
            }

            return(ret);
        }
Ejemplo n.º 3
0
 /// <summary>
 /// THIS HASNT BEEN TESTED IN A LONG TIME. DOES IT WORK?
 /// </summary>
 public static Disc FromIsoPath(string isoPath)
 {
     var ret = new Disc();
     ret.FromIsoPathInternal(isoPath);
     ret.Structure.Synthesize_TOCPointsFromSessions();
     ret.Synthesize_SubcodeFromStructure();
     return ret;
 }
Ejemplo n.º 4
0
        public static Disc FromCuePath(string cuePath, CueBinPrefs prefs)
        {
            var ret = new Disc();
            ret.FromCuePathInternal(cuePath, prefs);

            ret.Structure.Synthesize_TOCPointsFromSessions();
            ret.Synthesize_SubcodeFromStructure();
            ret.Synthesize_TOCRawFromStructure();

            //try loading SBI. make sure its done after the subcode is synthesized!
            string sbiPath = Path.ChangeExtension(cuePath, "sbi");
            if (File.Exists(sbiPath) && SBI_Format.QuickCheckISSBI(sbiPath))
            {
                var sbi = new SBI_Format().LoadSBIPath(sbiPath);
                ret.ApplySBI(sbi);
            }

            return ret;
        }