@@ -66,7 +66,7 @@ private static ChuNote ScaleNote(ChuNote n, int tpb)
6666 Cell = n . Cell , Width = n . Width ,
6767 HoldDuration = scaleDown ( n . HoldDuration ) , SlideDuration = scaleDown ( n . SlideDuration ) ,
6868 EndCell = n . EndCell , EndWidth = n . EndWidth ,
69- Extra = n . Extra , TargetNote = n . TargetNote , AirHoldDuration = scaleDown ( n . AirHoldDuration ) ,
69+ Tag = n . Tag , TargetNote = n . TargetNote , AirHoldDuration = scaleDown ( n . AirHoldDuration ) ,
7070 StartHeight = n . StartHeight , TargetHeight = n . TargetHeight , NoteColor = n . NoteColor ,
7171 } ;
7272 }
@@ -109,10 +109,10 @@ private static string Serialize(C2sChart chart)
109109 private static string FormatNote ( ChuNote n ) => n . Type switch
110110 {
111111 "TAP" => $ "TAP\t { n . Measure } \t { n . Offset } \t { n . Cell } \t { n . Width } ",
112- "CHR" => $ "CHR\t { n . Measure } \t { n . Offset } \t { n . Cell } \t { n . Width } \t { n . Extra } ",
112+ "CHR" => $ "CHR\t { n . Measure } \t { n . Offset } \t { n . Cell } \t { n . Width } \t { n . Tag } ",
113113 "HLD" or "HXD" => $ "{ n . Type } \t { n . Measure } \t { n . Offset } \t { n . Cell } \t { n . Width } \t { n . HoldDuration } ",
114114 "SLD" or "SLC" or "SXD" or "SXC" => $ "{ n . Type } \t { n . Measure } \t { n . Offset } \t { n . Cell } \t { n . Width } \t { n . SlideDuration } \t { n . EndCell } \t { n . EndWidth } ",
115- "FLK" => $ "FLK\t { n . Measure } \t { n . Offset } \t { n . Cell } \t { n . Width } \t { n . Extra } ",
115+ "FLK" => $ "FLK\t { n . Measure } \t { n . Offset } \t { n . Cell } \t { n . Width } \t { n . Tag } ",
116116 "AIR" or "AUR" or "AUL" or "ADW" or "ADR" or "ADL" => $ "{ n . Type } \t { n . Measure } \t { n . Offset } \t { n . Cell } \t { n . Width } \t { n . TargetNote } ",
117117 "AHD" => $ "AHD\t { n . Measure } \t { n . Offset } \t { n . Cell } \t { n . Width } \t { n . TargetNote } \t { n . AirHoldDuration } ",
118118 "ALD" or "ASD" => $ "{ n . Type } \t { n . Measure } \t { n . Offset } \t { n . StartHeight } \t { n . SlideDuration } \t { n . EndCell } \t { n . EndWidth } \t { n . TargetHeight } \t { n . NoteColor } ",
0 commit comments