osu-tools icon indicating copy to clipboard operation
osu-tools copied to clipboard

Add support for beatmap link parsing

Open felipemarins opened this issue 1 year ago • 1 comments

Currently, if you paste a beatmap link into the beatmap ID text box, it just deletes all non-number characters and ends up leaving the beatmapset ID mixed up with the beatmap ID. In this pr, I turned it into an ExtendedLabelledTextBox with a regex filter on the SimulateScreen and BeatmapLeaderboardScreen classes to check for beatmap links and extracting the correct ID from them.

felipemarins avatar Jan 04 '25 17:01 felipemarins

The Path.Exists logic also needs revisiting, I'm not really sure what it's trying to do. Please ensure that the existing support for downloading a .osu file we don't have still works.

tsunyoku avatar Mar 11 '25 23:03 tsunyoku