Post: Package header information.
01-09-2011, 01:53 PM #1
^5  
1337 hackor :P
(adsbygoogle = window.adsbygoogle || []).push({}); To most of you, this is confusing, and probably won't make sense. However if this does help someone with the signing, then good. Heres the information I found in the header of a .PKG so far, by reversing math's code. Theres more information in there, I know it, but I don't know what it is or does.

The first 4 bytes of data, contain ".PKG", this verifies that it is indeed a .PKG file

The fifth byte of data (0x04) contains whether it is a Debug or retail package, 0x80 means that is a retail package

at 0x07, it reads in whether it is a PS3 or a PSP .PKG, 0x01 for PS3, 0x02 for PSP.

At 0x24 it reads where the start of the Encrypted files themselves begin

At 0x2C it reads the Length of the Encrypted files

At 0x70 it reads the Package File Key. I'm not exactly sure what it is but it is used in the encryption/decryption process.

That's all I've found so far, hopefully it can be useful to some of you. Theres still a lot of stuff missing in here but I'm looking into it with some other people.

All credits to mathieulh for his Package decryptor
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked ^5   for this useful post:

Jaytech
01-09-2011, 04:54 PM #11
Just a thought but maybe changing PSP to PS3 in the header for PSP games will make them run on PS3.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo