Skip to content

Mania Judgement Framework English

SK-la edited this page Nov 24, 2026 · 4 revisions

Mania Judgement Framework (English)

中文 | English | Architecture Overview

Judgement Strategies

The Mania Judgement Framework decouples judgement logic from the Mania ruleset's scoring pipeline into a pluggable strategy registry. Each HitMode corresponds to an independent note judgement strategy (IManiaNoteJudgementStrategy) and hold judgement strategy (IManiaHoldJudgementStrategy), with the framework automatically switching between them at runtime based on the player's selected HitMode.

Judgement Differences from osu!lazer

Aspect Official Lazer Ez2Lazer Judgement Framework
Judgement Logic Embedded in DrawableManiaNote + JudgementProcessor Strategy registry: IManiaHitModeJudgement → separate Note + Hold strategies
HitMode Switching Requires code changes or ruleset swap Runtime hot-switch, scoring and HUD follow automatically
BMS Series Not supported BmsHitModeJudgement: 7-tier + empty-judge routing to KPoor
O2Jam Not supported O2HitModeJudgement + Pill system, combo upgrades to Perfect
EZ2AC Not supported Ez2AcHitModeJudgement + LN 16th-note ticks for combo (no tail release window)
Malody Not supported MalodyHitModeJudgement, LN tail Ignore (release not scored)
Judgement Priority Fixed (earliest note first) Three options: Smallest delta / Combo priority / Earliest note
Scroll Speed Fixed speed mode only Four modes: 40-speed / to default judgement line ms / to real judgement line ms / to bottom ms

Supported HitModes

HitMode Judgement Tiers Key Mechanics
Lazer Marv→Perf→Great→Good→... Ez-side replica of official judgement
Classic 1st→2nd→3rd→... Ez-side replica of official Classic
EZ2AC Kool→Cool→Good→Miss→Fail LN: 16th ticks combo-only; no tail release
O2Jam Cool→Good→Bad→Miss Pill system: consecutive hits fill pill gauge → upgrade to Perfect
LR2 HD None→P→G→Gd→B→Po→KPo BMS asymmetric windows + empty-judge routing to KPoor
IIDX HD Same as above Same, HD judgment windows
Raja NM Same as above Same, NM judgment windows
Malody E Best→Cool→Good→Miss LN tail Ignore (no release window); unlike arcade tick combo
Malody B Same as above Same, B Judge windows

EZ2AC Long Notes (7th 2.0+ / arcade-aligned)

Reference: namu.wiki EZ2AC judgement & scoring. The table below is this project's rule set.

Item Behaviour
Tick grid From head time, every 1/16 beat (local BPM); end exclusive
Head Judged; modern soften is Cool→Kool only
While held Successful ticks only increase combo (SliderTailHit); not counted in Kool/Cool/Good/Miss/Fail basic stats or ACC points
Early release Later ticks finish without combo gain (IgnoreMiss); combo does not break
Re-grab RecoverGood; ticks increase combo again
Tail No release window; Ignore; holding past the end is not Fail
Combo break Fail (and explicit ComboBreak) only; Miss (Meh) does not break (differs from some namu pages that treat MISS/FAIL alike)
Hitsounds Head only; ticks are silent
vs Malody Malody LN also ignores the tail, but has no 16th tick combo model

What This Means for Players

  • Switching HitMode isn't "just a skin change" — the framework replaces the entire judgement math underneath
  • O2Jam's Pill accumulation auto-upgrades judgements to Perfect, making gameplay feel more rewarding
  • EZ2AC LNs use arcade-style 16th ticks for combo only (no basic judgement inflation, no tail release); Miss does not break combo, Fail does
  • BMS series empty-judge routing to KPoor matches LR2/IIDX conventions

Key Concepts for Developers

  • Registry: ManiaJudgementRegistry is the entry point, returning the matching IManiaHitModeJudgement for each EzEnumHitMode
  • Two-path separation: IManiaNoteJudgementStrategy handles tap/head judgement; IManiaHoldJudgementStrategy handles hold tail judgement (including HoldBreak detection)
  • Judgement State: ManiaReplayJudgementState tracks mutable state across input events within a session (e.g., O2's Pill counter)
  • Stage Layout: EzStageDefinitionExtensions manages lane mapping and separators independently from judgement logic

Related Links

Clone this wiki locally