Python 3.6+ rich presence client by Sam Carson for the Wiimmfi servers. Please reference their wiki page for extra information.
Using this is as simple as cloning the repo or heading over to the releases section and downloading it. Run python3 main.py
in a terminal and after the first use it will probably say that the config contains default values. That will be covered in the next section:
There are two config files, friend_codes.py
and status.py
(they are in py format so loading is as simple as importing)
data = [
{
"game": "XXXX",
"friend_code": "XXXX-XXXX-XXXX-XXXX"
}
]
To edit:
- change
game
to any ID from this huge list - change
friend_code
to the 16 digit code you have in the specified game.
Extended functionality is supported for Mario Kart Wii (such as showing current track and amount of players in the room), its code is RMCJ
.
Only hyphens and digits are supported in the friend code.
data = {
"0": "User offline",
"1": "In the menus",
"2": "In a room",
"3": "Searching for opponents",
"4": "Connecting to private room",
"5": "Hosting a room",
"6": "Special brawling"
}
To edit:
- keep the key names, such as
"1"
the same, but the messages can be edited; these are the default values.
Status 6 is specific for Super Smash Bros Brawl for an unknown reason
In the future, I plan on re-writing this to make it clearer and faster to use. No need, already efficient.