IdStorage: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
(Created page with "Each idstorage line is stored at first raw partition (code 0x1) offset <code>0x4000 + line*512</code>. {| class="wikitable" |- ! Line !! Size !! Description |- | 0 ...")
 
No edit summary
Line 1: Line 1:
Each idstorage line is stored at first raw partition (code 0x1) offset <code>0x4000 + line*512</code>.
Idstorage data is stored at first raw partition (code 0x1).
 
First 0x200 bytes of the partition is the index table, an array of 2-byte integers, which maps idstorage leaf to idstorage index. To find the index of a leaf, go through the array and note index of the element with the value of the desired leaf. Then, seek to <code>512 * index</code> and read out the leaf data.


{| class="wikitable"
{| class="wikitable"
|-
|-
! Line           !! Size !! Description
! Leaf           !! Size !! Description
|-
|-
| 0            || ? || ?
| 0            || ? || ?
|}
|}

Revision as of 22:13, 29 June 2018

Idstorage data is stored at first raw partition (code 0x1).

First 0x200 bytes of the partition is the index table, an array of 2-byte integers, which maps idstorage leaf to idstorage index. To find the index of a leaf, go through the array and note index of the element with the value of the desired leaf. Then, seek to 512 * index and read out the leaf data.

Leaf Size Description
0 ? ?