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 21: | Line 21: | ||
===header=== | ===header=== | ||
At offset 0x0, length 0x14 (20 bytes) | At offset 0x0, length 0x14 (20 bytes) | ||
{{Boxcode| | {{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| | {{Boxcode|content=<syntaxhighlight lang="c"> | ||
struct sfo_index_table_entry | struct sfo_index_table_entry | ||
{ | { | ||
Line 85: | Line 85: | ||
0x10 <span style="background:#ff6666;">01 00 00 00</span> <span style="background:#66ff66;">00 00</span> <span style="background:#66ff66;">04 02</span> <span style="background:#66ff66;">0A 00 00 00</span> <span style="background:#66ff66;">0F 00 00 00</span> | <span style="background:#ff6666;">....</span><span style="background:#66ff66;">............</span> | | 0x10 <span style="background:#ff6666;">01 00 00 00</span> <span style="background:#66ff66;">00 00</span> <span style="background:#66ff66;">04 02</span> <span style="background:#66ff66;">0A 00 00 00</span> <span style="background:#66ff66;">0F 00 00 00</span> | <span style="background:#ff6666;">....</span><span style="background:#66ff66;">............</span> | | ||
0x20 <span style="background:#66ff66;">00 00 00 00</span> <span style="background:#bbbbff;">54 49 54 4C 45 5F 49 44 00</span> <span style="background:lightgrey;">00 00 00</span> | <span style="background:#66ff66;">....</span><span style="background:#bbbbff;">TITLE_ID.</span><span style="background:lightgrey;">...</span> | | 0x20 <span style="background:#66ff66;">00 00 00 00</span> <span style="background:#bbbbff;">54 49 54 4C 45 5F 49 44 00</span> <span style="background:lightgrey;">00 00 00</span> | <span style="background:#66ff66;">....</span><span style="background:#bbbbff;">TITLE_ID.</span><span style="background:lightgrey;">...</span> | | ||
0x30 <span style="background:#ffff66; | 0x30 <span style="background:#ffff66;">42 4C 55 53 31 32 33 34 35 00 00 00 00 00 00 00</span> | <span style="background:#ffff66;">BLUS12345.......</span> | | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 123: | Line 123: | ||
===SFX=== | ===SFX=== | ||
{{Boxtip3|content= SFX | {{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| | {{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=" | {| 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. | ||
{{ | {{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 | **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 | ||
** | **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}} | ||
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 986: | Line 986: | ||
| colspan="7" style="text-align:center; background-color:#DDDDDD;" | Examples | | colspan="7" style="text-align:center; background-color:#DDDDDD;" | Examples | ||
|- | |- | ||
| {{cellcolors|black|lime}} 01 F0 FF FF || FF FF F0 01 || 11111111 11111111 11110000 00000001 || || From 1 to 11 || [[http:// | | {{cellcolors|black|lime}} 01 F0 FF FF || FF FF F0 01 || 11111111 11111111 11110000 00000001 || || From 1 to 11 || [[http://ps3.mediagen.fr/badregion-4_0900051787.jpg Photo]] of a PS3 DEX with '''Allowed Region=1-11''' (region 0 not 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) | **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 | **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 | *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 | *'''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. | ||
{{ | {{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]] | ||
{{ | {{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 | 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) | ||
'''Game discs in folder PS3_CONTENT''' | '''Game discs in folder PS3_CONTENT''' |