Talk:PARAM.SFO

From PS3 Developer wiki
Jump to: navigation, search

Contents

[edit] Unknown or new parameters

This page is an index/worklog/notepad 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

The sections are ordered (from top to bottom) starting with the parameters that are most interesting, near completed, or more probable to support new features or content types in the future (TITLE_ID, CATEGORY and ATTRIBUTE).. Next there is a list of unknown parameters that are ordered by his difficulty from easy to hard, this list ends with the parameters related with security and continues with the data types that are very related to security, after this there are a few sections that are related with SFO but are not directly dependant of a parameter (e.g: structures activated by the presence of a folder with a reserved name, etc...)

At the end of the page there is a table of SFO parameters for other sony consoles, the only purpose of this table is to know the names of them to dont confuse with PS3... there is no plan to document all them here, only to list the different ones

[edit] TITLE_ID (reserved, special or rare)

Everything that "breaks" the standards explained in TITLE_ID can be added here as an example to understand better how the ID's are assigned to each type of content

[edit] NPXS

NPXS
Content ID (.PKG) TITLE_ID (.SFO) TITLE (.SFO) CATEGORY (.SFO) Notes
#NPXS00*** (SDK Samples)
IV0002-NPXS00006_00-SAMPLE0000000001 NPXS00006 NP GAME HG
IV0002-NPXS00008_00-GAMEUPDATEPATCH[1/2] NPXS00008 GameUpdate Utility Sample DG
IV0002-NPXS00009_00-GAMEUPDATEPATCH[1/2] NPXS00009 GameUpdate Sample (By System) DG
IV0002-NPXS00018_00-SAMPLE0000000001 NPXS00018 Matching2 Invitation Sample HG
IV0002-NPXS00020_00-HDDBOOTSAMPLE001 NPXS00020 HDD Game Sample HG
IV0002-NPXS00021_00-SAMPLE0000000001 NPXS00021 Game Data Sample HG
IV0002-NPXS00022_00-GAMEPURCHASE000[1/2] NPXS00022 Game Purchase Sample HG
IV0002-NPXS00024_00-SAMPLE0000000001 NPXS00024 NP Basic Sample HG
IV0002-NPXS00031_00-SAMPLE0000000001 NPXS00031 NP SNS HG
#NPXS01*** (FW Components)
IV0001-NPXS01001_00 NPXS01001 No No PSN/SEN login plugin aka Service ID Roadster
NPXS01002 No No
NPXS01003 No No
NPXS01005 No No
#NPXS03*** (FW Components)
NPXS03001 No No avc plugin
NPXS03002 No No audioplayer plugin
NPXS03003 No No bdp plugin / game_ext_plugin
NPXS03005 No No download plugin
NPXS03006 No No edy plugin
NPXS03007 No No friendim plugin
NPXS03010 No No nas plugin + newstore plugin
NPXS03012 No No NP-signin plugin
NPXS03013 No No photoviewer plugin
NPXS03015 No No premo plugin
NPXS03017 No No ps3 savedata plugin
NPXS03018 No No sacd plugin
NPXS03019 No No software update plugin
NPXS03020 No No sysconf plugin
NPXS03021 No No thumthum plugin
NPXS03022 No No videodownloader plugin
NPXS03023 No No videoplayer plugin /videoeditor plugin
NPXS03024 No No vmc savedata plugin
NPXS03025 No No webbrowser plugin
NPXS03026 No No xai plugin
NPXS03027 No No XMB plugin
NPXS03028 No No PS3 game plugin-PS1
NPXS03029 No No PS3 game plugin-PS2
NPXS03030 No No np trophy ingame
NPXS03031 No No bgdl_available_time
NPXS03033 No No webrender plugin
NPXS03036 No No profile plugin
NPXS03037 No No friendtrophy plugin
NPXS03038 No No hknw plugin
NPXS03040 No No
NPXS03041 No No HDD game plugin
NPXS03042 No No
NPXS03043 No No PS3 Text Chat
NPXS03045 No No friendml plugin
#NPXS04***
NPXS04004 No No
#NPXS09***
IP9100-NPXS09386_00 NPXS09386 Playstation Store SF Playstation Store (internal)

