Param.sfo: Difference between revisions
Line 45: | Line 45: | ||
====CATEGORY==== | ====CATEGORY==== | ||
{{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x3 (3 bytes)}} | {{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x3 (3 bytes)}} | ||
{{Boxtip1|content='''Used by''': PS4 | {{Boxtip1|content='''Used by''': PS4 Disc, PS4 HDD Game, PS4 Game Patch}} | ||
See [http://www.vitadevwiki.com/index.php?title=System_File_Object_%28SFO%29_%28PSF%29#Category PS Vita Category] | See [http://www.vitadevwiki.com/index.php?title=System_File_Object_%28SFO%29_%28PSF%29#Category PS Vita Category] | ||
Line 53: | Line 53: | ||
| style="background-color:#000FFF; color:#FFFFFF;" |'''Standard name''' | | style="background-color:#000FFF; color:#FFFFFF;" |'''Standard name''' | ||
|- | |- | ||
| bd || Bluray Disc | | bd || Bluray Disc? | ||
|- | |- | ||
| gd || - | | gd || - | ||
Line 59: | Line 59: | ||
| gdk || - | | gdk || - | ||
|- | |- | ||
| gp || Game Patch | | gp || Game Patch? | ||
|- | |- | ||
|} | |} | ||
Line 71: | Line 71: | ||
====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 | {{Boxtip1|content='''Used by''': PS4 Disc Game}} | ||
Disc number: count from 01. | Disc number: count from 01. | ||
Line 77: | Line 77: | ||
====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 | {{Boxtip1|content='''Used by''': PS4 Disc Game}} | ||
Total number of discs for this game. | Total number of discs for this game. | ||
Line 87: | Line 87: | ||
====FORMAT==== | ====FORMAT==== | ||
{{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x3? (3 bytes)}} | {{Boxinfo3|content='''param_fmt''': utf-8<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x3? (3 bytes)}} | ||
{{Boxtip1|content='''Used by''': PS4 | {{Boxtip1|content='''Used by''': PS4 Disc, PS4 HDD Game, PS4 Game Patch}} | ||
"obs" | "obs" | ||
Line 107: | Line 107: | ||
{{Boxtip1|content='''Used by''': PS4 HDD Game, PS4 Game Patch}} | {{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==== | |||
{{Boxinfo3|content='''param_fmt''': uint32_t<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}} | |||
{{Boxtip1|content='''Used by''': PS4 Disc}} | |||
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 HDD Game, PS4 Game Patch}} | {{Boxtip1|content='''Used by''': PS4 Disc, PS4 HDD Game, PS4 Game Patch}} | ||
Minimum FW to be play this game? | Minimum FW to be play this game? |
Revision as of 00:25, 20 November 2013
PARAM.SFO
SFO (System File Object) file format can be also found on PSP, PSVITA, PS3.
External Structure
Internal Structure
Header SFO
This is the Header of a SFO file.
Offset | Data | Length | Notes |
0x0 | 0x00505346 | 0x04 | PSF Magic |
0x4 | 0x01010000 | 0x04 | Version |
0x8 | - | 0x04 | Value Start |
0xC | - | 0x04 | Params Start |
0x10 | - | 0x04 | N° of params/values |
Parameters Descriptions
APP_TYPE
APP_VER
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.
ATTRIBUTE
Contains a maximun of 32 flags that can be turned on/off to activate/deactivate special boot modes and features of the content.
CATEGORY
See PS Vita Category
Value | Standard name |
bd | Bluray Disc? |
gd | - |
gdk | - |
gp | Game Patch? |
CONTENT_ID
The format is:
DISC_NUMBER
Disc number: count from 01.
DISC_TOTAL
Total number of discs for this game.
DOWNLOAD_DATA_SIZE
FORMAT
"obs"
PARENTAL_LEVEL
It is a scale to rate the content for the different users based in user profile settings and international rating systems as: PEGI, ESRB, CERO, etc...
PUBTOOLINFO
contain creation data?, sdk version?
SERVICE_ID_ADDCONT_ADD_x
Same parameter outnumbered from _1 to _7.
SYSTEM_ROOT_VER
Minimum FW to be play this game?
SYSTEM_VER
Minimum FW to be play this game?
TITLE
Default "title of the game" for all languages.
TITLE_ID
Identifier of the content, in the format WXYZ12345.
TITLE_xx
Same than TITLE but for localized languages.
An .SFO can contain several TITLE_xx where xx is a number for a regional code.
The "default" TITLE is always present when other "localized" TITLE_xx are used.
VERSION
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).