Talk:PKG files
Jump to navigation
Jump to search
pkg_type
pkg_type 0x4 u32 The package type is 1 for PS3 pkg and 2 for PSP/Vita packages. the flag 0x80000000 is used for retail.
Examples
PS3
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 00000000 7F 50 4B 47 80 00 00 01 00 00 00 C0 00 00 00 05 .PKG€......À.... 00000010 00 00 00 80 00 00 00 05 00 00 00 00 00 67 AE 80 ...€.........g®€ 00000020 00 00 00 00 00 00 01 40 00 00 00 00 00 67 AC E0 [email protected]¬à 00000030 49 50 39 31 30 30 2D 4E 50 49 41 30 30 30 30 31 IP9100-NPIA00001 00000040 5F 30 30 2D 50 53 32 48 44 44 53 59 53 44 41 54 _00-PS2HDDSYSDAT 00000050 30 30 30 31 00 00 00 00 00 00 00 00 00 00 00 00 0001............
Life With Playstation (Retail):
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 00000000 7F 50 4B 47 80 00 00 01 00 00 00 C0 00 00 00 07 .PKG€......À.... 00000010 00 00 00 A0 00 00 02 7F 00 00 00 00 07 CE D7 C0 ... .........Î×À 00000020 00 00 00 00 00 00 01 60 00 00 00 00 07 CE D6 00 .......`.....ÎÖ. 00000030 49 50 39 31 30 30 2D 4E 50 49 41 30 30 30 30 32 IP9100-NPIA00002 00000040 5F 30 30 2D 30 30 30 30 31 31 31 31 32 32 32 32 _00-000011112222 00000050 33 33 33 33 00 00 00 00 00 00 00 00 00 00 00 00 3333............
PSVita
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 00000000 7F 50 4B 47 80 00 00 02 00 00 02 80 00 00 00 0D .PKG€......€.... 00000010 00 00 02 10 00 00 00 10 00 00 00 00 04 BA 76 70 .............ºvp 00000020 00 00 00 00 00 00 10 D0 00 00 00 00 04 BA 63 C0 .......Ð.....ºcÀ 00000030 4A 50 30 37 30 30 2D 50 43 53 47 30 30 30 30 31 JP0700-PCSG00001 00000040 5F 30 30 2D 52 49 44 47 45 52 41 43 45 52 50 53 _00-RIDGERACERPS 00000050 56 49 54 41 00 00 00 00 00 00 00 00 00 00 00 00 VITA............
Misc:
- From network: see Project_Database_(PDB)
- Serial number folder type name (on UTC): _INST_YYYYMMDDHHMMSSSSSSSSSS (for HDD0/game/ but failure can also create regular folder id)
- Type 1: PS3, NEOGEO...
- Type 2: PS1 Classic, PS VITA, PSP, MINIS...