[edit] NPIA

NPIA
Content ID (.PKG) TITLE_ID (.SFO) TITLE (.SFO) CATEGORY (.SFO) Notes
#NPIA00***
IP9100-NPIA00001_00-PS2HDDSYSDAT0001 NPIA00001 PS2 System Data 2D
IP9100-NPIA00002_00-0000111122223333 NPIA00002 Folding@home & Life with Playstation CB
EP9000-NPIA00005_00-HOME000000000001 NPIA00005 Playstation home HM
IP9100-NPIA00006_00-VSHMODULE0000029 No No No Photo Gallery (doesnt have an .SFO)
IP9100-NPIA00007_00-0000111122223333 NPIA00007 Folding@home & Life with Playstation CB
NPIA00009  ?  ?
NPIA00010 Playstation home HG Debug Version (shipped with HDK)
NPIA00011  ?  ?
NPIA00012 DigitalComics  ? PSP App
NPIA00013 SenseMe  ? PSP App
IP9100-NPIA00016_00-VSHMODULE0000001 No No No Video Editor and Uploader (doesnt have an .SFO)
IP9100-NPIA00025_00-SFPROD0000000000 NPIA00025 Playstation Store SF new Playstation Store, not via webbrowser anymore
NPIA00031  ?  ? IP9100-NPIA00031-00.auth.np.ac.playstation.net
NPIA00036  ?  ? livearea.np.dl.playstation.net/livearea/e/info/np/NPIA00036
NPIA00038  ?  ?  ?
NPIA00040  ?  ?  ?
#NPIA09***
IP9100-NPIA09002_00-0000111122223333 NPIA09002 Music Unlimited AM Qriocity
IP9100-NPIA09008_00-TAMGENERALMARKET NPIA09008 Video Unlimited (Preview) AV
IS9104-NPIA09014_00-****** NPIA09014  ?  ? Playmemories apps for sony photo cameras
#NPIA90***
IP910[1-5]-NPIA9000[5-9]_00-PLUS???????????? No No No Playstation Plus
IP9101-NPIA90005_00-PLUS NPIA90005
IP9102-NPIA90006_01-PSPLUSSUBS365DAY-E001 NPIA90006
IP9103-NPIA90007_00-PLUS NPIA90007
IP9104-NPIA90008_00-PLUS NPIA90008
IP9105-NPIA90009_00-PLUS NPIA90009

[edit] Other TITLE_IDs

Content ID (.PKG) TITLE_ID (.SFO) TITLE (.SFO) CATEGORY (.SFO) Notes
#NP(A,E,K,J,U)A*****
NPEA00001 Tekken 5 Dark Resurrection HG
NPEA00007 Operation Creature Feature Playstation Eye cam features
EP9000-NPEA00008_00-AQUAVITAPS300000 NPEA00008 Aqua Vita HG Interactive aquarium. Playstation Eye cam features
NPEA00011 The Trials of Topoq Playstation Eye cam features
EP9000-NPEA00013_00-HOME000000000001 NPEA00013 Playstation Home Beta HG
EP9000-NPEA00022_00-EYECREATE0000000 NPEA00022 Eye Create HG Playstation Eye cam features (create photos, videos, etc...)
EP9000-NPEA00030_00-MESMERIZEPACK001 NPEA00030 Mesmerize HG Interactive wallpapers. Playstation Eye cam features
JP9002-NPJA00040_00-ADHOCPARTY000000 NPJA00040 Ad-Hoc Party HG (used by "PSP remasters" games to play online in PSP network)
NPEA00041 Tori Emaki Playstation Eye cam features
NPUA80083 Flower
#NP(A,E,K,J,U)B*****
EP4183-NPEB00344_00-LOVEFILMFULL0100 NPEB00034 LOVEFiLM AV
EP2058-NPEB00894_00-HDDBOOTPINBALL01 NPEB00894 Pinball Arcade HG "game purchase" enabled in ATTRIBUTE (C00 folder), TROPDIR included
EP4381-NPEB01229_00-YOUTUBE000000001 NPEB01229 Youtube AT NPUP10028 for usa region
EP4288-NPEB00468_00-HDDBOOTDEMO00001 NPEB00468 Filmy AV youtube video
#NPHA*****
NPHA0**** First Party PSP PSN/SEN Games  ?
HP9009-NPHA80082_00-0000000000000100 NPHA80082 now TV AT
HP9000-NPHA70006_00-0000000000000100 NPHA70006 QOOK TV AT
#NPHB*****
NPHB0**** Licensed PSP PSN/SEN Games  ?
#NPHI*****
 ? NPHI00020  ?  ?
 ? NPHI00021  ?  ?
 ? NPHI00026  ?  ?
 ? NPHI00028  ?  ?
