Id.dat: Difference between revisions

From Vita Developer wiki
Jump to navigation Jump to search
No edit summary
 
(24 intermediate revisions by 7 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.  
 
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 ===
   [[Files_on_the_PS_Vita#ux0|ux0]]:id.dat
   [[Files_on_the_PS_Vita#ux0|ux0]]:id.dat
  [[Files_on_the_PS_Vita#ux0|ux0:]]calendar/calendar.db


=== 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
|-
| MAGIC? || Value: 0x3 || 0xEF 0xBB 0xBF || Magic?
|-
| MID || Value, saved as Plain Text: 0x24 || MID=455CB356BF73B0A530DE63C6A3B41D0F || Uknowen
|-
| DIG || Value, saved as Plain Text: 0x2C || DIG=9F672EE122819AF9245A825D8F306CCD671B5281 || Uknowen
|-
|-
| 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 || Uknowen. Althought it hase the same length then the [[NP Account ID]] it is not the same
| 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 23: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