Join Us and become a Member for a Verified Badge on Discord to access private areas with the latest PS4 FPKGs.
PS4 Guides and Tutorials       Thread starter PSXHAX       Start date Jan 4, 2018 at 1:49 AM       49,458       39      
Status
Not open for further replies.
Here's a brief guide based on what PlayStation 4 developer @Al Azif shared in the PSXHAX Shoutbox recently for those seeking Sony URL links to download PS4 Packages (PKG Files) for apps, games, etc to include in databases such as those from Octolus and OrbisModding similar to community projects like PSDLE, NoNpDrm Dump and NoPayStation.

He notes that this method will only allow you to get your legitimate PKG's back and not the licenses, however, once further details are available on Flat_z's Method along with PS4 IDX Generator which makes IDX files allowing the PlayStation 4 to see the RIF (Activation File) for apps and games everything should come together similar to what we've seen in the Custom / Repacked PS4 Package (PKG) Files demo video. ;)

Steps:

1. Sign into Account.SonyEntertainmentNetwork.com (or Store.SonyEntertainmentNetwork.com) with your PSN account.

Tip: Make sure you have always accept 3rd party cookies set on your browser, and try and access your "Account Settings" from the PS store before you try the URL in Step 2.

2. Then go HERE noting the number where it says total_results.

3. Replace the size=1 in the URL with a number larger than that number (for example, if you have 943 items in there change size=1 to size=1000) and then save (CTRL+S) the resulting .json file.

4. Inside it you'll find a complete record of every purchase made and download links for your legit PlayStation PKG's so that you can back them up, download, share them, etc.

In other words, whatever is in your library on the account you're signed into will display on that page... so if you buy a game on PSN though the browser the info will show up on that page, including PKG links. (y)

:alert: Note: Don't share your entire .json file only the PKG links it contains, as with an entire .json log Sony can determine which PSN account it belongs to based on the download timestamps.

5. Those who wish to clean up their resulting .json file for better readability can use this Python script from @Al Azif afterwards: Entitlement Stripper, or the latest version posted HERE.
Code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
""" Entitlements Stripper by Al-Azif
https://github.com/Al-Azif/
MIT License
"""

import json
import sys


def main():
    with open(sys.argv[1], 'r') as buf:
        raw_json = json.loads(buf.read())
        final_json = []

    for entitlement in raw_json['entitlements']:
        cid = entitlement['id']
        name = entitlement['game_meta']['name']
        pkg = ''
        size = ''

        try:
            pkg = entitlement['entitlement_attributes'][0]['reference_package_url']
            size = entitlement['entitlement_attributes'][0]['package_file_size']
        except:
            pass

        try:
            pkg = entitlement['drm_def']['drmContents'][0]['contentUrl']
            size = entitlement['drm_def']['drmContents'][0]['contentSize']
        except:
            pass

        try:
            if not size:
                size = "UNK"
        except:
            size = "UNK"

        try:
            if pkg:
                temp = {'CID': cid, 'Name': name, 'PKG': pkg, "Size": size}
                final_json.append(temp)
        except:
            pass

    final_json = json.dumps(final_json, indent=2)

    with open('output.txt', 'w+') as buf:
        buf.write(final_json)


if __name__ == '__main__':
    main()
Usage: python file.py entitlements.json
Result: will come out as output.txt
Obtaining PlayStation Package (PKG) Files via SEN by Al Azif Guide by seanp2500
Cheers to @Al Azif for the heads-up, and @LarryK for the reminder to make a quick tutorial for this handy technique for backing up PlayStation Package (PKG) files! :beer::beer:

Obtaining PlayStation Package (PKG) Files via SEN by Al Azif Guide.jpg
 

Comments

Chronoss09

Senior Member
Contributor
Verified
Just go to the website, install the plugin and now connect to your PSN account and you get the icon in the address bar



This code give me an error :
Code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
""" Entitlements Stripper by Al-Azif
https://github.com/Al-Azif/
MIT License
"""

import json
import sys


def main():
    with open(sys.argv[1], 'r') as buf:
        raw_json = json.loads(buf.read())
        final_json = []

    for entitlement in raw_json['entitlements']:
        cid = entitlement['id']
        name = entitlement['game_meta']['name']
        pkg = ''
        size = ''

        try:
            pkg = entitlement['entitlement_attributes'][0]['reference_package_url']
            size = entitlement['entitlement_attributes'][0]['package_file_size']
        except:
            pass

        try:
            pkg = entitlement['drm_def']['drmContents'][0]['contentUrl']
            size = entitlement['drm_def']['drmContents'][0]['contentSize']
        except:
            pass

        try:
            if not size:
                size = "UNK"
        except:
            size = "UNK"

        try:
            if pkg:
                temp = {'CID': cid, 'Name': name, 'PKG': pkg, "Size": size}
                final_json.append(temp)
        except:
            pass

    final_json = json.dumps(final_json, indent=2)

    with open('output.txt', 'w+') as buf:
        buf.write(final_json)


if __name__ == '__main__':
    main()


 

nokodemus

Senior Member
Contributor
Hi guys ...

We decided to start a Google Spreadsheet to collect as many Game Updates as possible, compatible for PS4 System Software lower than or equal 4.05.

Of course so far there are lots of Updates included, which can be easily obtained using the Update Grabber Sites "orbismodding.com" or "ps4.octolus.net". But the main problem using those sites is that they always obtain the latest update available, which probably demands a higher Firmware than 4.05.

That's where the spreadsheet should help users out.

Contribution, especially with URLs to updates compatible for <=4.05, which can't be obtained using the grabbers any more due to newer updates and any other help is highly appreciated.
Everybody is able to contribute using the link above.

credits to @Hawky195 and @Centrino

Greets :)
 

nokodemus

Senior Member
Contributor
Well, this list contains games and their minimal Firmware to run ... without any urls to updates or sth. like that ... did you read first post or open the spreadsheet linked in #1?
 

Kamikam

Member
Contributor
Verified
Yes I did, and adding links don't justify starting all over from the beginning, you can add what you have to what we already have, that make sense for me
 

seanp2500

Senior Member
Contributor
chronoss099 naw I am in psdle but thing is when I dl the pkg they don't install on the ps4 but not sure what is issue (maybe some just no good?).

i know the links work because using other tool I got mgs ground zeros to install previously wondering how you got the pkgs to activate without your psn profile just the update site posted here a few days back?
 

thexviet

Member
Contributor
For those who have notepad++ and want to clean up your .json file.

1. Press ctrl+H
2. Search for "sku_id"
3. Replace with \n"sku_id"
4. Repeat step 3 but with the radio button "Extended(\n, \r, \t, \o, \x..}), selected
 
Status
Not open for further replies.

:fire: Latest Help Topics

Top