#NPHJ*****
 ? NPHJ00046  ?  ?
 ? NPHJ00049  ?  ?
 ? NPHJ00066  ?  ?
#NPJI*****
 ? NPJI00018  ?  ?
 ? NPJI00027  ?  ? MediEvil (JP PS1 SEN)
 ? NPJI00031  ?  ?
 ? NPJI00032  ?  ?
 ? NPJI00052  ?  ? Arc the Lad: Monster Game with Casino Game (JP PS1 SEN)
#NPJJ*****
 ? NPJJ00068  ?  ?
 ? NPJJ00089  ?  ?
 ? NPJJ00105  ?  ?
#Others
EP4061-NPED00026_00-GSKYSCRAPE000ENG SLES55152 Skyscraper 2P Is a "PS2 Classic" note the TITLE_ID inside SFO is the original of the PS2 game and is different than the CONTENT_ID of the .pkg
EP1004-ULES00151_00-GPCGRANDTH000001 ULES00151 Grand Theft Auto: Liberty City Stories PP
AA0001-HOGE00000_00-PLAYGOGAMESAMPLE HOGE00000 PlayGo game sample HG PS4 test sample
UP0001-FSYN00001_00-0000111122223333 FSYN00001 FaceSync HG
XXYYYY-MCPD12345_00-XXXXXXXXXXXXXXXX MCPD12345 Motion Controller Playground Demo HG
UP9000-NPUO00007_00-AVAPS15ANVSYCOLR No No No Avatar 15 anyversary (doesnt have an .SFO)
UP9002-NPUO00008_00-NHLGAMECENTERPS3 NPUO00008 NHL GameCenter AV
UT0016-NPUO00013_00-SAMPLE0000000229 NPUO00013 Video Unlimited - preview AV
UP9002-NPUO00014_00-MOVEMESERVER0000 NPUO00014 Move.Me HG
UT0007-NPUP00030_00-NETFLIXRIGEL01NA NPUP00030 Netflix AV
No PBPX95208 DVD Player Version 2.10 No PS2 DVD Player Update 2.10
ps2emu refuses to load this CD
No PBXC0020[1-4] PSX-Update 1.10/1.20/1.31/2.11 No PSX Updates
ps2emu refuses to load this CD
No SLED01340 NET YAROZE COLLECTION No PS1 NET YAROZE demo disc
ps1emu + ps3 crashes
UP0001-TEST00000_00-0000111122223333 TEST00000 Debugging Station Launcher HG
 ? SCEAPPS01  ?  ? Related with "shop/kiosk" PS3 models (only visible in "unlocked mode" ?)
 ? SCEAPPS02  ?  ? Related with "shop/kiosk" PS3 models (only visible in "unlocked mode" ?)
 ? SCEAPPS03  ?  ? Related with "shop/kiosk" PS3 models (only visible in "unlocked mode" ?)
  • PlayView: PS3: NPJB60*** & NPJA60*** , for PSP: NPJH60***
  • NPEO12345 & NPUO12345 : Others items also as theme, digital manual.
  • PSP remaster: BLJM-8500*
  • Converted edition: BLJM-6100*? (use NP_COMMUNICATION_ID with DG)
  • FVGK-00** used only on PS3/PSP/PS2? game box but not on disc?(FVGK-0075 Muv-Luv Alternative Total Eclipse, FVGK-0077 Memories Off 6 Limited Edition (Complete), FVGK-0078 Memories Off Yubikiri Limited Edition)
  • ps2emu refuses to load CD's, that would crash, but ps1emu does this not
  • Music apps "Visualizer" by Q-Games: NPUB31187 (NPEB01864, NPJB00290, NPHB00518, NPHB00166)
  • NPMA & NPVA (M for TV series, V for video) : Homeland UV0010-NPMA40309_CN-0000000000179825
  • MRTC***** (disc based)
    • MRTC00001 STAR OCEAN THE LAST HOPE INTERNATIONAL
    • MRTC00002 LOST PLANET 2
    • MRTC00003 FINAL FANTASY XIII
    • MRTC00005 Sengoku BASARA Samurai Heroes
    • MRTC00011 Blood Drive-R
    • MRTC00014 MINDJACK
    • MRTC00016 Cabela's Dangerous Hunts 2011

