malmeloo / wiimmfi-rpc

A Discord rich presence implementation for Wiimmfi
GNU General Public License v3.0
34 stars 3 forks source link

Change "Playing a game" and "Available" text to the current game title #17

Open burritosoftware opened 4 years ago

BLCRAFT210 commented 4 years ago

The "Playing a game" and available also don't change, they just stay as they were when you opened the app.

malmeloo commented 4 years ago

The current implementation derives these status messages from the "status" column on Wiimmfi's official website (see here for MKW, to use as an example). This is very limited because different games can have different status codes, so the hardcoded strings are very generic and might not be correct for every game.

I'm currently working on a system that would allow you to create definition files (see this thread for the specifics). These would ideally be able to create a specific status string when given a couple of values provided by Wiimmfi. This way, it could still just use the current default values, but it would be more accurate for the games that people have created definition files for.

I'm not sure when I'll actually release this feature; I've got a couple of other things I want to do as well for the next release so I might not include this in the coming release. Feel free to suggest other solutions though, as I'm still not completely sure how to go about these definition files.

malmeloo commented 4 years ago

The current status strings are defined in this file. The game name is currently showed when you hover over the big game image, but I do agree that it should be more clear what game you're playing.