andshrew / PS4-Updates-Python

A python package for accessing PS4 title update information
MIT License
3 stars 0 forks source link

Play Station 5 #1

Closed Jolge100 closed 1 month ago

Jolge100 commented 1 month ago

Is something like this possible for PS5 games as well? thanks

andshrew commented 1 month ago

The current update for a PS5 game lives at a URL like:
https://sgst.prod.dl.playstation.net/sgst/prod/00/np/PPSA01288_00/1db8a953-699b-47e8-8082-799b1eea8118-version.xml

As far as I know, there isn't a publicly known method for pre-determining what URL each individual PS5 game uses. So for now it isn't possible to do this for PS5 games.

Jolge100 commented 1 month ago

I asked this because some websites like https://prosperopatches.com/ are doing something like this. thanks

andshrew commented 1 month ago

As far as I know, that web site is pulling the patch information via a manually curated list of "version.xml" URLs. Someone had to either own the game on disc and extract the URL from one of the files, or they need a PSN connected PS4 of which they can externally decrypt the hard disk drive, from which you can then read a database file which apparently contains these URLs for the games that your account owns.

They have their own API you could query if you just want patch information: https://prosperopatches.com/api/lookup?titleid=PPSA01288

Jolge100 commented 1 month ago

The API link you provided is really helpful, and I appreciate it. Do you have an API link from the same website that would allow me to find the links to the pkg files, which are directly hosted on Sony’s servers? I could get them from the site itself, but the website is both behind Cloudflare and uses reCAPTCHA 2.

andshrew commented 1 month ago

No, I don't have anything more than that.