Commit Graph

33 Commits (master)

Author SHA1 Message Date
Mr_Goldberg 5ce4ac8429
Add support for multiple languages for achievements. 2 years ago
Mr_Goldberg 5234d8b0e6
Implement leaderboard scores. 2 years ago
Mr_Goldberg 528120d102
Multiple achievements can now use the same stat as a trigger. 2 years ago
Mr_Goldberg 0fc5a564e1
Malformed achievements config should not crash stuff anymore. 2 years ago
Mr_Goldberg 173c65a229
Much faster stat get. 2 years ago
Mr_Goldberg 8695ea2dce
Support achievements that are triggered automatically with stats.
The achievements config MUST be generated with the achievements_gen.py script.
2 years ago
Mr_Goldberg 978a1b81e3
Don't write stats to disk if value didn't change. 2 years ago
Mr_Goldberg 50a6601f50
GetAchievementName function now returns achievements in alphabetical order. 3 years ago
Mr_Goldberg c5f50ddb32
Properly handle leaderboard name being NULL (#167) 3 years ago
Mr_Goldberg c48526d49a
Fix possible crash. 3 years ago
Mr_Goldberg dc95076faa
Achievement names are now treated as case insensitive.
This should fix achievements in a few games.
3 years ago
Mr_Goldberg 8785ae568c
Allow "hidden" achievement property to be an int in the json config. 3 years ago
Mr_Goldberg 992e5c3faa
Properly initialize user_achievements so functions like
getachievementandunlocktime work properly.
3 years ago
Mr_Goldberg cbdd033b34
Make GetAchievementAndUnlockTime return false to prevent some games getting stuck. 4 years ago
Nemirtingas fe9bbd1104 Add a common include file. 4 years ago
Mr_Goldberg 66e596ea29
Update to sdk 1.49 4 years ago
Mr_Goldberg ee4f1d7d79
Fix callback being too fast for some games. 4 years ago
Mr_Goldberg 714904b984
Make all functions return something and re enable the msvc error. 4 years ago
Mr_Goldberg db2a803cf7
A few improvements to the overlay merge request.
NO_OVERLAY define becomes EMU_OVERLAY which enables the overlay instead of disabling it.

disable_overlay.txt moved to steam_settings.
4 years ago
Nemirtingas d1a4adc5bd Merge branch 'master' into 'overlay_h'
# Conflicts:
#   .gitlab-ci.yml
#   dll/steam_client.cpp
#   dll/steam_inventory.h
#   dll/steam_user_stats.h
5 years ago
Nemirtingas ce79df1c26 Added customizable notification
Notification can have a type depending on what to show.
5 years ago
Nemirtingas ef5693d9f8 Little improvements
steam_user_stats: Use the value stored in the JSON object.
steal_inventory: use 'empty' that is guaranteed to be constant in time.
5 years ago
Mr_Goldberg 828e5d456c
Inventory/achivements bug fixes/improvements/cleanups. 5 years ago
Nemirtingas 8c45ab2003 Rework inventory loading
More generic json loading allows to load a json from a specified folder rather than the "inventory" directory.
Also changed achievements location to <appid> root diectory
5 years ago
Nemirtingas f15b2b0458 Steam returns true even if the achievement is already set 5 years ago
Nemirtingas c60a763f68 Don't overwrite achievement date
Don't overwrite achievement date when setting the achievement and it was already set.
5 years ago
Nemirtingas 7a59f48000 Merge branch 'master' into achievements_support 5 years ago
Mr_Goldberg bca4bd6dc1
Added a way to configure stats and moved parser logic to other file. 5 years ago
Nemirtingas 21e08ed220 Achievements support & inventory customization.
Added achievements support. Achievements are saved like real steam, see your inventory directory.(like items, uses a .json, tool can be used to dump achievements from steam public api).
You will need a public apikey. (See https://steamcommunity.com/dev)
Reworked item support to split inventory items to defined items.
5 years ago
Nemirtingas ea4588f442 (WIP) achievements support
build is also WIP
5 years ago
Mr_Goldberg f4ab249f36
Add a way to configure which leaderboards are seen by the game. 5 years ago
Mr_Goldberg bb9c516775
Fix crash in crazy taxi. 5 years ago
Mr_Goldberg d968c3e1b5
Initial commit. 5 years ago