Editing System File Object (SFO) (PSF)
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
[[Category:Software]] | [[Category:Software]] | ||
These config strings are inside the [http://www.vitadevwiki.com/index.php?title=Packages_%28.PKG%29#Game_Packages Game Package (PKG)]. | |||
See also PARAM.SFO on: | See also PARAM.SFO on: | ||
Line 5: | Line 6: | ||
*[http://www.psdevwiki.com/ps3/PARAM.SFO PS3], | *[http://www.psdevwiki.com/ps3/PARAM.SFO PS3], | ||
*[http://www.psdevwiki.com/ps4/PARAM.SFO PS4]. | *[http://www.psdevwiki.com/ps4/PARAM.SFO PS4]. | ||
== Internal Structure == | == Internal Structure == | ||
=== Header SFO === | === Header SFO === | ||
This is the Header of a SFO/PSF file. | This is the Header of a SFO/PSF file. | ||
Line 111: | Line 106: | ||
*Get Type<br /> | *Get Type<br /> | ||
**[PSF offset] + (0x16 * (0x10*i)) | **[PSF offset] + (0x16 * (0x10*i)) | ||
*Get | *Get Lenght Param<br /> | ||
**[PSF offset] + (0x1C * (0x10*i)) | **[PSF offset] + (0x1C * (0x10*i)) | ||
*Get | *Get Lenght Value<br /> | ||
**[PSF offset] + (0x24+0x10*i)-(0x14+0x10*i) | **[PSF offset] + (0x24+0x10*i)-(0x14+0x10*i) | ||
*Get Position Param<br /> | *Get Position Param<br /> | ||
Line 124: | Line 119: | ||
====APP_VER==== | ====APP_VER==== | ||
{{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x8 (8 bytes)<br />'''param_len''': 0x6 (6 bytes)}} | {{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x8 (8 bytes)<br />'''param_len''': 0x6 (6 bytes)}} | ||
{{Boxtip1|content='''Used by''': PSVita Game (Digital) | {{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | ||
The format is '''XX.YY''' where "'''XX'''" and "'''YY'''" are numbers, and the point "'''.'''" is included in the string, e.g: '''01.00''' for the first stable version released. | The format is '''XX.YY''' where "'''XX'''" and "'''YY'''" are numbers, and the point "'''.'''" is included in the string, e.g: '''01.00''' for the first stable version released. | ||
Line 130: | Line 125: | ||
====ATTRIBUTE==== | ====ATTRIBUTE==== | ||
{{Boxinfo3|content='''param_fmt''': uint32_t<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | {{Boxinfo3|content='''param_fmt''': uint32_t<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | ||
{{Boxtip1|content='''Used by''': PSVita Game (Digital) | {{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | ||
Can contains 32 flags that can be turned on/off to activate/deactivate features allowed for the game/apps content. | Can contains 32 flags that can be turned on/off to activate/deactivate features allowed for the game/apps content. | ||
====ATTRIBUTE2==== | ====ATTRIBUTE2==== | ||
{{Boxinfo3|content='''param_fmt''': uint32_t<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | {{Boxinfo3|content='''param_fmt''': uint32_t<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | ||
{{Boxtip1|content='''Used by''': PSVita Game (Digital) | {{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | ||
This parameter can not exist on some PKG (used for special functions??) | This parameter can not exist on some PKG (used for special functions??) | ||
====CATEGORY==== | |||
{{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | |||
{{Boxinfo3|content='''param_fmt''': | |||
{{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | {{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | ||
Type of content: | |||
{| class="wikitable | {| class="wikitable sortable" | ||
|- | |- | ||
! {{cellcolors|# | ! {{cellcolors|#123AAA|white}} Value | ||
! {{cellcolors|# | ! {{cellcolors|#123AAA|white}} standard name | ||
|- | |- | ||
| ac || Additional Content | | ac || PS Vita Additional Content? | ||
|- | |- | ||
| | | gd ||PS Vita Application? | ||
|- | |- | ||
| | | gp ||PS Vita Application Patch? | ||
|- | |- | ||
| | | gda ||PS Vita System Application? | ||
|- | |- | ||
| | | gdc ||PS Vita Non-Game Application? | ||
|- | |- | ||
| | | gdd ||PS Vita BG Application? | ||
|- | |- | ||
| | | gpc ||PS Vita Non-Game Application Patch? | ||
|- | |- | ||
| | | gpd ||PS Vita BG Application patch? | ||
|- | |- | ||
| | | sd || PS Vita Save Data? | ||
|- | |- | ||
|} | |} | ||
Line 491: | Line 168: | ||
====CONTENT_ID==== | ====CONTENT_ID==== | ||
{{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x30 (48 bytes)<br />'''param_len''': 0x25 (37 bytes)}} | {{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x30 (48 bytes)<br />'''param_len''': 0x25 (37 bytes)}} | ||
{{Boxtip1|content='''Used by''': PSVita Game (Digital) | {{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | ||
The format is: XXYYYY-NP_COMMUNICATION_ID-LICENSE_ID. | The format is: XXYYYY-NP_COMMUNICATION_ID-LICENSE_ID. | ||
Line 499: | Line 176: | ||
See [http://www.psdevwiki.com/ps4/Content_ID Content ID] | See [http://www.psdevwiki.com/ps4/Content_ID Content ID] | ||
==== | ====GC_RO_SIZE==== | ||
{{Boxinfo3|content='''param_fmt''': uint32_t<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | {{Boxinfo3|content='''param_fmt''': uint32_t<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | ||
{{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | {{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | ||
... | |||
==== | ====GC_RW_SIZE==== | ||
{{Boxinfo3|content='''param_fmt''': uint32_t<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | {{Boxinfo3|content='''param_fmt''': uint32_t<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | ||
{{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | {{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | ||
... | |||
====NP_COMMUNICATION_ID==== | ====NP_COMMUNICATION_ID==== | ||
Line 587: | Line 195: | ||
The format is 4 letters + 5 numbers with optionally a subid (usually 0) : NPWRyyyyy_zz (e.g. NPWR00001_00) | The format is 4 letters + 5 numbers with optionally a subid (usually 0) : NPWRyyyyy_zz (e.g. NPWR00001_00) | ||
====PARENTAL_LEVEL==== | ====PARENTAL_LEVEL==== | ||
{{Boxinfo3|content='''param_fmt''': uint32_t<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | {{Boxinfo3|content='''param_fmt''': uint32_t<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | ||
{{Boxtip1|content='''Used by''': PSVita Game (Digital) | {{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | ||
This should be the same as in the PS3 (from 0 to 11) | |||
It is a [http://en.wikipedia.org/wiki/Video_game_content_rating_system scale to rate the content] for the different users based in user profile settings and international rating systems as: [http://en.wikipedia.org/wiki/Pan_European_Game_Information PEGI], [http://en.wikipedia.org/wiki/Entertainment_Software_Rating_Board ESRB], [http://en.wikipedia.org/wiki/Computer_Entertainment_Rating_Organization CERO], etc... | |||
====PSP2_DISP_VER==== | ====PSP2_DISP_VER==== | ||
{{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x8 ( | {{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x8 (4 bytes)<br />'''param_len''': 0x8? (8 bytes)}} | ||
{{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | {{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | ||
Minimum [[Template:Firmware_revisions|Firmware]] needed to play this title. | |||
====PSP2_SYSTEM_VER==== | ====PSP2_SYSTEM_VER==== | ||
{{Boxinfo3|content='''param_fmt''': uint32_t<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | {{Boxinfo3|content='''param_fmt''': uint32_t<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | ||
{{Boxtip1|content='''Used by''': PSVita Game (Digital) | {{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | ||
Minimum [[Template:Firmware_revisions|Firmware]] needed to play this title. | Minimum [[Template:Firmware_revisions|Firmware]] needed to play this title. | ||
Line 623: | Line 218: | ||
====PUBTOOLINFO==== | ====PUBTOOLINFO==== | ||
{{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x200 (512 bytes)<br />'''param_len''':variable}} | {{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x200 (512 bytes)<br />'''param_len''':variable}} | ||
{{Boxtip1|content='''Used by''': PSVita Game (Digital) | {{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | ||
Contains infos (UTF-8 | Contains infos (UTF-8): | ||
*c_date=yyyymmdd (creation date format?) | *c_date=yyyymmdd (creation date format?) | ||
====REGION_DENY==== | ====REGION_DENY==== | ||
{{Boxinfo3|content='''param_fmt''': uint32_t<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | {{Boxinfo3|content='''param_fmt''': uint32_t<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | ||
{{Boxtip1|content='''Used by''': PSVita Game (Digital) | {{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | ||
Regions restrictions for the content. | Regions restrictions for the content. | ||
See [http://www.psdevwiki.com/ps3/PARAM.SFO#REGION_DENY PS3 Region deny] | See [http://www.psdevwiki.com/ps3/PARAM.SFO#REGION_DENY PS3 Region deny] | ||
====SAVEDATA_MAX_SIZE==== | ====SAVEDATA_MAX_SIZE==== | ||
{{Boxinfo3|content='''param_fmt''': uint32_t<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | {{Boxinfo3|content='''param_fmt''': uint32_t<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | ||
{{Boxtip1|content='''Used by''': PSVita Game (Digital) | {{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | ||
e.g.: 0x00000400 ( = 1024) this game can use 1024 Bytes (1MB) | e.g.: 0x00000400 ( = 1024) this game can use 1024 Bytes (1MB) | ||
====STITLE==== | ====STITLE==== | ||
{{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x34 (52 bytes)<br />'''param_len''': variable}} | {{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x34 (52 bytes)<br />'''param_len''': variable}} | ||
{{Boxtip1|content='''Used by''': PSVita Game (Digital) | {{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | ||
Default "subtitle of the game" for [[Languages|all languages]]. | |||
====STITLE_xx==== | ====STITLE_xx==== | ||
Line 668: | Line 252: | ||
The "default" TITLE is always present when other "localized" TITLE_'''xx''' are used. | The "default" TITLE is always present when other "localized" TITLE_'''xx''' are used. | ||
====TITLE==== | ====TITLE==== | ||
{{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x80 (128 bytes)<br />'''param_len''': variable}} | {{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x80 (128 bytes)<br />'''param_len''': variable}} | ||
{{Boxtip1|content='''Used by''': PSVita Game (Digital) | {{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | ||
Default "title of the game" for [[Languages|all languages]]. | Default "title of the game" for [[Languages|all languages]]. | ||
Line 729: | Line 267: | ||
====TITLE_ID==== | ====TITLE_ID==== | ||
{{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x0C (12 bytes)<br />'''param_len''': 0xA (10 bytes)}} | {{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x0C (12 bytes)<br />'''param_len''': 0xA (10 bytes)}} | ||
{{Boxtip1|content='''Used by''': PSVita Game (Digital) | {{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | ||
Identifier ( [http://www.psdevwiki.com/ps4/Productcode Productcode] ) of the content, in the format '''WXYZ12345'''. | Identifier ( [http://www.psdevwiki.com/ps4/Productcode Productcode] ) of the content, in the format '''WXYZ12345'''. | ||
Line 737: | Line 275: | ||
====VERSION==== | ====VERSION==== | ||
{{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x8 (8 bytes)<br />'''param_len''': 0x6 (6 bytes)}} | {{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x8 (8 bytes)<br />'''param_len''': 0x6 (6 bytes)}} | ||
{{Boxtip1|content='''Used by''': PSVita Game (Digital) | {{Boxtip1|content='''Used by''': PSVita Game (Digital)}} | ||
Version content of the game: Disc revision, or Package revision. The number increases when the content is re-released or re-packaged for whatever reason that doesn't affect the main executable (e.g. when a disc game reaches platinum sales, or "game of the year edition" including extra contents). | Version content of the game: Disc revision, or Package revision. The number increases when the content is re-released or re-packaged for whatever reason that doesn't affect the main executable (e.g. when a disc game reaches platinum sales, or "game of the year edition" including extra contents). | ||
---- | ---- | ||
=== PSF Dump (From 0xBF0 to 0x11F0) === | === PSF Dump (From 0xBF0 to 0x11F0) === | ||
The length of this is 0x5D0 | The length of this is 0x5D0 |