osu icon indicating copy to clipboard operation
osu copied to clipboard

Add "Perfect Timing" mod setting to Relax (RX) mod

Open Number-3434 opened this issue 5 months ago • 18 comments

Addresses https://github.com/ppy/osu/discussions/20086

https://github.com/user-attachments/assets/e14d0f00-00cf-4e25-a32f-52256c3ea45d

Transferred from https://github.com/ppy/osu/pull/34349 since I forgot to create a new branch for the pull request

Number-3434 avatar Jul 23 '25 12:07 Number-3434

I randomly searched "relax" in pull requests just now, and noticed https://github.com/ppy/osu/pull/32487. Haven't checked whether it does the same thing.

Joehuu avatar Jul 23 '25 22:07 Joehuu

Ah yes, it does seem to do the job but with more functionality. I'll be closing this pull request and redirecting to the other one.

Number-3434 avatar Jul 24 '25 06:07 Number-3434

Actually, I'm considering forking #32487 and adding pp adjustment.

Number-3434 avatar Jul 24 '25 06:07 Number-3434

Please don't add pp changes in the same PR as the change itself

stanriders avatar Jul 24 '25 06:07 stanriders

Please don't add pp changes in the same PR as the change itself

Okay, understood. I'll open a separate PR for this later.

Number-3434 avatar Jul 24 '25 06:07 Number-3434

does this work in replays? if so, it's better than mine was.

Empika1 avatar Jul 24 '25 15:07 Empika1

does this work in replays? if so, it's better than mine was.

@Empika1 We basically just happened to almost write the exact same code. My version does everything except forcing the user to miss. It appears to work okay in replays, but I haven't got a solid replay to test it on. It does seem to produce more misses if I failed though.

Basically the way I implemented it it only simulates keyclicks perfectly on time, and nothing else. However, it does rely on game frames so it performs worse if your frame rate is very low.

However, when I tested it the replays always have the same misscount regardless of the game render rate. I looked at the code and everything suggests that the keyclicks being simulated should (??) be registered as important, since the mod basically tricks osu! into thinking the user actually did keystrokes.

Number-3434 avatar Jul 24 '25 15:07 Number-3434

if it works properly when fast forwarding in replays and when viewing replays in a different framerate (eg. it doesn't cause any extra misses, or remove any real misses), then its already better than mine was. if so, probably reopen this pr and i'll close mine.

Empika1 avatar Jul 24 '25 15:07 Empika1

if it works properly when fast forwarding in replays and when viewing replays in a different framerate (eg. it doesn't cause any extra misses, or remove any real misses), then its already better than mine was. if so, probably reopen this pr and i'll close mine.

Okay.

Number-3434 avatar Jul 24 '25 15:07 Number-3434

I've just checked with a longer replay, I have the exact same miss-count as when I played it live and I can jump around and I always have the same miss-count. It seems the clicks are actually hard-coded into the replay file.

Number-3434 avatar Jul 24 '25 15:07 Number-3434

I don't think we want this. Shouldn't we instead be aiming to make relax behave like stable – more dynamically based on a user's cursor position? Adding a setting like this will get baked into scores, and we'll eventually want to remove it when relax is fixed to work better, right?

peppy avatar Jul 29 '25 09:07 peppy

Sorry, i'm not sure I quite get what you mean. This setting is intended to be a different (and stricter) experience than normal relax, or relax on stable for that matter.

Empika1 avatar Jul 30 '25 02:07 Empika1

Yeah, the point of this setting is for aim practice, since normal RX is way too lenient for this. Here's the original discussion

Number-3434 avatar Jul 30 '25 06:07 Number-3434

Hmm, right. I'm in two minds about this because it goes against the concept of the mod (being that you can relax. now we're adding options to make relax less relaxing.)

peppy avatar Jul 30 '25 07:07 peppy

That makes sense. Perhaps relax could be renamed, or this option could be added as a separate mod

Empika1 avatar Aug 04 '25 18:08 Empika1

"Easy" goes against the concept of the mod, because it makes reading very difficult for Insane and above. It's still a great mod! It just has a silly name. Lots of the mods have silly names. Calling this one Relax is par for the course.

I like this mod setting and would play it.

cloudrac3r avatar Aug 05 '25 13:08 cloudrac3r

Any updates on this?

Number-3434 avatar Nov 15 '25 09:11 Number-3434

Just wanted to add that the current implementation only emulates physical inputs into the game, so it won't be able to hit notes the user wouldn't be physically able to.

Also you can get note-locked on streams.

Number-3434 avatar Nov 21 '25 07:11 Number-3434