Id.dat: Difference between revisions

From Vita Developer wiki
Jump to navigation Jump to search
No edit summary
 
(14 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[Category:Software]]<noinclude>[[Category:Main]]</noinclude>
== 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 6: 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.
|-
This value can be found under the table tbl_conf inside app.db.
| id.dat || File: variable in case of the user name || [http://www.share-online.biz/dl/D10164UNIB5 download] || a example to use
|-
| MID || Value, saved as Plain Text: 0x24 || MID=455CB356BF73B0A530DE63C6A3B41D0F || Uknowen. Although it hase the same length then the [[NP Account ID]] it do not match
|-
| DIG || Value, saved as Plain Text: 0x2C || DIG=9F672EE122819AF9245A825D8F306CCD671B5281 || Uknowen. Based on PS3 informations ([http://www.psdevwiki.com/ps3/PSID IDPS] 16 bytes, [http://www.psdevwiki.com/ps3/IDPS PSID] 16 bytes) guessed [[IDPS]]
|-
|-
| DID || Value, saved as Plain Text: 0x2C || DID=297C4C05A145A6E374FE4FE65535E03DC1643F2C || also knowen as [[PSID]]
| DIG || Digest || 0x28 || DIG=9F672EE122819AF9245A825D8F306CCD671B5281 || Unknown digest. Certainly sha-1 according to the size.
|-
|-
| SVR || Value, saved as Plain Text: 0xC || SVR=03520000 || FW Version (in this case 3.52) of the Vita where the id.dat belongs too
| DID || Device Id || 0x28 || DID=297C4C05A145A6E374FE4FE65535E03DC1643F2C || [[DeviceID]], the sha-1 hash of [[OpenPSID]]
|-
|-
| AID || Value, saved as Plain Text: 0x14 || AID=58CD7F52A6E493F1 || DRM Account name
| SVR || System Version || 0x8 || SVR=03520000 || System Software Version (in this example: 3.52) of the PSVita
|-
|-
| OID || Value, saved as Plain Text: 0xA || OID=username || PSN Username to witch the Vita is tighten too
| 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