Editing PSSE
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 4: | Line 4: | ||
PSSE stands for PlayStation Suite Encrypted. It is an encryption layer that encrypts the PSM game's filesystem. | PSSE stands for PlayStation Suite Encrypted. It is an encryption layer that encrypts the PSM game's filesystem. | ||
The encryption layer is comparable to the PS Vita | The encryption layer is comparable to the PS Vita [[Filesystem]] in many ways; however, it seemed that there was a bug at Sony, where besides executable files, the first directory level of a PSM app is not encrypted with PSSE, whose directory level is below the root of RO/. Similarly, the PSM SaveData is not encrypted by such layer either. | ||
== Data Structure == | == Data Structure == | ||
{| class="wikitable" style="font-size:small; text-align: center;border;" | {| class="wikitable" style="font-size:small; text-align: center;border:3px ridge #123AAA;" | ||
|- | |- | ||
|'''offset''' | | style="background-color:#FFFFFF; color:#123AAA;" |'''offset''' | ||
|'''value''' | | style="background-color:#FFFFFF; color:#123AAA;" |'''value''' | ||
|'''description''' | | style="background-color:#FFFFFF; color:#123AAA;" |'''description''' | ||
|- | |- | ||
|0x00||0x50535345 (ASCII "PSSE" / "PSME")||Magic Number / File Header | |0x00||0x50535345 (ASCII "PSSE" / "PSME")||Magic Number / File Header | ||
Line 25: | Line 25: | ||
|0x40|| char[0x10] || MD5 Of Original File (Plaintext) | |0x40|| char[0x10] || MD5 Of Original File (Plaintext) | ||
|- | |- | ||
|0x50 || char[0x20] || Encrypted Filename | |0x50 || char[0x20] || (Twice?) Encrypted Filename | ||
|- | |- | ||
|0x70|| char[0x10] ||Encrypted IV | |0x70|| char[0x10] ||Encrypted IV | ||
|- | |- | ||
|0x680||Content Data|| Actural encrypted file data | |||
|0x680|| | |||
|- | |- | ||
|} | |} | ||
Line 69: | Line 59: | ||
A script that implements the above algorithm can be found here: | A script that implements the above algorithm can be found here: | ||
https://github.com/KuromeSan/psse-decrypt | https://github.com/KuromeSan/psse-decrypt/blob/master/decrypt.py | ||
it is in the public domain, so feel free to use it for whatever you want | it is in the public domain, so feel free to use it for whatever you want |