samcarsonx / wiimmfi-discord

Python 3 rich presence client for Wiimmfi (abandoned)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wiimmfi-discord

Last Commit Commits since last release MIT Licence Forks Stars Open Issues Using PyPresence Max-used language

Python 3.6+ rich presence client by Sam Carson for the Wiimmfi servers. Please reference their wiki page for extra information.

How to use

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:

Configuration

There are two config files, friend_codes.py and status.py (they are in py format so loading is as simple as importing)

friend_codes.py

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.

status.py

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

Roadmap

In the future, I plan on re-writing this to make it clearer and faster to use. No need, already efficient.

About

Python 3 rich presence client for Wiimmfi (abandoned)

License:MIT License


Languages

Language:Python 100.0%