Skip to content

Commit bef2f86

Browse files
committed
[F][UGCGenerator] 补充缺失的
1 parent dbbc18d commit bef2f86

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

generator/chu/UgcGenerator.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,17 @@ private string Serialize(ChuChart ugc)
5050
ugc.Sort();
5151

5252
var sb = new StringBuilder();
53+
sb.AppendLine($"' Created with MuConvert v{Utils.AppVersion}");
5354
sb.AppendLine("@VER\t8");
55+
sb.AppendLine("@EXVER\t1");
5456
if (!string.IsNullOrEmpty(ugc.Title)) sb.AppendLine($"@TITLE\t{ugc.Title}");
5557
if (!string.IsNullOrEmpty(ugc.Artist)) sb.AppendLine($"@ARTIST\t{ugc.Artist}");
5658
if (!string.IsNullOrEmpty(ugc.Designer)) sb.AppendLine($"@DESIGN\t{ugc.Designer}");
5759
sb.AppendLine($"@DIFF\t{ugc.Difficulty}");
5860
sb.AppendLine($"@LEVEL\t{ugc.DisplayLevel}");
5961
sb.AppendLine(FormattableString.Invariant($"@CONST\t{ugc.Level:F5}"));
6062
sb.AppendLine($"@SONGID\t{ugc.MusicId}");
63+
sb.AppendLine("@FLAG\tHIPRECISION\tTRUE"); // 表明,谱面中的高度使用的是两位高度而不是一位高度
6164
sb.AppendLine($"@TICKS\t{RSL / 4}");
6265
foreach (var met in ugc.MetList)
6366
{

0 commit comments

Comments
 (0)