Act.dat: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
== | == Structure == | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
| style="background-color:#123EDA; color:#FFFFFF;" |'''Name''' | | style="background-color:#123EDA; color:#FFFFFF;" |'''Name''' | ||
| style="background-color:#123EDA; color:#FFFFFF;" |'''Offset''' | | style="background-color:#123EDA; color:#FFFFFF;" |'''Offset''' | ||
Line 11: | Line 10: | ||
| Activation Type || 0x0 || 0x4 || 00000001 || | | Activation Type || 0x0 || 0x4 || 00000001 || | ||
|- | |- | ||
| Version || 0x4 || 0x4 || 00000002 || 1 or 2(current) | | Version || 0x4 || 0x4 || 00000001, 00000002 || 1(old) or 2(current) | ||
|- | |- | ||
| Account ID || 0x8 || 0x8 || AB CD EF 01 02 34 78 91 || | | Account ID || 0x8 || 0x8 || AB CD EF 01 02 34 78 91 || PSN Account ID | ||
|- | |- | ||
| Primary Key Table || 0x10 || 0x800 || N.A || Encrypted RIF keys | | Primary Key Table || 0x10 || 0x800 || N.A || Encrypted RIF keys table | ||
|- | |- | ||
| Unknown1 || 0x810 || 0x40 || N.A|| | | Unknown1 || 0x810 || 0x40 || N.A|| | ||
|- | |- | ||
| OpenPsId|| 0x850 || 0x10 || N.A|| | | OpenPsId || 0x850 || 0x10 || N.A|| | ||
|- | |- | ||
| Unknown3 || 0x860 || 0x10 || N.A|| Encrypted_data for v.1 / Padding for v.2 | | Unknown3 || 0x860 || 0x10 || N.A|| Encrypted_data for v.1 / Padding for v.2 | ||
Line 32: | Line 31: | ||
|- | |- | ||
| ECDSA Signature || 0x1010 || 0x28 || N.A|| pub=vsh_pub, ctype=0x02(vsh_curves) | | ECDSA Signature || 0x1010 || 0x28 || N.A|| pub=vsh_pub, ctype=0x02(vsh_curves) | ||
|} | |} | ||
The Primary Key table is unique per PSN | The Primary Key table is unique per PSN account. It is encrypted using ECB with the ConsoleId of the console activated with this PSN account. | ||
[[Category:Formats]] |
Latest revision as of 22:09, 1 May 2023
Structure
Name | Offset | Size | Example | Remark |
Activation Type | 0x0 | 0x4 | 00000001 | |
Version | 0x4 | 0x4 | 00000001, 00000002 | 1(old) or 2(current) |
Account ID | 0x8 | 0x8 | AB CD EF 01 02 34 78 91 | PSN Account ID |
Primary Key Table | 0x10 | 0x800 | N.A | Encrypted RIF keys table |
Unknown1 | 0x810 | 0x40 | N.A | |
OpenPsId | 0x850 | 0x10 | N.A | |
Unknown3 | 0x860 | 0x10 | N.A | Encrypted_data for v.1 / Padding for v.2 |
Unknown4 | 0x870 | 0x10 | N.A | Encrypted_data for v.1 / Time_Stamp 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 Sig | 0xFD0 | 0x40 | N.A | params are unknown |
ECDSA Signature | 0x1010 | 0x28 | N.A | pub=vsh_pub, ctype=0x02(vsh_curves) |
The Primary Key table is unique per PSN account. It is encrypted using ECB with the ConsoleId of the console activated with this PSN account.