-
-
Notifications
You must be signed in to change notification settings - Fork 18
(Chihiro) Determining Platforms
Entitlement entries have a platformIds that is an integer representation of a binary number used to determine applicable platforms. It does a bitwise AND check on it using a pre-determined mask for each possible platform. The store provides an array of masks for intended devices.
| Item | platformIds | Binary (mask if console) | Bits |
|---|---|---|---|
| PSP | 1073741824 |
-1000000000000000000000000000000 |
31 |
| Vita | 134217728 |
----1000000000000000000000000000 |
28 |
| Unit 13 | 4262461440 |
11111110000100000000000000000000 |
32 |
PSP:
4262461440 11111110000100000000000000000000 &
1073741824 1000000000000000000000000000000 =
1073741824 1000000000000000000000000000000
The 31st bit is on, therefore this game is intended for PSP.
Vita:
4262461440 11111110000100000000000000000000 &
134217728 1000000000000000000000000000 =
134217728 1000000000000000000000000000
The 28th bit is on, therefore this game is intended for Vita.
Unit13 & mask checks if the 31st bit is on (not 0) to determine if it's intended for the PSP which in this case it is (according to Unit 13's platformIds).
However, as for Unit 13 and possibly others, this may lead to false positives. Unit 13 is not a PSP game, only a Vita game. To resolve this, the Catalog must be used as it has actual information used by the store when presenting it normally.
All information on this wiki, especially about how the online store operates, while factual to me is based purely on personal research.
This means as a result of my research and bug reports of users PSDLE has achieved the state and accuracy it currently has, but it is not set in stone and may not be 100% true to the original.
Developers
Third Party: Exports
Enhanced Filtering
Common Problems and Solutions
Submit a Bug or Translation
Translating
Valkyrie (Deprecated)
What is Valkyrie?
Interfacing
Deployment
Chihiro (Deprecated)
Debugging PSDLE
Gathering Debug Information
Generating the List
Enhanced Accuracy
Determining Platforms
Download Queue
User Experience
Implemented/Unavailable Features
Deployment