PARAM.SFO

From PS3 Developer wiki
Revision as of 21:24, 18 July 2011 by Euss (talk | contribs) (Created page with "Category:Software ==Param.sfo== Location: <br /> Usage: <br /> ===PARAM.SFO internal structure=== <pre> typdef structure PARAM_SFO { U32 Signature_bytes=(0x00,PSF) U32 F...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Param.sfo

Location:
Usage:


PARAM.SFO internal structure

 typdef structure PARAM_SFO {
 U32 Signature_bytes=(0x00,PSF)
 U32 File_Version (1.1);
 U32 Start_of_Variable_Name_Table
 U32 Start_of_Variable_Data_Table;
 U32 Number_of_Variables;

Internal data definition table

 typedef struct Internal_Data_Structure_Definition {
 U16 Zero_based_offset_from_Start_of_Variable_Name_Table;
 U16 Unknow_YET; maybe type of data?????
 U32 Total_Used_Bytes_of_Current_Data_Block;
 U32 Total_Size_In_Bytes_of_Current_Data_Block;
 U32 Zero_based_offset_from_Start_of_Variable_Data_Table;
 } IDSD[Number_of_Variables];

Variable name table

 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"
 };

Variable tables data section

 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;



Source: http://ps3dev.wikispaces.com/PARAM.SFO