Skip to content

Handle multi-piece PS4 updates properly - #89

Closed
AphelionWasTaken wants to merge 2 commits into
mainfrom
PS4
Closed

AphelionWasTaken wants to merge 2 commits into
mainfrom
PS4

Conversation

@AphelionWasTaken

Copy link
Copy Markdown
Owner

Rewrite the PS4 search path and download function to handle PS4 updates properly. Also check for correct hashes and sizes of newly downloaded files more gracefully.

PS4 games have cumulative updates, meaning some of them are very large. Sony splits these up into multiple files, and previously PySN was only fetching the last file in the list. This PR allows PySN to find all of the piece files, download them all, and then combine them into a single update file.

Also change the hash and size checking logic to bypass is_shit_there(). We already know the file is there, so we can just move on with checking the hashes and sizes. Doesn't save much in terms of time or resources, but it is more efficient this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant