diff --git a/CHANGELOG.md b/CHANGELOG.md index d60d9e23..d389f3e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,8 @@ ## 2024/6/21 * fix the conditions for achievement progress indication when a game updates a stat which is tied to an achievement - now the user achievements will be updated and saved, and an overlay notification will be triggered + now the user achievements will be updated and saved, and an overlay notification will be triggered. + works with `Achievement Watcher by xan105` and the built-in overlay. you need `stats.txt` and `achievements.json` inside your local `steam_settings` folder for this feature to work properly * fix an old problem where games would crash on exit if the overlay was enabled, more prominent in `DirectX 12` games, also set the overlay hook procedure to an empty function before cleaning up the overlay * remove an invalid condition when resetting stats, only write to disk and share values with any gameserver if the stat value isn't already the default @@ -14,9 +15,9 @@ * allow specifying various notifications durations for the overlay, these are the new values in `configs.overlay.ini` ```ini # duration of achievement progress indication - Notification_Duration_Progress=3.5 + Notification_Duration_Progress=6.0 # duration of achievement unlocked - Notification_Duration_Achievement=5.0 + Notification_Duration_Achievement=7.0 # duration of friend invitation Notification_Duration_Invitation=8.0 # duration of chat message diff --git a/dll/dll/settings.h b/dll/dll/settings.h index 83296270..90c86964 100644 --- a/dll/dll/settings.h +++ b/dll/dll/settings.h @@ -133,8 +133,8 @@ struct Overlay_Appearance { float notification_margin_y = 5.0f; // vertical margin uint32 notification_animation = 350; // sliding animation duration (millisec) - uint32 notification_duration_progress = 3500; // achievement progress indication duration (millisec) - uint32 notification_duration_achievement = 5000; // achievement unlocked duration (millisec) + uint32 notification_duration_progress = 6000; // achievement progress indication duration (millisec) + uint32 notification_duration_achievement = 7000; // achievement unlocked duration (millisec) uint32 notification_duration_invitation = 8000; // friend invitation duration (millisec) uint32 notification_duration_chat = 4000; // sliding animation duration duration (millisec) diff --git a/post_build/steam_settings.EXAMPLE/configs.overlay.EXAMPLE.ini b/post_build/steam_settings.EXAMPLE/configs.overlay.EXAMPLE.ini index 2979dd65..ca7850d3 100644 --- a/post_build/steam_settings.EXAMPLE/configs.overlay.EXAMPLE.ini +++ b/post_build/steam_settings.EXAMPLE/configs.overlay.EXAMPLE.ini @@ -64,9 +64,9 @@ Notification_Margin_y=5.0 # duration of notification animation in seconds. Set to 0 to disable Notification_Animation=0.35 # duration of achievement progress indication -Notification_Duration_Progress=3.5 +Notification_Duration_Progress=6.0 # duration of achievement unlocked -Notification_Duration_Achievement=5.0 +Notification_Duration_Achievement=7.0 # duration of friend invitation Notification_Duration_Invitation=8.0 # duration of chat message