Hi, thank you so much for your work on this, it's really cool.
I am not sure if this is an issue with the code, my Steam/Discord or something unique to Paradox games where the rich presence can vary wildly, but it's not showing up for me. I can supply you with more detailed info, but this is what it looks like:
I did read your issue from March where you were trying to figure this out. I assume that maybe Paradox games, with their many countries and variables such as the year the game is at, might not work the same way. However, something like Baldur's Gate 3, which only has about 4-5 different presence descriptions, also doesn't work. The review and store button do work though (cool features too).
This is what my config file looks like, with the personal stuff removed:
{
"STEAM_API_KEY": "key",
"USER_IDS": "id",
"DISCORD_APPLICATION_ID": "id",
"FETCH_STEAM_RICH_PRESENCE": true,
"FETCH_STEAM_REVIEWS": false,
"ADD_STEAM_STORE_BUTTON": false,
"WEB_SCRAPE": false,
"COVER_ART": {
"STEAM_GRID_DB": {
"ENABLED": true,
"STEAM_GRID_API_KEY": "key"
},
"USE_STEAM_STORE_FALLBACK": true
},
"LOCAL_GAMES": {
"ENABLED": false,
"LOCAL_DISCORD_APPLICATION_ID": "",
"GAMES": [
"processName1",
"processName2",
"processName3",
"so on"
]
},
"GAME_OVERWRITE": {
"ENABLED": false,
"NAME": "Breath of the wild, now on Steam!",
"SECONDS_SINCE_START": 0
},
"CUSTOM_ICON": {
"ENABLED": false,
"URL": "https://raw.githubusercontent.com/JustTemmie/steam-presence/main/readmeimages/defaulticon.png",
"TEXT": "Steam Presence on Discord"
}
}
And here is the log:
[Nov 22 2023 - 21:20:51] found game Stellaris played by -
[Nov 22 2023 - 21:20:52] steam app ID 281990 found for Stellaris
[Nov 22 2023 - 21:20:52] game changed, updating to 'Stellaris'
[Nov 22 2023 - 21:20:52] fetching the Discord game ID for Stellaris
[Nov 22 2023 - 21:20:53] found the discord game ID for stellaris
[Nov 22 2023 - 21:20:53] fetching icon for Stellaris
[Nov 22 2023 - 21:20:53] found icon for Stellaris in cache
[Nov 22 2023 - 21:20:53] creating new rich presence object for Stellaris
[Nov 22 2023 - 21:20:53] pushing presence to Discord
I noticed that it doesn't log the
log(f"setting the details for {gameName} to {gameRichPresence}")
under the setPresenceDetails() function so I'm assuming it satisfying the if check there for some reason?
I can confirm that neither Discord nor Steam are running as admin. I'm not sure if anything obvious is wrong but I will keep trying. Otherwise, would love your help on this. Once again, thanks for the cool script! Awesome work. Sorry if there is an obvious answer or solution to this somewhere and I missed it.