Difference between revisions of "Param.json"
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
PSP/PS3/PS4/Vita used a param.sfo file for metadata. PS5 games have a similar file, but instead of .sfo it is now .json. | PSP/PS3/PS4/Vita used a param.sfo file for metadata. PS5 games have a similar file, but instead of .sfo it is now .json. | ||
+ | |||
+ | There are three types of param.json: param.json, origin-param.json and target-param.json. What the differences are and what they are for is currently unknown. | ||
== addcont == | == addcont == | ||
=== serviceIdForSharing === | === serviceIdForSharing === | ||
− | '''Format:''' List | + | '''Format:''' List <String> |
'''Required:''' Yes? | '''Required:''' Yes? | ||
Line 97: | Line 99: | ||
'''Required:''' ? | '''Required:''' ? | ||
− | '''Possible values:''' <code>Upgradeable</code> | + | '''Possible values:''' <code>Upgradeable</code> <code>standard</code> |
+ | |||
+ | == asa == | ||
+ | '''Required:''' No | ||
+ | |||
+ | === code === | ||
+ | |||
+ | === sign === | ||
+ | '''Format:''' List <String> | ||
+ | |||
+ | '''Required:''' ? | ||
== attribute == | == attribute == | ||
− | + | '''Format:''' Int | |
+ | |||
+ | '''Required:''' ? | ||
== attribute2 == | == attribute2 == | ||
− | + | '''Format:''' Int | |
+ | |||
+ | '''Required:''' ? | ||
== attribute3 == | == attribute3 == | ||
− | + | '''Format:''' Int | |
+ | |||
+ | '''Required:''' ? | ||
== conceptId == | == conceptId == | ||
− | + | '''Format:''' String | |
+ | |||
+ | '''Required:''' ? | ||
+ | |||
+ | A concept id is an over-arching id for a game or entity. A game can have multiple different content-ids for different regions, but they will all have the same concept id. | ||
== contentBadgeType == | == contentBadgeType == | ||
− | + | '''Format:''' Int | |
+ | |||
+ | '''Required:''' ? | ||
+ | |||
+ | '''Possible values:''' 1 | ||
== contentId == | == contentId == | ||
− | + | '''Format:''' String | |
+ | |||
+ | '''Required:''' Yes | ||
== contentVersion == | == contentVersion == | ||
− | + | '''Format:''' String | |
+ | |||
+ | '''Required:''' ? | ||
+ | |||
+ | '''Example:''' <code>01.000.000</code> | ||
+ | |||
+ | == disc == | ||
+ | '''Required:''' On a disc: yes. | ||
+ | |||
+ | === masterDataId === | ||
+ | '''Format:''' String | ||
+ | |||
+ | '''Required:''' ? | ||
+ | |||
+ | '''Example: ''' <code>PPSA01234</code> | ||
+ | |||
+ | === role === | ||
+ | '''Format:''' String | ||
+ | |||
+ | '''Required:''' ? | ||
+ | |||
+ | '''Possible values for role: ''' <code>Play Disc</code> | ||
+ | |||
+ | == discNumber == | ||
+ | '''Format:''' Int | ||
+ | |||
+ | '''Required:''' ? | ||
+ | |||
+ | == discTotal == | ||
+ | '''Format:''' Int | ||
+ | |||
+ | '''Required:''' ? | ||
== downloadDataSize == | == downloadDataSize == | ||
− | + | '''Format:''' Int | |
+ | |||
+ | '''Required:''' ? | ||
== gameIntent == | == gameIntent == | ||
=== permittedIntents === | === permittedIntents === | ||
− | + | '''Format:''' List <Dict <"intentType", String>> | |
+ | |||
+ | '''Required:''' ? | ||
+ | |||
+ | '''Possible values for intentType: ''' <code>launchActivity</code> | ||
== kernel == | == kernel == | ||
+ | '''Required:''' No | ||
+ | |||
=== cpuPageTableSize === | === cpuPageTableSize === | ||
− | + | '''Format:''' Int | |
+ | |||
+ | '''Required:''' No | ||
=== flexibleMemorySize === | === flexibleMemorySize === | ||
− | + | '''Format:''' Int | |
+ | |||
+ | '''Required:''' No | ||
=== gpuPageTableSize === | === gpuPageTableSize === | ||
− | + | '''Format:''' Int | |
+ | |||
+ | '''Required:''' No | ||
== localizedParameters == | == localizedParameters == | ||
− | + | Contains a dictionary of localized titles. As with <code>ageLevel</code> there is a default entry called <code>defaultLanguage</code>. The <code>defaultLanguage</code> entry does not have the same contents as the example entry below, but contains a simple string with the language code of the default language (e.g. <code>en-US</code>). | |
+ | |||
+ | Example of localized entry: | ||
+ | <nowiki> | ||
+ | "<language-identifer>": { | ||
+ | "titleName": "Title of your game" | ||
+ | } | ||
+ | </nowiki> | ||
+ | |||
+ | Where <code><language-identifer></code> is one of the following: | ||
+ | |||
+ | * ar-AE | ||
+ | * cs-CZ | ||
+ | * da-DK | ||
+ | * de-DE | ||
+ | * el-GR | ||
+ | * en-GB | ||
+ | * en-US | ||
+ | * es-419 | ||
+ | * es-ES | ||
+ | * fi-FI | ||
+ | * fr-CA | ||
+ | * fr-FR | ||
+ | * hu-HU | ||
+ | * id-ID | ||
+ | * it-IT | ||
+ | * ja-JP | ||
+ | * ko-KR | ||
+ | * nl-NL | ||
+ | * no-NO | ||
+ | * pl-PL | ||
+ | * pt-BR | ||
+ | * pt-PT | ||
+ | * ro-RO | ||
+ | * ru-RU | ||
+ | * sv-SE | ||
+ | * th-TH | ||
+ | * tr-TR | ||
+ | * vi-VN | ||
+ | * zh-Hans | ||
+ | * zh-Hant | ||
+ | |||
+ | == masterVersion == | ||
+ | '''Format:''' String | ||
+ | |||
+ | '''Required:''' ? | ||
+ | |||
+ | '''Example:''' <code>01.00</code> | ||
== pubtools == | == pubtools == | ||
+ | '''Required:''' ? | ||
+ | |||
+ | '''Example:''' <code>01.00</code> | ||
+ | |||
=== creationDate === | === creationDate === | ||
− | + | '''Format:''' String/Date (yyyy-mm-dd hh:mm:ss) | |
+ | |||
+ | '''Required:''' ? | ||
=== loudnessSnd0 === | === loudnessSnd0 === | ||
− | + | '''Format:''' Float as String | |
+ | |||
+ | '''Required:''' No | ||
=== submission === | === submission === | ||
− | + | '''Format:''' Bool | |
+ | |||
+ | '''Required:''' ? | ||
=== toolVersion === | === toolVersion === | ||
− | + | '''Format:''' String | |
+ | |||
+ | '''Required:''' ? | ||
+ | |||
+ | '''Example:''' <code>1.00</code> | ||
+ | |||
+ | == pubtoolsVersion == | ||
+ | '''Required:''' ? | ||
== requiredSystemSoftwareVersion == | == requiredSystemSoftwareVersion == | ||
− | + | '''Format:''' String/Hex | |
+ | |||
+ | '''Required:''' ? | ||
+ | |||
+ | '''Example:''' <code>0x0114000000000000</code> | ||
== sdkVersion == | == sdkVersion == | ||
− | + | '''Format:''' String/Hex | |
+ | |||
+ | '''Required:''' ? | ||
+ | |||
+ | '''Example:''' <code>0x0100000000000000</code> | ||
+ | |||
+ | == targetContentVersion == | ||
+ | '''Format:''' String | ||
+ | |||
+ | '''Required:''' No | ||
+ | |||
+ | '''Example:''' <code>01.000.001</code> | ||
+ | |||
+ | Used only in delta-patches/updates? | ||
== titleId == | == titleId == | ||
− | + | '''Format:''' String | |
+ | |||
+ | '''Required:''' ? | ||
+ | |||
+ | '''Example:''' <code>ABCD12345</code> | ||
== userDefinedParam1 == | == userDefinedParam1 == | ||
− | + | '''Format:''' Int | |
+ | |||
+ | '''Required:''' ? | ||
== userDefinedParam2 == | == userDefinedParam2 == | ||
− | + | '''Format:''' Int | |
+ | |||
+ | '''Required:''' ? | ||
== userDefinedParam3 == | == userDefinedParam3 == | ||
− | + | '''Format:''' Int | |
+ | |||
+ | '''Required:''' ? | ||
== userDefinedParam4 == | == userDefinedParam4 == | ||
− | + | '''Format:''' Int | |
+ | |||
+ | '''Required:''' ? | ||
== versionFileUri == | == versionFileUri == | ||
− | + | '''Format:''' String | |
+ | |||
+ | '''Required:''' Yes |
Latest revision as of 16:35, 16 November 2020
PSP/PS3/PS4/Vita used a param.sfo file for metadata. PS5 games have a similar file, but instead of .sfo it is now .json.
There are three types of param.json: param.json, origin-param.json and target-param.json. What the differences are and what they are for is currently unknown.
addcont[edit]
serviceIdForSharing[edit]
Format: List <String>
Required: Yes?
ageLevel[edit]
Format: Dictionary <string, int>
Required: Yes?
Agelevel contains a dict of age levels for different regions. Aside from the default
age level, the following regions are available:
- AE
- AR
- AT
- AU
- BE
- BG
- BH
- BO
- BR
- CA
- CH
- CL
- CN
- CO
- CR
- CY
- CZ
- DE
- DK
- EC
- ES
- FI
- FR
- GB
- GR
- GT
- HK
- HN
- HR
- HU
- ID
- IE
- IL
- IN
- IS
- IT
- JP
- KR
- KW
- LB
- LU
- MT
- MX
- MY
- NI
- NL
- NO
- NZ
- OM
- PA
- PE
- PL
- PT
- PY
- QA
- RO
- RU
- SA
- SE
- SG
- SI
- SK
- SV
- TH
- TR
- TW
- UA
- US
- UY
- ZA
applicationCategoryType[edit]
Format: Int
Required: ?
Possible values: 0
applicationDrmType[edit]
Format: String
Required: ?
Possible values: Upgradeable
standard
asa[edit]
Required: No
code[edit]
sign[edit]
Format: List <String>
Required: ?
attribute[edit]
Format: Int
Required: ?
attribute2[edit]
Format: Int
Required: ?
attribute3[edit]
Format: Int
Required: ?
conceptId[edit]
Format: String
Required: ?
A concept id is an over-arching id for a game or entity. A game can have multiple different content-ids for different regions, but they will all have the same concept id.
contentBadgeType[edit]
Format: Int
Required: ?
Possible values: 1
contentId[edit]
Format: String
Required: Yes
contentVersion[edit]
Format: String
Required: ?
Example: 01.000.000
disc[edit]
Required: On a disc: yes.
masterDataId[edit]
Format: String
Required: ?
Example: PPSA01234
role[edit]
Format: String
Required: ?
Possible values for role: Play Disc
discNumber[edit]
Format: Int
Required: ?
discTotal[edit]
Format: Int
Required: ?
downloadDataSize[edit]
Format: Int
Required: ?
gameIntent[edit]
permittedIntents[edit]
Format: List <Dict <"intentType", String>>
Required: ?
Possible values for intentType: launchActivity
kernel[edit]
Required: No
cpuPageTableSize[edit]
Format: Int
Required: No
flexibleMemorySize[edit]
Format: Int
Required: No
gpuPageTableSize[edit]
Format: Int
Required: No
localizedParameters[edit]
Contains a dictionary of localized titles. As with ageLevel
there is a default entry called defaultLanguage
. The defaultLanguage
entry does not have the same contents as the example entry below, but contains a simple string with the language code of the default language (e.g. en-US
).
Example of localized entry:
"<language-identifer>": { "titleName": "Title of your game" }
Where <language-identifer>
is one of the following:
- ar-AE
- cs-CZ
- da-DK
- de-DE
- el-GR
- en-GB
- en-US
- es-419
- es-ES
- fi-FI
- fr-CA
- fr-FR
- hu-HU
- id-ID
- it-IT
- ja-JP
- ko-KR
- nl-NL
- no-NO
- pl-PL
- pt-BR
- pt-PT
- ro-RO
- ru-RU
- sv-SE
- th-TH
- tr-TR
- vi-VN
- zh-Hans
- zh-Hant
masterVersion[edit]
Format: String
Required: ?
Example: 01.00
pubtools[edit]
Required: ?
Example: 01.00
creationDate[edit]
Format: String/Date (yyyy-mm-dd hh:mm:ss)
Required: ?
loudnessSnd0[edit]
Format: Float as String
Required: No
submission[edit]
Format: Bool
Required: ?
toolVersion[edit]
Format: String
Required: ?
Example: 1.00
pubtoolsVersion[edit]
Required: ?
requiredSystemSoftwareVersion[edit]
Format: String/Hex
Required: ?
Example: 0x0114000000000000
sdkVersion[edit]
Format: String/Hex
Required: ?
Example: 0x0100000000000000
targetContentVersion[edit]
Format: String
Required: No
Example: 01.000.001
Used only in delta-patches/updates?
titleId[edit]
Format: String
Required: ?
Example: ABCD12345
userDefinedParam1[edit]
Format: Int
Required: ?
userDefinedParam2[edit]
Format: Int
Required: ?
userDefinedParam3[edit]
Format: Int
Required: ?
userDefinedParam4[edit]
Format: Int
Required: ?
versionFileUri[edit]
Format: String
Required: Yes