mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-23 10:35:03 +00:00
Updated PKG Information (markdown)
parent
e61dde9de3
commit
01e9cc5dd8
@ -80,10 +80,46 @@ The file table is a list of file entries. File entries start from **pkg_table_en
|
||||
|
||||
| Field | Type | Size | Offset | Description
|
||||
| -------------- | -----|----- |----- |------------|
|
||||
| id | U32 | 4 | 0x000 | File ID, useful for files without a filename entry
|
||||
| id | U32 | 4 | 0x000 | File ID, useful for files without a filename entry * Check ID to filename table below
|
||||
| filename_offset | U32 | 4 | 0x004 | Offset into the filenames table (ID 0x200) where this file's name is located
|
||||
| flags1 | U32 | 4 | 0x008 | Flags including encrypted flag, etc
|
||||
| flags2 | U32 | 4 | 0x00C | Flags including encryption key index, etc
|
||||
| offset | U32 | 4 | 0x010 | Offset into PKG to find the file
|
||||
| size | U32 | 4 | 0x014 | Size of the file
|
||||
| padding | U64 | 8 | 0x018 | blank padding
|
||||
| padding | U64 | 8 | 0x018 | blank padding
|
||||
|
||||
## ID to Filename Table
|
||||
|
||||
This table matches the id of File Table with filename
|
||||
|
||||
| Id | Filename | Extra info
|
||||
| ------ | -------------------------- |------------
|
||||
| 0x0001 | digests |
|
||||
| 0x0010 | entry_keys |
|
||||
| 0x0020 | image_key |
|
||||
| 0x0080 | general_digests |
|
||||
| 0x0100 | metas |
|
||||
| 0x0200 | entry_names |
|
||||
| 0x0400 | license.dat |
|
||||
| 0x0401 | license.info |
|
||||
| 0x0402 | nptitle.dat |
|
||||
| 0x0403 | npbind.dat |
|
||||
| 0x0409 | psreserved.dat |
|
||||
| 0x1000 | param.sfo |
|
||||
| 0x1001 | playgo-chunk.dat |
|
||||
| 0x1002 | playgo-chunk.sha |
|
||||
| 0x1003 | playgo-manifest.xml |
|
||||
| 0x1004 | pronunciation.xml |
|
||||
| 0x1005 | pronunciation.sig |
|
||||
| 0x1006 | pic1.png |
|
||||
| 0x1007 | pubtoolinfo.dat |
|
||||
| 0x100B | shareparam.json |
|
||||
| 0x100C | shareoverlayimage.png |
|
||||
| 0x100E | shareprivacyguardimage.png |
|
||||
| 0x1200 | icon0.png |
|
||||
| 0x1220 | pic0.png |
|
||||
| 0x1240 | snd0.at9 |
|
||||
| 0x1280 | icon0.dds |
|
||||
| 0x12A0 | pic0.dds |
|
||||
| 0x12C0 | pic1.dds |
|
||||
| 0x1400 | trophy/trophy00.trp |
|
Loading…
Reference in New Issue
Block a user