[edit] CATEGORY (new content formats)

  • CATEGORY AS goes to playstation network column (since 4.46+?).
  • CATEGORY VF - (HDD content, NOT in game column) ---> unknown name, used as a valid category filter in the XML configuration file for XMB game column in path: dev_flash/vsh/resource/explore/xmb/category_game.xml in key="gameDir"
    • key="gameDir" is an XMB item that allows to order the contents by "rating" or "timeCreated" the command used contains a list of categories that are excluded using the operator "An" = An not equal (VF is at the end of the list excluded with An+Game:Game.category VF)
    • Similar than MN, 1P?
  • CATEGORY XI - Confirmed ---> System File for Extra Content Item (or eXtra Item in short form) Used on blu ray structure?

Indi games has a specific license, if XMB differences it it will be using ATTRIBUTE flags (similar identification than neogeo and pcengine because has a special license)

  • PlayStation Mobile Implemented around 4.21 firmware, asociated with a text string in explore_plugin_full\Text\English.xml (inside explore_plugin_full.rco). See [PS3 and PSVita Cross Functions]
<Text name="msg_applications_psm">Applications (PlayStation®Mobile)</Text>

[edit] ATTRIBUTE (flags brainstorming)

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)

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 system chat voice utility (xmb/friend/start new chat appear when PSN connected) (implemented directly on FW or game or as flag into param.sfo for short period?) e.g. of this function: PlayStation Home 1.4 after people reported chat voice disturbance(?) , LittleBigPlanet 2.

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?

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.

Unkown flag nº21 (not tested by myself btw, this is my understanding after decrypting ada hints :P --Sandungas (talk) 22:01, 4 February 2014 (EST))

  • Previously proposed to be named "XMB In-Game for Software"... but "About This Game Disabled" looks a more intuitive name (note some of the other flags in the third byte of ATTRIBUTE like "Game Purchase Enabled" and "License Logo Disabled" enables/disables an option in side menu). This 3 flags could be grouped together because "About This Game" is another option in side menu, are under the third byte, and there is another unknown flag at his side that could work in a similar way (changing options in side menu)
  • When activated, inside the game, and inside XMB In-Game, then trying to boot other content the warning text message is different (it mentions "software" and the variable %1 instead of "game"). In the next examples (copyed from a RCO) the first line is the normal error message and the second one is what appears with this flag enabled
<Text name="msg_need_quit_game_to_operate_ask">To perform this operation, you must quit the game. Do you want to quit the game now?</Text>
<Text name="msg_need_quit_to_operate_ask">To perform this operation, you must quit [%1]. Do you want to quit the software now?</Text>

ATTRIBUTE for other CATEGORY's

[edit] subcategories from X0 to X7

Subcategories

X category appear (listed on game_ext_plugin.prx) 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 Hex 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, error occurred during the start operation (80010006))

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

Bootable contents installed in game column: [triangle]>[group by]: (works with square too in any item of game column)

