Change your Discord rich presence to your currently playing Nintendo Switch game!
Simply Create an application at the Discord Developer Portal call your application Nintendo Switch or whatever you would like and then enter your client ID and switch's IP into the SwitchPresence client!
You can also optionally dump game icons using a helper homebrew included in releases it will also give you the option to toggle the SwitchPresence sysmodule!
After you have dumped the icons you can bulk upload them to your Discord Developer Application under Rich Presence->Art Assets you can upload them with the name given to them on dump or optionally upload your own icon and set the SwitchPresence client to load that icon using the name of the custom icon.
Technical Info
The protocol for the sysmodule is a very simple struct sent via TCP
struct titlepacket
{
u32 magic; //Padded to 8 bytes by the compiler
u64 tid;
char name[512];
};
Please note that magic is padded to 8 bytes which can be read into a u64 if wanted
The Packet is sent about every 5 seconds to the client from the server (in this case the switch).
If a client is not connect it will not send anything.
by SunTheCourier.
Que novedades incluye la versión 1.8.2
Released
- Fixed connecting to PresenceClient.