PSCode
The PSCode is a 8 bytes code that contains console specific information. It is derived from the ConsoleId.
Knowing the PSCode of a console, we are able to deduce the 9 first bytes of its ConsoleId.
See [1] and PSConsoleId-wiki.
Structure[edit | edit source]
00 01 01 05 00 10 00 03
1st and 2nd bytes represent the Company Code (always 00 01)
3th and 4th bytes represent the Product Code
5th and 6th bytes represent the Product Sub Code
7th and 8th bytes represent the Factory Code
Usage in the OS[edit | edit source]
PS Vita[edit | edit source]
It is get in usermode by _vshSblAimgrGetPscode, _vshSblAimgrGetPscode2, and used by sceRegMgrSrvCnvRegionPsCode.
It is get in kernel by sceSblAimgrGetPscodeForDriver, sceSblAimgrGetPscode2ForDriver, and used by sceRegMgrSrvCnvRegionPsCodeForDriver.
It is used by non-secure kernel and usermode to determine the model of the device: - IsCEX, IsDEX, IsTool, IsTest - IsVita, IsDolce, IsGenuineVita, IsGenuineDolce
but also in usermode to detect the region by the Product Code that it embeds.