Tustin / PlayStationDiscord

Discord Rich Presence for PlayStation 4, PlayStation 3, and PlayStation Vita games.
https://tustin.dev/PlayStationDiscord/
GNU General Public License v3.0
391 stars 101 forks source link

Vita Support #5

Closed deejbruce closed 6 years ago

deejbruce commented 6 years ago

Is it possible to add Playstation Vita support? Since it can detect what game I play but it says I'm playing on PS4 which is kinda annoying.

Tustin commented 6 years ago

Yeah I actually kinda support it, I just don't have it setup on the Discord website yet. I'll do an update for that soon.

deejbruce commented 6 years ago

Alright thanks, Everything else works fine!

Tustin commented 6 years ago

Started pushing my refactor code, which includes Vita support in it but it needs testing. I'll get a PR build out shortly. 347ca6da9f18376f0f9fd1db828bb31b3af41db0

Tustin commented 6 years ago

Added Vita support in 2.0, but I'll need someone to test it: https://github.com/Tustin/PlayStationDiscord/releases/tag/2.0.0.0

alec2dabreen commented 6 years ago

I'm playing FFX-2 HD on Vita and it is correctly updating my status in Discord, except it says that I'm playing a PlayStation 4 and not a Vita.

deejbruce commented 6 years ago

Yeah that's the issue I'm having despite updated. Only tried it with persona 4 so far.

Tustin commented 6 years ago

@alec2dabreen on the newest version? If so, thanks for letting me know. I'll take a look and see what's up.

Tustin commented 6 years ago

@alec2dabreen @deejbruce Okay, I pushed a new update which added a logfile that will help me figure out what I'm missing. If you download the new update, make sure you're online on the Vita and then launch the program. Go to %appdata%\PlayStationDiscord\ and open log.txt. You should see a line that looks like this:

[2:18:31 PM] - Game = {"onlineStatus":"online","platform":"PS3","npTitleId":"NPUB30638_00","titleName":"Red Dead Redemption","npTitleIconUrl":null,"gameStatus":null,"hasBroadcastData":false}

If one of you could post that here, that would help a bunch.

alec2dabreen commented 6 years ago

[3:30:25 PM] - Game = {"onlineStatus":"online","platform":"PSVITA","npTitleId":"PCSE00283_00","titleName":"FINAL FANTASY X-2 HD Remaster","npTitleIconUrl":"http://tmdb.np.dl.playstation.net/psp2-tmdb/PCSE00283_00_B33A4ED8CAACE9FA151062C78BF8021737E99538/icon0.png","gameStatus":null,"hasBroadcastData":false}

Tustin commented 6 years ago

"platform":"PSVITA" Goddamn, there was my problem lol. Sony is so inconsistent with their naming. I'll go ahead and get that fixed and then just update the setup for 2.0.0.1 with proper Vita support. Thanks a bunch @alec2dabreen!

Tustin commented 6 years ago

I updated the setup for 2.0.0.1: https://github.com/Tustin/PlayStationDiscord/releases/tag/2.0.0.1. Feel free to try it again and hopefully it properly works now.

alec2dabreen commented 6 years ago

Works perfect now! Thank you so much!

Tustin commented 6 years ago

Glad to hear. Thanks again for the help. I'll start adding images of some of the most popular Vita games so it'll show the game image instead of the basic PlayStation logo. 😄

deejbruce commented 6 years ago

Yeah working just fine now, Thanks again!