Act.dat

From PSP Developer wiki
Jump to navigation Jump to search

Located in flash2:/
Stands for Account Data

Structure[edit | edit source]

Name Offset Size Example Notes
Activation Type 0x0 0x2 0000, 0001 1 = local
Unknown 0x0 0x2 0000, 0001 0 for v.1, 1 for v.2. Maybe Version Flag like on RIF.
Version 0x4 0x4 00000001, 00000002 1 (PSP and PS3 parser) or 2 (PSVita parser)
Account ID 0x8 0x8 AB CD EF 01 02 34 78 91 PSN Account ID (in little endian)
Primary Key Table 0x10 0x800 N.A Encrypted RIF keys table
Unknown 1 0x810 0x40 N.A
OpenPsId 0x850 0x10 N.A
Unknown 2 0x860 0x10 N.A Encrypted data for v.1 / Unknown (8 bytes) + Padding (8 bytes) for v.2
Unknown 4 0x870 0x10 N.A Encrypted data for v.1 / Start Time (8 bytes) + Expiration Time (8 bytes) for v.2
Secondary Table 0x880 0x650 N.A
RSA Signature 0xED0 0x100 N.A RSA Public Key for RIF type 0 and 1
Unknown Signature 0xFD0 0x40 N.A Maybe AES CMAC (0x20 key + 0x20 hash) or AES HMAC.
ECDSA Signature 0x1010 0x28 N.A pub=vsh_pub, ctype=0x02(vsh_curves)