Add purchased_keys.txt support#432
Conversation
Read per-app proof of purchase keys from steam_settings/purchased_keys.txt using the format: AppId=KEY (e.g. 480=AAAAA-BBBBB-CCCCC-DDDDD). - Add purchased_keys map, setter and getter to Settings - Add parse_purchased_keys() parser in settings_parser.cpp - Wire key lookup into RequestAppProofOfPurchaseKey, RequestAppProofOfPurchaseKey_OLD, and RequestAllProofOfPurchaseKeys - Owned apps without an entry still get the default placeholder key - Remove TODO comments from FillProofOfPurchaseKey
universal963
left a comment
There was a problem hiding this comment.
Add an example file too if you'd like.
Are you asking me to include an example purchased_keys.txt? I've updated the PR to include these changes proactively. Example file follows existing .EXAMPLE format, placed inside steam_settings.EXAMPLE |
|
How to get the purchased_keys.txt for the games I’ve already bought? Does anyone know which games require this purchased_keys.txt? |

Implements the TODO from
FillProofOfPurchaseKeyto read CD keys frompurchased_keys.txt.Simple format: one key per line as
AppID=KEYFalls back to the existing placeholder if no entry is found, so nothing breaks.