RetroAchievements / RAIntegration

The DLL responsible to integrate emulators with RetroAchievements.org
https://retroachievements.org
MIT License
98 stars 22 forks source link

add option to specify how a measured achievement should track progress #799

Closed Jamiras closed 3 years ago

Jamiras commented 3 years ago

UI for https://github.com/RetroAchievements/rcheevos/pull/152

Adds a checkbox to the achievement editor that specifies whether to serialize the Measured flag as an M or G. image

The default is unchecked and generates a M. M indicates the progress should be shown as a raw value: image

When checked, a G is generated, suggesting the percentage should be shown: image

It's up to the client to call the new API to honor the flag.

As the behavior for M is to show the raw percentage, and M is the original Measured flag, all existing achievements will automatically show as raw values after this change. A similar change will be made in RetroArch. Duckstation already shows everything as raw values.