Advertising (This ad goes away for registered users. You can Login or Register)

Calculating title update download links with HMAC key

Open discussions on programming specifically for the PS Vita.
Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
X-death
Posts: 86
Joined: Sun Nov 16, 2014 1:37 pm

Re: Calculating title update download links with HMAC key

Post by X-death » Mon Sep 07, 2015 8:36 am

reprep wrote:This means it is possible to create URL links for any game/app update .pkg with Game ID, right? So we can download the missing update .pkg files of PSM etc.?
Is it really possible ?
Even if the update flag is permanently set ?
Advertising
Playstation TV PSNOVA JAP 3.60 Henkaku

diesel701
Posts: 67
Joined: Wed Dec 19, 2012 11:13 am

Re: Calculating title update download links with HMAC key

Post by diesel701 » Wed Sep 09, 2015 10:23 am

Thanks for this app Proxima! :)

Anyway, the app made by cfwprophet need to lower the "unique" characters ;)
The one made from tomtomdu80 is working well, but if you want a better GUI, the cfwprophet version is very good: LINK.

Proxima, this tool can be used to find only update files or also the normal pkgs?
Thansk again!
Advertising

Proxima
Guru
Posts: 47
Joined: Mon Jan 03, 2011 2:38 pm

Re: Calculating title update download links with HMAC key

Post by Proxima » Wed Sep 09, 2015 3:38 pm

diesel701 wrote:Thanks for this app Proxima! :)

Anyway, the app made by cfwprophet need to lower the "unique" characters ;)
The one made from tomtomdu80 is working well, but if you want a better GUI, the cfwprophet version is very good: LINK.

Proxima, this tool can be used to find only update files or also the normal pkgs?
Thansk again!
This is only for how the vita downloads updates, not original pkg files.

Luro02
Posts: 2
Joined: Sun Jul 30, 2017 10:17 am

Re: Calculating title update download links with HMAC key

Post by Luro02 » Sat Oct 14, 2017 9:04 pm

Hey,

I am trying for nearly 5 hours now to get this dang hmac_sha256 function working but everything errors and I don't know what to do now.
Proxima's Link hasn't all Dependencies in the Repository and other Dependencies don't work.
Has somebody a working Source Code ? (maybe on Github)
I don't want a compiled Version because I am working on a bigger Project with NoNPDRM Dumps where I have to batch check for Updateds :D .....

Greetings Lucas

User avatar
noname120
Developer
Posts: 774
Joined: Thu Oct 07, 2010 4:29 pm

Re: Calculating title update download links with HMAC key

Post by noname120 » Wed Oct 18, 2017 3:50 am

Last edited by noname120 on Thu Oct 19, 2017 7:46 am, edited 1 time in total.
Funny stuff
<yifanlu> I enjoy being loud and obnoxious
<yifanlu> rooting an android is like getting a hooker pregnant
<xerpi> I sometimes think I should leave all this stressing **** and be a farmer instead

mmozeiko
Posts: 1
Joined: Wed Oct 18, 2017 8:23 pm

Re: Calculating title update download links with HMAC key

Post by mmozeiko » Wed Oct 18, 2017 8:30 pm

Luro02 wrote:Has somebody a working Source Code ? (maybe on Github)
Here's a Python script I wrote few days ago: https://gist.github.com/mmozeiko/4f868c ... b5a80da952
Examples:

Code: Select all

$ python get_update_pkg.py patch PCSB00786
Name: STF Ultra
Patch: http://gs.ww.np.dl.playstation.net/ppkg/np/PCSB00786/PCSB00786_T1/de17f818a05071b2/EP2003-PCSB00786_00-SUPERTIMEFORCEUL-A0102-V0100-5bd071fb2ba4d4718223a2ac7d621d81986b0248-PE.pkg
Version: 1.02
FW: 3.52
Size: 69046176

$ python get_update_pkg.py patch PCSE00491
None

$ python get_update_pkg.py latest PCSE00491
Name: Minecraft: PlayStation®Vita Edition
Patch: http://gs.ww.np.dl.playstation.net/ppkg/np/PCSE00491/PCSE00491_T56/6e9f5f7ad0e40815/UP4433-PCSE00491_00-MINECRAFTVIT0000-A0157-V0100-bb616dca2eb6637d4c388aca98ce16adb587c120-PE.pkg
Version: 1.57
FW: 3.65
Size: 964788064
Basically "patch TITLEID" will return info about latest patch that works on 3.60 or "None" if patch doesn't exist or requires 3.61+. "latest TITLEID" will return info about latest patch, including one that potentially requires 3.61+ fw version.

Luro02
Posts: 2
Joined: Sun Jul 30, 2017 10:17 am

Re: Calculating title update download links with HMAC key

Post by Luro02 » Sat Oct 21, 2017 3:44 pm

Thanks a lot :)

Post Reply

Return to “Programming and Security”