ValveSoftware / halflife

Half-Life 1 engine based games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[CS1.6] Add Rich Presence

Splatt581 opened this issue · comments

Currently the Rich Presence feature only works for Half-Life, but Counter-Strike 1.6 fans would be very grateful if you introduced such a feature for our favorite game!

Hmm, I noticed that the engine actually sends Rich Presence for CS 1.6 to the Steam:

appid 10:

"richPresence":{"steam_display":"#HL_RP_MainMenu","status":"#HL_Status_MainMenu","steam_player_group_size":"0","game:current_player_count":"0","game:max_player_count":"0","game:server_name":"Half-Life","game:pause_state":"#HL_RP_Unpaused"},"localizedString":null}}}}

But, unlike HL1, CS 1.6 does not have localization (the localizedString key is always null):

appid 70:

"richPresence":{"steam_display":"#HL_RP_MainMenu","status":"#HL_Status_MainMenu","steam_player_group_size":"0","game:current_player_count":"0","game:max_player_count":"0","game:server_name":"Half-Life","game:pause_state":"#HL_RP_Unpaused"},"localizedString":"Main Menu"}}}}

Valve, please add Rich Presence localization for CS 1.6 too!