*from dev_flash/vsh/resource/explore/xmb/registory.xml
-format <------------- GameList:GameList.type %xCB_LIST_TYPE_GAME_FORMAT
-tag/album <--------- GameList:GameList.type %xCB_LIST_TYPE_GAME_TAGS
-all <---------------- long list of "conditionals" excluding CATEGORY's that doesnt belongs to XMB game column in the format: An+Game:Game.category **

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

  • Mini icon: PS3 icon Playstation 3
  • Mini icon: PSP Remaster icon PSP Remaster, on 3.55, Mini icon: not present (-) ,not accessible (with titles inside).
  • Mini icon: PSP Minis icon minis
  • mini icon: PSP iconPSP (Playstation portable): category PP
  • Mini icon: PS2 icon Playstation 2
  • mini icon: PS1 iconPlaystation
  • 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 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 sub-folder 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 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 not used yet?)

Group content order is similar on PSP for the available icons (PS3 folder being PSP and no "PS2"). See Talk:Eboot.PBP#Others:_PARAM.SFO_attribut_.28PSP.29

Other app with category not implemented yet on 3.55 FW such WT or unknown as VF on 4.21 can also just not "appear" on XMB and not being on the "Unknown" folder as Corrupted/Unsupported data. To access/delete from 3.55 XMB your PSP remaster folder s titles, group content it (not by format).

[edit] APP_VER, TARGET_APP_VER, PATCH_FILE, PS3_SYSTEM_VER, VERSION (Patches)

Lot of things to add here, maybe needs another page, but im not the best one to document how patches works



When a patch for a game (e.g: a disc game) is installed, the game boots from the "patch installation" folder, XMB loads from this folder his Content Information Files, a new PARAM.SFO, and a new EBOOT.BIN

After one of this installations PS3 loads both PARAM.SFO's (the "original.sfo" one from disc + the new from the "patch.sfo" folder)... some values are taken from the "original.sfo" (e.g: BOOTABLE, RESOLUTION, SOUND_FORMAT... are not present in patches)... and others are taken from the "patch.sfo" (e.g: APP_VER increases in every patch)

