Editing Files.db
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 1: | Line 1: | ||
[[Category:Software]]<noinclude>[[Category:Main]]</noinclude> | [[Category:Software]]<noinclude>[[Category:Main]]</noinclude> | ||
*Path: / | *Path: pd0:app/NPXS10007/sce_pfs/files.db | ||
*Size: | *Size: 30KB | ||
== files.db structure == | == files.db structure == | ||
Line 24: | Line 24: | ||
0x10 bytes wide, structure is uncertain. | 0x10 bytes wide, structure is uncertain. | ||
<pre> | <pre>typedef struct { | ||
typedef struct { | |||
u32 id; | u32 id; | ||
u32 type; | u32 type; | ||
u32 nfiles; | u32 nfiles; | ||
u32 unk1; | u32 unk1; | ||
} | } bhead;</pre> | ||
</pre> | |||
'''id''' : | '''id''' : | ||
Line 88: | Line 85: | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
! File/Dir | !File/Dir | ||
!idx (fname) | |||
!idx (finfo) | |||
!Path | |||
|- | |- | ||
| lol.png | |lol.png | ||
|2 | |||
|3 | |||
|/images/abcd/lol.png | |||
|- | |- | ||
| abcd/ | |abcd/ | ||
|1 | |||
|2 | |||
|/images/abcd/ | |||
|- | |- | ||
| images/ | |images/ | ||
|0 | |||
|1 | |||
|/images/ | |||
|- | |- | ||
| eboot.bin | |eboot.bin | ||
|0 | |||
|4 | |||
|/eboot.bin | |||
|} | |} | ||
'''type''' : | '''type''' : | ||
* | * 0x01 = normal file | ||
* 0x8000 = | * 0x8000 = directory | ||
* 0x4006 = | * 0x4006 = unencrypted system file | ||
* | * 0x06 = encrypted system file | ||
'''unk1''' : | '''unk1''' : |