Editing PARAM.SFO

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 21: Line 21:
===header===
===header===
At offset 0x0, length 0x14 (20 bytes)
At offset 0x0, length 0x14 (20 bytes)
{{Boxcode|code=<syntaxhighlight lang="c">
{{Boxcode|content=<syntaxhighlight lang="c">
struct sfo_header
struct sfo_header
{
{
Line 37: Line 37:
Every entry belongs to a '''key''' name in the '''key_table''' and defines a '''data''' area in the '''data_table'''
Every entry belongs to a '''key''' name in the '''key_table''' and defines a '''data''' area in the '''data_table'''


{{Boxcode|code=<syntaxhighlight lang="c">
{{Boxcode|content=<syntaxhighlight lang="c">
struct sfo_index_table_entry
struct sfo_index_table_entry
{
{
Line 123: Line 123:


===SFX===
===SFX===
{{Boxtip3|content= SFX is used in some discs with special content<br />SFX can be used as "templates" to generate SFO files<br />SFX can be created using a SFO as the "source". See: [[Dev_Tools#SFO2SFX|SFO2SFX]]}}
{{Boxtip3|content= SFX are used in some disc with special content<br />SFX Can be used as "templates" to generate SFO files<br />SFX Can be created using a SFO as the "source". See: [[Dev_Tools#SFO2SFX|SFO2SFX]]}}


{{Boxcode|code=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<paramsfo add_hidden="false">
<paramsfo add_hidden="false">
Line 138: Line 138:
This table contains all the parameters known/found for an overview of the requirements needed to build a specific PARAM.SFO for a specific HDD content (SFO's and SFX's used in disc media are not included here).
This table contains all the parameters known/found for an overview of the requirements needed to build a specific PARAM.SFO for a specific HDD content (SFO's and SFX's used in disc media are not included here).


{| class="wikitable" style="line-height:100%;;"  
{| border="1" cellspacing="0" cellpadding="5" border="#999" class="wikitable" style="border:1px solid #999; border-collapse: collapse;"  
|-
|-
! colspan=4 rowspan=3 | param !! colspan=12 | Used in SFO/SFX with [[#CATEGORY|CATEGORY]]
! colspan=4 rowspan=3 | param !! colspan=12 | Used in SFO/SFX with [[#CATEGORY|CATEGORY]]
Line 750: Line 750:


Language used when the "trophy config file" [[Trophy_files#TROPCONF.SFM|TROPCONF.SFM]] was installed.
Language used when the "trophy config file" [[Trophy_files#TROPCONF.SFM|TROPCONF.SFM]] was installed.
{{PlayStation Languages}}
{{XMB languages}}


===LICENSE===
===LICENSE===
Line 838: Line 838:
***load trophy data when game boots (some games displays the list of trophies inside a game screen)
***load trophy data when game boots (some games displays the list of trophies inside a game screen)
***savedata system screen replaced/hidden (some games uses their own savedata screen instead of the system screens, in this case the system needs to disable the default screens or make it invisible, like in tomb raider)
***savedata system screen replaced/hidden (some games uses their own savedata screen instead of the system screens, in this case the system needs to disable the default screens or make it invisible, like in tomb raider)
**Another option is the first bytes at the beginning are configuring the internal structure of the PARAMS area, by defining the counters types or their positions
**Another option is the first bytes at the begining are configuring the internal structure of the PARAMS area, by defining the counters types or his positions
**Another option is the first bytes are simply the version of the savegame (1.1, 1.2, 1.3, and so on...) this "gamesave versions" could be defining some requirements of the whole PARAM.SFO structure, or/and the security used by the related [[PARAM.PFD]] and other secured files in the gamesave
**An another option is the first bytes are simply the version of the savegame (1.1, 1.2, 1.3, and so on...) this "gamesave versions" could be defining some requirements of the whole PARAM.SFO structure, or/and the security used by the related [[PARAM.PFD]] and other secured files in the gamesave


===PARAMS2===
===PARAMS2===
Line 951: Line 951:
{{Boxinfo3|content='''param_fmt''': int32<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}}
{{Boxinfo3|content='''param_fmt''': int32<br />'''param_max_len''': 0x4 (4 bytes)<br />'''param_len''': 0x4 (4 bytes)}}
{{Boxtip1|content='''Used by''': HDD Game}}
{{Boxtip1|content='''Used by''': HDD Game}}
<div style="float:right">[[File:Badregion-4.jpg|210px|thumb|right|Region checks]]</div>
 
Region restrictions for the content, added in firmware 3.30
Regions restrictions for the content, added in firmware 3.30


There are 12 valid [[Regions]], each region has a position assigned in the binary string, marked with an "'''1'''" when the region is prohibited, or a "'''0'''". when is allowed.
There are 12 valid [[Regions]], each region has a position assigned in the binary string, marked with an "'''1'''" when the region is prohibited, or a "'''0'''". when is allowed.
Line 1,021: Line 1,021:


*Tests
*Tests
**PS2 games remastered in PS3 format (not "ps2 classics") like "resident evil 4 HD" (CATEGORY=HG and TITLE_ID=NPEB00342) doesn't supports 1080 mode by default (or at least this one). 1080 mode in combination with SOUND_FORMAT (all SOUND_FORMAT modes enabled) the RESOLUTION flags are read but the PS3 crashes
**PS2 games remastered in PS3 format (not "ps2 classics") like "resident evil 4 HD" (CATEGORY=HG and TITLE_ID=NPEB00342) doesnt supports 1080 mode by default (or at least this one). 1080 mode in combination with SOUND_FORMAT (all SOUND_FORMAT modes enabled) the RESOLUTION flags are readed but the PS3 crashes
**Note the resolution for original PS1 disc games can vary (See: [[Emulation#Resolution|Emulation Resolution]]). The RESOLUTION flags used in PARAM.SFO's of "PS1 Classics Game" from PSN seems to be specific and not fixed sizes (e.g: 01 00 00 00). This will need another table if more are found
**Note the resolution for originall PS1 disc games can vary (See: [[Emulation#Resolution|Emulation Resolution]]). The RESOLUTION flags used in PARAM.SFO's of "PS1 Classics Game" from PSN seems to be specific and not fixed sizes (e.g: 01 00 00 00). This will need another table if more are found


*There are special RESOLUTION values for PS1 and PS2 Classics, and PSP Remasters ?. The resolution for original PS1 disc games can vary (See: [[Emulation#Resolution|Emulation Resolution]]). The RESOLUTION flags used in PARAM.SFO's of "PS1 Classics Game" from PSN seems to be specific (e.g: 01 00 00 00 for NTSC games and 02 00 00 00 for PAL games). This will need another table if more are found
*There are special RESOLUTION values for PS1 and PS2 Classics, and PSP Remasters ?. The resolution for original PS1 disc games can vary (See: [[Emulation#Resolution|Emulation Resolution]]). The RESOLUTION flags used in PARAM.SFO's of "PS1 Classics Game" from PSN seems to be specific (e.g: 01 00 00 00). This will need another table if more are found


===SAVEDATA_DIRECTORY===
===SAVEDATA_DIRECTORY===
Line 1,032: Line 1,032:
Name of the folder where the game stores its SaveData. The format is: '''TITLE_IDxxxxx''' (9 bytes + 22 bytes max), e.g;: '''BLUS00001_savedata_01''' where:
Name of the folder where the game stores its SaveData. The format is: '''TITLE_IDxxxxx''' (9 bytes + 22 bytes max), e.g;: '''BLUS00001_savedata_01''' where:
*'''TITLE_ID''' Identifier of the content. Explained in [[#TITLE_ID|TITLE_ID]].
*'''TITLE_ID''' Identifier of the content. Explained in [[#TITLE_ID|TITLE_ID]].
*'''xxxxx''' Are texts (with variable length) to difference all the SaveDatas generated from the same game by the same user.
*'''xxxxx''' Are texts (with variable lenght) to difference all the SaveDatas generated from the same game by the same user.


===SAVEDATA_FILE_LIST===
===SAVEDATA_FILE_LIST===
Line 1,207: Line 1,207:
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.


{{PlayStation Languages}}
{{XMB languages}}


===TITLE_ID===
===TITLE_ID===
Line 1,233: Line 1,233:
The text contained inside default TITLEID000 is the same than [[#TITLE_ID|TITLE_ID]]
The text contained inside default TITLEID000 is the same than [[#TITLE_ID|TITLE_ID]]


{{PlayStation Languages}}
{{XMB languages}}


===VERSION===
===VERSION===
Line 1,298: Line 1,298:


'''Movie discs in folder PS3_VPRM'''
'''Movie discs in folder PS3_VPRM'''
This is the part of a Blue-Ray movie structure related with the PS3 system. Described as "hybrid disc" when contains a game+movie e.g: Metal Gear Solid HD Collection (BLUS30847, BLES01419)
This is the part of a Blue-Ray movie structure related with the PS3 system. Described as "hybrid disc" when contains a game+movie e.g: Metal Gear Solid HD Collection (BLUS30847)
  0MOV00001
  0MOV00001
  |--- PS3_DISC.SFB <--- HYBRID_FLAG (v), TITLE_ID (blank)
  |--- PS3_DISC.SFB <--- HYBRID_FLAG (v), TITLE_ID (blank)
Line 1,330: Line 1,330:
  |--- PS3_VPRM
  |--- PS3_VPRM
       |--- PARAM.SFO <--- CATEGORY (DM)
       |--- PARAM.SFO <--- CATEGORY (DM)
See: [https://www.psx-place.com/threads/4-84-3-starbuged-w-cobra-8-01-new-update-in-from-habib.23057/page-4#post-166700 1] and [https://www.psx-place.com/threads/jonnysps-ird-library-is-down.35178/page-2#post-315008 2]


'''Game discs in folder PS3_CONTENT'''
'''Game discs in folder PS3_CONTENT'''
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)

Templates used on this page: