Param.json: Difference between revisions

From PS5 Developer wiki
Jump to navigation Jump to search
(Created page with "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. == addcont == === serviceIdForSharing === Text == ag...")
 
No edit summary
(7 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 ===
Text
'''Format:''' List <String>
 
'''Required:''' Yes?


== ageLevel ==
== ageLevel ==
Text
'''Format:''' Dictionary <string, int>
 
'''Required:''' Yes?
 
Agelevel contains a dict of age levels for different regions. Aside from the <code>default</code> 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 ==
== applicationCategoryType ==
Text
'''Format:''' Int
 
'''Required:''' ?
 
'''Possible values:''' 0


== applicationDrmType ==
== applicationDrmType ==
Text
'''Format:''' String
 
'''Required:''' ?
 
'''Possible values:''' <code>Upgradeable</code> <code>standard</code>
 
== asa ==
'''Required:''' No
 
=== code ===
 
=== sign ===
'''Format:''' List <String>
 
'''Required:''' ?


== attribute ==
== attribute ==
Text
'''Format:''' Int
 
'''Required:''' ?


== attribute2 ==
== attribute2 ==
Text
'''Format:''' Int
 
'''Required:''' ?


== attribute3 ==
== attribute3 ==
Text
'''Format:''' Int
 
'''Required:''' ?


== conceptId ==
== conceptId ==
Text
'''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 ==
Text
'''Format:''' Int
 
'''Required:''' ?
 
'''Possible values:''' 1


== contentId ==
== contentId ==
Text
'''Format:''' String
 
'''Required:''' Yes


== contentVersion ==
== contentVersion ==
Text
'''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 ==
Text
'''Format:''' Int
 
'''Required:''' ?


== gameIntent ==
== gameIntent ==
=== permittedIntents ===
=== permittedIntents ===
Text
'''Format:''' List <Dict <"intentType", String>>
 
'''Required:''' ?
 
'''Possible values for intentType: ''' <code>launchActivity</code>


== kernel ==
== kernel ==
'''Required:''' No
=== cpuPageTableSize ===
=== cpuPageTableSize ===
Text
'''Format:''' Int
 
'''Required:''' No


=== flexibleMemorySize ===
=== flexibleMemorySize ===
Text
'''Format:''' Int
 
'''Required:''' No


=== gpuPageTableSize ===
=== gpuPageTableSize ===
Text
'''Format:''' Int
 
'''Required:''' No


== localizedParameters ==
== localizedParameters ==
Text
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 ===
Text
'''Format:''' String/Date (yyyy-mm-dd hh:mm:ss)
 
'''Required:''' ?


=== loudnessSnd0 ===
=== loudnessSnd0 ===
Text
'''Format:''' Float as String
 
'''Required:''' No


=== submission ===
=== submission ===
Text
'''Format:''' Bool
 
'''Required:''' ?


=== toolVersion ===
=== toolVersion ===
Text
'''Format:''' String
 
'''Required:''' ?
 
'''Example:''' <code>1.00</code>
 
== pubtoolsVersion ==
'''Required:''' ?


== requiredSystemSoftwareVersion ==
== requiredSystemSoftwareVersion ==
Text
'''Format:''' String/Hex
 
'''Required:''' ?
 
'''Example:''' <code>0x0114000000000000</code>


== sdkVersion ==
== sdkVersion ==
Text
'''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 ==
Text
'''Format:''' String
 
'''Required:''' ?
 
'''Example:''' <code>ABCD12345</code>


== userDefinedParam1 ==
== userDefinedParam1 ==
Text
'''Format:''' Int
 
'''Required:''' ?


== userDefinedParam2 ==
== userDefinedParam2 ==
Text
'''Format:''' Int
 
'''Required:''' ?


== userDefinedParam3 ==
== userDefinedParam3 ==
Text
'''Format:''' Int
 
'''Required:''' ?


== userDefinedParam4 ==
== userDefinedParam4 ==
Text
'''Format:''' Int
 
'''Required:''' ?


== versionFileUri ==
== versionFileUri ==
Text
'''Format:''' String
 
'''Required:''' Yes

Revision as of 18: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

serviceIdForSharing

Format: List <String>

Required: Yes?

ageLevel

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

Format: Int

Required: ?

Possible values: 0

applicationDrmType

Format: String

Required: ?

Possible values: Upgradeable standard

asa

Required: No

code

sign

Format: List <String>

Required: ?

attribute

Format: Int

Required: ?

attribute2

Format: Int

Required: ?

attribute3

Format: Int

Required: ?

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

Format: Int

Required: ?

Possible values: 1

contentId

Format: String

Required: Yes

contentVersion

Format: String

Required: ?

Example: 01.000.000

disc

Required: On a disc: yes.

masterDataId

Format: String

Required: ?

Example: PPSA01234

role

Format: String

Required: ?

Possible values for role: Play Disc

discNumber

Format: Int

Required: ?

discTotal

Format: Int

Required: ?

downloadDataSize

Format: Int

Required: ?

gameIntent

permittedIntents

Format: List <Dict <"intentType", String>>

Required: ?

Possible values for intentType: launchActivity

kernel

Required: No

cpuPageTableSize

Format: Int

Required: No

flexibleMemorySize

Format: Int

Required: No

gpuPageTableSize

Format: Int

Required: No

localizedParameters

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

Format: String

Required: ?

Example: 01.00

pubtools

Required: ?

Example: 01.00

creationDate

Format: String/Date (yyyy-mm-dd hh:mm:ss)

Required: ?

loudnessSnd0

Format: Float as String

Required: No

submission

Format: Bool

Required: ?

toolVersion

Format: String

Required: ?

Example: 1.00

pubtoolsVersion

Required: ?

requiredSystemSoftwareVersion

Format: String/Hex

Required: ?

Example: 0x0114000000000000

sdkVersion

Format: String/Hex

Required: ?

Example: 0x0100000000000000

targetContentVersion

Format: String

Required: No

Example: 01.000.001

Used only in delta-patches/updates?

titleId

Format: String

Required: ?

Example: ABCD12345

userDefinedParam1

Format: Int

Required: ?

userDefinedParam2

Format: Int

Required: ?

userDefinedParam3

Format: Int

Required: ?

userDefinedParam4

Format: Int

Required: ?

versionFileUri

Format: String

Required: Yes