-
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