This project reimplements desktop application required for Electry's VitaPresence plugin to work. Also adds support for Discord Rich Presence game thumbnails.
- Install VitaPresence kernel plugin, see https://github.com/Electry/VitaPresence
- Create application on Discord developer portal, name it PS Vita, for example (this will be printed in Rich Presence). Get application ID.
- (Optional) Setup game thumbnails. In developer portal open Rich Presence -> Art Assets (on the left) and upload thumbnails. Make sure to name it exactly as the game's ID. Example: pcse00120 for Persona 4 Golden. Discord will automatically lowercase filenames. For LiveArea name it livearea. Like so: https://imgur.com/a/evlFtfi
- Make sure vita-presence-the-server.ini is on the same level as the executable
- Set parameters in vita-presence-the-server.ini, the keys are self-explanatory
- Start the executable
If all goes well, your Discord nickname should be printed together with PS Vita game if you have it opened. Like this: https://imgur.com/a/oHX3DDZ
To stop the program, press Ctrl-C.
Compilation is tested under Linux and MinGW-w64
git clone https://github.com/TheMightyV/vita-presence-the-server
cd vita-presence-the-server
git submodule update --init
mkdir build && cd build
(if MinGW) cmake -G"MinGW Makefiles" ..
(if Linux) cmake ..
make
- Electry for VitaPresence https://github.com/Electry/VitaPresence
- Ben Hoyt (benhoyt) for inih library https://github.com/benhoyt/inih
- Cylix for tacopie TCP library (using my fork) https://github.com/Cylix/tacopie