Editing Param.sfo
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: | ||
== PARAM.SFO == | == PARAM.SFO == | ||
'''SFO''' ('''S'''ystem '''F'''ile '''O'''bject) file format can be also found on [http://www.psdevwiki.com/ps3/Eboot.PBP#PARAM.SFO PSP], [http://www.vitadevwiki.com/index.php?title=System_File_Object_%28SFO%29_%28PSF%29 PSVITA], [http://www.psdevwiki.com/ps3/PARAM.SFO PS3]. | |||
This page, as well as talk page is mostly about speculation. | |||
=== External Structure === | === External Structure === | ||
Only on disc? | |||
=== Internal Structure === | === Internal Structure === | ||
==== Header SFO ==== | ==== Header SFO ==== | ||
This is the Header of a SFO file. | This is the Header of a SFO file. | ||
{| class="wikitable sortable" style="text-align: center;border:2px solid #53464F;" | {| class="wikitable sortable" style="text-align: center;border:2px solid #53464F;" | ||
|- | |- | ||
Line 108: | Line 27: | ||
| 0x0C || xx xx 00 00 || 0x04 || Data table start offset | | 0x0C || xx xx 00 00 || 0x04 || Data table start offset | ||
|- | |- | ||
| 0x10 || xx 00 00 00 || 0x04 || № of | | 0x10 || xx 00 00 00 || 0x04 || № of parameters | ||
|- | |- | ||
|} | |} | ||
==== Index table ==== | ==== Index table ==== | ||
Line 143: | Line 52: | ||
|- | |- | ||
|} | |} | ||
Used on index table, type of data are: | Used on index table, type of data are: | ||
Line 162: | Line 61: | ||
| style="background-color:#505346; color:#FFFFFF;" |'''Notes''' | | style="background-color:#505346; color:#FFFFFF;" |'''Notes''' | ||
|- | |- | ||
| 04 00 || style="background-color:#00DDDD;" | utf-8 Special Mode || Used in contents generated by the system | | 04 00 || style="background-color:#00DDDD;" | utf-8 Special Mode || Used in contents generated by the system | ||
|- | |- | ||
| 04 02 || style="background-color:#DDDD00;" | utf-8 || Character string, NULL finished (0x00) | | 04 02 || style="background-color:#DDDD00;" | utf-8 || Character string, NULL finished (0x00) | ||
Line 176: | Line 75: | ||
==== Data table ==== | ==== Data table ==== | ||
*UTF-8 entries never uses all the reserved bytes, needs 1 blank byte | *UTF-8 entries never uses all the reserved bytes, needs 1 blank byte after the last character. | ||
*Integer entries uses all the reserved bytes. | *Integer entries uses all the reserved bytes. | ||
Line 183: | Line 82: | ||
====APP_TYPE==== | ====APP_TYPE==== | ||
{{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''': PS4 Game | {{Boxtip1|content='''Used by''': PS4 HDD Game, PS4 Game Patch }} | ||
... | |||
====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''': PS4 Game | {{Boxtip1|content='''Used by''': PS4 HDD Game, PS4 Game Patch}} | ||
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 213: | Line 94: | ||
====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''': PS4 Game | {{Boxtip1|content='''Used by''': PS4 HDD Game, PS4 Game Patch, DLC}} | ||
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. | ||
====CATEGORY==== | ====CATEGORY==== | ||
{{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | {{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | ||
{{Boxtip1|content='''Used by''': | {{Boxtip1|content='''Used by''': PS4 Disc, PS4 HDD Game, PS4 Game Patch, DLC}} | ||
See [http://www.vitadevwiki.com/index.php?title=System_File_Object_%28SFO%29_%28PSF%29#Category PS Vita Category] | |||
{| class="wikitable" style="text-align: center;border:2px | {| class="wikitable" style="text-align: center;border:2px solid #000EEE;" | ||
|- | |- | ||
| style="background-color:#505346; color:#FFFFFF;" |'''Value''' | |||
| style="background-color:#505346; color:#FFFFFF;" |'''Standard name''' | |||
| | |||
|- | |- | ||
| | | ac || Additional Content? | ||
|- | |- | ||
| | | bd || Bluray Disc? | ||
|- | |- | ||
| | | gd || - | ||
|- | |- | ||
| | | gdk || - | ||
|- | |- | ||
| | | gp || Game Patch? | ||
|- | |- | ||
|} | |} | ||
Line 458: | Line 122: | ||
====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''': PS4 Game | {{Boxtip1|content='''Used by''': PS4 HDD Game, PS4 Game Patch, DLC}} | ||
The format is: | |||
====DISC_NUMBER==== | ====DISC_NUMBER==== | ||
{{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''': PS4 Game | {{Boxtip1|content='''Used by''': PS4 Disc Game}} | ||
Disc number: count from 01. | Disc number: count from 01. | ||
Line 482: | Line 134: | ||
====DISC_TOTAL==== | ====DISC_TOTAL==== | ||
{{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''': PS4 Game | {{Boxtip1|content='''Used by''': PS4 Disc Game}} | ||
Total number of discs for this game. | Total number of discs for this game. | ||
Line 488: | Line 140: | ||
====DISP_LOCATION_x==== | ====DISP_LOCATION_x==== | ||
{{Boxinfo3|content='''param_fmt''': uint32_t<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x1? (1 bytes?)}} | {{Boxinfo3|content='''param_fmt''': uint32_t<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x1? (1 bytes?)}} | ||
{{Boxtip1|content='''Used by''': PS4 Game | {{Boxtip1|content='''Used by''': PS4 HDD Game}} | ||
DISP_LOCATION_1 & DISP_LOCATION_2 | |||
====DOWNLOAD_DATA_SIZE==== | ====DOWNLOAD_DATA_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''': PS4 Game Patch | {{Boxtip1|content='''Used by''': PS4 Game Patch}} | ||
... | |||
====FORMAT==== | ====FORMAT==== | ||
{{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': | {{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4? (4 bytes)}} | ||
{{Boxtip1|content='''Used by''': PS4 | {{Boxtip1|content='''Used by''': PS4 Disc, PS4 HDD Game, PS4 Game Patch, DLC}} | ||
"obs" | "obs" | ||
====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''': PS4 Game | {{Boxtip1|content='''Used by''': PS4 HDD Game, PS4 Game Patch}} | ||
It is a 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... | |||
====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''': PS4 Game | {{Boxtip1|content='''Used by''': PS4 HDD Game, DLC}} | ||
Contains infos: | |||
*c_date= | |||
*sdk_ver= | |||
*st_type= | |||
*asa= | *asa= | ||
*img0_l0_size= | *img0_l0_size= | ||
*img0_l1_size= | *img0_l1_size= | ||
*img0_ch_size= | *img0_ch_size= | ||
====SERVICE_ID_ADDCONT_ADD_x==== | ====SERVICE_ID_ADDCONT_ADD_x==== | ||
{{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x14 (20 bytes)<br />'''param_len''':Not used?}} | {{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x14 (20 bytes)<br />'''param_len''':Not used?}} | ||
{{Boxtip1|content='''Used by''': PS4 Game | {{Boxtip1|content='''Used by''': PS4 HDD Game, PS4 Game Patch}} | ||
Same parameter outnumbered from _1 to _7. | Same parameter outnumbered from _1 to _7. | ||
====SYSTEM_ROOT_VER==== | ====SYSTEM_ROOT_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''': PS4 | {{Boxtip1|content='''Used by''': PS4 Disc}} | ||
Minimum | Minimum FW to be play this game? | ||
====SYSTEM_VER==== | ====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''': PS4 | {{Boxtip1|content='''Used by''': PS4 Disc, PS4 HDD Game, PS4 Game Patch}} | ||
Minimum | Minimum FW to be play this game? | ||
====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''': PS4 | {{Boxtip1|content='''Used by''': PS4 Disc, PS4 Game Patch, DLC}} | ||
Default "title of the game" for [[ | Default "title of the game" for [[Content_Information_Files|all languages]]. | ||
====TITLE_xx==== | ====TITLE_xx==== | ||
{{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''': PS4 Game | {{Boxtip1|content='''Used by''': PS4 HDD Game, , PS4 Game Patch, DLC}} | ||
Same than TITLE but for [[ | Same than TITLE but for [[Content_Information_Files|localized languages]]. | ||
An .SFO can contain several TITLE_'''xx''' where '''xx''' is a number for a regional code. | An .SFO can contain several TITLE_'''xx''' where '''xx''' is a number for a regional code. | ||
Line 693: | Line 210: | ||
====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''': PS4 | {{Boxtip1|content='''Used by''': PS4 Disc, PS4 HDD Game, PS4 Application Patch, DLC}} | ||
Identifier of the content, in the format '''WXYZ12345'''. | |||
====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''': PS4 Game | {{Boxtip1|content='''Used by''': PS4 HDD Game, PS4 Game Patch, DLC}} | ||
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). | ||
===Notes=== | |||
=== Notes === | |||
{{File Formats}} | {{File Formats}} | ||
<noinclude> | <noinclude>[[Category:Main]]</noinclude> | ||
[[Category:Main]] | |||
</noinclude> |