diff --git a/MoreChartFormats/MaiSxt/SxtReader.cs b/MoreChartFormats/MaiSxt/SxtReader.cs index 4b5711a..48a45a9 100644 --- a/MoreChartFormats/MaiSxt/SxtReader.cs +++ b/MoreChartFormats/MaiSxt/SxtReader.cs @@ -17,7 +17,6 @@ public class SxtReader(NotesReferences refs) : SxtReaderBase(refs) throw new Exception($"Slide head at row {rowIdx} does not declare a valid slide ID"); } - System.Console.WriteLine("[MoreChartFormats] Saving slide head with ID {0}", row.SlideId); SlideHeads[row.SlideId] = row; return; } @@ -74,7 +73,6 @@ public class SxtReader(NotesReferences refs) : SxtReaderBase(refs) note.end.copy(rowTime); } - System.Console.WriteLine("[MoreChartFormats] [SXT] Adding note {0} at {1}", note.type.getEnumName(), note.time.getBar()); Refs.Notes._noteData.Add(note); NoteIndex++; } diff --git a/MoreChartFormats/patch_NotesReader.cs b/MoreChartFormats/patch_NotesReader.cs index 036fb96..2988947 100644 --- a/MoreChartFormats/patch_NotesReader.cs +++ b/MoreChartFormats/patch_NotesReader.cs @@ -4,14 +4,12 @@ using System; using System.IO; using System.Xml.Serialization; -using MAI2.Util; using Manager.MaiStudio.Serialize; using MonoMod; using MoreChartFormats; using MoreChartFormats.MaiSxt; using MoreChartFormats.Simai; using MoreChartFormats.Simai.Errors; -using MoreChartFormats.Simai.Structures; namespace Manager; @@ -153,22 +151,23 @@ class patch_NotesReader : NotesReader System.Console.WriteLine("[MoreChartFormats] [Simai] Calculating chart data"); calcAll(); - +#if DEBUG System.Console.WriteLine("[MoreChartFormats] [Simai] Loaded {0} notes", _total.GetAllNoteNum()); System.Console.WriteLine("[MoreChartFormats] [Simai] > {0} taps", _total.GetTapNum()); System.Console.WriteLine("[MoreChartFormats] [Simai] > {0} holds", _total.GetHoldNum()); System.Console.WriteLine("[MoreChartFormats] [Simai] > {0} slides", _total.GetSlideNum()); System.Console.WriteLine("[MoreChartFormats] [Simai] > {0} touches", _total.GetTouchNum()); System.Console.WriteLine("[MoreChartFormats] [Simai] > {0} break", _total.GetBreakNum()); +#endif } catch (SimaiException e) { - System.Console.WriteLine($"[MoreChartFormats] There was an error loading the chart at line {e.line}, col {e.character}: {e} "); + System.Console.WriteLine($"[MoreChartFormats] [Simai] There was an error loading the chart at line {e.line}, col {e.character}: {e} "); return false; } catch (Exception e) { - System.Console.WriteLine($"[MoreChartFormats] There was an error loading the chart: {e}"); + System.Console.WriteLine($"[MoreChartFormats] [Simai] There was an error loading the chart: {e}"); return false; }