Editing Id.dat

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
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 9: Line 8:


=== 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
|-
|-
| MID || Media Id || 0x24 || MID=455CB356BF73B0A530DE63C6A3B41D0F || Unknown.
! Name !! length !! Example !! Usage
|-
| 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 || 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 || Digest || 0x28 || DIG=9F672EE122819AF9245A825D8F306CCD671B5281 || Unknown digest. Certainly sha-1 according to the size.
| DIG || Value, saved as Plain Text: 0x2C || DIG=9F672EE122819AF9245A825D8F306CCD671B5281 || Unknown.
|-
| DID || Value, saved as Plain Text: 0x2C || DID=297C4C05A145A6E374FE4FE65535E03DC1643F2C || [[DeviceID]] to not mix with [[openPSID]] that BTW is 16 bytes long
|-
|-
| DID || Device Id || 0x28 || DID=297C4C05A145A6E374FE4FE65535E03DC1643F2C || [[DeviceID]], the sha-1 hash of [[OpenPSID]]
| SVR || Value, saved as Plain Text: 0xC || SVR=03520000 || FW Version (in this case 3.52) of the PSVita where the id.dat belongs too
|-
|-
| SVR || System Version || 0x8 || SVR=03520000 || System Software Version (in this example: 3.52) of the PSVita
| AID || Value, saved as Plain Text: 0x14 || AID=58CD7F52A6E493F1 || [[NP Account ID]]
|-
|-
| AID || Account Id || 0x10 || AID=58CD7F52A6E493F1 || [[NP Account ID]]
| OID || Value, saved as Plain Text: 0xA || OID=username || Online ID : PSN username to which the PSVita is bound to
|-
|-
| OID || Online Id || variable || OID=myPsnUsername123 || PSN username to which the PSVita is bound to
|}
|}
Please note that all contributions to Vita Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see Vita Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)