-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit number of allowed beatmap combo colours to 8 #32110
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
76bf03b
Add failing decoder test case for too many combo colours
bdach e48d36a
Add failing encoder test case for too many combo colours
bdach 2167c7b
Limit beatmap encoder & decoder to at most 8 combo colours
bdach 6b76b8c
Do not allow adding more than 8 combo colours in editor
bdach 0b45377
Disable button instead of hiding (and add tooltip)
peppy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
osu file format v14 | ||
|
||
[General] | ||
AudioFilename: 03. Renatus - Soleily 192kbps.mp3 | ||
AudioLeadIn: 0 | ||
PreviewTime: 164471 | ||
Countdown: 0 | ||
SampleSet: Soft | ||
StackLeniency: 0.7 | ||
Mode: 0 | ||
LetterboxInBreaks: 0 | ||
WidescreenStoryboard: 0 | ||
|
||
[Editor] | ||
Bookmarks: 11505,22054,32604,43153,53703,64252,74802,85351,95901,106450,116999,119637,130186,140735,151285,161834,164471,175020,185570,196119,206669,209306 | ||
DistanceSpacing: 1.8 | ||
BeatDivisor: 4 | ||
GridSize: 4 | ||
TimelineZoom: 2 | ||
|
||
[Metadata] | ||
Title:Renatus | ||
TitleUnicode:Renatus | ||
Artist:Soleily | ||
ArtistUnicode:Soleily | ||
Creator:Gamu | ||
Version:Insane | ||
Source: | ||
Tags:MBC7 Unisphere 地球ヤバイEP Chikyu Yabai | ||
BeatmapID:557821 | ||
BeatmapSetID:241526 | ||
|
||
[Difficulty] | ||
HPDrainRate:6.5 | ||
CircleSize:4 | ||
OverallDifficulty:8 | ||
ApproachRate:9 | ||
SliderMultiplier:1.8 | ||
SliderTickRate:2 | ||
|
||
[Events] | ||
//Background and Video events | ||
0,0,"machinetop_background.jpg",0,0 | ||
//Break Periods | ||
2,122474,140135 | ||
//Storyboard Layer 0 (Background) | ||
//Storyboard Layer 1 (Fail) | ||
//Storyboard Layer 2 (Pass) | ||
//Storyboard Layer 3 (Foreground) | ||
//Storyboard Sound Samples | ||
|
||
[TimingPoints] | ||
956,329.67032967033,4,2,0,60,1,0 | ||
|
||
|
||
[Colours] | ||
Combo1:142,199,255 | ||
Combo2:255,128,128 | ||
Combo3:128,255,255 | ||
Combo4:128,255,128 | ||
Combo5:255,187,255 | ||
Combo6:255,177,140 | ||
Combo7:100,100,100 | ||
Combo8:142,199,255 | ||
Combo9:255,128,128 | ||
Combo10:128,255,255 | ||
Combo11:128,255,128 | ||
Combo12:255,187,255 | ||
Combo13:255,177,140 | ||
Combo14:100,100,100 | ||
|
||
[HitObjects] | ||
192,168,956,6,0,P|184:128|200:80,1,90,4|0,1:2|0:0,0:0:0:0: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By the way, I am choosing not to notice that none of this parsing logic actually checks that the combo colours are in order and just parses them sequentially without examining the number in the key, because it's very annoying to handle and it's been the case before I came here. Until someone invariably reports that as an issue, that is.