Talk:PARAM.SFO: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (Attempt to create compatiblity list with XMB Background Music feature)
(finally, the unavoidable erasing, all the obsolete info moved from "main" to "talk" page months ago has been updated in "main" page... now "talk" page can be used to take notes)
Line 57: Line 57:
*Reasons (speculation):
*Reasons (speculation):
Conflict with others system utility (E.G.:chat voice), music files or eboot compiled with old SDK or others restrictions (?)
Conflict with others system utility (E.G.:chat voice), music files or eboot compiled with old SDK or others restrictions (?)
----
----
----
'''Obsolete contents moved here from the "front" page, this needs to be moved to the "front" page, or erased in the case of duplicated info'''
----
----
----
==SaveData Example==
This is an structure in C of the table for a SaveData
<pre>
unsigned char Variable_Name_table[Number_of_variables+1]={
"ACCOUNT_ID\0x00",
"ATTRIBUTE\0x00",
"CATEGORY\0x00",
"DETAIL0\x00",
  "PARAMS\0x00",
"PARAMS2\0x00",
"PARENTAL_LEVEL\0x00",
"SAVEDATA_DIRECTORY\0x00",
"SAVEDATA_LIST_PARAM\0x00",
"SUB_TITLE\0x00",
"TITLE\0x00",
"\0x00\0x00"
};
</pre>
<pre>
unsigned char Account_ID[16]; account_id
unsigned long Attribute; attribute
unsigned char Category[4]="SD",0x00,0x00 category
unsigned char Detail[1024]; detail
000558 01 05 01 03 03 00 00 00 00 00 00 00 00 00 00 00 / params
000568 08 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00
000578 992 x 0x00
unsigned char Params2[12]; params2
unsigned long Parental_level; parental_level
unsigned char SaveData_directory[64]; savedata_directory
0009a8 37 33 37 00 00 00 00 00 savedata_list_param
unsigned char Sub_Title[128]; sub title
unsigned char Title[128]; title
} param_sfo;
</pre>
----
== PSL1GHT PARAM.SFO  ==
See :
* https://github.com/ps3dev/PSL1GHT/blob/master/tools/ps3py/sfo.py (old way)
* https://github.com/an0nym0u5/PSL1GHT/tree/master/tools/make_sfo (new/better way)
* [http://www.multiupload.com/T9V8WMXR60 read_sfo.tar.bz2 (6.32 KB)]
<pre>
$ ./read_sfo PARAM1.SFO
read_sfo v0.01
-[HEADER]---------------
SFO Version: 101
Entries: 12
-[PARAMETERS]-----------
APP_VER: 01.00
ATTRIBUTE: 0
BOOTABLE: 1
CATEGORY: HG
LICENSE: This application was created with the official non-official SDK called psl1ght, for more information visit http://www.psl1ght.com/ . This is in no way associated with Sony Computer Entertainment Inc., please do not contact them for help, they will not be able to provide it.
PARENTAL_LEVEL: 0
PS3_SYSTEM_VER: 01.8000
RESOLUTION: 3f
SOUND_FORMAT: 117
TITLE: PSL1GHT SFO
TITLE_ID: TEST00001
VERSION: 01.00
</pre>
=== HEADER ===
==== SFO Version ====
  SFO Version: 101
==== Entries ====
Number of entries for PARAMETERS
  Entries: 12
=== PARAMETERS ===
==== APP_VER ====
This is the version of the Homebrew, that will be displayed on the PS3
<pre>  <value name="APP_VER" type="string">
  00.50
  </value>
</pre>
==== ATTRIBUTE ====
This value enable special functions of the Homebrew (Enable Move Controller, etc..)
<pre>  <value name="ATTRIBUTE" type="integer">
  0
  </value>
</pre>
==== BOOTABLE ====
If this pkg is bootable or not. (1 to enable, 0 to disable)
useful when you are going to make a data pkg.
<pre>  <value name="BOOTABLE" type="integer">
  1
  </value>
</pre>
==== CATEGORY ====
This is the category where you will see your homebrew.
<pre>  <value name="CATEGORY" type="string">
  HG
  </value>
</pre>
these are the categories available on a Official Firmware:
* HM : Playstation Network
* GD : Game patch of disc game
* CB : Network
* HG : Harddrive Game include sub category as Game patch of HDD Game or Special Application as syteme files for HDD game X0, X4
* DG : Disc Game (blueray)
* AV : Video
* AM : Music
* AP : Photo
* AT : TV
* MN : Minis Network
* IP : Install Package
* DP : Disc Package
* TR : Theme DIR
* VR : Video DIR
* VI : Video
==== LICENSE ====
PSL1GHT Licence ( DO NOT REMOVE IT and DON'T CHANGE IT)
LICENSE has a fixed block size of 128 bytes
<pre>  <value name="LICENSE" type="string">
  This application was created with the official non-official SDK called PSL1GHT, for more information visit http://www.psl1ght.com/ . This is in no way associated with Sony Computer Entertainment Inc., please do not contact them for help, they will not be able to provide it.
  </value>
</pre>
==== PARENTAL_LEVEL ====
Parental level, ( 0 for everyone )
<pre>  <value name="PARENTAL_LEVEL" type="integer">
  0
  </value>
</pre>
==== PS3_SYSTEM_VER ====
Minimum PS3 System version to be bootable this homebrew
<pre>  <value name="PS3_SYSTEM_VER" type="string">
  01.5000
  </value>
</pre>
==== RESOLUTION ====
TV Resolution (Unknown )
<pre>  <value name="RESOLUTION" type="integer">
  63
  </value>
</pre>
==== SOUND_FORMAT ====
Type of sound
<pre>  <value name="SOUND_FORMAT" type="integer">
  279
  </value>
</pre>
==== TITLE ====
Title of the homebrew
<pre>  <value name="TITLE" type="string">
  Title of this Homebrew
  </value>
</pre>
==== TITLE_ID ====
ID of the homebrew (this id must be the same id inside the Makefile)
<pre>  <value name="TITLE_ID" type="string">
  XXYYYYYY
  </value>
</pre>
==== VERSION ====
Homebrew Version
<pre>  <value name="VERSION" type="string">
  00.50
  </value>
</pre>
(source deroad: http://ps3tutorials.wikispaces.com/Edit+the+sfo.xml+Tutorial)
----
== PS3SYS PARAM.SFO ==
<pre>
$ ./read_sfo PARAM2.SFO
read_sfo v0.01
-[HEADER]---------------
SFO Version: 101
Entries: 20
-[PARAMETERS]-----------
APP_VER: 01.00
ATTRIBUTE: 880727
BOOTABLE: 1
CATEGORY: HG
LICENSE: Library programs ©Sony Computer Entertainment Inc. Licensed for play on the PLAYSTATION®3 Computer Entertainment System or authorized PLAYSTATION®3 format systems. For full terms and conditions see the user's manual. This product is authorized and produced under license from Sony Computer Entertainment Inc. Use is subject to the copyright laws and the terms and conditions of the user's license.
PARENTAL_LEVEL: 0
PARENTAL_LEVEL_A: ffffffff
PARENTAL_LEVEL_C: ffffffff
PARENTAL_LEVEL_E: ffffffff
PARENTAL_LEVEL_H: ffffffff
PARENTAL_LEVEL_J: ffffffff
PARENTAL_LEVEL_K: ffffffff
PS3_SYSTEM_VER: 00.93
REGION_DENY: fffff001
RESOLUTION: 1
SOUND_FORMAT: 1
TITLE: PS3SYS SFO
TITLE_ID: TEST00002
VERSION: 01.00
</pre>
=== HEADER ===
==== SFO Version ====
  SFO Version: 101
==== Entries ====
Number of entries for PARAMETERS
<pre>
  Entries: 20
</pre>
=== PARAMETERS ===
==== APP_VER ====
This is the version of the Homebrew, that will be displayed on the PS3
String (UTF-8)
max length 8
<pre>  <value name="APP_VER" type="string">
  01.00
  </value>
</pre>
==== ATTRIBUTE ====
This value enable special functions of the Homebrew (Enable Move Controller, Enable PSP remoteplay etc..)
Integer
max length 4
<pre>  <value name="ATTRIBUTE" type="integer">
  880727
  </value>
</pre>
===== Enable PSP remoteplay =====
* MPEG-4 SP/ATRAC=0x1
* MPEG-4 AVC/AAC=0x4
===== Enable BGM =====
* Enable ingame XMB BGM=0x20
===== Enable Move Controller =====
* Support Playstation Move=0x800000
* Enable Move controller warning=0x100
* Enable Navigation controller warning=0x200
* Enable Playstation Eye warning=0x400
* Enable Calibration warning=0x800
===== Enable 3D Warning =====
* Enable 3D warning screen=0x1000
==== BOOTABLE ====
If this pkg is bootable or not. (1 to enable, 0 to disable)
useful when you are going to make a data pkg.
Integer
max length 4
<pre>  <value name="BOOTABLE" type="integer">
  1
  </value>
</pre>
==== CATEGORY ====
This is the category where you will see your homebrew.
String(UTF-8)
max length 4
<pre>  <value name="CATEGORY" type="string">
  HG
  </value>
</pre>
these are the categories available on a Official Firmware:
* HM : Playstation Network
* CB : Network
* HG : Harddrive Game
* DG : Disc Game (blueray)
* AV : Video
* AM : Music
* AP : Photo
* AT : TV
* MN : Minis Network
As Additional Items:
* AR : Patches
* IP : Install Packages
* VI : Video
* TR : Theme
* XR : Extra Contents
==== CONTENT_ID ====
ContentID for Gamepurchase
String(UTF-8)
max length 48
==== LICENSE ====
PSL1GHT Licence ( DO NOT REMOVE IT and DON'T CHANGE IT)
LICENSE has a fixed block size of 128 bytes
String(UTF-8)
max length 512
<pre>  <value name="LICENSE" type="string">
  Library programs ©Sony Computer Entertainment Inc. Licensed for play on the PLAYSTATION®3 Computer Entertainment System or authorized PLAYSTATION®3 format systems. For full terms and conditions see the user's manual. This product is authorized and produced under license from Sony Computer Entertainment Inc. Use is subject to the copyright laws and the terms and conditions of the user's license.
  </value>
</pre>
==== NP_COMMUNICATION_ID ====
Comm ID for Bootable message
String(UTF-8)
max length 16
==== PARENTAL_LEVEL ====
Integer
max length 4
Parental level, (0-11 ; 0 for everyone )
<pre>  <value name="PARENTAL_LEVEL" type="integer">
  0
  </value>
</pre>
===== PARENTAL_LEVEL_A =====
Parental level, SCEA
Integer
max length 4
<pre>  <value name="PARENTAL_LEVEL_A" type="integer">
  ffffffff
  </value>
</pre>
===== PARENTAL_LEVEL_C =====
Parental level, SCH
Integer
max length 4
<pre>  <value name="PARENTAL_LEVEL_C" type="integer">
  ffffffff
  </value>
</pre>
===== PARENTAL_LEVEL_E =====
Parental level, SCEE
Integer
max length 4
<pre>  <value name="PARENTAL_LEVEL_E" type="integer">
  ffffffff
  </value>
</pre>
===== PARENTAL_LEVEL_H =====
Parental level, SCEH
Integer
max length 4
<pre>  <value name="PARENTAL_LEVEL_H" type="integer">
  ffffffff
  </value>
</pre>
===== PARENTAL_LEVEL_J =====
Parental level, SCEJ
Integer
max length 4
<pre>  <value name="PARENTAL_LEVEL_J" type="integer">
  ffffffff
  </value>
</pre>
===== PARENTAL_LEVEL_K =====
Parental level, SCEK
Integer
max length 4
<pre>  <value name="PARENTAL_LEVEL_K" type="integer">
  ffffffff
  </value>
</pre>
==== PS3_SYSTEM_VER ====
Minimum PS3 System version to be bootable this homebrew
String(UTF-8)
max length 8
<pre>  <value name="PS3_SYSTEM_VER" type="string">
  00.93
  </value>
</pre>
==== REGION_DENY ====
Region restrictions (only possible with 3.30 and higher)
Integer
max length 4
<pre>  <value name="REGION_DENY" type="integer">
  fffff001
  </value>
</pre>
==== RESOLUTION ====
TV Resolution (576(16x9)=0x20, 480(16:9)=0x10, 1080=0x8, 720=0x4, , 576=0x2, 480=0x1)
Integer
max length 4
<pre>  <value name="RESOLUTION" type="integer">
  1
  </value>
</pre>
==== SOUND_FORMAT ====
Type of sound (DTS Digital Surround=0x202, Dolby Digital=0x102, 7.1LPCM=0x10, 5.1LPCM=0x4, 2LPCM=0x1)
Integer
max length 4
<pre>  <value name="SOUND_FORMAT" type="integer">
  1
  </value>
</pre>
==== TITLE ====
Title of the homebrew
String(UTF-8)
max length 128
<pre>  <value name="TITLE" type="string">
  Title of this Homebrew
  </value>
</pre>
===== TITLE_00 =====
Localised title - Japanese
String(UTF-8)
max length 128
===== TITLE_01 =====
Localised title - English
String(UTF-8)
max length 128
===== TITLE_02 =====
Localised title - French
String(UTF-8)
max length 128
===== TITLE_03 =====
Localised title - Spanish
String(UTF-8)
max length 128
===== TITLE_04 =====
Localised title - German
String(UTF-8)
max length 128
===== TITLE_05 =====
Localised title - Italian
String(UTF-8)
max length 128
===== TITLE_06 =====
Localised title - Dutch
String(UTF-8)
max length 128
===== TITLE_07 =====
Localised title - Portuguese
String(UTF-8)
max length 128
===== TITLE_08 =====
Localised title - Russian
String(UTF-8)
max length 128
===== TITLE_09 =====
Localised title - Korean
String(UTF-8)
max length 128
===== TITLE_10 =====
Localised title - Trad.Chinese
String(UTF-8)
max length 128
===== TITLE_11 =====
Localised title - Simp.Chinese
String(UTF-8)
max length 128
===== TITLE_12 =====
Localised title - Finnish
String(UTF-8)
max length 128
===== TITLE_13 =====
Localised title - Swedish
String(UTF-8)
max length 128
===== TITLE_14 =====
Localised title - Danish
String(UTF-8)
max length 128
===== TITLE_15 =====
Localised title - Norwegian
String(UTF-8)
max length 128
===== TITLE_16 =====
Localised title - Polish
String(UTF-8)
max length 128
==== TITLE_ID ====
[[TITLE ID]] of the homebrew (this id must be the same id inside the Makefile)
String(UTF-8)
max length 16
<pre>  <value name="TITLE_ID" type="string">
  XXYYYYYY
  </value>
</pre>
==== VERSION ====
Homebrew Version
String(UTF-8)
max length 8
<pre>  <value name="VERSION" type="string">
  01.00
  </value>
</pre>

Revision as of 19:31, 20 August 2012

Warning
Alot that is currently on this talk page is duplicate from data that is already copied to mainpage - it needs some cleanup so this page can be used as talk, discussion etc










Notes, worlklog, speculation



  • Suggest :

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.

  • Suggest :

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?

  • 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>


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


See PARAM.SFO#Replacing_a_PARAM.SFO_manually

  • Limitations:

After editing the SFO, you should not have anymore the XMB message saying this application can not work at the same time but instead, music will start in a while ( please insert exact xmb message). However, the feature might not work correctly (for easy display, 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 (?)