Skip to content

storybrew can't work with old .osu formats #91

@tadatomix

Description

@tadatomix

For example, if you try to make project with this map https://osu.ppy.sh/b/105, stroybrew wouldn't make it, because of this error

Creating project failed:

Failed to load beatmap "Maeken Trance Project - Koi no Maiahi - Easy". (BeatmapLoadingException)
Caused by: Failed to parse line "128,160,1863,1,2,". (SectionLineParsingFailedException)
Caused by: The input string '' was not in a correct format. (FormatException)

Details:
System.FormatException: The input string '' was not in a correct format.
   at System.Number.ThrowFormatException[TChar](ReadOnlySpan`1 value)
   at System.Int32.Parse(String s)
   at StorybrewCommon.Mapset.OsuCircle.Parse(Beatmap beatmap, String[] values, Int32 x, Int32 y, Double startTime, HitObjectFlag flags, HitSoundAddition additions, ControlPoint timingPoint, ControlPoint controlPoint, SampleSet sampleSet, SampleSet additionsSampleSet, Int32 customSampleSet, Single volume) in D:\Dev\storybrew\common\Mapset\OsuCircle.cs:line 15
   at StorybrewCommon.Mapset.OsuHitObject.Parse(Beatmap beatmap, String line) in D:\Dev\storybrew\common\Mapset\OsuHitObject.cs:line 74
   at StorybrewEditor.Mapset.EditorBeatmap.<>c__DisplayClass66_0.<parseHitObjectsSection>b__0(String line) in D:\Dev\storybrew\editor\Mapset\EditorBeatmap.cs:line 257
   at StorybrewCommon.Util.StreamReaderExtensions.ParseSectionLines(StreamReader reader, Action`1 action, Boolean trimLines) in D:\Dev\storybrew\common\Util\StreamReaderExtensions.cs:line 34

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions