Options
All
  • Public
  • Public/Protected
  • All
Menu

A replay analyzer that analyzes a replay from osu!droid.

Created by reverse engineering the replay parser from the game itself, which can be found here.

Once analyzed, the result can be accessed via the data property.

Hierarchy

  • ReplayAnalyzer

Index

Constructors

Properties

aimPenalty: number

Penalty value used to penalize dpp for 2-hand.

The beatmap that is being analyzed. DroidStarRating or RebalanceDroidStarRating is required for three finger or two hand analyzing.

data: null | <internal>.ReplayData

The results of the analyzer. null when initialized.

fixedODR: null | Buffer

The fixed odr file of the replay.

hasBeenCheckedFor2Hand: boolean

Whether this replay has been checked against 2 hand usage.

hasBeenCheckedFor3Finger: boolean

Whether this replay has been checked against 3 finger usage.

is2Hand?: boolean

Whether or not the play is considered 2-handed.

is3Finger?: boolean

Whether or not the play is considered using >=3 finger abuse.

originalODR: null | Buffer

The original odr file of the replay.

scoreID: number

The score ID of the replay.

tapPenalty: number

Penalty value used to penalize dpp for 3 finger abuse.

twoHandCursorIndexes: number[]

The cursor indexes at which each object was hit.

This is filled after 2 hand usage has been checked.

Methods

  • Analyzes a replay.

    Returns Promise<<internal>.ReplayAnalyzer>

  • Gets hit error information of the replay.

    analyze() must be called before calling this.

    Returns null | <internal>.HitErrorInformation

  • checkFor2Hand(): void
  • Checks if a play is using 2 hands.

    Requires analyze() to be called first and map to be defined as DroidStarRating or RebalanceDroidStarRating.

    Returns void

  • checkFor3Finger(): void
  • Checks if a play is using 3 fingers.

    Requires analyze() to be called first and map to be defined as DroidStarRating or RebalanceDroidStarRating.

    Returns void

Generated using TypeDoc