Gen4RPC
Discord Rich Presence (RPC) Integration for the Generation 4 Pokémon games, used in conjunction with the DeSmuMe emulator.
-
(Due to the Discord API's rate limit on activty updates, this script updates every 5 seconds to be a little bit under the limit).
-
If your rich presence is not updating properly, try restarting your Discord client (CTRL+R)
How to use
- Run the Lua script
export.lua
in the DeSmuMe version of your choice. - Run the Python script
rpc.py
.
Features
- Current Map Header
- Game Name
- Time Played
Games currently supported
- Pokémon Diamond/Pearl
- Pokémon Diamond/Pearl Demo Version
- Pokémon Platinum
- Pokémon HeartGold/SoulSilver
To-do
- Revise map headers for D/P (sort-of done)
- Support Platinum, combine Pt headers with D/P if possible
- Support HG/SS, check if both games use the same map headers
- Differentiate between games, (Ex: Diamond OR Pearl, HeartGold OR SoulSilver)
- If possible, read from DeSmuMe RAM rather than relying on a lua to output information