Id.dat: Difference between revisions

From Vita Developer wiki
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:


== Description ==
== Description ==
It's a unique data file that stores several values regarding your account, device and the fw version of the Vita and some more, which need to be analyzed and added here. This file is UTF-8 encoded.
 
id.dat a unique data file that stores several values regarding your account, device and the fw version of the Vita and some more, which need to be analyzed and added here. This file is UTF-8 encoded.


=== Location ===
=== Location ===
Line 8: Line 9:


=== Structure ===
=== Structure ===
Even though id.dat is a text file, it must start with a magic of 3 bytes: EF BB BF. It is then followed by plaintext.
{| class="wikitable"
{| class="wikitable"
! Short Name !! Name !! Length !! Example !! Usage
|-
|-
! Name !! length !! Example !! Usage
| MID || Media Id || 0x24 || MID=455CB356BF73B0A530DE63C6A3B41D0F || Unknown.
|-
| id.dat || File: variable, only depending of the username length || dead link of someone id.dat || an example of id.dat
|-
| MID || Value, saved as Plain Text: 0x24 || MID=455CB356BF73B0A530DE63C6A3B41D0F || ?MediaID? Unknown.
This value can be found under the table tbl_conf inside app.db.
This value can be found under the table tbl_conf inside app.db.
|-
|-
| DIG || Value, saved as Plain Text: 0x28 || DIG=9F672EE122819AF9245A825D8F306CCD671B5281 || ?DIGest? Unknown.
| DIG || Digest || 0x28 || DIG=9F672EE122819AF9245A825D8F306CCD671B5281 || Unknown digest. Certainly sha-1 according to the size.
|-
| DID || Value, saved as Plain Text: 0x28 || DID=297C4C05A145A6E374FE4FE65535E03DC1643F2C || [[DeviceID]], the SHA-1 hash of [[openPSID]]
|-
|-
| SVR || Value, saved as Plain Text: 0x8 || SVR=03520000 || Software Version (in this exemple: 3.52) of the PSVita
| DID || Device Id || 0x28 || DID=297C4C05A145A6E374FE4FE65535E03DC1643F2C || [[DeviceID]], the sha-1 hash of [[OpenPSID]]
|-
|-
| AID || Value, saved as Plain Text: 0x10 || AID=58CD7F52A6E493F1 || [[NP Account ID]]
| SVR || System Version || 0x8 || SVR=03520000 || System Software Version (in this example: 3.52) of the PSVita
|-
|-
| OID || Value, saved as Plain Text: length variable || OID=username || Online ID : PSN username to which the PSVita is bound to
| AID || Account Id || 0x10 || AID=58CD7F52A6E493F1 || [[NP Account ID]]
|-
|-
| OID || Online Id || variable || OID=myPsnUsername123 || PSN username to which the PSVita is bound to
|}
|}

Latest revision as of 22:23, 16 January 2019


Description[edit | edit source]

id.dat a unique data file that stores several values regarding your account, device and the fw version of the Vita and some more, which need to be analyzed and added here. This file is UTF-8 encoded.

Location[edit | edit source]

 ux0:id.dat

Structure[edit | edit source]

Even though id.dat is a text file, it must start with a magic of 3 bytes: EF BB BF. It is then followed by plaintext.

Short Name Name Length Example Usage
MID Media Id 0x24 MID=455CB356BF73B0A530DE63C6A3B41D0F Unknown.

This value can be found under the table tbl_conf inside app.db.

DIG Digest 0x28 DIG=9F672EE122819AF9245A825D8F306CCD671B5281 Unknown digest. Certainly sha-1 according to the size.
DID Device Id 0x28 DID=297C4C05A145A6E374FE4FE65535E03DC1643F2C DeviceID, the sha-1 hash of OpenPSID
SVR System Version 0x8 SVR=03520000 System Software Version (in this example: 3.52) of the PSVita
AID Account Id 0x10 AID=58CD7F52A6E493F1 NP Account ID
OID Online Id variable OID=myPsnUsername123 PSN username to which the PSVita is bound to