halflife icon indicating copy to clipboard operation
halflife copied to clipboard

[CS1.6] Add Rich Presence

Open Splatt581 opened this issue 2 years ago • 1 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!

Splatt581 avatar Dec 12 '23 19:12 Splatt581

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!

Splatt581 avatar Dec 26 '23 17:12 Splatt581