PSCode

From Vita Developer wiki
Revision as of 17:18, 9 March 2018 by CelesteBlue (talk | contribs) (Initial page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


The PSCode is a 8 bytes code that contains console specific information like Region or Model Type. It is derived from the ConsoleId. Knowing PSCode we are able to deduce the 9 first Bytes of ConsoleId. What information this stores is almost completely known (see ConsoleId#Structure).

Structure

                             Chassis Check  
                                   ⇓                      
00000000  00 01 01 05 00 10 00 03
                       ⇑ ⇑   ⇑ ⇑
                  Target ID  Vita Model Type
    (Internal: Product Code) (Internal: Product Sub Code)

5th and 6th bytes represent the Target ID (region code) TODO:list PSVita target id

7th and 8th bytes represent the Vita SKU Model

9th byte: chassis check

Where is it used ?

It is get by GetPsCode or GetPsCode2.

It is only used by non-secure kernel to determine the model of the device: - IsCEX, IsDEX, IsTool, IsTest - IsVita, IsDolce, IsGenuineVita, IsGenuineDolce

but also the region by the TargetId it embeds.