Patches uses a system of "overwrite flag/param_key" that makes the PS3 ignore the "original.sfo" value and use the value from the "patch.sfo"... this can be used in combination with the "standard flags" (one flag indicates the value must be taken from the patch... and the other flag enables the feature)



  • Million dollars questions in relationship with ATTRIBUTE:
    • Why ATTRIBUTE flags for patches (used to overwrite other ATTRIBUTE flags or param_key's) are placed at the third byte of ATTRIBUTE instead of first byte ?. Being an special group under CATEGORY GD they could be placed anywhere, all the other groups of flags are placed starting from top of the table represented in wiki (matching chronologicall usage/implementation of them), this is the only group of flags that doesnt starts with his first (or oldest) flag with a value of 00000000000000000000000000000001
      • Is because the first and second byte of ATTRIBUTE for patches (16 flags) was used before ? (so are reserved and never was used, or used but unknown, or used but only internally) ?
      • Is because the overwrite flags for patches needed to be placed in the third byte because every byte is managed by different process ? (third byte is marked in frontpage as "flags for game & software features").
      • Is posible every byte is managed in a different level ? (e.g: one for vsh, other for lv2, etc...)
      • Other theories ?... This is a good hint of how ATTRIBUTE flags are managed, wich part of the firmware is responsible of managing them, and if are managed as separated bytes
    • When a game is booted from a disc and there is a game patch installed for this game in internall hdd, there are 2 SFO's readed (one in the disc, and another in internall hdd)... some areas from the SFO in the disc are ignored and taken from the SFO in internall hdd
      • Who is the responsible of loading parts sellectivelly from each of them ?, is just by the presence of the same param_key's in the internall SFO ?. In this case the third byte of ATRIBUTE should be an exception of this rule because the ATTRIBUTE flags in the patch (overwrite flags) uses the third byte, but ATTRIBUTE flags in the disc in third byte are readed too because contains features that are not overwrited (as game purchase enabled, install packages, etc...)
      • XMB database stores a copy of all PARAM.SFO's. Is posible the 2 files (SFO from disc, and SFO from his patch) are merged before indexed in database ? (or some of his values, more specifically the resulting of applying the overwrite flags from the patch)
    • The process of adding or removing a flag from a previous value of ATTRIBUTE is simply a math operation with numberic values, some of the flags for patches overwrites ATTRIBUTE, but there is one that allows to overwrite Remote Play (an ATTRIBUTE flag) and RESOLUTION, SOUND_FORMAT (param_key's)... The overwriting of param_key's is a different process (not a math calculation) where the new value replaces the old value. What all them has in common is all overwrited data types (math calculations with ATTRIBUTE values or overwriting of RESOLUTION and SOUND_FORMAT) are "integer 4 bytes"
    • Why overwrite Remote Play (an ATTRIBUTE flag) and RESOLUTION, SOUND_FORMAT (param_key's) are grouped together ?... This is a bit weird

[edit] CONTENT_ID, NP_COMMUNICATION_ID, NPCOMMID (Network and purchase features)

Needs to be explained in another page

[edit] ACCOUNT_ID, PARAMS, PARAMS2, SAVEDATA_FILE_LIST, SAVEDATA_PARAMS, PADDING (security, integer special data type)

All this parameters uses the data type = 0400 (in the SFO) named "utf8 Special Mode" in the wiki page (not used in SFX so we dont have an accurate name, consequently this "special mode" is an invented name)... seems to have the particularity of returning a "right" or "wrong" when comparing the value, so it can be said that the difference between the simple "utf8" and "utf8 Special Mode" is only from the point of view of how the system manipulate this data. There is no real explain yet why this data is marked differently and who is the responsible of processing it.

  • 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

[edit] SAVEDATA_LIST_PARAM

Example of SAVEDATA_LIST_PARAM containing the "folder size in sectors" in the gamesaves generated by the game "The Orange Box: BLES00153, BLES00171, BLES00172, BLUS30055"

Game Selector Boot Process

When the disc boots, the EBOOT.BIN loads APP_CHOOSER.SELF, is a "game selector" and contains 5 games: half life 2, half life 2ep1, half life 2ep2, Portal, and Team fortress 2

Each of this games has his own .SELF and his own SAVECONTENTPS3 folder (each game uses different Content Information Files when generating his savedata). There is another savedata folder generated/loaded by the selector that is common. In some games (e.g: portal 1) there are several savedata folders to store: the "game settings", "autosave", and "manual save"

All the PARAM.SFO's generated in this savedata folders contains SAVEDATA_LIST_PARAM with a param_len of 7 bytes, and his values are strings of 6 numbers + a zero (NULL terminated)

The value stored by this game in SAVEDATA_LIST_PARAM is the "size of the folder on disk". This size is dependant of the filesystem (512 bytes cluster size in UFS2), and how many clusters are taken as the "minimun chunk" (that seems to be 2 clusters)

Because the writing process standards (and from the point of view of available clusters for the next writing operation) when a single byte is used in a cluster, this whole cluster is considered "not available for next writing process of a new file". This means e.g: that a file with a size 513 bytes uses 2 complete clusters (512 bytes in the first cluster and 1 byte in the second cluster, both clusters are reserved for this file)

To calculate the number of clusters used by a folder... is needed to calculate the number of clusters used by each file inside the folder, this includes the files that uses a number of clusters that is not even and needs to be "rounded-up". e.g: a file with size 1 byte (that is supposed to fit in 1 cluster) uses 2 clusters because the number "1" is not even. In few words, the number of clusters used by a file needs to be "rounded-up to next even number"

  • This save game is a good example because always contains the same values in SAVEDATA_LIST_PARAM (the second one from euro region): BLES00153-PORCONF-0 [Link 1] [Link 2]
File name real file size (in bytes) theorical disk size (in clusters) cluster round-up to even number real disk size (in bytes)
ICON0.PNG 12.461 12461/512=24,3... = 25 25+1= 26 26*512= 13.312
PARAM.PFD 32.768 32768/512= 64 64*512= 32.768
PARAM.SFO 2.736 2736/512=5,3... = 6 6*512= 3.072
PIC1.PNG 89.268 89268/512=174,3... = 175 175+1= 176 176*512= 90.112
POR-0.CFG 893 893/512=1,7... = 2 2*512= 1.024
POR-0.CHK 16 16/512=0,03... = 1 1+1= 2 2*512= 1.024
Folder contents total
138.142 273 clusters 276 clusters 141312 (SAVEDATA_LIST_PARAM)
  • The process is:
    • 1.- Divide by the cluster size
    • 2.- Round-up cluster number (if needed)
    • 3.- Multiply by the same cluster size (to know the amount of bytes reserved for this clusters)

This can be simplifyed by using 1024 (2 clusters)... because this way there is no need of step 2 (the "round-up")... but i have no idea if naming this "chunk" of 2 clusters a "page"... or why UFS2 filesystem takes them 2 by 2... i prefer to left this example as is, feel free to correct me

Also, there is a simple "trick" that can be used to display the files divided in clusters of the size you want (maybe are others but this is the faster way i found). By formatting a usb pendrive in advanced mode, using the cluster size your need, then moving the folder there (by using FAT32 with 1024 bytes cluster the value reported by your operative system is the same one stored inside SAVE_DATA_LIST)

  • PARAM.PFD relationship ?


[edit] Other parameters not used in PS3 (only used in other sony consoles)

The only purpose of this table is to keep a record of them to not confuse with the ones used in PS3

Parameter Console Notes
PSP PSV PS4
ATTRIBUTE2 Yes
CONTENT_URL URL of content (not parameter but related to link.xml?)
DISC_ID Yes
DISC_NUMBER Yes
DISC_TOTAL Yes
DISC_VERSION Yes
DRIVER_PATH Yes
GAMEDATA_ID Yes Used in some PSP UMD games, found in game_ext_plugin.sprx
HRKGMP_VER Yes
REGION Yes
USE_USB Yes
GC_RO_SIZE Yes GameCache ReadOnly Size ?
GC_RW_SIZE Yes GameCache ReadWrite Size ?
INSTALL_DIR_ADDCONT Yes Shared Additional Content, utf-8, maximum len: 12
INSTALL_DIR_SAVEDATA Yes Shared Save Data, utf-8, maximum len: 12
PSP2_DISP_VER Yes utf-8, maximum len: 8, example: "00.000"
PSP2_SYSTEM_VER Yes int32
SAVEDATA_MAX_SIZE Yes int32
SUB_TITLE_ID
STITLE Yes App Short Title, utf-8, len:52
_PARAM.SFO  ? found in game_ext_plugin.sprx (anti exploit/bug prevention ?)
__PARAM.SFO  ? found in game_ext_plugin.sprx (anti exploit/bug prevention ?)
/PARAM.SFO  ? found in game_ext_plugin.sprx (anti exploit/bug prevention ?)
FOLDER_NAME found in game_ext_plugin.sprx
FOLDER_NAME_00 found in game_ext_plugin.sprx

[edit] DISC contents temporal installations (in dev_hdd0/tmp)

/dev_hdd0/tmp/disc_install/

[edit] Reserved Folder Names used in HDD or disc contents

[edit] L00 up to L05 (License Area subfolders with restricted .SFO's)

  • From dev_bdvd: ?
/dev_bdvd/PS3_GAME/L00/PARAM.SFO (up to L05)
/dev_bdvd/PS3_GAME/C00/L00/PARAM.SFO (up to L05)
  • From dev_hdd0:
/dev_hdd0/game/ABCD12345/Lxx/PARAM.SFO
/dev_hdd0/game/ABCD12345/C01/Lxx/PARAM.SFO ---only working if region setting is L03 country (only other tested: L00 not working)

Speculation: Path used to restrict/use different License in the same region (L03?).

You can quickly check your region area with this sub folder (and inserting content file informations such ICON0). L** path can avoid error some code related to param.sfo/disc.sfo.

Folder name License Area Regions
L00 SCEJ Japan
L01 SCEA US (L01), Canada (North America), Mexico (L01), Central America, South America
L02 SCEE Europe/Middle East/Africa, U.K./Ireland, Australia/New Zealand (Oceania: L02), Russia, Ukraine, India, Central Asia ,
L03 SCEH Singapore/Malaysia (Southeast Asia)?, Taiwan (L03), Hong Kong (L03)
L04 SCEK Korea (South Korea)
L05 SCH China

(Unlinked Note: Button Behavior: for L05 is also O , Oceania is X. Path Pioneer with significant idea about it: Deroad)

You can load different Lxx folder by using Debug Menu Setting Region but be alert about your TV setting display video (NTSC/PAL).

Here is a collection of folders (from L00 to L10) with icons displaying the different numbers, this way is easy to know which one is used by XMB, to make the test just copy the folders next to USRDIR folder inside the installation folder of any app: region subfolders tests.zip (430.22KB) http://www.sendspace.com/file/ikvult

See also: "license area" restrictions used in combination with "parental level" http://www.ps3devwiki.com/wiki/Talk:PARAM.SFO#Lxx:_License_Area

[edit] EX_GAME and EX_VIDEO

  • Theory 2:
    • EX_GAME & EX_VIDEO requires SFO Category 'XR' and are emerged into PS3_EXTRA! (EX_GAME/EX_VIDEO are actually leftovers?)

[edit] SHOPINSTALL

  • A video recorded in a "demo/shop PS3" in a walmart after using the "unlock code" https://www.youtube.com/watch?v=FsfG1be_3K0
  • Related to XMB -> System Settings -> Backup Utility (Restore?); Maybe needs XMB unlocked.

[edit] To Do

  • Parameters requirements table has lot of "yes" that should be "opt" (optional). The "yes" means the value is mandatory, so the table is not fully correct.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--Sandungas (talk) 12:25, 29 January 2014 (EST)
  • Bluray Games structure table needed to decide if using the new table format that is extremilly complicated internally (very hard to add cells, and even to edit them, it will be a pain to mantain) but very usefull, or the old "folder tree text format" that is ugly and doesnt allows to add all the info needed to represent the structure... I cant decide, i dont like them so i would like to find a new way... maybe nesting tables... maybe with a wiki plugin that doesnt exist ? dunno by now --Sandungas (talk) 12:25, 29 January 2014 (EST)
  • HDD Games structure table Find a way to make a table similar than bluray disc structure contents, but for pkg file/folders contents. This needs the same format than bluray structure and will solve the problem of finding a place to list all the reserved fodler names that doesnt belongs to discs
  • The internal structure example for SFO needs to be replaced by a new one with at least 2 parameters, this will make more obvious how are meassured the relative offsets displacements
  • Is needed an explain of how the file is loaded in stages by the system, how is indexed, and the method to access single areas to update single values, the rebuilding process, etc... this is complex and i ignore (but i imagine) how is made by the PS3, but the source codes i saw that manages SFO files uses different methods and styles (and probably some others i ignore), by now im not skilled enought to discuss this in the page but an open talk about all this could be interesting --Sandungas (talk) 23:41, 15 February 2014 (EST)
  • Overall page cleanup of obsolete or wrong info, grammar corrections, etc...

[edit] Suggestions

  • Link each ID to a subpage, so they can be centrally managed (some are also listed here: ID's and labels
    • The affected sections in front page are: CONTENT_ID, NP_COMMUNICATION_ID, NPCOMMID, and TITLE_ID, explaining them in the .SFO page (as i did initially) doesnt looks the best solution, but is needed at least a short description of each, now there are specific pages for them (without much descriptions) and the decission of separating all the IDs in pages makes hard to have a overall view of them... the best solution i see is to use the ID's and labels converted to a template an use it repeatedly in SFO page, but the names are not the same used in SFO, also this doesnt solves the short description needed in SFO page (that should be duplicated, and expanded in his specific pages)--Sandungas (talk) 12:25, 29 January 2014 (EST)


TitleIDs in LV1 RAM