Updated PKG Information (markdown)

georgemoralis 2023-02-24 10:24:03 +02:00
parent 1ccff85a12
commit c1f8b7aba6

@ -1,2 +1,24 @@
Some findings for PS4 PKG's and information i gathered around.
# PKG General Info
***
A PS4 PKG looks like this:
![46883920-5b8cd900-ce21-11e8-872c-ecfcda752aba](https://user-images.githubusercontent.com/4313123/221126368-e20f1b7a-0550-41c4-b847-f1fd46c7ed0a.png)
First 4.096 bytes (0x1000) are the PKG Header. PKG header appears to be in Big Endian (like it was in ps3) although PS4 generally is a Small Endian machine.
***
# PKG Header
| Field | Type | Size | Offset | Description
| ----------- | -----|----- |------- |------------
| magic | U32 | 4 | 0x000 | Should be 0x7F434E54 to be PS4 valid
| 0x8| Text |
| file_count| Text |
| file_count| Text |
| file_count| Text |
| file_count| Text |