Category PS4 CFW and Hacks       Thread starter PSXHAX       Start date Jul 7, 2018 at 10:49 PM       19,625       29            
Following the PS4 Game Updates PKG Guide, his recent ReactPSPLUS work and the PS4 Game Saves FPKG Guide today Zer0xFF shared a PS4Updates.py python script with details on how PS4 games update meta data followed by a PS4 Title Update Checker live demo via PoSsvkey. :ninja:

Download: PS4Updates.py / GIT / PS4 Title Update Checker Demo / PS4 Updates PHP Port

This comes proceeding the PS4 Package Finder, PS4 PKG Database and PS4 Orbis Title Metadata Database with source code release late last year, and be sure to check out the latest PS4 Toolbox by DeathRGH v1.6.0.0.rar update also! :thumbup:

Code:
#!/usr/bin/python

import sys
import hmac
import hashlib
import binascii


if(len(sys.argv) < 2) :
    print 'Usage : ' + sys.argv[0] + ' GameID [...]'
    exit(1)

def GetHash(GameID) :
    byte_key = binascii.unhexlify("AD62E37F905E06BC19593142281C112CEC0E7EC3E97EFDCAEFCDBAAFA6378D84")
    hash = hmac.new(byte_key, "np_" + GameID, digestmod=hashlib.sha256)
    return hash.hexdigest()

GameIDs = iter(sys.argv)
next(GameIDs)
for GameID in GameIDs:
    if(len(GameID) != 9):
        print "Invalid GameID: " + GameID
        continue

    print "GameID: " + GameID
    hash = GetHash(GameID)
    print "    Hash: " + GetHash(GameID)
    print "    Update XML: https://gs-sec.ww.np.dl.playstation.net/plo/np/" + GameID + "/" + hash + "/" + GameID + "-ver.xml"
    print ""
Code:
data|0|1007D70|byte|195|0||3CA1BD70
data|0|1007D40|byte|195|0||3CA1BD40
1.4|eboot.bin|ID:CUSA06638|VER:01.00|FM:505
PS4Updates.py by Zer0xFF and PS4 Title Update Checker by PoSsvkey.jpg
 

Comments

PSXHAX

Staff Member
Moderator
Contributor
Verified
For those who don't want to use the python script, you can plug a PS4 game title ID (for example, CUSA00411) in the Update Checker which will return THIS XML file that contains the following META data including the patch update link:
PHP:
<titlepatch titleid="CUSA00411">
<tag name="40" mandatory="true">
<package version="01.27" size="17934188544" digest="8BAE360748D0D4B10C49EDA6023C8B0FA7E6C816FDDB1D7F4CEEFD749A278FCC" manifest_url="http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00411_00/40/f_1f198436532792979d4cb3232e6765bf01f24f98507444dd40b103114d5beff4/f/EP1004-CUSA00411_00-GTAVDIGITALDOWNL-A0127-V0100.json" content_id="EP1004-CUSA00411_00-GTAVDIGITALDOWNL" system_ver="84213760" type="cumulative" remaster="false" patchgo="false">
<delta_info_set url="http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00411_00/40/f_1f198436532792979d4cb3232e6765bf01f24f98507444dd40b103114d5beff4/f/EP1004-CUSA00411_00-GTAVDIGITALDOWNL-A0127-V0100-DP.pkg"/>
<paramsfo>
<title>Grand Theft Auto V</title>
<title_01>Grand Theft Auto V</title_01>
<title_02>Grand Theft Auto V</title_02>
<title_03>Grand Theft Auto V</title_03>
<title_04>Grand Theft Auto V</title_04>
<title_05>Grand Theft Auto V</title_05>
<title_08>Grand Theft Auto V</title_08>
<title_16>Grand Theft Auto V</title_16>
<title_17>Grand Theft Auto V</title_17>
</paramsfo>
</package>
<latest_playgo_manifest url="http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00411_00/40/f_1f198436532792979d4cb3232e6765bf01f24f98507444dd40b103114d5beff4/f/playgo-manifest.xml"/>
</tag>
</titlepatch>
 

hyperlisk

Member
Contributor
Verified
Nice work. I tested it with Alienation disc version with title ID PCAS00059 (Chinese + English version) but it doesn't work - 404 not found.
 

mosb3rg

Senior Member
Contributor
This is not designed for Fpkg titles, which means the documentation isnt clear for the average end user. I generally recognize this stuff immediately and it got past me for a second.

So unless your ripping titles yourself from disc and want to get all the latest updates.. or you are not exploiting your console to do anything at all.. then sure this tool is cool for you. However, for the vast majority of us this serves no purpose.
 

lotus78

Senior Member
Contributor
Verified
Hi - I tried, but something went wrong.

- with the Update Checker there is no Link for Update PKG for CUSA00128 (FIFA14)
- also with python there is no link to Update PKG



and the Update PKG CUSA00411 (here from the thread) is not valid in orbis checker -
why that?


 

barelynotlegal

Senior Member
Contributor
Verified
And you need the disc to actually update the game correct? I ripped all my dumps myself.

This is basically to understand how the update process works so devs can look closer? Orbis was down for me yesterday unless the site has moved
 

73n1x69

Senior Member
Contributor
Verified
This is a step forward because, if i understand well, the links for downloading updates are not grabbed "manually" like in the past, but automatically generated because somehow the update searching mechanism of the console (or, to say it better, the handshake between $0ny's servers and a console with an installed game) has been reversed.
Not much for the common backup-user, but surely a great work and a step closer to the total freedom of the console.
 
Recent Articles
Lapy's River Raid 1.0 PS4 PKG Homebrew Game by Lapy05575948
Following the River Raid PS4 PKG Preview and his recent Easy PKG Extractor, PlayStation 4 homebrew developer @Lapy released a River Raid 1.0 PS4 PKG today on Twitter for those with a Jailbroken...
Resident Evil 3 Arrives with New PS4 Game Releases Next Week
Next week on April 3rd Resident Evil 3 arrives with the new PS4 video game releases where Jill Valentine witnesses the atrocities Umbrella performed in Raccoon City and as a result they unleash...
Random Content ID (CID) Generator for PS4 PKG Files by Backporter
Since his DDS Converter for PS4 Themes PlayStation 4 developer @Backporter returns this weekend via Twitter with a Random Content ID (CID) Generator that will generate a random Content ID for PS4...
Sony Announces End of PlayStation 3 (PS3) Partial Message Service
Proceeding their PS3 End of Production a few years back, Sony of Japan announced the end of PlayStation 3's partial message service as of June 30, 2020. ☠ This means message functions between...
Top