I would like to read the partition of file names within a PSP pkg.
I was able to read the table with the offset, name length, start file offset, end file, and file type (file or folder).
The file names are encrypted, I need to understand what decoding I need to use or how the logic works to do so. Could you help me?
I would like to read the partition of file names within a PSP pkg.
I was able to read the table with the offset, name length, start file offset, end file, and file type (file or folder).
The file names are encrypted, I need to understand what decoding I need to use or how the logic works to do so. Could you help me?
I took inspiration from this repo, but at this point I don't understand how it decrypts the file names.
I can get the key to increment by one byte each loop, but the XOR is wrong.
I read just USRDIR/CONTENT/DOCUMENT.DAT and USRDIR/CONTENT/EBOOT.PBP
github qwikrazor87/pkgrip/
psdevwiki PKG_files
PS:My purpose is only to read the file names. I do not intend to extract or modify the file, only to read it.
For the fist decryption I used python with
aes_key = PSPKEY
iv = PKGKEY offset 0x070
cipher_ctr = AES.new(aes_key, AES.MODE_CTR, nonce=b'', initial_value=int.from_bytes(iv, byteorder='big')) <--- it works with ps3 pkg only
THX
I was able to read the table with the offset, name length, start file offset, end file, and file type (file or folder).
The file names are encrypted, I need to understand what decoding I need to use or how the logic works to do so. Could you help me?
I would like to read the partition of file names within a PSP pkg.
I was able to read the table with the offset, name length, start file offset, end file, and file type (file or folder).
The file names are encrypted, I need to understand what decoding I need to use or how the logic works to do so. Could you help me?
I took inspiration from this repo, but at this point I don't understand how it decrypts the file names.
I can get the key to increment by one byte each loop, but the XOR is wrong.
I read just USRDIR/CONTENT/DOCUMENT.DAT and USRDIR/CONTENT/EBOOT.PBP
github qwikrazor87/pkgrip/
psdevwiki PKG_files
PS:My purpose is only to read the file names. I do not intend to extract or modify the file, only to read it.
For the fist decryption I used python with
aes_key = PSPKEY
iv = PKGKEY offset 0x070
cipher_ctr = AES.new(aes_key, AES.MODE_CTR, nonce=b'', initial_value=int.from_bytes(iv, byteorder='big')) <--- it works with ps3 pkg only
THX






