Skip to content
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

Create key-presses when watching legacy Relax replays #27145

Merged
merged 5 commits into from Feb 14, 2024

Conversation

tsunyoku
Copy link
Sponsor Member

Resolves #9560

osu!stable does not record key presses onto replays with Relax, so attempting to watch them back in lazer didn't work historically.

master

2024-02-12.12-13-21.mp4

PR

2024-02-12.12-56-36.mp4

}

public void ApplyToPlayer(Player player)
{
if (osuInputManager.ReplayInputHandler != null)
{
hasReplay = true;
legacyReplay = ruleset.ReplayScore.ScoreInfo.IsLegacyScore;
Copy link
Collaborator

@bdach bdach Feb 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmmmm.....

On one side, I could get behind this in a sense, as this is a rather simple way to address this. That said, I'm not sure everyone else will agree...?

@ppy/team-client any strong opinions? not sure I have one. Maybe this is okay as a stopgap at least?

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the other way to go with this would be to force lazer to output replay frames even for relax scores.

I'm not entirely sure what you mean by this. For lazer replays, this is already the case. It's only legacy replays which do not have key-presses in the replay data.

Copy link
Collaborator

@bdach bdach Feb 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I got confused (had it backwards) and edited my comment in post sorry.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks pretty okay to me.

osu.Game.Rulesets.Osu/Mods/OsuModRelax.cs Outdated Show resolved Hide resolved
@pull-request-size pull-request-size bot added size/M and removed size/S labels Feb 12, 2024
Copy link
Collaborator

@bdach bdach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fair to me

@bdach bdach merged commit 7f76ff1 into ppy:master Feb 14, 2024
15 of 17 checks passed
@tsunyoku tsunyoku deleted the legacy-relax-replays-key-presses branch February 14, 2024 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replays with the relax mod work incorrectly
3 participants