public static Qua ToQua( SongMetadata song, DscFileMetadata script, string creator = "SEGA", string source = "Project Diva", TimeSpan previewtime = new TimeSpan()) => ToQua(song.Title, song.Artist, Path.GetFileName(Path.GetFileName(song.AudioPath)), (int)song.Bpm, DscFile.LoadFile(script.Path).GetAllNotes(), creator, source, script.Difficulty, previewtime);
public ValueTask ExecuteAsync(IConsole console) { var dsc = DscFile.LoadFile(InputFile); // foreach (var note in dsc.GetAllNotes()) // console.Output.WriteLine($"{note.Timestamp}, {note.Button}, {note.TargetPosX}, {note.TargetPosY}, {note.StartPosX}, {note.StartPosY}, {note.Unknown6}, {note.Unknown7}"); foreach (var line in dsc.GetRawScript()) { console.Output.Write(line); } return(default);