PS4Updates.py by Zer0xFF

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:ninjaxf2:

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

This comes proceeding the PS4 Package FinderPS4 PKG Database and PS4 Orbis Title Metadata Databasewith source code release late last year, and be sure to check out the latest PS4 Toolbox by DeathRGH v1.6.0.0.rarupdate 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 ""




PS4Updates.py by Zer0xFF and PS4 Title Update Checker by PoSsvkey.jpg

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *