Suggestion about determing the platform
There are a few more PlatformIDs for Vita and PS3.
I attached internal_entitlements files. (I got them form the chihiro URL before the old store was gone.) internal_entitlements.zip
And this is a code sample (sorry, its in python)
def determine_platform(platform_id, cid, package_sub_type): ## 2281701376 = Vita Game/DLC, sometimes PS3 DLC/PS3 Avatar ## 134217728 = Vita Theme if platform_id in [2281701376, 134217728]: platform = 'PSV' if not cid[7:10] == 'PCS': platform = 'PS3' elif platform_id in [2147483648, 2149580800, 2283798528, 2155872256]: platform = 'PS3' elif platform_id in [4161798144, 1880096768, 4027580416]: platform = 'PSP' else: platform = 'UNK' ## 'Bxxx' -> PS3 content if cid == 'B': platform = 'PS3' ## 'Uxxx' -> PSP content if cid == 'U': platform = 'PSP' ## 'PCSx' -> Vita content if cid[7:10] == 'PCS': platform = 'PSV' ## if there is 'MISC_AVATAR', it's always PS3 content. if package_sub_type == 'MISC_AVATAR': platform = 'PS3' return platform