VPK: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Software]]<noinclude>[[Category:Main]]</noinclude> | [[Category:Software]]<noinclude>[[Category:Main]]</noinclude> | ||
The scene's equivalent to Sony's [[Packages_(.PKGS)|PKGS]] format but in this case it's to be used with a [[HENkaku|HENkaku]] enabled PS | The scene's equivalent to Sony's [[Packages_(.PKGS)|PKGS]] format but in this case it's to be used with a [[HENkaku|HENkaku]]-enabled PS Vita or PS TV. It does not use any encryption over files so you can not install a '''VPK''' with the official PKG installer and vice versa. '''VitaShell''' can not install [[Packages_(.PKGS)|PKGS]] files. | ||
== Make your own VPK files == | == Make your own VPK files == |
Revision as of 19:29, 26 February 2023
The scene's equivalent to Sony's PKGS format but in this case it's to be used with a HENkaku-enabled PS Vita or PS TV. It does not use any encryption over files so you can not install a VPK with the official PKG installer and vice versa. VitaShell can not install PKGS files.
Make your own VPK files
Do that the same way just like it will be done for self-made PKGS files but instead of the original encrypted files, use the onse from your project or from another place for non-encrypted app files.
File format
File Layout
- The PKZip (Zip) file. (.vpk) format consists of:
File Layout |
---|
Local file header 1 |
File data 1 |
Data descriptor 1 |
Local file header 2 |
File data 2 |
Data descriptor 2 |
... |
Local file header n |
File data n |
Data descriptor n |
Archive descriptor header |
Archive extra data record |
Central directory |
Local File
- For a single local file:
byte index | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[0x00-0x03] | Signature of the local file header. This is always '\x50\x4b\x03\x04'. | ||||||||||||||||||||||||||||||||||||||||||||||||
[0x04-0x05] | Version | ||||||||||||||||||||||||||||||||||||||||||||||||
[0x06-0x07] | Flags
| ||||||||||||||||||||||||||||||||||||||||||||||||
[0x08-0x09] | Compression
| ||||||||||||||||||||||||||||||||||||||||||||||||
[0x0A-0x0B] | File modification time
stored in standard MS-DOS format:
| ||||||||||||||||||||||||||||||||||||||||||||||||
[0x0C-0x0D] | File modification date:
stored in standard MS-DOS format:
| ||||||||||||||||||||||||||||||||||||||||||||||||
[0x0E-0x11] | Crc-32: |