PRX File Format: Difference between revisions

From PSP Developer wiki
Jump to navigation Jump to search
Line 10: Line 10:
|-
|-
| 0x6 || 2 || Compression Type || 0x300-Plain, 0x200-KL4E, 0x100-2RLZ, 0x000-GZIP Little endian u16 & 0xFF
| 0x6 || 2 || Compression Type || 0x300-Plain, 0x200-KL4E, 0x100-2RLZ, 0x000-GZIP Little endian u16 & 0xFF
|-
| 0x28 || 4 || Plaintext Size (ELF) || Little endian u32
|-
|-
| 0x2C || 4 || Total Size || Little endian u32
| 0x2C || 4 || Total Size || Little endian u32

Revision as of 10:52, 26 May 2020

Structure of the PRX Goes as follows

PRX File Format Structure

Offset Size Description Notes
0x0 4 Magic ~PSP
0x6 2 Compression Type 0x300-Plain, 0x200-KL4E, 0x100-2RLZ, 0x000-GZIP Little endian u16 & 0xFF
0x28 4 Plaintext Size (ELF) Little endian u32
0x2C 4 Total Size Little endian u32
0xD0 4 Key Tag Type Little endian u32