示例#1
0
        public static void Initialise()
        {
            Formats = new List <IFormat>();

            //PlatformDJHWiiDisc.Initialise();
            PlatformFretsOnFire.Initialise();
            PlatformGH2PS2Disc.Initialise();
            PlatformGH3WiiDisc.Initialise();
            PlatformGH4WiiDLC.Initialise();
            PlatformGH5WiiDisc.Initialise();
            //PlatformGH5WiiDLC.Initialise();
            PlatformLocalStorage.Initialise();
            PlatformRawkFile.Initialise();
            //PlatformRB2360Disc.Initialise();
            //PlatformRB2360DLC.Initialise();
            PlatformRB2360RBN.Initialise();
            PlatformRB2WiiCustomDLC.Initialise();
            PlatformRB2WiiDisc.Initialise();
            //PlatformRB2WiiDLC.Initialise();

            //ChartFormatChart.Initialise();
            //ChartFormatFsgMub.Initialise();
            ChartFormatGH1.Initialise();
            ChartFormatGH2.Initialise();
            ChartFormatGH3.Initialise();
            ChartFormatGH4.Initialise();
            ChartFormatGH5.Initialise();
            ChartFormatRB.Initialise();

            AudioFormatBeatlesBink.Initialise();
            AudioFormatBink.Initialise();
            AudioFormatFFmpeg.Initialise();
            AudioFormatGH3WiiFSB.Initialise();
            AudioFormatMogg.Initialise();
            //AudioFormatMp3.Initialise();
            AudioFormatOgg.Initialise();
            AudioFormatRB2Bink.Initialise();
            AudioFormatRB2Mogg.Initialise();
            AudioFormatVGS.Initialise();

            NeversoftMetadata.Initialise();
        }
示例#2
0
        public override ChartFormat DecodeChart(FormatData data, ProgressIndicator progress)
        {
            if (!data.HasStream(this, ChartFile))
            {
                throw new FormatException();
            }

            Stream stream = data.GetStream(this, ChartFile);
            Midi   midi   = Midi.Create(Mid.Create(stream));

            data.CloseStream(stream);

            ChartFormat chart = new ChartFormat(NoteChart.Create(midi));

            DecodeLeftHandAnimations(chart.Chart, midi);
            ChartFormatGH2.DecodeDrums(chart.Chart, midi, true);
            ChartFormatGH2.DecodeOverdrive(chart.Chart);

            ImportMap.ImportChart(data.Song, chart.Chart);

            return(chart);
        }
示例#3
0
 public static void Initialise()
 {
     Instance = new ChartFormatGH2();
     Platform.AddFormat(Instance);
 }