Skip to content

Fix beatmap samples with incorrect 1 sample set suffix in the filename being shown in setup tab as belonging to custom sample bank 1#36425

Merged
peppy merged 1 commit intoppy:masterfrom
bdach:incorrect-sample-suffix
Jan 22, 2026
Merged

Conversation

@bdach
Copy link
Collaborator

@bdach bdach commented Jan 22, 2026

To explain on the wordy and probably incoherent title: The patient zero for this was the following discord report: https://discord.com/channels/188630481301012481/1097318920991559880/1463029073998774375

After information extraction, it turned out that the user manually used the "Edit externally..." feature to rename a sample to normal-hitnormal1.mp3, thinking (logically, to be fair), that the 1 bank works the same way that all the others do.

It doesn't, samples in the 1 bank do not have a numerical suffix in the filename - but the logic retrieving the sample sets to display in the setup tab was not checking that, leading to confusion wherein a sample would only "work" in the setup tab but not in the actual editor composer.

Can be tested with the beatmap provided by the user.

…e being shown in setup tab as belonging to custom sample bank 1

To explain on the wordy and probably incoherent title: The patient zero
for this was the following discord report:

	https://discord.com/channels/188630481301012481/1097318920991559880/1463029073998774375

After information extraction, it turned out that the user manually used
the "Edit externally..." feature to rename a sample to
`normal-hitnormal1.mp3`, thinking (logically, to be fair), that the 1
bank works the same way that all the others do.

It doesn't, samples in the 1 bank do not have a numerical suffix in
the filename - but the logic retrieving the sample sets to display in
the setup tab was not checking that, leading to confusion wherein a
sample would only "work" in the setup tab but not in the actual editor
composer.

Can be tested with the beatmap provided by the user:

	https://discord.com/channels/188630481301012481/1097318920991559880/1463110516573470774
@bdach bdach requested a review from peppy January 22, 2026 08:27
@bdach bdach self-assigned this Jan 22, 2026
@bdach bdach added area:editor quick fix Tasks which were taken on because they take no time to fix labels Jan 22, 2026
@bdach bdach moved this from Inbox to Pending Review in osu! team task tracker Jan 22, 2026
@peppy peppy merged commit f0e7817 into ppy:master Jan 22, 2026
6 of 8 checks passed
@github-project-automation github-project-automation bot moved this from Pending Review to Done in osu! team task tracker Jan 22, 2026
@bdach bdach deleted the incorrect-sample-suffix branch January 22, 2026 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:editor quick fix Tasks which were taken on because they take no time to fix size/XS

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants