public void Load(string songDirectory) { Form1.WriteToConsole("attempting to load " + songDirectory); if (!File.Exists(songDirectory)) { Form1.WriteToConsole("Path doesn't exist"); return; } currentPlayThread?.Abort(); Form1.currentThreads?.Remove(currentPlayThread); sngDir = songDirectory; // basic loading // get a FNFSong through map bot mBot = new MapBot(songDirectory); // Create the render bot (renders notes to the screen) rBot = new RenderBot((int)mBot.song.Bpm); currentPlayThread = new Thread(PlayThread); currentPlayThread.Start(); Form1.currentThreads?.Add(currentPlayThread); Form1.WriteToConsole("Loaded " + mBot.song.SongName + " with " + mBot.song.Sections.Count + " sections."); watch = new Stopwatch(); Form1.offset.Text = "Offset: " + kBot.offset; }