{"action":"created","issue":{"url":"https://api.github.com/repos/jhewt/gumer-psn/issues/17","labels_url":"https://api.github.com/repos/jhewt/gumer-psn/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/jhewt/gumer-psn/issues/17/comments","events_url":"https://api.github.com/repos/jhewt/gumer-psn/issues/17/events","html_url":"https://github.com/jhewt/gumer-psn/issues/17","id":102503957,"number":17,"title":"Hidden trophy support with .ESFM decryption and hash generation","user":{"login":"pcmantinker","id":1054866,"avatar_url":"https://avatars.githubusercontent.com/u/1054866?v=3","gravatar_id":"","url":"https://api.github.com/users/pcmantinker","html_url":"https://github.com/pcmantinker","followers_url":"https://api.github.com/users/pcmantinker/followers","following_url":"https://api.github.com/users/pcmantinker/following{/other_user}","gists_url":"https://api.github.com/users/pcmantinker/gists{/gist_id}","starred_url":"https://api.github.com/users/pcmantinker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcmantinker/subscriptions","organizations_url":"https://api.github.com/users/pcmantinker/orgs","repos_url":"https://api.github.com/users/pcmantinker/repos","events_url":"https://api.github.com/users/pcmantinker/events{/privacy}","received_events_url":"https://api.github.com/users/pcmantinker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-22T05:03:50Z","updated_at":"2015-08-22T14:00:34Z","closed_at":null,"body":"I've been doing some research regarding getting hidden trophy information. It looks like major trophy sites use the .ESFM file decryption and hash generation method to fill in all trophies for games in conjunction with the PlayStation mobile application/website. I found some sample code on the psdevwiki for downloading trophy related files: http://www.psdevwiki.com/ps3/Trophy_files#Tools\r\nThe trick is to find the HMAC key, erk, and iv for running the python script. I haven't been able to locate these just yet, but in theory, one should be able to get these from the metadata header on the np_trophy_util.sprx/prx file from a PS3 firmware extraction. After this is done, files should be able to download. I don't know how to decrypt ESFM files at the moment, but I think that there are tools available that can handle decryption. If anyone has pointers on how to extract the HMAC key, erk, and iv, I think we can make this part of the API to get hidden trophy information. Currently, it appears that larger organizations profit off of the mentioned method and it would be great to open source the method."},"comment":{"url":"https://api.github.com/repos/jhewt/gumer-psn/issues/comments/133706596","html_url":"https://github.com/jhewt/gumer-psn/issues/17#issuecomment-133706596","issue_url":"https://api.github.com/repos/jhewt/gumer-psn/issues/17","id":133706596,"user":{"login":"pcmantinker","id":1054866,"avatar_url":"https://avatars.githubusercontent.com/u/1054866?v=3","gravatar_id":"","url":"https://api.github.com/users/pcmantinker","html_url":"https://github.com/pcmantinker","followers_url":"https://api.github.com/users/pcmantinker/followers","following_url":"https://api.github.com/users/pcmantinker/following{/other_user}","gists_url":"https://api.github.com/users/pcmantinker/gists{/gist_id}","starred_url":"https://api.github.com/users/pcmantinker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcmantinker/subscriptions","organizations_url":"https://api.github.com/users/pcmantinker/orgs","repos_url":"https://api.github.com/users/pcmantinker/repos","events_url":"https://api.github.com/users/pcmantinker/events{/privacy}","received_events_url":"https://api.github.com/users/pcmantinker/received_events","type":"User","site_admin":false},"created_at":"2015-08-22T14:00:34Z","updated_at":"2015-08-22T14:00:34Z","body":"It looks like the PS4 still uses .esfm files for trophies. http://www.ps3devwiki.com/ps4/Trophy00.trp I don't fully understand it, but it might be that the Trophy00.trp file is the container for the .esfm file and trophy images."}}