Talk:PARAM.SFO

From PS3 Developer wiki
Revision as of 03:20, 6 September 2012 by Foo (talk | contribs) (PS3_SYSTEM_VER)
Jump to navigation Jump to search

Unknown

This is the first attempt to create an "index" for this page with sections refered to the "front" page that doesnt needs to have the same names but needs to be grouped in some way. All the sections in this page are things related with PARAM.SFO that are not completly documented, and the final purpose is to move the info when completed to the "front" page. This also will help to keep the "front" page free of speculation

ATTRIBUTE flags

XMB In-Game System Chat Voice Disable (Flag Nº7) : Value and name description are related to this flag but need to be confirmed from PS3 side / not used on bootable but as patches?.

Function to disable chat voice utility (xmb/friend/start new chat appear when online is possible) (implemented directly on FW or as flag into param.sfo for short period?) have been used for PlayStation Home after people reported chat voice disturbance.

Kept as flag for convenience (to disable per game through update game and not FW) but can be "system reminiscent" and not working anymore from param.sfo?

Similar function also is when the game use the recording utility: User is allowed to record his game-play as video (e.g.: Little big planet?) but to avoid the possible copyright issue with his own BGM (and chat voice? How to test:

Boot logo Disable ? <-- this is the "license text hidden" flag ? FW max: 2.80 for ps3 fat? on patches?

Some flags may only be effective with some hardwares (PSP/PSVITA/ Torne /Nasne...), FW, Games, or Category and/or in a cumulative way and others conditions.

Please report test/investigation here or on the link forum at the end of this page.

  • Examples
Little Endian Big Endian Decimal Flags (Binary) Description Flag Nº Notes
Discs
05 17 80 00 00 80 17 05 8394501 00000000 10000000 00010111 00000101 killzone 3 01+03+09+10+11+13+24 all flags identifyed
20 00 02 00 00 02 00 20 131104 00000000 00000010 00000000 00100000 Dead Space 2 06+18 all flags identifyed
Patches
85 00 00 00 00 00 00 85 133 00000000 00000000 00000000 10000101 Torne v3.52 01+03+08 all flags identifyed (doesnt use any "overwrite" flag)

subcategories from X0 to X7

X category appear as HG (sub cat)but with different parameters and need cumulative flag (n22 at least+ 4th byte: half byte) The 4th byte is not used as binary (only?) but as Hexa value for half byte (right nibble, left nibble is ignored?) to set X category. If the value is 0 or end up with 0, and the X maker flag is set under right SFO X parameters, X0 (PCEngine) is read by the system.

SFO TEST Tool from Deroad can boot and return to XMB even under X category (when MINIS don t and are stuck after being X categorized)

Folder position in XMB (in fw 3.55 with hand-made PARAM.SFO's):

By pressing square, group content format position (the 8 X category folders can be displayed at the same time in XMB):

  • Playstation 3
  • minis
  • Playstation 2
  • Playstation
  • X1

Mini icon: not present (-)

Attribute used (01 00 60 01)on EBOOT.PBP SFO for Minis (group content format on PSP: minis)

  • X2

Mini icon: not present (-)

When Attribute used on EBOOT.PBP SFO on PSP: NEOGEO

  • X0

Mini icon: PCEngine

Enables X category. Introduced initially as PCEngine.

Jul 15, 2009 Works alone and can be used with any "HG" category content, its not clear what does this flag other than the content has his own "tiny grey icon" with a "PCE" logo and are placed inside his own subfolder when ordering contents (with square button) in the XMB (3.55, 3.41?). Same attributes on PSP

  • X3

Mini icon: not present (-)

  • X4

Mini icon: NEOGEO

Dec 21, 2010 (Few days after 3.55) Can be used with any "HG" category content. It has his own "tiny grey icon" with a "NEOGEO" logo and are placed inside his own subfolder when ordering contents (with square button) in the XMB (3.55, 3.41?).

  • X5 (same for X6 and X7)

Mini icon: not present (-)

(X3 might have been used already, X5,X6 and X7 can be not used yet)

XMB In-game background music compatibility

Attempt to create compatiblity list with XMB In-Game (v2) Background Music feature.

XMB In-Game Background Music was implemented in firmware 2.40

Please help to improve the list. Note this is not be in corect page (if such list is appropriate) and infos on limitations are mostly speculations (and from SFO point of view) and display of the board should be improve.

To activate it from SFO, see PARAM.SFO#ATTRIBUTE_In_Bootable_content

Title compatibility Note
Atelier Meruru No (Signed as 3.60)
Child of Eden Yes PSN game, SFO edited and updated from PKG.
Uncharted 1 No System FW version required 1.94

For better list see:Custom Soundtrack Compatible list (without SFO edited?)

Thread related: Here

For replacing PARAM.SFO manullay

  • Limitations:

After editing the SFO, you should not have anymore the XMB message saying "Music content cannot be played during use of this game" but instead "music will start in a while ( please insert exact xmb message). However, the feature might not work correctly (for easy display, the table report it as NO)

  • Reasons (speculation):

Conflict with others system utility (E.G.:chat voice), music files or eboot compiled with old SDK or others restrictions (?)

Attribute related to FW feature on newest games

Vanished

CATEGORY

Template:Icontinyphoto Template:Icontinymusic Template:Icontinyvideo Template:Icontinytv Template:Icontinygame Template:Icontinynetwork Template:Icontinypsn Tiny-Icon Standard name Source/generated by: Notes & Examples
VT ? Template:Iconpsvita PSvita .PKG Not bootable, but can be copyed to a PSvita (not confirmed). Implemented in firmware 4.00

VT - Speculation, refered as "VT" in one his related PS3 packages: NP0001-NPXS10002_00-VTSTORELIVEAREA0.pkg

Others Category from XMB database

BV (Video, ??????)
VF (??????)
WT (??????)----Required System version min 3.70 - HDD contents

Speculation: export function (on PSP) for some titles (but final release function have been cancel), category also on PSP & PSVITA. HDD content, FW min around 3.60+

RCO used:

Other videos on PS3:

Others: From Deroad HV dumps:

/dev_bdvd/PS3_GAME/PARAM.SFO
/setting/system/licenseArea
/dev_bdvd/PS3_GAME/L00/PARAM.SFO
/dev_bdvd/PS3_GAME/L01/PARAM.SFO
/dev_bdvd/PS3_GAME/L02/PARAM.SFO
/dev_bdvd/PS3_GAME/L03/PARAM.SFO
/dev_bdvd/PS3_GAME/L04/PARAM.SFO
/dev_bdvd/PS3_GAME/L05/PARAM.SFO

Also similar path:

/dev_bdvd/PS3_GAME/C00/L00/PARAM.SFO
/dev_bdvd/PS3_GAME/C00/L01/PARAM.SFO
...
/dev_bdvd/PS3_GAME/C00/L05/PARAM.SFO


DISC structures

XI - Confirmed ---> System File for Extra Content Item , related to another disc structure, related with folders EX_GAME & EX_VIDEO ?

Subfolders structures

  • PS3_GAME/CROSSDIR/DATA000.SIG (FW min 4.20)

used for cross controller function with PS VITA (FW 1.80):

http://uk.ign.com/articles/2012/06/05/e3-2012-vitaps3-cross-controller-coming-this-year

(for Cross buy: http://uk.ign.com/articles/2012/08/14/buy-ps3-playstation-all-stars-get-vita-version-for-free

  • HTMLDIR, INSDIR, LICDIR, PKGDIR, SHOPDIR, TRPDIR, USRDIR

DATA types

Data_Type Description Used in
04 00 utf-8 Special Mode Data generated by the system: Game Saves (ACCOUNT_ID, PARAMS, PARAMS2, SAVEDATA_FILE_LIST, SAVEDATA_PARAMS)... and Trophies (PADDING)

The Data_Type = 0400 marked as "utf-8 Special Mode" has the particularity of return a "right" or "wrong" when comparing the string with a reference value, so it can be said that the difference between the simple "utf-8" and "utf-8 Special Mode" is only from the point of view of how the system manipulate this data. For more info read the section ACCOUNT_ID.

If the "scale" used for the second byte follows the proportion of 2^X (e.g. 1, 2, 4, 8, 16, 32, etc...) then we are missing a "04 01" valid data type in the list

Cryptography in "user files" (game saves & trophies)

ACCOUNT_ID, PADDING, PARAMS, PARAMS2, SAVEDATA_FILE_LIST, SAVEDATA_PARAMS

PARAM.PFD relationship

Firmware 3.56+ features speculation/contents

  • PSvita Remote play improvements announced for ICO

Shehui Yoshida tweeted a picture of Ico HD running on a Playstation Vita ---> Sorry to tease you, I was play testing ICO HD Remote Play on PS Vita. We are almost ready with a patch. Beautiful on OLED. More info soon. ---> http://www.justpushstart.com/2012/09/remote-play-vita-patch-coming-will-allow-ico-hd-to-be-played/ - https://twitter.com/yosp/status/242529590860451840

  • New content found in 4.21 XMB (PlayStation Mobile)

explore_plugin_full\Text\English.xml (inside explore_plugin_full.rco)

<Text name="msg_applications_psm">Applications (PlayStation®Mobile)</Text>
  • 7.1 virtual surround (in SOUND_FORMAT) sound mode has been announced officially, it will be implemented in the next firmware (aparently version 4.20). This sound mode will need one (or two) new flags for being activated in games

Blu-ray disc movies supports "virtual surround 7.1" time ago, no problem with them, but there are 2 ways to implement this in games:

-By using the LPCM 7.1 channels and aplying digital filters (this way the old games that contains LPCM 7.1 separated channels can use it by converting this channels to 7.1 virtual surround)

-Or by adding new sound channels in the game files, (actually there is no PS3 game with them)

This give us one (for the "native" support") or two (another for the dgital filter conversor) flags... there is no point in speculate wich one can be, but seems obvious one of them will be this one:


Little Endian Big Endian Decimal Binary (Flags) Description Flag Nº Requires Flag Nº
00 04 00 00 00 00 04 00 1024 00000000 00000000 00000100 00000000 [Virtual Surround] 7.1 11 02

Expect to see this new flag in the game patches released after 4.20... mostly the games from companyes property of sony (e.g: uncharted, killzone, god of war, etc...). Be aware of it and catch them all !!!

Emulators specific parameters/flags

ANALOG_MODE, ITEM_PRIORITY, & specific values for RESOLUTION

ITEM_PRIORITY

Data_Type: integer
Data_Size_Total: 4 (0x4)
Data_Size_Used: 4 (0x4)
Used by: PS2 Disc Game

Used only in category "2G" for "PS2 game discs" that can be installed in the PS3 internal HDD. Always filled with zeroes in the examples found

  • Speculation

Related with features of the PS2 emulator like hardware emulation priority ? Related with PS2 virtual HDD images (IMAGE.DAT) ?

RESOLUTION

Data_Type: uint32_t
Data_Size_Total: 4 bytes
Data_Size_Used: 4 bytes
Used by: HDD Game, PS1 Classics Game, Minis Game, PSP Remasters Game

TV video modes supported by the content.

When there are several flags activated the PS3 will use the one with higher quality supported by the TV.

Little Endian Big Endian Decimal Binary (Flags) Description
01 00 00 00 00 00 00 01 1 00000000 00000000 00000000 00000001 480 (4:3)
02 00 00 00 00 00 00 02 2 00000000 00000000 00000000 00000010 576 (4:3)
04 00 00 00 00 00 00 04 4 00000000 00000000 00000000 00000100 720 (16:9)
08 00 00 00 00 00 00 08 8 00000000 00000000 00000000 00001000 1080 (16:9)
10 00 00 00 00 00 00 10 16 00000000 00000000 00000000 00010000 480 (16:9)
20 00 00 00 00 00 00 20 32 00000000 00000000 00000000 00100000 576 (16:9)
Examples
3F 00 00 00 00 00 00 3F 63 00000000 00000000 00000000 00111111 All video modes supported
  • Note the resolution for originall PS1 disc games can vary (See: 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

Patches

APP_VER, TARGET_APP_VER, PS3_SYSTEM_VER, VERSION lot of things to add here, maybe needs another page, but im not the best one to document them

PS3_SYSTEM_VER

This is the flag for what's the minimum firmware a game will run on. It is 0x8 bytes and is only found it Gamedata SFO files, not gamesaves (most of them atleast).

File:PS3 SYSTEM VER.png

This can be changed to run on other firmwares.

Purchase content

CONTENT_ID, NP_COMMUNICATION_ID, NPCOMMID


To Do

There are lot of "yes" in the parameters table that in fact are optional "opt". The "yes" means the value is mandatory, so the table is not fully correct, it needs to add a lot more "opt" in the paces of the "yes"

Also... this table represents the values needed for each content ordered by CATEGORY, but there are different contents that shares the same CATEGORY (like the different types of patches, DLC's, and game installations... alll them uses "GD"

The "parameter table" cant contain all this different variations, by now i dont see a way to do it


Suggestions

  • About specifics way of using Parameters: License and TITLE_ID can be kept (some homebrew not using the same format) for the psl1ght/homebrew achievement/part (or it s remove to main page as specific example)

The structure in C also.

  • Others param.sfo specifics parameters of PSP eboot.PBP (but i prefer not, and add them to the .pbp page or main page), and PSVITA can be here?