Difference between revisions of "Param.json"

From PlayStation 5 Dev Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 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 ==
Line 128: Line 130:
  
 
'''Required:''' ?
 
'''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 ==
Line 147: Line 151:
  
 
'''Example:''' <code>01.000.000</code>
 
'''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 ==
Line 231: Line 262:
 
== pubtools ==
 
== pubtools ==
 
'''Required:''' ?
 
'''Required:''' ?
 +
 +
'''Example:''' <code>01.00</code>
  
 
=== creationDate ===
 
=== creationDate ===
Line 253: Line 286:
  
 
'''Example:''' <code>1.00</code>
 
'''Example:''' <code>1.00</code>
 +
 +
== pubtoolsVersion ==
 +
'''Required:''' ?
  
 
== requiredSystemSoftwareVersion ==
 
== requiredSystemSoftwareVersion ==
Line 267: Line 303:
  
 
'''Example:''' <code>0x0100000000000000</code>
 
'''Example:''' <code>0x0100000000000000</code>
 +
 +
== targetContentVersion ==
 +
'''Format:''' String
 +
 +
'''Required:''' No
 +
 +
'''Example:''' <code>01.000.001</code>
 +
 +
Used only in delta-patches/updates?
  
 
== titleId ==
 
== titleId ==
Line 298: Line 343:
 
'''Format:''' String
 
'''Format:''' String
  
'''Required:''' Yes?
+
'''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