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 89: | Line 89: | ||
! Areas !! Offset !! Size !! Name !! Example !! Notes | ! Areas !! Offset !! Size !! Name !! Example !! Notes | ||
|- | |- | ||
! rowspan="5" | header | ! rowspan="5" {{cellcolors|#ff6666}} header | ||
| 0x00 || 0x04 || '''magic''' || PSF || | | 0x00 || 0x04 || '''magic''' || PSF || | ||
|- | |- | ||
Line 100: | Line 100: | ||
| 0x10 || 0x04 || '''tables_entries''' || 01 00 00 00 || Number of entries in <span style="background:#66ff66;">'''index_table'''</span>, <span style="background:#bbbbff;">'''key_table'''</span>, and <span style="background:#ffff66;">'''data_table'''</span> = 1 | | 0x10 || 0x04 || '''tables_entries''' || 01 00 00 00 || Number of entries in <span style="background:#66ff66;">'''index_table'''</span>, <span style="background:#bbbbff;">'''key_table'''</span>, and <span style="background:#ffff66;">'''data_table'''</span> = 1 | ||
|- | |- | ||
! rowspan="5" | index_table | ! rowspan="5" {{cellcolors|#66ff66}} index_table | ||
| 0x14 || 0x02 || '''key_1_offset''' || 00 00 || '''key_1''' relative offset. (Absolute start offset of '''key_1''') - (Absolute start offset of <span style="background:#bbbbff;">'''key_table'''</span>) = 0x24-0x24 = 0 | | 0x14 || 0x02 || '''key_1_offset''' || 00 00 || '''key_1''' relative offset. (Absolute start offset of '''key_1''') - (Absolute start offset of <span style="background:#bbbbff;">'''key_table'''</span>) = 0x24-0x24 = 0 | ||
|- | |- | ||
Line 111: | Line 111: | ||
| 0x20 || 0x04 || '''data_1_offset''' || 00 00 00 00 || '''data_1''' relative offset. (Absolute start offset of '''data_1''') - (Absolute start offset of <span style="background:#ffff66;">'''data_table'''</span>) = 0x30-0x30 = 0 | | 0x20 || 0x04 || '''data_1_offset''' || 00 00 00 00 || '''data_1''' relative offset. (Absolute start offset of '''data_1''') - (Absolute start offset of <span style="background:#ffff66;">'''data_table'''</span>) = 0x30-0x30 = 0 | ||
|- | |- | ||
! key_table | ! {{cellcolors|#bbbbff}} key_table | ||
| 0x24 || 0x09 || '''key_1''' || TITLE_ID || Relative offset defined in the <span style="background:#66ff66;">'''index_table'''</span> | | 0x24 || 0x09 || '''key_1''' || TITLE_ID || Relative offset defined in the <span style="background:#66ff66;">'''index_table'''</span> | ||
|-{{cellcolors|lightgrey}} | |-{{cellcolors|lightgrey}} | ||
| | | || 0x2D || 0x03 || ''padding'' || 00 00 00 || 9 bytes used by the previous entries + 3 padding = 12 (aligned to 4 bytes) | ||
|- | |- | ||
! data_table | ! {{cellcolors|#ffff66}} data_table | ||
| 0x30 || 0x0F || '''data_1''' || BLUS12345 || Data type, used length, total length, and relative offset defined in the <span style="background:#66ff66;">'''index_table'''</span> | | 0x30 || 0x0F || '''data_1''' || BLUS12345 || Data type, used length, total length, and relative offset defined in the <span style="background:#66ff66;">'''index_table'''</span> | ||
|} | |} |