- Fixed the
lazer
argument not being passed to the calculation (#12) - Fixed the type error when passing mods to
Beatmap.convert
(#13) - The
settings
property for mods can now beNone
(#13)
Updated all modes' difficulty and performance calculation. See osu!'s newspost for more info: https://osu.ppy.sh/home/news/2024-10-28-performance-points-star-rating-updates
rosu-pp changelog: https://github.com/MaxOhn/rosu-pp/blob/main/CHANGELOG.md#v200-2024-12-03
-
Breaking changes:
- Renamed some properties:
BeatmapAttributes.od_hit_window
->od_great_hit_window
DifficultyAttributes.hit_window
->great_hit_window
BeatmapAttributes.ar_hitwindow
->ar_hit_window
- Renamed some properties:
-
Additions:
Difficulty
andPerformance
now accept the kwarglazer: bool
(defaults totrue
if unspecified); Performance calculation for osu!standard and osu!mania now differs between lazer and stable so this is important to specify.Performance
now accepts the kwargslarge_tick_hits: int
,small_tick_hits: int
,slider_end_hits: int
; each of them being necessary to specify for osu!standard scores on lazer.ScoreState
now has the additional propertiesosu_large_tick_hits: int
osu_small_tick_hits: int
slider_end_hits: int
- The method
Beatmap.convert
now takes an optional second argument for gamemods - Added the property
BeatmapAttributes.od_ok_hit_window
- Added properties to
DifficultyAttributes
:aim_difficult_strain_count
(osu!standard)speed_difficult_strain_count
(osu!standard)mono_stamina_factor
(osu!taiko)n_hold_notes
(osu!mania)n_large_ticks
(osu!standard)ok_hit_window
(osu!taiko)
- Added the property
PerformanceAttributes.estimated_unstable_rate
(osu!taiko) - Added the property
Strains.single_color_stamina
(osu!taiko)
-
Updated to rosu-pp v1.1.0
-
Mods can now be specified through more types than just
int
(#9). Instead, it has to coincide with the following alias defintions:GameMods = Union[int, str, GameMod, List[Union[GameMod, str, int]]] GameMod = dict[str, Union[str, GameModSettings]] GameModSettings = dict[str, Union[bool, float, str]]
That means, mods can be given either through their (legacy) bitflags, a string for acronyms, a "GameMod"
dict
, or a sequence whose items are either a "GameMod"dict
, a single acronym string, or bitflags for a single mod.A "GameMod"
dict
must have the item'acronym': str
and an optional item'settings': GameModSettings
.
PerformanceAttributes
' fieldpp_accuracy
was accidentally actually namedpp_acc
; now it's definitelypp_accuracy
(#7)
- Updated to rosu-pp v1.0.0
- Breaking changes ahead! There are now multiple different calculators:
Difficulty
to calculateDifficultyAttributes
,Strains
, or create gradual calculatorsPerformance
to calculatePerformanceAttributes
BeatmapAttributesBuilder
to calculateBeatmapAttributes
GradualDifficulty
to calculateDifficultyAttributes
for each hitobjectGradualPerformance
to calculatePerformanceAttributes
for each hitresult
- Updated to rosu-pp v0.9.4.
- Updated to rosu-pp v0.9.3. Only includes some bug fixes.
- Fixed the hitobjects counts of map attributes on converted maps.
- Updated to rosu-pp v0.9.1 including the big changes in v0.9.0
- The binding interface is rewritten completely, see the readme.
- Updated to rosu-pp v0.8.0
- The calculation result now contains a
timePreempt
field for osu!standard andgreatHitWindow
for osu!standard, osu!taiko, and osu!mania. - Fixed map attributes when mods were interacting with custom clock rates
- Apply mods before acc to fix pp values sometimes calculating incorrectly for osu!catch (#3 - @tsunyoku)
- Updated to rosu-pp v0.7.1
- Removed the
GameMode
class again; use simple numbers instead (0/1/2/3) - Updated to rosu-pp v0.7.0
- Added
strains
method forCalculator
which returns instances ofStrains
- Updated to PyO3 v0.16 from v0.15
- Updated to rosu-pp v0.6
- Added the class
GameMode
to serve as enum e.g.GameMode.Taiko
ScoreParams
now have an additional fieldmode: Optional[GameMode]
which can be used to convert to other modes
- Bumped patch version of dependencies, including a rosu-pp update
- Updated to rosu-pp v0.5.1
Calculator
now accepts the kwargsar
,cs
,hp
, andod
to adjust the map's attributes- Additionally to the kwargs,
Calculator
also has new methodsset_ar(v)
,set_cs(v)
,set_hp(v)
, andset_od(v)
. ScoreParams
has the additional fieldclockRate
to specify a custom clock rate, providable as kwarg or through the setterCalculateResult
now also includes aclockRate
field
- Initial release with rosu-pp v0.4.0