Exemple #1
0
 public Class250(string string2, QbcParser class3621, ZzPakNode2 class3181, string string3)
 {
     _string0   = string2;
     _class3180 = class3181;
     Class3620  = class3621;
     _string1   = string3;
 }
Exemple #2
0
        public static QbcParser LoadMidiSong(string fileName, bool forceRb3)
        {
            QbcParser qbc  = null;
            Song      song = null;

            try
            {
                song = MidReader.ReadMidi(fileName);
                var chartFile   = ChartWriter.writeChart(song, "", false, forceRb3).ToString();
                var chartParser = new ChartParser(chartFile, false);
                qbc = chartParser.ConvertToQbc();
            }
            catch (Exception e)
            {
                MessageBox.Show("Error using the new MIDI importer.\nReverting to original GHTCP method. \n\n" + e,
                                "MIDI Error", MessageBoxButtons.OK, MessageBoxIcon.Information);
                qbc = new MidiParser(fileName).LoadMidi().ConvertToQbc();
            }
            return(qbc);
        }